Slider add new prop: marks
This commit is contained in:
parent
9725f37580
commit
50b4334515
4 changed files with 91 additions and 98 deletions
|
@ -65,9 +65,24 @@
|
|||
position: absolute;
|
||||
.square(@slider-height);
|
||||
border-radius: 50%;
|
||||
background-color: @slider-disabled-color;
|
||||
background-color: #fff;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
&-marks{
|
||||
top: 0;
|
||||
left: 12px;
|
||||
width: 18px;
|
||||
height: 100%;
|
||||
|
||||
&-item{
|
||||
position: absolute;
|
||||
transform: translateX(-50%);
|
||||
font-size: @font-size-base;
|
||||
color: @subsidiary-color;
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{slider-prefix-cls}-disabled{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue