@mdsfe/mds-ui
Version:
A set of enterprise-class Vue UI components.
89 lines (88 loc) • 2.04 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
.mds-timeline {
list-style: none;
margin: 0;
padding: 0;
}
.mds-timeline-item {
position: relative;
padding: 0 0 12px;
list-style: none;
margin: 0;
}
.mds-timeline-item-tail {
position: absolute;
left: 5px;
top: 0;
height: 100%;
border-left: 2px solid #d8dcd6;
}
.mds-timeline-item-pending .mds-timeline-item-tail {
display: none;
}
.mds-timeline-item-head {
position: absolute;
width: 12px;
height: 12px;
background-color: #fff;
border-radius: 100px;
border: 2px solid transparent;
}
.mds-timeline-item-head-blue {
border-color: #0364ff;
color: #0364ff;
}
.mds-timeline-item-head-red {
border-color: #EE3333;
color: #EE3333;
}
.mds-timeline-item-head-green {
border-color: #00a854;
color: #00a854;
}
.mds-timeline-item-head-f60 {
border-color: #ff6600;
color: #ff6600;
}
.mds-timeline-item-head-e33 {
border-color: #ee3333;
color: #ee3333;
}
.mds-timeline-item-head-custom {
position: absolute;
text-align: center;
width: 40px;
left: -14px;
line-height: 1;
margin-top: 6px;
border: 0;
height: auto;
border-radius: 0;
font-size: 12px;
transform: translateY(-50%);
}
.mds-timeline-item-content {
color: #354052;
padding: 0 0 10px 24px;
font-size: 14px;
position: relative;
top: -3px;
}
.mds-timeline-item-last .mds-timeline-item-tail {
border-left: 2px dotted #d8dcd6;
display: none;
}
.mds-timeline-item-last .mds-timeline-item-content {
min-height: 48px;
}
.mds-timeline.mds-timeline-pending .mds-timeline-item-last .mds-timeline-item-tail {
display: block;
}
.mds-timeline-item:last-child .mds-timeline-item-tail {
display: none;
}
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */