Debian Codegraph @

jupyter-widgets-controls/css/nouislider.css

raw
1 /*
2
3 The nouislider.css file is autogenerated from nouislider.less, which imports and wraps the nouislider/src/nouislider.less styles.
4
5 MIT License
6
7 Copyright (c) 2019 Léon Gersen
8
9 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14 */
15 /* The .widget-slider class is deprecated */
16 .widget-slider,
17 .jupyter-widget-slider {
18 /* Functional styling;
19 * These styles are required for noUiSlider to function.
20 * You don't need to change these rules to apply your design.
21 */
22 /* Wrapper for all connect elements.
23 */
24 /* Offset direction
25 */
26 /* Give origins 0 height/width so they don't interfere with clicking the
27 * connect elements.
28 */
29 /* Slider size and handle placement;
30 */
31 /* Styling;
32 * Giving the connect element a border radius causes issues with using transform: scale
33 */
34 /* Handles and cursors;
35 */
36 /* Handle stripes;
37 */
38 /* Disabled state;
39 */
40 /* Base;
41 *
42 */
43 /* Values;
44 *
45 */
46 /* Markings;
47 *
48 */
49 /* Horizontal layout;
50 *
51 */
52 /* Vertical layout;
53 *
54 */
55 /* Copyright (c) Jupyter Development Team.
56 * Distributed under the terms of the Modified BSD License.
57 */
58 /* Custom CSS for nouislider */
59 }
60 .widget-slider .noUi-target,
61 .jupyter-widget-slider .noUi-target,
62 .widget-slider .noUi-target *,
63 .jupyter-widget-slider .noUi-target * {
64 -webkit-touch-callout: none;
65 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
66 -webkit-user-select: none;
67 -ms-touch-action: none;
68 touch-action: none;
69 -ms-user-select: none;
70 -moz-user-select: none;
71 user-select: none;
72 -moz-box-sizing: border-box;
73 box-sizing: border-box;
74 }
75 .widget-slider .noUi-target,
76 .jupyter-widget-slider .noUi-target {
77 position: relative;
78 }
79 .widget-slider .noUi-base,
80 .jupyter-widget-slider .noUi-base,
81 .widget-slider .noUi-connects,
82 .jupyter-widget-slider .noUi-connects {
83 width: 100%;
84 height: 100%;
85 position: relative;
86 z-index: 1;
87 }
88 .widget-slider .noUi-connects,
89 .jupyter-widget-slider .noUi-connects {
90 overflow: hidden;
91 z-index: 0;
92 }
93 .widget-slider .noUi-connect,
94 .jupyter-widget-slider .noUi-connect,
95 .widget-slider .noUi-origin,
96 .jupyter-widget-slider .noUi-origin {
97 will-change: transform;
98 position: absolute;
99 z-index: 1;
100 top: 0;
101 right: 0;
102 -ms-transform-origin: 0 0;
103 -webkit-transform-origin: 0 0;
104 -webkit-transform-style: preserve-3d;
105 transform-origin: 0 0;
106 transform-style: flat;
107 }
108 .widget-slider .noUi-connect,
109 .jupyter-widget-slider .noUi-connect {
110 height: 100%;
111 width: 100%;
112 }
113 .widget-slider .noUi-origin,
114 .jupyter-widget-slider .noUi-origin {
115 height: 10%;
116 width: 10%;
117 }
118 .widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin,
119 .jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
120 left: 0;
121 right: auto;
122 }
123 .widget-slider .noUi-vertical .noUi-origin,
124 .jupyter-widget-slider .noUi-vertical .noUi-origin {
125 width: 0;
126 }
127 .widget-slider .noUi-horizontal .noUi-origin,
128 .jupyter-widget-slider .noUi-horizontal .noUi-origin {
129 height: 0;
130 }
131 .widget-slider .noUi-handle,
132 .jupyter-widget-slider .noUi-handle {
133 -webkit-backface-visibility: hidden;
134 backface-visibility: hidden;
135 position: absolute;
136 }
137 .widget-slider .noUi-touch-area,
138 .jupyter-widget-slider .noUi-touch-area {
139 height: 100%;
140 width: 100%;
141 }
142 .widget-slider .noUi-state-tap .noUi-connect,
143 .jupyter-widget-slider .noUi-state-tap .noUi-connect,
144 .widget-slider .noUi-state-tap .noUi-origin,
145 .jupyter-widget-slider .noUi-state-tap .noUi-origin {
146 -webkit-transition: transform 0.3s;
147 transition: transform 0.3s;
148 }
149 .widget-slider .noUi-state-drag *,
150 .jupyter-widget-slider .noUi-state-drag * {
151 cursor: inherit !important;
152 }
153 .widget-slider .noUi-horizontal,
154 .jupyter-widget-slider .noUi-horizontal {
155 height: 18px;
156 }
157 .widget-slider .noUi-horizontal .noUi-handle,
158 .jupyter-widget-slider .noUi-horizontal .noUi-handle {
159 width: 34px;
160 height: 28px;
161 right: -17px;
162 top: -6px;
163 }
164 .widget-slider .noUi-vertical,
165 .jupyter-widget-slider .noUi-vertical {
166 width: 18px;
167 }
168 .widget-slider .noUi-vertical .noUi-handle,
169 .jupyter-widget-slider .noUi-vertical .noUi-handle {
170 width: 28px;
171 height: 34px;
172 right: -6px;
173 top: -17px;
174 }
175 .widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle,
176 .jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
177 left: -17px;
178 right: auto;
179 }
180 .widget-slider .noUi-target,
181 .jupyter-widget-slider .noUi-target {
182 background: #FAFAFA;
183 border-radius: 4px;
184 border: 1px solid #D3D3D3;
185 box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
186 }
187 .widget-slider .noUi-connects,
188 .jupyter-widget-slider .noUi-connects {
189 border-radius: 3px;
190 }
191 .widget-slider .noUi-connect,
192 .jupyter-widget-slider .noUi-connect {
193 background: #3FB8AF;
194 }
195 .widget-slider .noUi-draggable,
196 .jupyter-widget-slider .noUi-draggable {
197 cursor: ew-resize;
198 }
199 .widget-slider .noUi-vertical .noUi-draggable,
200 .jupyter-widget-slider .noUi-vertical .noUi-draggable {
201 cursor: ns-resize;
202 }
203 .widget-slider .noUi-handle,
204 .jupyter-widget-slider .noUi-handle {
205 border: 1px solid #D9D9D9;
206 border-radius: 3px;
207 background: #FFF;
208 cursor: default;
209 box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
210 }
211 .widget-slider .noUi-active,
212 .jupyter-widget-slider .noUi-active {
213 box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
214 }
215 .widget-slider .noUi-handle:before,
216 .jupyter-widget-slider .noUi-handle:before,
217 .widget-slider .noUi-handle:after,
218 .jupyter-widget-slider .noUi-handle:after {
219 content: "";
220 display: block;
221 position: absolute;
222 height: 14px;
223 width: 1px;
224 background: #E8E7E6;
225 left: 14px;
226 top: 6px;
227 }
228 .widget-slider .noUi-handle:after,
229 .jupyter-widget-slider .noUi-handle:after {
230 left: 17px;
231 }
232 .widget-slider .noUi-vertical .noUi-handle:before,
233 .jupyter-widget-slider .noUi-vertical .noUi-handle:before,
234 .widget-slider .noUi-vertical .noUi-handle:after,
235 .jupyter-widget-slider .noUi-vertical .noUi-handle:after {
236 width: 14px;
237 height: 1px;
238 left: 6px;
239 top: 14px;
240 }
241 .widget-slider .noUi-vertical .noUi-handle:after,
242 .jupyter-widget-slider .noUi-vertical .noUi-handle:after {
243 top: 17px;
244 }
245 .widget-slider [disabled] .noUi-connect,
246 .jupyter-widget-slider [disabled] .noUi-connect {
247 background: #B8B8B8;
248 }
249 .widget-slider [disabled].noUi-target,
250 .jupyter-widget-slider [disabled].noUi-target,
251 .widget-slider [disabled].noUi-handle,
252 .jupyter-widget-slider [disabled].noUi-handle,
253 .widget-slider [disabled] .noUi-handle,
254 .jupyter-widget-slider [disabled] .noUi-handle {
255 cursor: not-allowed;
256 }
257 .widget-slider .noUi-pips,
258 .jupyter-widget-slider .noUi-pips,
259 .widget-slider .noUi-pips *,
260 .jupyter-widget-slider .noUi-pips * {
261 -moz-box-sizing: border-box;
262 box-sizing: border-box;
263 }
264 .widget-slider .noUi-pips,
265 .jupyter-widget-slider .noUi-pips {
266 position: absolute;
267 color: #999;
268 }
269 .widget-slider .noUi-value,
270 .jupyter-widget-slider .noUi-value {
271 position: absolute;
272 white-space: nowrap;
273 text-align: center;
274 }
275 .widget-slider .noUi-value-sub,
276 .jupyter-widget-slider .noUi-value-sub {
277 color: #ccc;
278 font-size: 10px;
279 }
280 .widget-slider .noUi-marker,
281 .jupyter-widget-slider .noUi-marker {
282 position: absolute;
283 background: #CCC;
284 }
285 .widget-slider .noUi-marker-sub,
286 .jupyter-widget-slider .noUi-marker-sub {
287 background: #AAA;
288 }
289 .widget-slider .noUi-marker-large,
290 .jupyter-widget-slider .noUi-marker-large {
291 background: #AAA;
292 }
293 .widget-slider .noUi-pips-horizontal,
294 .jupyter-widget-slider .noUi-pips-horizontal {
295 padding: 10px 0;
296 height: 80px;
297 top: 100%;
298 left: 0;
299 width: 100%;
300 }
301 .widget-slider .noUi-value-horizontal,
302 .jupyter-widget-slider .noUi-value-horizontal {
303 -webkit-transform: translate(-50%, 50%);
304 transform: translate(-50%, 50%);
305 }
306 .noUi-rtl .widget-slider .noUi-value-horizontal,
307 .noUi-rtl .jupyter-widget-slider .noUi-value-horizontal {
308 -webkit-transform: translate(50%, 50%);
309 transform: translate(50%, 50%);
310 }
311 .widget-slider .noUi-marker-horizontal.noUi-marker,
312 .jupyter-widget-slider .noUi-marker-horizontal.noUi-marker {
313 margin-left: -1px;
314 width: 2px;
315 height: 5px;
316 }
317 .widget-slider .noUi-marker-horizontal.noUi-marker-sub,
318 .jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-sub {
319 height: 10px;
320 }
321 .widget-slider .noUi-marker-horizontal.noUi-marker-large,
322 .jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-large {
323 height: 15px;
324 }
325 .widget-slider .noUi-pips-vertical,
326 .jupyter-widget-slider .noUi-pips-vertical {
327 padding: 0 10px;
328 height: 100%;
329 top: 0;
330 left: 100%;
331 }
332 .widget-slider .noUi-value-vertical,
333 .jupyter-widget-slider .noUi-value-vertical {
334 -webkit-transform: translate(0, -50%);
335 transform: translate(0, -50%);
336 padding-left: 25px;
337 }
338 .noUi-rtl .widget-slider .noUi-value-vertical,
339 .noUi-rtl .jupyter-widget-slider .noUi-value-vertical {
340 -webkit-transform: translate(0, 50%);
341 transform: translate(0, 50%);
342 }
343 .widget-slider .noUi-marker-vertical.noUi-marker,
344 .jupyter-widget-slider .noUi-marker-vertical.noUi-marker {
345 width: 5px;
346 height: 2px;
347 margin-top: -1px;
348 }
349 .widget-slider .noUi-marker-vertical.noUi-marker-sub,
350 .jupyter-widget-slider .noUi-marker-vertical.noUi-marker-sub {
351 width: 10px;
352 }
353 .widget-slider .noUi-marker-vertical.noUi-marker-large,
354 .jupyter-widget-slider .noUi-marker-vertical.noUi-marker-large {
355 width: 15px;
356 }
357 .widget-slider .noUi-tooltip,
358 .jupyter-widget-slider .noUi-tooltip {
359 display: block;
360 position: absolute;
361 border: 1px solid #D9D9D9;
362 border-radius: 3px;
363 background: #fff;
364 color: #000;
365 padding: 5px;
366 text-align: center;
367 white-space: nowrap;
368 }
369 .widget-slider .noUi-horizontal .noUi-tooltip,
370 .jupyter-widget-slider .noUi-horizontal .noUi-tooltip {
371 -webkit-transform: translate(-50%, 0);
372 transform: translate(-50%, 0);
373 left: 50%;
374 bottom: 120%;
375 }
376 .widget-slider .noUi-vertical .noUi-tooltip,
377 .jupyter-widget-slider .noUi-vertical .noUi-tooltip {
378 -webkit-transform: translate(0, -50%);
379 transform: translate(0, -50%);
380 top: 50%;
381 right: 120%;
382 }
383 .widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip,
384 .jupyter-widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip {
385 -webkit-transform: translate(50%, 0);
386 transform: translate(50%, 0);
387 left: auto;
388 bottom: 10px;
389 }
390 .widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip,
391 .jupyter-widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip {
392 -webkit-transform: translate(0, -18px);
393 transform: translate(0, -18px);
394 top: auto;
395 right: 28px;
396 }
397 .widget-slider .noUi-connect,
398 .jupyter-widget-slider .noUi-connect {
399 background: #2196f3;
400 }
401 .widget-slider .noUi-horizontal,
402 .jupyter-widget-slider .noUi-horizontal {
403 height: var(--jp-widgets-slider-track-thickness);
404 }
405 .widget-slider .noUi-vertical,
406 .jupyter-widget-slider .noUi-vertical {
407 width: var(--jp-widgets-slider-track-thickness);
408 height: 100%;
409 }
410 .widget-slider .noUi-horizontal .noUi-handle,
411 .jupyter-widget-slider .noUi-horizontal .noUi-handle {
412 width: var(--jp-widgets-slider-handle-size);
413 height: var(--jp-widgets-slider-handle-size);
414 border-radius: 50%;
415 top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2);
416 right: calc(var(--jp-widgets-slider-handle-size) / -2);
417 }
418 .widget-slider .noUi-vertical .noUi-handle,
419 .jupyter-widget-slider .noUi-vertical .noUi-handle {
420 height: var(--jp-widgets-slider-handle-size);
421 width: var(--jp-widgets-slider-handle-size);
422 border-radius: 50%;
423 right: calc((var(--jp-widgets-slider-handle-size) - var(--jp-widgets-slider-track-thickness)) / -2);
424 top: calc(var(--jp-widgets-slider-handle-size) / -2);
425 }
426 .widget-slider .noUi-handle:after,
427 .jupyter-widget-slider .noUi-handle:after {
428 content: none;
429 }
430 .widget-slider .noUi-handle:before,
431 .jupyter-widget-slider .noUi-handle:before {
432 content: none;
433 }
434 .widget-slider .noUi-target,
435 .jupyter-widget-slider .noUi-target {
436 background: #fafafa;
437 border-radius: 4px;
438 border: 1px;
439 /* box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; */
440 }
441 .widget-slider .ui-slider,
442 .jupyter-widget-slider .ui-slider {
443 border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3);
444 background: var(--jp-layout-color3);
445 box-sizing: border-box;
446 position: relative;
447 border-radius: 0px;
448 }
449 .widget-slider .noUi-handle,
450 .jupyter-widget-slider .noUi-handle {
451 width: var(--jp-widgets-slider-handle-size);
452 border: 1px solid #d9d9d9;
453 border-radius: 3px;
454 background: #fff;
455 cursor: default;
456 box-shadow: none;
457 outline: none;
458 }
459 .widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,
460 .jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,
461 .widget-slider .noUi-target:not([disabled]) .noUi-handle:focus,
462 .jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:focus {
463 background-color: var(--jp-widgets-slider-active-handle-color);
464 border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-active-handle-color);
465 }
466 .widget-slider [disabled].noUi-target,
467 .jupyter-widget-slider [disabled].noUi-target {
468 opacity: 0.35;
469 }
470 .widget-slider .noUi-connects,
471 .jupyter-widget-slider .noUi-connects {
472 overflow: visible;
473 z-index: 0;
474 background: var(--jp-layout-color3);
475 }
476 .widget-slider .noUi-vertical .noUi-connect,
477 .jupyter-widget-slider .noUi-vertical .noUi-connect {
478 width: calc(100% + 2px);
479 right: -1px;
480 }
481 .widget-slider .noUi-horizontal .noUi-connect,
482 .jupyter-widget-slider .noUi-horizontal .noUi-connect {
483 height: calc(100% + 2px);
484 top: -1px;
485 }