-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.css
89 lines (89 loc) · 1.9 KB
/
slider.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
input[type=range] {
height: 32px;
-webkit-appearance: none;
margin: 0px 10px;
width: 100%;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 5px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #CCCCCC;
border-radius: 3px;
border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 0px 0px 0px #000000;
border: 2px solid #7A7A7A;
height: 24px;
width: 24px;
border-radius: 25px;
background: #FFFFFF;
cursor: pointer;
-webkit-appearance: none;
margin-top: -10.5px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #CCCCCC;
}
input[type=range]::-moz-range-track {
width: 100%;
height: 5px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #CCCCCC;
border-radius: 3px;
border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
box-shadow: 0px 0px 0px #000000;
border: 2px solid #7A7A7A;
height: 24px;
width: 24px;
border-radius: 25px;
background: #FFFFFF;
cursor: pointer;
}
input[type=range]::-ms-track {
width: 100%;
height: 5px;
cursor: pointer;
animate: 0.2s;
background: transparent;
border-color: transparent;
color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #CCCCCC;
border: 0px solid #000000;
border-radius: 6px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
background: #CCCCCC;
border: 0px solid #000000;
border-radius: 6px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
margin-top: 1px;
box-shadow: 0px 0px 0px #000000;
border: 2px solid #7A7A7A;
height: 24px;
width: 24px;
border-radius: 25px;
background: #FFFFFF;
cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
background: #CCCCCC;
}
input[type=range]:focus::-ms-fill-upper {
background: #CCCCCC;
}