forked from kartta-labs/kartta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kartta-slider.css
72 lines (68 loc) · 1.53 KB
/
kartta-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
.kartta-slider-container {
margin-top: 10px;
margin-left: 20px;
display: flex;
flex-flow: row;
height: 36px;
}
.kartta-slider-container>.kartta-slider-text {
font-weight: bold;
font-size: 18px;
margin: 0;
padding: 0;
height: 36px;
line-height: 36px;
}
.kartta-year-label {
margin-left: 5px;
}
.kartta-slider-container>input {
padding-left: 20px;
padding-right: 20px;
flex: 1 0 auto;
}
.kartta-slider-container>input[type=range] {
margin: 10.95px 0;
background-color: transparent;
-webkit-appearance: none;
}
.kartta-slider-container>input[type=range]:focus {
outline: none;
}
.kartta-slider-container>input[type=range]::-webkit-slider-runnable-track {
background: #aaaaaa;
border: 0.2px solid #010101;
border-radius: 1.3px;
width: 100%;
height: 14.1px;
cursor: pointer;
}
.kartta-slider-container>input[type=range]::-webkit-slider-thumb {
margin-top: -11.15px;
width: 16px;
height: 36px;
background: #777777;
border: 1px solid #000000;
border-radius: 7px;
cursor: pointer;
-webkit-appearance: none;
}
.kartta-slider-container>input[type=range]:focus::-webkit-slider-runnable-track {
background: #aaaaaa;
}
.kartta-slider-container>input[type=range]::-moz-range-track {
background: #aaaaaa;
border: 0.2px solid #010101;
border-radius: 1.3px;
width: 100%;
height: 14.1px;
cursor: pointer;
}
.kartta-slider-container>input[type=range]::-moz-range-thumb {
width: 16px;
height: 36px;
background: #777777;
border: 1px solid #000000;
border-radius: 7px;
cursor: pointer;
}