@festo-ui/web-essentials 7.3.0-dev.461 → 7.3.0-dev.464

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/README.md +83 -83
  2. package/dist/css/festo-web-essentials.css +81 -58
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +34 -2
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/organisms/festo-web-essentials-organisms.css +5 -0
  7. package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
  8. package/dist/css/organisms/festo-web-essentials-organisms.min.css +5 -1
  9. package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
  10. package/dist/css/themes/flatpickr/festo.css +1 -1
  11. package/dist/css/themes/flatpickr/festo.css.map +1 -1
  12. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  13. package/dist/scss/_accordion.scss +26 -24
  14. package/dist/scss/_badge.scss +11 -9
  15. package/dist/scss/_border.scss +9 -5
  16. package/dist/scss/_bottom-navigation.scss +8 -6
  17. package/dist/scss/_bottom-sheet.scss +19 -16
  18. package/dist/scss/_breadcrumb.scss +7 -5
  19. package/dist/scss/_button.scss +25 -22
  20. package/dist/scss/_cards.scss +13 -11
  21. package/dist/scss/_checkbox.scss +18 -16
  22. package/dist/scss/_chips.scss +25 -22
  23. package/dist/scss/_colors.scss +3 -1
  24. package/dist/scss/_display.scss +9 -5
  25. package/dist/scss/_flex.scss +10 -5
  26. package/dist/scss/_fonts.scss +13 -11
  27. package/dist/scss/_grid.scss +11 -7
  28. package/dist/scss/_icons.scss +9 -7
  29. package/dist/scss/_layout.scss +10 -7
  30. package/dist/scss/_list.scss +20 -18
  31. package/dist/scss/_loading-indicator.scss +6 -4
  32. package/dist/scss/_mixins.scss +4 -2
  33. package/dist/scss/_mobile-flyout.scss +17 -15
  34. package/dist/scss/_modal.scss +36 -33
  35. package/dist/scss/_navbar-menu.scss +118 -116
  36. package/dist/scss/_navbar.scss +30 -48
  37. package/dist/scss/_normalize.scss +16 -13
  38. package/dist/scss/_pagination.scss +23 -21
  39. package/dist/scss/_popover.scss +21 -19
  40. package/dist/scss/_progressbar.scss +14 -12
  41. package/dist/scss/_radio.scss +20 -18
  42. package/dist/scss/_rfs.scss +5 -4
  43. package/dist/scss/_root.scss +5 -3
  44. package/dist/scss/_scroll.scss +6 -3
  45. package/dist/scss/_search-input.scss +15 -13
  46. package/dist/scss/_segment.scss +30 -27
  47. package/dist/scss/_select.scss +20 -18
  48. package/dist/scss/_sidebar-overlay.scss +7 -5
  49. package/dist/scss/_slider.scss +26 -23
  50. package/dist/scss/_snackbar.scss +48 -45
  51. package/dist/scss/_spacing.scss +9 -5
  52. package/dist/scss/_stepper-horizontal.scss +22 -20
  53. package/dist/scss/_stepper-vertical.scss +18 -16
  54. package/dist/scss/_switch.scss +12 -10
  55. package/dist/scss/_table.scss +11 -9
  56. package/dist/scss/_text-input.scss +24 -22
  57. package/dist/scss/_text-link.scss +7 -5
  58. package/dist/scss/_timepicker.scss +10 -8
  59. package/dist/scss/_toolbar.scss +8 -6
  60. package/dist/scss/_tree.scss +67 -68
  61. package/dist/scss/_type.scss +10 -8
  62. package/dist/scss/_utils.scss +2 -1
  63. package/dist/scss/_variables.scss +3 -2
  64. package/dist/scss/festo-web-essentials.scss +53 -53
  65. package/dist/scss/organisms/_footer.scss +13 -11
  66. package/dist/scss/organisms/_header-modul.scss +14 -12
  67. package/dist/scss/organisms/_header-slider.scss +10 -8
  68. package/dist/scss/organisms/_image-gallery.scss +19 -17
  69. package/dist/scss/organisms/_login.scss +14 -12
  70. package/dist/scss/organisms/_side-menu.scss +8 -5
  71. package/dist/scss/organisms/_teaser.scss +7 -5
  72. package/dist/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  73. package/dist/scss/themes/flatpickr/festo.scss +2 -2
  74. package/package.json +3 -3
  75. package/scss/_accordion.scss +26 -24
  76. package/scss/_badge.scss +11 -9
  77. package/scss/_border.scss +9 -5
  78. package/scss/_bottom-navigation.scss +8 -6
  79. package/scss/_bottom-sheet.scss +19 -16
  80. package/scss/_breadcrumb.scss +7 -5
  81. package/scss/_button.scss +25 -22
  82. package/scss/_cards.scss +13 -11
  83. package/scss/_checkbox.scss +18 -16
  84. package/scss/_chips.scss +25 -22
  85. package/scss/_colors.scss +3 -1
  86. package/scss/_display.scss +9 -5
  87. package/scss/_flex.scss +10 -5
  88. package/scss/_fonts.scss +13 -11
  89. package/scss/_grid.scss +11 -7
  90. package/scss/_icons.scss +9 -7
  91. package/scss/_layout.scss +10 -7
  92. package/scss/_list.scss +20 -18
  93. package/scss/_loading-indicator.scss +6 -4
  94. package/scss/_mixins.scss +4 -2
  95. package/scss/_mobile-flyout.scss +17 -15
  96. package/scss/_modal.scss +36 -33
  97. package/scss/_navbar-menu.scss +118 -116
  98. package/scss/_navbar.scss +30 -48
  99. package/scss/_normalize.scss +16 -13
  100. package/scss/_pagination.scss +23 -21
  101. package/scss/_popover.scss +21 -19
  102. package/scss/_progressbar.scss +14 -12
  103. package/scss/_radio.scss +20 -18
  104. package/scss/_rfs.scss +5 -4
  105. package/scss/_root.scss +5 -3
  106. package/scss/_scroll.scss +6 -3
  107. package/scss/_search-input.scss +15 -13
  108. package/scss/_segment.scss +30 -27
  109. package/scss/_select.scss +20 -18
  110. package/scss/_sidebar-overlay.scss +7 -5
  111. package/scss/_slider.scss +26 -23
  112. package/scss/_snackbar.scss +48 -45
  113. package/scss/_spacing.scss +9 -5
  114. package/scss/_stepper-horizontal.scss +22 -20
  115. package/scss/_stepper-vertical.scss +18 -16
  116. package/scss/_switch.scss +12 -10
  117. package/scss/_table.scss +11 -9
  118. package/scss/_text-input.scss +24 -22
  119. package/scss/_text-link.scss +7 -5
  120. package/scss/_timepicker.scss +10 -8
  121. package/scss/_toolbar.scss +8 -6
  122. package/scss/_tree.scss +67 -68
  123. package/scss/_type.scss +10 -8
  124. package/scss/_utils.scss +2 -1
  125. package/scss/_variables.scss +3 -2
  126. package/scss/festo-web-essentials.scss +52 -52
  127. package/scss/organisms/_footer.scss +13 -11
  128. package/scss/organisms/_header-modul.scss +14 -12
  129. package/scss/organisms/_header-slider.scss +10 -8
  130. package/scss/organisms/_image-gallery.scss +19 -17
  131. package/scss/organisms/_login.scss +14 -12
  132. package/scss/organisms/_side-menu.scss +8 -5
  133. package/scss/organisms/_teaser.scss +7 -5
  134. package/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  135. package/scss/themes/flatpickr/festo.scss +1 -1
