-
Notifications
You must be signed in to change notification settings - Fork 3
/
slider.scss
98 lines (84 loc) · 2.49 KB
/
slider.scss
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
90
91
92
93
94
95
96
97
98
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&subset=latin-ext');
.slider1_parent {
padding-bottom: 6px;
font-family: 'Source Sans Pro', sans-serif;
.title {
display: inline;
line-height: 28px;
margin: 0 -4px 0 9px;
}
.slider1 {
border: solid 1px #c2c2c2;
width: 60px;
padding: 0 3px 0 3px;
height: 18px;
vertical-align: top;
margin: 4px 4px 4px 10px;
}
.main_block {
.groove_parent {
width: calc(100% - 20px);
margin: auto;
position: relative;
height: 20px;
.groove {
position: relative;
height: 4px;
background-color: #f5f5f5;
top: 8px;
border-radius: 5px;
border: solid 1px #bcbcbc;
overflow: hidden;
cursor: pointer;
&:hover { filter: invert(3%) }
.fill {
height: 4px;
width: 0;
background-color: #7ef4ff;
}
}
.rider {
position: absolute;
width: 16px;
height: 16px;
background-color: #ddd;
top: 0;
border-radius: 13px;
margin: 2px;
border: solid 0.5px #a2a2a2;
cursor: pointer;
left: calc(0% - 11px);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
&:hover { background-color: #d2d2d2 }
&:active { background-color: #c1c1c1 }
}
}
.slider_range {
width: calc(100% - 19px);
border-left: solid 2px #c5c5c5;
border-right: solid 2px #c5c5c5;
height: 13px;
display: block;
font-size: 14px;
margin: 4px auto auto;
color: #848484;
tr {
width: 100%;
display: inline-flex;
.left {
width: 50%;
padding: 1px 5px;
margin-top: -9px;
}
.right {
width: 50%;
text-align: right;
padding: 1px 5px;
margin-top: -9px;
}
}
}
}
}