-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.css
75 lines (75 loc) · 1.62 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
/* line 2, slider.scss */
slider, [slider] {
display: inline-block;
position: relative;
height: 7px;
width: 100%;
margin: 25px 5px 25px 5px;
vertical-align: middle;
}
/* line 10, slider.scss */
slider div, [slider] div {
white-space: nowrap;
position: absolute;
}
/* line 14, slider.scss */
slider div.bar, [slider] div.bar {
width: 100%;
height: 100%;
border-radius: 7px;
background: #444;
overflow: hidden;
}
/* line 21, slider.scss */
slider div.bar .selection, [slider] div.bar .selection {
width: 0%;
height: 100%;
background: #13b6ff;
}
/* line 28, slider.scss */
slider div.handle, [slider] div.handle {
cursor: pointer;
width: 20px;
height: 20px;
top: -8px;
background-color: #fff;
border: 1px solid #000;
z-index: 2;
border-radius: 100%;
}
/* line 38, slider.scss */
slider div.handle:after, [slider] div.handle:after {
content: '';
background-color: #777;
width: 8px;
height: 8px;
position: absolute;
top: 6px;
left: 6px;
border-radius: 100%;
}
/* line 48, slider.scss */
slider div.handle:after:hover, [slider] div.handle:after:hover {
background-color: #000;
}
/* line 53, slider.scss */
slider div.handle.active:after, [slider] div.handle.active:after {
background-color: #f00;
}
/* line 58, slider.scss */
slider div.bubble, [slider] div.bubble {
display: none;
cursor: default;
top: -22px;
padding: 1px 3px 1px 3px;
font-size: 0.7em;
font-family: sans-serif;
}
/* line 66, slider.scss */
slider div.bubble.active, [slider] div.bubble.active {
display: inline-block;
}
/* line 70, slider.scss */
slider div.bubble.limit, [slider] div.bubble.limit {
color: #777;
}