@@ -1,3 +1,4 @@
1
+ @use "sass:meta";
1
2
  // SCSS RFS mixin
2
3
  // Automated responsive font sizes
3
4
  // Licensed under MIT (https://github.com/twbs/rfs/blob/master/LICENSE)
@@ -28,7 +29,7 @@ $rfs-two-dimensional: false !default;
28
29
  // Factor of decrease
29
30
  $rfs-factor: 10 !default;
30
31
 
31
- @if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
32
+ @if meta.type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
32
33
  @error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";
33
34
  }
34
35
 
@@ -45,7 +46,7 @@ $rfs-safari-iframe-resize-bug-fix: false !default;
45
46
  $enable-responsive-font-sizes: true !default;
46
47
 
47
48
  // Cache $rfs-base-font-size unit
48
- $rfs-base-font-size-unit: unit($rfs-base-font-size);
49
+ $rfs-base-font-size-unit: math.unit($rfs-base-font-size);
49
50
 
50
51
  // Remove px-unit from $rfs-base-font-size for calculations
51
52
  @if $rfs-base-font-size-unit == "px" {
@@ -55,7 +56,7 @@ $rfs-base-font-size-unit: unit($rfs-base-font-size);
55
56
  }
56
57
 
57
58
  // Cache $rfs-breakpoint unit to prevent multiple calls
