This commit is contained in:
Benjy Cui
2016-10-31 11:28:39 +08:00
parent 4b46bcb74f
commit 22032d227b
21 changed files with 129 additions and 120 deletions
+17 -7
View File
@@ -1,9 +1,9 @@
.rc-slider {
position: relative;
height: 4px;
height: 14px;
padding: 5px 0;
width: 100%;
border-radius: 6px;
background-color: #e9e9e9;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@@ -11,6 +11,12 @@
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-rail {
position: absolute;
width: 100%;
background-color: #e9e9e9;
height: 4px;
}
.rc-slider-track {
position: absolute;
left: 0;
@@ -38,7 +44,7 @@
}
.rc-slider-mark {
position: absolute;
top: 10px;
top: 18px;
left: 0;
width: 100%;
font-size: 12px;
@@ -58,7 +64,6 @@
position: absolute;
width: 100%;
height: 4px;
margin: 5px 0;
background: transparent;
}
.rc-slider-dot {
@@ -99,21 +104,26 @@
cursor: not-allowed !important;
}
.rc-slider-vertical {
width: 4px;
width: 14px;
height: 100%;
padding: 0 5px;
}
.rc-slider-vertical .rc-slider-rail {
height: 100%;
width: 4px;
}
.rc-slider-vertical .rc-slider-track {
left: 5px;
bottom: 0;
width: 4px;
}
.rc-slider-vertical .rc-slider-handle {
position: absolute;
margin-left: -5px;
margin-bottom: -7px;
}
.rc-slider-vertical .rc-slider-mark {
top: 0;
left: 10px;
left: 18px;
height: 100%;
}
.rc-slider-vertical .rc-slider-step {