@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
145 lines • 2.85 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-step {
position: relative;
display: flex;
}
.nut-step-last .nut-step-line {
display: none;
}
.nut-step-head {
position: relative;
display: flex;
align-items: center;
height: 14px;
position: relative;
z-index: 1;
}
.nut-step-head-text {
height: 12px;
width: 12px;
background-color: #f2f3f5;
color: #505259;
font-size: 10px;
}
.nut-step-head-icon {
height: 16px;
width: 16px;
background-color: #f2f3f5;
}
.nut-step-head-icon .nut-icon {
color: white;
}
.nut-step-head-dot {
height: 6px;
width: 6px;
background-color: #c2c4cc;
}
.nut-step-head-dot {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
box-sizing: border-box;
border: none;
}
.nut-step-head-icon {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
box-sizing: border-box;
border: none;
}
.nut-step-head-text {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
box-sizing: border-box;
border: none;
}
.nut-step-line {
position: absolute;
z-index: 0;
display: flex;
align-items: center;
justify-content: center;
}
.nut-step-line-inner {
display: flex;
flex: 1;
height: 1px;
background: rgba(0, 0, 0, 0.06);
}
.nut-step-main {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 14px;
}
.nut-step-line, .nut-step-title {
background-color: #ffffff;
}
.nut-step-title {
position: relative;
z-index: 1;
}
.nut-step-title {
height: 14px;
line-height: 14px;
font-size: 12px;
color: #1a1a1a;
overflow: hidden;
white-space: nowrap;
}
.nut-step-description {
height: 16px;
line-height: 16px;
margin-top: 2px;
font-size: 10px;
color: #888b94;
overflow: hidden;
}
.nut-step.nut-step-process .nut-step-head-icon {
background-color: #ff0f23;
}
.nut-step.nut-step-process .nut-step-head-text {
background-color: #ff0f23;
}
.nut-step.nut-step-process .nut-step-head-dot {
background-color: #ff0f23;
}
.nut-step.nut-step-process .nut-step-head-text {
color: #ffffff;
}
.nut-step.nut-step-wait .nut-step-head-icon .nut-icon {
color: #888b94;
}
.nut-step.nut-step-finish .nut-step-head-icon .nut-icon {
color: #888b94;
}
.nut-step.nut-step-business .nut-step-head-text {
color: #994d00;
}
.nut-step.nut-step-business .nut-step-title {
color: #994d00;
}
.nut-step.nut-step-business .nut-step-description {
color: #994d00;
}
.nut-step.nut-step-business .nut-step-head-dot {
background-color: #994d00;
}
.nut-step.nut-step-business .nut-step-head-icon {
background-color: #fff2e0;
}
.nut-step.nut-step-business .nut-step-head-text {
background-color: #fff2e0;
}
.nut-step.nut-step-business .nut-step-head-icon .nut-icon {
color: #994d00;
}