-
Notifications
You must be signed in to change notification settings - Fork 233
Expand file tree
/
Copy pathreact-input-range.css
More file actions
114 lines (100 loc) · 2.74 KB
/
react-input-range.css
File metadata and controls
114 lines (100 loc) · 2.74 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
.input-range__slider {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: #0052f3;
border: 5px solid #5790ff;
border-radius: 100%;
cursor: pointer;
display: block;
height: 1rem;
margin-left: -0.5rem;
margin-top: -0.65rem;
outline: none;
position: relative;
top: -7px;
-webkit-transition: box-shadow 0.3s ease-out, -webkit-transform 0.3s ease-out;
transition: box-shadow 0.3s ease-out, -webkit-transform 0.3s ease-out;
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, -webkit-transform 0.3s ease-out;
width: 1rem;
z-index: 10; }
.input-range__slider:active {
-webkit-transform: scale(1.3);
transform: scale(1.3); }
.input-range__slider:focus {
box-shadow: 0 0 0 5px rgba(0, 82, 243, 0.2); }
.input-range--disabled .input-range__slider {
background: #cccccc;
border: 1px solid #cccccc;
box-shadow: none;
-webkit-transform: none;
transform: none; }
.input-range__slider-container {
-webkit-transition: left 0.3s ease-out;
transition: left 0.3s ease-out; }
.input-range__label {
color: #082865;
font-family: "Helvetica Neue", san-serif;
font-size: 12px;
font-weight: 500;
-webkit-transform: translateZ(0);
transform: translateZ(0);
white-space: nowrap; }
.input-range__label--min,
.input-range__label--max,
.input-range__label--fst,
.input-range__label--snd,
.input-range__label--thd {
bottom: -1.4rem;
position: absolute; }
.input-range__label--sublabel {
height: 1rem; }
.input-range__label--min {
left: 0; }
.input-range__label--max {
right: 0; }
.input-range__label--value {
position: absolute;
top: -1.8rem;
display: none; }
.input-range__label--inactive {
background-color: #e0e7f1;
border-radius: 100%;
width: 7px;
height: 7px;
top: 28%;
pointer-events: none; }
.input-range__label-container {
left: -50%;
position: relative; }
.input-range__label--max .input-range__label-container {
left: 50%; }
.input-range__track {
background: #eeeeee;
border-radius: 0.3rem;
cursor: pointer;
display: block;
height: 0.3rem;
position: relative;
-webkit-transition: left 0.3s ease-out, width 0.3s ease-out;
transition: left 0.3s ease-out, width 0.3s ease-out; }
.input-range--disabled .input-range__track {
background: #eeeeee; }
.input-range__track--background {
left: 0;
margin-top: -0.15rem;
position: absolute;
right: 0;
top: 50%; }
.input-range__track--active {
background-color: rgba(162, 193, 255, 0.93);
height: 7px;
position: relative;
top: -2px;
z-index: 10; }
.input-range {
height: 1rem;
position: relative;
width: 100%; }
/*# sourceMappingURL=react-input-range.css.map*/