optimize Timeline style

optimize Timeline style
This commit is contained in:
梁灏 2016-11-16 15:26:51 +08:00
parent 05b5dd7b8d
commit c9433dcce5
2 changed files with 56 additions and 57 deletions

View file

@ -14,9 +14,9 @@
&-tail {
height: 100%;
border-left: 2px solid @timeline-color;
border-left: 1px solid @timeline-color;
position: absolute;
left: 5px;
left: 6px;
top: 0;
}
@ -25,11 +25,11 @@
}
&-head {
width: 12px;
height: 12px;
width: 13px;
height: 13px;
background-color: #fff;
border-radius: 100px;
border: 2px solid transparent;
border-radius: 50%;
border: 1px solid transparent;
position: absolute;
&-blue {
@ -57,7 +57,7 @@
border-radius: 0;
font-size: @font-size-base;
position: absolute;
left: -14px;
left: -13px;
.transform(translateY(-50%));
}
@ -78,7 +78,7 @@
&&-pending &-item:nth-last-of-type(2) {
.@{timeline-prefix-cls}-item-tail {
border-left: 2px dotted @timeline-color;
border-left: 1px dotted @timeline-color;
}
.@{timeline-prefix-cls}-item-content {
min-height: 48px;