-
Notifications
You must be signed in to change notification settings - Fork 0
/
range_sea.css
72 lines (62 loc) · 1.76 KB
/
range_sea.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
input[type="range"].theme_sea {
/* removing default appearance */
-webkit-appearance: none;
appearance: none;
/* creating a custom design */
width: 100%;
cursor: pointer;
outline: none;
border-radius: 15px;
/* overflow: hidden; remove this line*/
/* New additions */
height: 6px;
background: #ccc;
}
/* Thumb: webkit */
input[type="range"].theme_sea::-webkit-slider-thumb {
/* removing default appearance */
-webkit-appearance: none;
appearance: none;
/* creating a custom design */
height: 15px;
width: 15px;
background-color: #02c38e;
border-radius: 50%;
border: none;
/* box-shadow: -407px 0 0 400px #02c38e; emove this line */
transition: .2s ease-in-out;
}
/* Thumb: Firefox */
input[type="range"].theme_sea::-moz-range-thumb {
height: 15px;
width: 15px;
background-color: #02c38e;
border-radius: 50%;
border: none;
/* box-shadow: -407px 0 0 400px #02c38e; emove this line */
transition: .2s ease-in-out;
}
/* Hover, active & focus Thumb: Webkit */
input[type="range"].theme_sea::-webkit-slider-thumb:hover {
box-shadow: 0 0 0 10px rgba(2,195,142, .1)
}
input[type="range"].theme_sea:active::-webkit-slider-thumb {
box-shadow: 0 0 0 13px rgba(2,195,142, .2)
}
input[type="range"].theme_sea:focus::-webkit-slider-thumb {
box-shadow: 0 0 0 13px rgba(2,195,142, .2)
}
/* Hover, active & focus Thumb: Firfox */
input[type="range"].theme_sea::-moz-range-thumb:hover {
box-shadow: 0 0 0 10px rgba(2,195,142, .1)
}
input[type="range"].theme_sea:active::-moz-range-thumb {
box-shadow: 0 0 0 13px rgba(2,195,142, .2)
}
input[type="range"].theme_sea:focus::-moz-range-thumb {
box-shadow: 0 0 0 13px rgba(2,195,142, .2)
}
/* Aesthetics */
input[type="range"].theme_sea {
background: #283d33;
}