UNPKG

zent

Version:

一套前端设计语言和基于React的实现

685 lines (676 loc) 24.7 kB
.zent-steps { width: 100%; line-height: 1.5; font-size: 0; display: flex; box-sizing: border-box; } .zent-steps-tail { position: absolute; width: 100%; left: 0; top: 13px; box-sizing: border-box; margin-left: 75px; } .zent-steps-tail i { background-color: #e0e0e0; background-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); display: inline-block; position: relative; width: 100%; border-radius: 1px; height: 3px; vertical-align: top; transform: scaleY(0.5) translateY(4px); } .zent-steps-tail i::after { background-color: #e0e0e0; background-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); content: ""; position: absolute; top: 0; width: 0; height: 100%; opacity: 0; } .zent-steps-step { position: relative; } .zent-steps-step .zent-step-head { background-color: #fff; background-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); position: relative; display: inline-block; vertical-align: top; margin-left: 60px; box-sizing: border-box; } .zent-steps-step .zent-step-main { color: #999; color: var(--theme-hint-color, var(--theme-stroke-3, #999)); position: relative; vertical-align: top; width: 160px; text-align: center; } .zent-steps-step .zent-step-main .zent-step-title { font-size: 14px; font-weight: 500; max-width: 160px; line-height: 14px; margin-top: 10px; word-wrap: break-word; word-break: break-all; } .zent-steps-step .zent-step-main .zent-step-description { max-width: 160px; font-size: 12px; line-height: 16px; margin-top: 8px; word-wrap: break-word; word-break: break-all; } .zent-step-head-inner { color: #ccc; color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); margin: 0 8px; font-size: 30px; line-height: 30px; } .zent-step-head-inner .zent-icon { background-color: #ccc; background-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); color: #fff; color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); display: inline-block; vertical-align: middle; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; text-align: center; font-size: 14px; } .zent-step-head-inner .zent-icon.zent-steps-sequence { width: 24px; height: 24px; line-height: 24px; margin: 3px; } .zent-step-head-inner .zenticon { vertical-align: middle; } .zent-steps-item { position: relative; display: inline-block; vertical-align: top; overflow: visible; flex: 1; cursor: default; } .zent-steps-item.zent-steps-status-finish.zent-steps-item--current .zent-steps-tail i::after { width: 0; } .zent-steps-item.zent-steps-status-finish.zent-steps-item--last-finished .zent-steps-tail i::after { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); width: 100%; } .zent-steps-item.zent-steps-status-finish .zent-step-head-inner { color: #155bd4; color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-item.zent-steps-status-finish .zent-step-head-inner .zent-icon { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-item.zent-steps-status-finish .zent-step-main .zent-step-title { color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); } .zent-steps-item.zent-steps-status-finish .zent-steps-tail i::after { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); width: 100%; transition: all 0.2s ease; opacity: 1; } .zent-steps-item.zent-steps-status-error .zent-step-head-inner { color: #d42f15; color: var(--theme-danger-color, var(--theme-error-2, #d42f15)); } .zent-steps-item.zent-steps-status-error .zent-step-main .zent-step-title { color: #d42f15; color: var(--theme-danger-color, var(--theme-error-2, #d42f15)); } .zent-steps-item.zent-steps-status-process .zent-step-head-inner .zent-icon { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-item.zent-steps-status-process .zent-step-main .zent-step-title { color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); } .zent-steps-item:last-child { flex: none; } .zent-steps-item:last-child .zent-steps-tail { display: none; } .zent-steps-item__icon { font-size: 16px; margin-right: 8px; height: 20px; line-height: 20px; } .zent-steps__vertical { display: block; } .zent-steps__vertical .zent-steps-item { display: block; overflow: visible; } .zent-steps__vertical .zent-steps-item.zent-steps-status-finish.zent-steps-item--current .zent-steps-tail i::after { width: 100%; height: 0; } .zent-steps__vertical .zent-steps-item.zent-steps-status-finish.zent-steps-item--last-finished .zent-steps-tail i::after { width: 100%; } .zent-steps__vertical .zent-steps-item.zent-steps-status-finish .zent-steps-tail i::after { width: 100%; } .zent-steps__vertical .zent-steps-item:last-child .zent-steps-step .zent-step-main { min-height: auto; } .zent-steps__vertical .zent-steps-tail { position: absolute; margin-left: 0; width: 2px; left: 18px; top: 0; height: 100%; padding: 30px 0 4px; } .zent-steps__vertical .zent-steps-tail i { height: 100%; width: 2px; } .zent-steps__vertical .zent-steps-tail i::after { width: 100%; } .zent-steps__vertical .zent-steps-step .zent-step-head { float: left; margin-left: 0; } .zent-steps__vertical .zent-steps-step .zent-step-main { display: block; overflow: hidden; min-height: 120px; text-align: left; width: inherit; padding-left: 5px; } .zent-steps__vertical .zent-steps-step .zent-step-main .zent-step-title { margin-top: 2px; line-height: 22px; max-width: initial; } .zent-steps__vertical .zent-steps-step .zent-step-main .zent-step-description { margin-top: 2px; padding-bottom: 15px; max-width: initial; } .zent-steps__vertical .zent-step-head-inner { margin-right: 8px; } .zent-steps-card .zent-steps-item { box-sizing: border-box; padding: 0 1px; } .zent-steps-card .zent-steps-item.zent-steps-item--clickable { cursor: pointer; } .zent-steps-card .zent-steps-item:first-child { padding-left: 0; } .zent-steps-card .zent-steps-item:last-child { padding-right: 0; } .zent-steps-card .zent-steps-item .zent-steps-step { color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); height: 50px; line-height: 50px; font-size: 14px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 10px; } .zent-steps-card .zent-steps-item.zent-steps-item--current:hover .zent-steps-step { background-color: #356fd4; background-color: var(--theme-primary-hover-bg, var(--theme-primary-5, #356fd4)); } .zent-steps-card .zent-steps-item.zent-steps-item--current:active .zent-steps-step { background-color: #114bae; background-color: var(--theme-primary-active-bg, var(--theme-primary-3, #114bae)); } .zent-steps-card .zent-steps-item.zent-steps-item--current .zent-steps-step { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); color: #fff; color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb { overflow: hidden; } .zent-steps-breadcrumb .zent-steps-item { padding: 0 14px; box-sizing: border-box; } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--clickable { cursor: pointer; } .zent-steps-breadcrumb .zent-steps-item:first-child { padding-left: 0; } .zent-steps-breadcrumb .zent-steps-item:first-child .zent-steps-step::before { display: none; } .zent-steps-breadcrumb .zent-steps-item:last-child { padding-right: 0; } .zent-steps-breadcrumb .zent-steps-item:last-child .zent-steps-step::after { display: none; } .zent-steps-breadcrumb .zent-steps-item .zent-steps-step { color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); height: 48px; line-height: 48px; font-size: 14px; text-align: center; padding: 0 10px; } .zent-steps-breadcrumb .zent-steps-item .zent-steps-step::after { border-left-color: #f7f7f7; border-left-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); content: " "; display: block; width: 0; height: 0; border-top: 24px solid transparent; border-bottom: 24px solid transparent; border-left-width: 12px; border-left-style: solid; position: absolute; top: 50%; margin-top: -24px; right: -12px; z-index: 1; } .zent-steps-breadcrumb .zent-steps-item .zent-steps-step::before { border-top-color: #f7f7f7; border-top-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); border-bottom-color: #f7f7f7; border-bottom-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); content: " "; display: block; width: 0; height: 0; border-top-width: 24px; border-top-style: solid; border-bottom-width: 24px; border-bottom-style: solid; border-left: 12px solid transparent; position: absolute; top: 50%; margin-top: -24px; left: -12px; } .zent-steps-breadcrumb .zent-steps-item .zent-steps-step .zent-steps-sequence { background-color: #ccc; background-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); color: #fff; color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); font-size: 14px; display: inline-block; vertical-align: middle; width: 16px; height: 16px; line-height: 16px; border-radius: 50%; text-align: center; margin-right: 8px; margin-bottom: 2px; } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished .zent-steps-sequence { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:hover .zent-steps-step { background-color: #356fd4; background-color: var(--theme-primary-hover-bg, var(--theme-primary-5, #356fd4)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:hover .zent-steps-step::after { border-left-color: #356fd4; border-left-color: var(--theme-primary-hover-bg, var(--theme-primary-5, #356fd4)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:hover .zent-steps-step::before { border-top-color: #356fd4; border-top-color: var(--theme-primary-hover-bg, var(--theme-primary-5, #356fd4)); border-bottom-color: #356fd4; border-bottom-color: var(--theme-primary-hover-bg, var(--theme-primary-5, #356fd4)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:active .zent-steps-step { background-color: #114bae; background-color: var(--theme-primary-active-bg, var(--theme-primary-3, #114bae)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:active .zent-steps-step::after { border-left-color: #114bae; border-left-color: var(--theme-primary-active-bg, var(--theme-primary-3, #114bae)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished:active .zent-steps-step::before { border-top-color: #114bae; border-top-color: var(--theme-primary-active-bg, var(--theme-primary-3, #114bae)); border-bottom-color: #114bae; border-bottom-color: var(--theme-primary-active-bg, var(--theme-primary-3, #114bae)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished .zent-steps-step { background-color: #155bd4; background-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); color: #fff; color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished .zent-steps-step::after { border-left-color: #155bd4; border-left-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-breadcrumb .zent-steps-item.zent-steps-item--finished .zent-steps-step::before { border-top-color: #155bd4; border-top-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); border-bottom-color: #155bd4; border-bottom-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-breadcrumb-ghost .zent-steps-item .zent-steps-step { background-color: #fff; background-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); font-weight: 600; z-index: 1; } .zent-steps-breadcrumb-ghost .zent-steps-item .zent-steps-step::before { border-top-color: #fff; border-top-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); border-bottom-color: #fff; border-bottom-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb-ghost .zent-steps-item .zent-steps-step::after { border-left-color: #fff; border-left-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished .zent-steps-step { color: #155bd4; color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); background-color: #fff; background-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); box-sizing: border-box; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished .zent-steps-step::after { border-left-color: #fff; border-left-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished .zent-steps-step::before { border-top-color: #fff; border-top-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); border-bottom-color: #fff; border-bottom-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--current::after { border-left-color: #155bd4; border-left-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); content: " "; display: block; width: 0; height: 0; border-top: 28px solid transparent; border-bottom: 28px solid transparent; border-left-width: 14px; border-left-style: solid; position: absolute; top: 50%; margin-top: -28px; right: 1px; z-index: 0; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--current::before { border-color: #155bd4; border-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); content: " "; display: block; width: 0; height: 0; border-style: solid; border-top-width: 28px; border-bottom-width: 28px; border-right-width: 1px; border-left: 15px solid transparent; position: absolute; top: 50%; margin-top: -28px; left: -2px; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--current .zent-steps-step { border-top-color: #155bd4; border-top-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); border-bottom-color: #155bd4; border-bottom-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; line-height: 46px; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--current .zent-steps-step::before { border-top-width: 23px; border-bottom-width: 23px; margin-top: -23px; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:hover .zent-steps-step, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:active .zent-steps-step, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:hover .zent-steps-step, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:active .zent-steps-step { background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:hover .zent-steps-step::after, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:active .zent-steps-step::after, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:hover .zent-steps-step::after, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:active .zent-steps-step::after { border-left-color: #f7f7f7; border-left-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:hover .zent-steps-step::before, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled:active .zent-steps-step::before, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:hover .zent-steps-step::before, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished.zent-steps-item--disabled:active .zent-steps-step::before { border-top-color: #f7f7f7; border-top-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); border-bottom-color: #f7f7f7; border-bottom-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):hover .zent-steps-step, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):hover .zent-steps-step { background-color: #efefef; } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):hover .zent-steps-step::after, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):hover .zent-steps-step::after { border-left-color: #efefef; } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):hover .zent-steps-step::before, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):hover .zent-steps-step::before { border-top-color: #efefef; border-bottom-color: #efefef; } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):active .zent-steps-step, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):active .zent-steps-step { background-color: #e0e0e0; background-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):active .zent-steps-step::after, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):active .zent-steps-step::after { border-left-color: #e0e0e0; border-left-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); } .zent-steps-breadcrumb-ghost .zent-steps-item:not(.zent-steps-item--disabled):active .zent-steps-step::before, .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--finished:not(.zent-steps-item--disabled):active .zent-steps-step::before { border-top-color: #e0e0e0; border-top-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); border-bottom-color: #e0e0e0; border-bottom-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled { cursor: not-allowed; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled::after { border-left-color: #ccc; border-left-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); content: " "; display: block; width: 0; height: 0; border-top: 28px solid transparent; border-bottom: 28px solid transparent; border-left-width: 14px; border-left-style: solid; position: absolute; top: 50%; margin-top: -28px; right: 1px; z-index: 0; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled::before { border-color: #ccc; border-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); content: " "; display: block; width: 0; height: 0; border-style: solid; border-top-width: 28px; border-bottom-width: 28px; border-right-width: 1px; border-left: 15px solid transparent; position: absolute; top: 50%; margin-top: -28px; left: -2px; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled .zent-steps-step { background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); border-top-color: #ccc; border-top-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); border-bottom-color: #ccc; border-bottom-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; line-height: 46px; box-sizing: border-box; } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled .zent-steps-step::after { border-left-color: #f7f7f7; border-left-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-breadcrumb-ghost .zent-steps-item.zent-steps-item--disabled .zent-steps-step::before { border-top-width: 23px; border-bottom-width: 23px; margin-top: -23px; border-top-color: #f7f7f7; border-top-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); border-bottom-color: #f7f7f7; border-bottom-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-breadcrumb-ghost .zent-steps-item:first-child { border-left-width: 1px; border-left-style: solid; border-left-color: transparent; } .zent-steps-breadcrumb-ghost .zent-steps-item:first-child.zent-steps-item--current { border-left-color: #155bd4; border-left-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-breadcrumb-ghost .zent-steps-item:first-child.zent-steps-item--disabled { border-left-color: #ccc; border-left-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); } .zent-steps-breadcrumb-ghost .zent-steps-item:last-child { border-right-width: 1px; border-right-style: solid; border-right-color: transparent; } .zent-steps-breadcrumb-ghost .zent-steps-item:last-child.zent-steps-item--current { border-right-color: #155bd4; border-right-color: var(--theme-primary-bg, var(--theme-primary-4, #155bd4)); } .zent-steps-breadcrumb-ghost .zent-steps-item:last-child.zent-steps-item--disabled { border-right-color: #ccc; border-right-color: var(--theme-disabled-color, var(--theme-stroke-4, #ccc)); } .zent-steps-tabs { position: relative; } .zent-steps-tabs .zent-steps-item { color: #f7f7f7; color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); border-right-color: #e0e0e0; border-right-color: var(--theme-default-border-color, var(--theme-stroke-5, #e0e0e0)); border-top-color: #e0e0e0; border-top-color: var(--theme-default-border-color, var(--theme-stroke-5, #e0e0e0)); border-bottom-color: #e0e0e0; border-bottom-color: var(--theme-default-border-color, var(--theme-stroke-5, #e0e0e0)); position: relative; box-sizing: border-box; display: inline-block; border-right-width: 1px; border-right-style: solid; border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; } .zent-steps-tabs .zent-steps-item.zent-steps-item--clickable { cursor: pointer; } .zent-steps-tabs .zent-steps-item:first-child { border-left-color: #e0e0e0; border-left-color: var(--theme-default-border-color, var(--theme-stroke-5, #e0e0e0)); border-left-width: 1px; border-left-style: solid; } .zent-steps-tabs .zent-steps-item .zent-steps-step { height: 46px; line-height: 46px; font-size: 14px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 10px; } .zent-steps-tabs .zent-steps-item.zent-steps-item--current { background-color: #fff; background-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); border-bottom-color: transparent; } .zent-steps-tabs .zent-steps-item:not(.zent-steps-item--current) { background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); } .zent-steps-tabs .zent-steps-item:not(.zent-steps-item--current):hover { background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-7, #f7f7f7)); } .zent-steps-tabs .zent-steps-item:not(.zent-steps-item--current):active { background-color: #e0e0e0; background-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); }