58
- $rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
59
+ $rfs-breakpoint-unit-cache: math.unit($rfs-breakpoint);
59
60
 
60
61
  // Remove unit from $rfs-breakpoint for calculations
61
62
  @if $rfs-breakpoint-unit-cache == "px" {
@@ -106,7 +107,7 @@ $rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
106
107
  // Responsive font size mixin
107
108
  @mixin rfs($fs, $important: false) {
108
109
  // Cache $fs unit
109
- $fs-unit: if(type-of($fs) == "number", unit($fs), false);
110
+ $fs-unit: if(meta.type-of($fs) == "number", math.unit($fs), false);
110
111
 
111
112
  // Add !important suffix if needed
112
113
  $rfs-suffix: if($important, " !important", "");
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  :root {
2
4
  --fwe-black: #000000;
3
5
  --fwe-white: #ffffff;
@@ -48,15 +50,15 @@
48
50
 
49
51
  --fwe-background: #f2f3f5;
50
52
 
51
- @each $name, $size in $grid-breakpoints {
53
+ @each $name, $size in variables.$grid-breakpoints {
52
54
  --fwe-breakpoint-#{$name}: #{$size};
53
55
  }
54
56
 
55
- @each $name, $size in $grid-breakpoints-min {
57
+ @each $name, $size in variables.$grid-breakpoints-min {
56
58
  --fwe-breakpoint-#{$name}: #{$size};
57
59
  }
58
60
 
59
- @each $spacing, $space in $spacers {
61
+ @each $spacing, $space in variables.$spacers {
60
62
  --fwe-spacer-#{$spacing}: #{$space};
61
63
  }
62
64
 
@@ -1,17 +1,20 @@
1
+ @use "mixins";
2
+ @use "variables";
3
+
1
4
  // styles for native browser scrollbar
2
5
  .fwe-scrollbar {
3
- @include custom-scrollbar;
6
+ @include mixins.custom-scrollbar;
4
7
  }
5
8
 
6
9
  // styles for js scrollbar (simplebar.js)
7
10
  /* stylelint-disable */
8
11
  .simplebar-scrollbar::before {
9
- background-color: $control-hover;
12
+ background-color: variables.$control-hover;
10
13
  }
11
14
 
12
15
  .simplebar-dragging {
13
16
  .simplebar-scrollbar::before {
14
- background-color: $control-active;
17
+ background-color: variables.$control-active;
15
18
  }
16
19
  }
17
20
 
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .fwe-search-input {
2
4
  display: block;
3
5
  position: relative;
@@ -27,13 +29,13 @@
27
29
  right: 0px;
28
30
  bottom: 9px;
29
31
  line-height: 1;
30
- background: $control;
32
+ background: variables.$control;
31
33
  border-radius: 50%;
32
34
  &:hover {
33
- background: $control-hover;
35
+ background: variables.$control-hover;
34
36
  }
35
37
  &:active {
36
- background: $control-active;
38
+ background: variables.$control-active;
37
39
  }
38
40
  }
39
41
 
@@ -43,21 +45,21 @@
43
45
  border-top: none;
44
46
  border-right: none;
45
47
  border-radius: 0px;
46
- border-bottom: 1px solid $control-border;
48
+ border-bottom: 1px solid variables.$control-border;
47
49
  background: transparent;
48
50
  padding: 1px 24px 4px 32px;
49
51
  &::placeholder {
50
- color: $text;
52
+ color: variables.$text;
51
53
  }
52
54
  &:hover:not(:disabled) {
53
55
  &::placeholder {
54
- color: $hero;
56
+ color: variables.$hero;
55
57
  }
56
- border-bottom: 1px solid $hero;
58
+ border-bottom: 1px solid variables.$hero;
57
59
  }
58
60
  &:focus {
59
61
  outline: none;
60
- border-bottom: 1px solid $hero;
62
+ border-bottom: 1px solid variables.$hero;
61
63
  &::placeholder {
62
64
  color: transparent !important;
63
65
  }
@@ -86,9 +88,9 @@ input[type="search"]::-webkit-search-cancel-button {
86
88
  left: 0px;
87
89
  right: 0px;
88
90
  padding: 8px;
89
- background: $white;
90
- border-radius: $control-border-radius;
91
- box-shadow: $control-box-shadow;
91
+ background: variables.$white;
92
+ border-radius: variables.$control-border-radius;
93
+ box-shadow: variables.$control-box-shadow;
92
94
  .fwe-search-suggestion {
93
95
  cursor: pointer;
94
96
  padding: 8px;
@@ -96,11 +98,11 @@ input[type="search"]::-webkit-search-cancel-button {
96
98
  text-overflow: ellipsis;
97
99
  strong {
98
100
  font-weight: unset;
99
- color: $hero;
101
+ color: variables.$hero;
100
102
  }
101
103
  &:hover,
102
104
  &.fwe-selected {
103
- background: $background;
105
+ background: variables.$background;
104
106
  }
105
107
  }
106
108
  }
@@ -1,8 +1,11 @@
1
+ @use "mixins";
2
+ @use "variables";
3
+
1
4
  @mixin segment-disabled {
2
- background-color: $gray-100;
5
+ background-color: variables.$gray-100;
3
6
  color: #3333334d;
4
- border-color: $control-disabled;
5
- border-right: 1px solid $control-disabled;
7
+ border-color: variables.$control-disabled;
8
+ border-right: 1px solid variables.$control-disabled;
6
9
  }
7
10
 
8
11
  .fwe-segment {
@@ -19,24 +22,24 @@
19
22
  &-label {
20
23
  display: inline-flex;
21
24
  align-items: center;
22
- height: $spacer-l;
25
+ height: variables.$spacer-l;
23
26
  width: 100%;
24
27
  white-space: nowrap;
25
- padding: 0 $spacer-m;
26
- font-size: $font-size-base;
28
+ padding: 0 variables.$spacer-m;
29
+ font-size: variables.$font-size-base;
27
30
  text-align: center;
28
31
  cursor: pointer;
29
- border: 1px solid $gray-300;
30
- color: $hero-gray;
31
- background-color: $white;
32
+ border: 1px solid variables.$gray-300;
33
+ color: variables.$hero-gray;
34
+ background-color: variables.$white;
32
35
 
33
36
  &:hover {
34
- color: $hero-active;
35
- border-color: $hero-active;
36
- border-right: 1px solid $hero-active;
37
+ color: variables.$hero-active;
38
+ border-color: variables.$hero-active;
39
+ border-right: 1px solid variables.$hero-active;
37
40
  + .fwe-segment-input {
38
41
  + .fwe-segment-label {
39
- border-left: 1px solid $hero-active;
42
+ border-left: 1px solid variables.$hero-active;
40
43
  }
41
44
  }
42
45
  }
@@ -49,13 +52,13 @@
49
52
  }
50
53
 
51
54
  &-input {
52
- @include visual-hidden();
55
+ @include mixins.visual-hidden();
53
56
  &:disabled {
54
57
  ~ .fwe-segment-label {
55
58
  pointer-events: none;
56
59
  color: #a3b2bc4d;
57
- border-color: $control-disabled;
58
- border-right: 1px solid $control-disabled;
60
+ border-color: variables.$control-disabled;
61
+ border-right: 1px solid variables.$control-disabled;
59
62
  &:not(:last-child) {
60
63
  border-right: 0;
61
64
  }
@@ -64,9 +67,9 @@
64
67
  &:checked:not(:disabled) {
65
68
  + .fwe-segment-label {
66
69
  position: relative;
67
- background-color: $caerul;
68
- color: $white;
69
- border-color: $caerul;
70
+ background-color: variables.$caerul;
71
+ color: variables.$white;
72
+ border-color: variables.$caerul;
70
73
  &:not(:last-child) {
71
74
  &::after {
72
75
  content: "";
@@ -74,9 +77,9 @@
74
77
  position: absolute;
75
78
  top: -1px;
76
79
  right: -1px;
77
- height: $spacer-l;
80
+ height: variables.$spacer-l;
78
81
  width: 1px;
79
- background-color: $caerul;
82
+ background-color: variables.$caerul;
80
83
  }
81
84
  }
82
85
  }
@@ -90,13 +93,13 @@
90
93
 
91
94
  .fwe-segment-label {
92
95
  &:nth-child(2) {
93
- border-radius: $control-border-radius 0 0 $control-border-radius;
96
+ border-radius: variables.$control-border-radius 0 0 variables.$control-border-radius;
94
97
  }
95
98
  }
96
99
 
97
100
  .fwe-segment-label {
98
101
  &:last-child {
99
- border-radius: 0 $control-border-radius $control-border-radius 0;
102
+ border-radius: 0 variables.$control-border-radius variables.$control-border-radius 0;
100
103
  }
101
104
  }
102
105
 
@@ -104,9 +107,9 @@
104
107
  .fwe-segment-input {
105
108
  &:checked {
106
109
  + .fwe-segment-label {
107
- background-color: $sucaerul;
108
- color: $caerul;
109
- border-color: $caerul;
110
+ background-color: variables.$sucaerul;
111
+ color: variables.$caerul;
112
+ border-color: variables.$caerul;
110
113
  }
111
114
 
112
115
  &:disabled {
@@ -123,7 +126,7 @@
123
126
 
124
127
  &.fwe-segment-icon {
125
128
  .fwe-segment-label {
126
- padding: 0 $spacer-s;
129
+ padding: 0 variables.$spacer-s;
127
130
  line-height: 30px;
128
131
  }
129
132
  .fwe-segment-input {
@@ -1,14 +1,16 @@
1
+ @use "variables";
2
+
1
3
  %select-description {
2
4
  position: absolute;
3
5
  bottom: 0px;
4
6
  width: 100%;
5
- font-size: $font-size-small;
6
- line-height: $line-height-base;
7
- color: $text-disabled;
7
+ font-size: variables.$font-size-small;
8
+ line-height: variables.$line-height-base;
9
+ color: variables.$text-disabled;
8
10
  }
9
11
 
10
12
  .fwe-select-wrapper {
11
- font-family: $font-size-base;
13
+ font-family: variables.$font-size-base;
12
14
  position: relative;
13
15
  display: flex;
14
16
  flex-direction: column;
@@ -26,10 +28,10 @@
26
28
 
27
29
  .fwe-select-label {
28
30
  order: 1;
29
- color: $text;
30
- font-size: $font-size-small;
31
- line-height: $line-height-base;
32
- font-weight: $font-weight-bold;
31
+ color: variables.$text;
32
+ font-size: variables.$font-size-small;
33
+ line-height: variables.$line-height-base;
34
+ font-weight: variables.$font-weight-bold;
33
35
  }
34
36
 
35
37
  .fwe-select {
@@ -39,33 +41,33 @@
39
41
  padding-bottom: 4px;
40
42
  padding-top: 4px;
41
43
  width: 100%;
42
- font-size: $font-size-base;
44
+ font-size: variables.$font-size-base;
43
45
  appearance: none;
44
46
  display: block;
45
47
  outline: 0;
46
48
  background: none;
47
49
  border: none;
48
- border-bottom: 1px solid $control-border;
50
+ border-bottom: 1px solid variables.$control-border;
49
51
 
50
52
  &:hover {
51
53
  &:not(:disabled) {
52
- color: $hero;
54
+ color: variables.$hero;
53
55
  option {
54
- color: $text;
56
+ color: variables.$text;
55
57
  }
56
- border-color: $hero;
58
+ border-color: variables.$hero;
57
59
  }
58
60
  &:invalid {
59
- border-color: $red;
61
+ border-color: variables.$red;
60
62
  }
61
63
  }
62
64
 
63
65
  &:disabled {
64
66
  cursor: default;
65
67
  ~ .fwe-select-label {
66
- color: $text-disabled;
68
+ color: variables.$text-disabled;
67
69
  }
68
- border-color: $control-disabled;
70
+ border-color: variables.$control-disabled;
69
71
  }
70
72
 
71
73
  &::-ms-expand {
@@ -74,7 +76,7 @@
74
76
 
75
77
  &:invalid {
76
78
  box-shadow: none;
77
- border-color: $red;
79
+ border-color: variables.$red;
78
80
 
79
81
  ~ .fwe-select-invalid {
80
82
  display: block;
@@ -92,6 +94,6 @@
92
94
  .fwe-select-invalid {
93
95
  @extend %select-description;
94
96
  display: none;
95
- color: $red;
97
+ color: variables.$red;
96
98
  }
97
99
  }
@@ -1,7 +1,9 @@
1
+ @use "variables";
2
+
1
3
  $fwe-sidebar-overlay-width: 480px;
2
4
 
3
5
  .fwe-sidebar-overlay {
4
- z-index: $zindex-sticky;
6
+ z-index: variables.$zindex-sticky;
5
7
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
6
8
  padding: 32px;
7
9
  position: fixed;
@@ -9,7 +11,7 @@ $fwe-sidebar-overlay-width: 480px;
9
11
  top: 0px;
10
12
  bottom: 0px;
11
13
  width: $fwe-sidebar-overlay-width;
12
- background: $white;
14
+ background: variables.$white;
13
15
  transform: translateX($fwe-sidebar-overlay-width);
14
16
  transition: opacity 400ms, transform 400ms;
15
17
  opacity: 0;
@@ -31,13 +33,13 @@ $fwe-sidebar-overlay-width: 480px;
31
33
  outline: none;
32
34
  text-align: right;
33
35
  cursor: pointer;
34
- background: $text;
36
+ background: variables.$text;
35
37
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExIC0xODMpIj48cGF0aCBkPSJNMCwwSDI0VjI0SDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEgMTgzKSIgZmlsbD0ibm9uZSIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjwvZz48L3N2Zz4=");
36
38
  &:hover {
37
- background: $hero;
39
+ background: variables.$hero;
38
40
  }
39
41
  }
40
- @media (max-width: $breakpoint-xs-min) {
42
+ @media (max-width: variables.$breakpoint-xs-min) {
41
43
  padding: 16px;
42
44
  left: 0px;
43
45
  width: unset;
@@ -1,9 +1,12 @@
1
+ @use "mixins";
2
+ @use "variables";
3
+
1
4
  label.fwe-slider {
2
5
  span {
3
6
  margin-bottom: 4px;
4
7
  display: inline-block;
5
- font-size: $font-size-md;
6
- color: $text-light;
8
+ font-size: variables.$font-size-md;
9
+ color: variables.$text-light;
7
10
  }
8
11
  }
9
12
 
@@ -17,7 +20,7 @@ input[type="range"].fwe-slider-input {
17
20
 
18
21
  cursor: pointer;
19
22
 
20
- @include firefox-only {
23
+ @include mixins.firefox-only {
21
24
  height: 32px;
22
25
  }
23
26
  &:focus {
@@ -28,7 +31,7 @@ input[type="range"].fwe-slider-input {
28
31
  -webkit-appearance: none;
29
32
  width: 8px;
30
33
  height: 8px;
31
- background: $hero;
34
+ background: variables.$hero;
32
35
  cursor: pointer;
33
36
  border-radius: 50%;
34
37
  margin-top: -3px;
@@ -37,7 +40,7 @@ input[type="range"].fwe-slider-input {
37
40
  &::-moz-range-thumb {
38
41
  width: 8px;
39
42
  height: 8px;
40
- background: $hero;
43
+ background: variables.$hero;
41
44
  cursor: pointer;
42
45
  border-radius: 50%;
43
46
  border: none;
@@ -47,29 +50,29 @@ input[type="range"].fwe-slider-input {
47
50
  width: 6px;
48
51
  height: 6px;
49
52
  border-radius: 50%;
50
- background: $hero;
53
+ background: variables.$hero;
51
54
  cursor: pointer;
52
- border: 1px solid $hero;
55
+ border: 1px solid variables.$hero;
53
56
  }
54
57
 
55
58
  &::-webkit-slider-runnable-track {
56
59
  width: 100%;
57
60
  height: 2px;
58
61
  cursor: pointer;
59
- background: $control;
62
+ background: variables.$control;
60
63
  border: none;
61
64
  }
62
65
  &::-moz-range-track {
63
66
  width: 100%;
64
67
  height: 2px;
65
68
  cursor: pointer;
66
- background: $control;
69
+ background: variables.$control;
67
70
  border: none;
68
71
  }
69
72
  &::-moz-range-progress {
70
73
  height: 2px;
71
74
  cursor: pointer;
72
- background: $hero;
75
+ background: variables.$hero;
73
76
  border: none;
74
77
  }
75
78
  &::-ms-track {
@@ -82,10 +85,10 @@ input[type="range"].fwe-slider-input {
82
85
  color: transparent;
83
86
  }
84
87
  &::-ms-fill-lower {
85
- background: $hero;
88
+ background: variables.$hero;
86
89
  }
87
90
  &::-ms-fill-upper {
88
- background: $control;
91
+ background: variables.$control;
89
92
  }
90
93
 
91
94
  &:hover:not(:disabled) {
@@ -99,7 +102,7 @@ input[type="range"].fwe-slider-input {
99
102
  width: 16px;
100
103
  }
101
104
  &::-ms-thumb {
102
- box-shadow: 0px 0px 0px 4px $hero;
105
+ box-shadow: 0px 0px 0px 4px variables.$hero;
103
106
  }
104
107
  }
105
108
 
@@ -111,37 +114,37 @@ input[type="range"].fwe-slider-input {
111
114
  box-shadow: 0px 0px 0px 8px rgba(0, 145, 220, 0.3);
112
115
  }
113
116
  &::-ms-thumb {
114
- box-shadow: 0px 0px 0px 4px $hero, 0px 0px 0px 12px rgba(0, 145, 220, 0.3) !important;
117
+ box-shadow: 0px 0px 0px 4px variables.$hero, 0px 0px 0px 12px rgba(0, 145, 220, 0.3) !important;
115
118
  }
116
119
  }
117
120
 
118
121
  &:disabled {
119
122
  &::-webkit-slider-runnable-track {
120
- background: $control-disabled;
123
+ background: variables.$control-disabled;
121
124
  }
122
125
  &::-moz-range-track {
123
- background: $control-disabled;
126
+ background: variables.$control-disabled;
124
127
  }
125
128
  &::-moz-range-progress {
126
- background: $control;
129
+ background: variables.$control;
127
130
  }
128
131
  &::-ms-fill-lower {
129
- background: $control;
132
+ background: variables.$control;
130
133
  }
131
134
  &::-ms-fill-upper {
132
- background: $control-disabled;
135
+ background: variables.$control-disabled;
133
136
  }
134
137
 
135
138
  &::-webkit-slider-thumb {
136
139
  cursor: auto;
137
- background: $control;
140
+ background: variables.$control;
138
141
  }
139
142
  &::-moz-range-thumb {
140
- background: $control;
143
+ background: variables.$control;
141
144
  }
142
145
  &::-ms-thumb {
143
- background: $control;
144
- border: 1px solid $control;
146
+ background: variables.$control;
147
+ border: 1px solid variables.$control;
145
148
  }
146
149
  }
147
150
  }