42
42
background-color : var (--euiColorPrimary );
43
43
z-index : 2 ;
44
44
transform : translateY (2px );
45
+
46
+ & :before {
47
+ content : ' ' ;
48
+ width : 1px ;
49
+ height : 6px ;
50
+ position : absolute ;
51
+ top : -5px ;
52
+ left : -1px ;
53
+ background-color : var (--euiColorPrimary );
54
+ }
55
+
56
+ & :after {
57
+ content : ' ' ;
58
+ width : 1px ;
59
+ height : 6px ;
60
+ position : absolute ;
61
+ right : -1px ;
62
+ background-color : var (--euiColorPrimary );
63
+ }
45
64
}
46
65
47
66
.rangeWrapper :hover .sliderRange {
48
67
height : 5px ;
49
68
transform : translateY (0px );
69
+
70
+ & :before {
71
+
72
+ width : 2px ;
73
+ height : 12px ;
74
+ top : -7px ;
75
+ }
76
+
77
+ & :after {
78
+ width : 2px ;
79
+ height : 12px ;
80
+ }
50
81
}
51
82
52
83
.sliderLeftValue ,
53
84
.sliderRightValue {
54
85
width : max-content ;
55
86
color : var (--euiColorMediumShade );
56
87
font : normal normal normal 12px / 18px Graphik;
57
- margin-top : 20 px ;
88
+ margin-top : 8 px ;
58
89
}
59
90
60
91
.sliderLeftValue {
61
92
left : 0 ;
62
- margin-top : -30 px ;
93
+ margin-top : -25 px ;
63
94
}
64
95
65
96
.rangeWrapper :hover .sliderLeftValue {
66
- margin-top : -28 px ;
97
+ margin-top : -23 px ;
67
98
}
68
99
69
100
.rangeWrapper :hover .sliderRightValue {
70
- margin-top : 22 px ;
101
+ margin-top : 10 px ;
71
102
}
72
103
73
104
.sliderLeftValue.leftPosition {
117
148
118
149
.thumb ::-moz-range-thumb {
119
150
width : 24px ;
120
- height : 12 px ;
151
+ height : 24 px ;
121
152
border : none ;
122
153
border-radius : 0 ;
123
154
cursor : ew-resize ;
124
155
margin-top : 4px ;
125
156
pointer-events : all ;
126
157
position : relative ;
127
158
background : transparent ;
128
- border-bottom : 1px solid var (--euiColorPrimary );
129
- border-left : 1px solid var (--euiColorPrimary );
130
- }
131
-
132
- .rangeWrapper :hover .thumb ::-moz-range-thumb {
133
- border-bottom : 5px solid var (--euiColorPrimary );
134
159
}
135
160
136
161
.thumbZindex3 ::-moz-range-thumb {
143
168
144
169
input [type = ' range' ]::-webkit-slider-thumb {
145
170
width : 24px ;
146
- height : 12 px ;
171
+ height : 24 px ;
147
172
border : none ;
148
173
border-radius : 0 ;
149
174
cursor : ew-resize ;
150
175
margin-top : 4px ;
151
176
pointer-events : all ;
152
177
position : relative ;
153
178
background : transparent ;
154
- border-bottom : 1px solid var (--euiColorPrimary );
155
- border-left : 1px solid var (--euiColorPrimary );
156
- }
157
-
158
- .rangeWrapper :hover input [type = ' range' ]::-webkit-slider-thumb {
159
- border-bottom : 5px solid var (--euiColorPrimary );
160
- margin-top : 2px ;
161
179
}
162
180
163
181
input [type = ' range' ]:first-child ::-webkit-slider-thumb {
164
- transform : translateY (-5 px );
182
+ transform : translateY (-4 px );
165
183
}
166
184
167
185
input [type = ' range' ]:last-of-type ::-webkit-slider-thumb {
168
- transform : translateY (6px ) rotate (180deg );
169
- }
170
-
171
- .rangeWrapper :hover input [type = ' range' ]:first-child ::-webkit-slider-thumb {
172
- transform : translateY (-2px );
186
+ transform : translateY (8px ) rotate (180deg );
173
187
}
174
-
175
- .rangeWrapper :hover input [type = ' range' ]:last-of-type ::-webkit-slider-thumb {
176
- transform : translateY (5px ) rotate (180deg );
177
- }
0 commit comments