-
Notifications
You must be signed in to change notification settings - Fork 31
/
slider-vars.scss
67 lines (45 loc) · 2.73 KB
/
slider-vars.scss
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
@import "../style/base";
/* Height */
$slider-height: var(--slider-height, #{size(5)});
/* Background */
$slider-bg: var(--slider-bg, #{color("primary", $default-hue, 0.3)});
/* Background of the buffer part */
$slider-bg-buffer: var(--slider-bg-buffer, #{color("primary", $default-hue, 0.6)});
/* Background of the active part */
$slider-bg-active: var(--slider-bg-active, #{color("primary")});
/* Background when disabled */
$slider-bg-disabled: var(--slider-bg-disabled, #{color("shade", $default-hue, 0.3)});
/* Background of the buffer part when disabled */
$slider-bg-buffer-disabled: var(--slider-bg-buffer-disabled, #{color("shade", $default-hue, 0.6)});
/* Background of the active part when disabled */
$slider-bg-active-disabled: var(--slider-bg-active-disabled, #{color("shade")});
/* Background of the thumb focus ring */
$slider-thumb-focus-ring-bg: var(--slider-thumb-focus-ring-bg, #{color("primary", $default-hue, 0.1)});
/* Background of the thumb */
$slider-thumb-bg: var(--slider-thumb-bg, #{color("primary")});
/* Background of the thumb when disabled */
$slider-thumb-bg-disabled: var(--slider-thumb-bg-disabled, #{color("shade")});
/* Size of the thumb focus ring when focused */
$slider-thumb-focus-ring-size: var(--slider-thumb-focus-ring-size, #{size(12)});
/* Size of the thumb */
$slider-thumb-size: var(--slider-thumb-size, #{size(12)});
/* Space between slider track and thumb label */
$slider-thumb-space: var(--slider-thumb-space, #{$spacing-m});
/* Transition of the thumb */
$slider-thumb-transition: var(--slider-thumb-transition, transform #{$transition-duration-fast} #{$transition-deceleration-curve}, box-shadow #{$transition-duration-fast} #{$transition-deceleration-curve});
/* Transform of the thumb when focused */
$slider-thumb-transform-focus: var(--slider-thumb-transform-focus, #{scale(1.2)});
/* Border radius of the thumb */
$slider-thumb-border-radius: var(--slider-thumb-border-radius, 100%);
/* Size of the thumb label */
$slider-thumb-label-size: var(--slider-thumb-label-size, #{size(30)});
/* Border radius of the thumb label */
$slider-thumb-label-border-radius: var(--slider-thumb-label-border-radius, 100%);
/* Background of the thumb label */
$slider-thumb-label-bg: var(--slider-thumb-label-bg, #{color("primary")});
/* Transition of the thumb label */
$slider-thumb-label-transition: var(--slider-thumb-label-transition, opacity #{$transition-duration-fast} #{$transition-deceleration-curve},transform #{$transition-duration-fast} #{$transition-deceleration-curve});
/* Font size of the thumb label */
$slider-thumb-label-font-size: var(--slider-thumb-label-font-size, #{$font-size-s});
/* Color of the thumb label */
$slider-thumb-label-color: var(--slider-thumb-label-color, #{color-contrast("primary")});