@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,10 +1,13 @@
1
+ @use "sass:map";
2
+ @use "variables";
3
+
1
4
  .fwe-snackbar {
2
- padding: $spacer-xs;
3
- background-color: $hero-bg;
4
- border: 1px solid $hero;
5
- border-radius: $control-border-radius;
5
+ padding: variables.$spacer-xs;
6
+ background-color: variables.$hero-bg;
7
+ border: 1px solid variables.$hero;
8
+ border-radius: variables.$control-border-radius;
6
9
  margin: auto;
7
- margin-bottom: $spacer-m;
10
+ margin-bottom: variables.$spacer-m;
8
11
  display: flex;
9
12
  align-items: center;
10
13
  overflow: hidden;
@@ -19,7 +22,7 @@
19
22
  }
20
23
 
21
24
  &.fwe-snackbar-shadow {
22
- box-shadow: $control-box-shadow;
25
+ box-shadow: variables.$control-box-shadow;
23
26
  }
24
27
 
25
28
  .fwe-snackbar-close-btn {
@@ -29,13 +32,13 @@
29
32
  width: 24px;
30
33
  min-width: 24px;
31
34
  cursor: pointer;
32
- background: $hero;
35
+ background: variables.$hero;
33
36
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iY29udGVudCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTE2Ljk1IDguNDY0IDE1LjUzNiA3LjA1IDEyIDEwLjU4NiA4LjQ2NCA3LjA1IDcuMDUgOC40NjQgMTAuNTg2IDEyIDcuMDUgMTUuNTM2bDEuNDE0IDEuNDE0TDEyIDEzLjQxNGwzLjUzNiAzLjUzNiAxLjQxNC0xLjQxNEwxMy40MTQgMTJsMy41MzYtMy41MzZ6Ii8+PC9zdmc+");
34
37
  }
35
38
 
36
39
  .fwe-snackbar-link-btn {
37
40
  background: none;
38
- color: $hero;
41
+ color: variables.$hero;
39
42
  border: none;
40
43
  padding: 0px 12px;
41
44
  cursor: pointer;
@@ -60,44 +63,44 @@
60
63
 
61
64
  &.fwe-snackbar-info {
62
65
  span::before {
63
- background-color: $hero;
66
+ background-color: variables.$hero;
64
67
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGcgZGF0YS1uYW1lPSJjb250ZW50Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTEyIDFhMTEgMTEgMCAxIDAgMTEgMTFBMTEuMDMyIDExLjAzMiAwIDAgMCAxMiAxWm0xIDE4aC0ydi05aDJabTAtMTJoLTJWNWgyWiIvPjwvZz48L3N2Zz4=");
65
68
  }
66
69
  }
67
70
 
68
71
  &.fwe-snackbar-warning {
69
- border-color: $orange;
70
- background-color: $orange-bg;
72
+ border-color: variables.$orange;
73
+ background-color: variables.$orange-bg;
71
74
  span::before {
72
- background-color: $orange;
75
+ background-color: variables.$orange;
73
76
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGcgZGF0YS1uYW1lPSJjb250ZW50Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTIyLjQgMTkuODYgMTMuMjczIDIuNzQzYTEuNDQxIDEuNDQxIDAgMCAwLTIuNTQ0IDBMMS42IDE5Ljg2YTEuNDQxIDEuNDQxIDAgMCAwIDEuMjcyIDIuMTJIMjEuMTNhMS40NDEgMS40NDEgMCAwIDAgMS4yNzItMi4xMlpNMTEgN2gydjhoLTJabTIuMDA1IDExLjk2NWgtMi4wMXYtMi4wMWgyLjAxWiIvPjwvZz48L3N2Zz4=");
74
77
  }
75
78
  .fwe-snackbar-close-btn {
76
- background-color: $orange;
79
+ background-color: variables.$orange;
77
80
  }
78
81
  .fwe-snackbar-separator {
79
- background-color: $orange;
82
+ background-color: variables.$orange;
80
83
  }
81
84
  .fwe-snackbar-link-btn {
82
- color: $orange;
85
+ color: variables.$orange;
83
86
  }
84
87
  }
85
88
 
86
89
  &.fwe-snackbar-error {
87
- border-color: $red;
88
- background-color: $red-bg;
90
+ border-color: variables.$red;
91
+ background-color: variables.$red-bg;
89
92
  span::before {
90
- background-color: $red;
93
+ background-color: variables.$red;
91
94
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGcgZGF0YS1uYW1lPSJjb250ZW50Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTEyIDFhMTEgMTEgMCAxIDAgMTEgMTFBMTEgMTEgMCAwIDAgMTIgMVptNS43IDE1LjItMS41IDEuNS00LjItNC4zLTQuMiA0LjMtMS41LTEuNSA0LjMtNC4yLTQuMy00LjIgMS41LTEuNSA0LjIgNC4zIDQuMi00LjMgMS41IDEuNS00LjMgNC4yWiIvPjwvZz48L3N2Zz4=");
92
95
  }
93
96
  .fwe-snackbar-close-btn {
94
- background-color: $red;
97
+ background-color: variables.$red;
95
98
  }
96
99
  .fwe-snackbar-separator {
97
- background-color: $red;
100
+ background-color: variables.$red;
98
101
  }
99
102
  .fwe-snackbar-link-btn {
100
- color: $red;
103
+ color: variables.$red;
101
104
  }
102
105
  }
103
106
 
@@ -105,82 +108,82 @@
105
108
  height: 24px;
106
109
  width: 1px;
107
110
  margin: 0px 12px;
108
- background: $hero;
111
+ background: variables.$hero;
109
112
  }
110
113
 
111
114
  &.fwe-snackbar-b {
112
115
  border: none;
113
- background-color: $white;
116
+ background-color: variables.$white;
114
117
 
115
118
  span::before {
116
- background-color: $text;
119
+ background-color: variables.$text;
117
120
  }
118
121
 
119
122
  .fwe-snackbar-close-btn {
120
- background-color: $text;
123
+ background-color: variables.$text;
121
124
  &:hover {
122
- background-color: $hero-hover;
125
+ background-color: variables.$hero-hover;
123
126
  }
124
127
  }
125
128
  .fwe-snackbar-separator {
126
- background-color: $text;
129
+ background-color: variables.$text;
127
130
  }
128
131
  .fwe-snackbar-link-btn {
129
- color: $hero;
132
+ color: variables.$hero;
130
133
  &:hover {
131
- color: $hero-hover;
134
+ color: variables.$hero-hover;
132
135
  }
133
136
  }
134
137
  }
135
138
 
136
139
  &.fwe-snackbar-c {
137
140
  border: none;
138
- color: $white;
139
- background-color: $hero;
141
+ color: variables.$white;
142
+ background-color: variables.$hero;
140
143
 
141
144
  &.fwe-snackbar-warning {
142
- background-color: $orange;
145
+ background-color: variables.$orange;
143
146
  }
144
147
 
145
148
  &.fwe-snackbar-error {
146
- background-color: $red;
149
+ background-color: variables.$red;
147
150
  }
148
151
 
149
152
  span::before {
150
- background-color: $white;
153
+ background-color: variables.$white;
151
154
  }
152
155
 
153
156
  .fwe-snackbar-close-btn {
154
- background-color: $white;
157
+ background-color: variables.$white;
155
158
 
156
159
  &:hover {
157
- background-color: $background;
160
+ background-color: variables.$background;
158
161
  }
159
162
  }
160
163
  .fwe-snackbar-separator {
161
- background-color: $white;
164
+ background-color: variables.$white;
162
165
  }
163
166
  .fwe-snackbar-link-btn {
164
- color: $white;
167
+ color: variables.$white;
165
168
  &:hover {
166
- color: $background;
169
+ color: variables.$background;
167
170
  }
168
171
  }
169
172
  }
170
173
  }
171
174
 
172
175
  .fwe-snackbar-container {
173
- padding-left: $spacer-m;
174
- padding-right: $spacer-m;
176
+ padding-left: variables.$spacer-m;
177
+ padding-right: variables.$spacer-m;
175
178
  max-width: 1000px;
176
179
  position: fixed;
177
- z-index: $zindex-modal;
180
+ z-index: variables.$zindex-modal;
178
181
  bottom: 0;
179
182
  left: 50%;
180
183
  width: 100%;
181
184
  transform: translateX(-50%);
182
- @media (max-width: map-get($grid-breakpoints,sm)) {
183
- padding-left: $spacer-xxs;
184
- padding-right: $spacer-xxs;
185
+ @media (max-width: map.get(variables.$grid-breakpoints,sm)) {
186
+ padding-left: variables.$spacer-xxs;
187
+ padding-right: variables.$spacer-xxs;
185
188
  }
186
189
  }
@@ -1,3 +1,7 @@
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
1
5
  @mixin spacings($spacers, $infix: "") {
2
6
  @each $spacing, $space in $spacers {
3
7
  @each $property, $abrev in (margin: "fwe-m", padding: "fwe-p") {
@@ -33,15 +37,15 @@
33
37
  }
34
38
  }
35
39
 
36
- @each $breakpoint in map-keys($grid-breakpoints) {
37
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
38
- $size: map-get($grid-breakpoints, $breakpoint);
40
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
41
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
42
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
39
43
 
40
44
  @if $size == 0 {
41
- @include spacings($spacers);
45
+ @include spacings(variables.$spacers);
42
46
  } @else {
43
47
  @media (min-width: $size) {
44
- @include spacings($spacers, $infix);
48
+ @include spacings(variables.$spacers, $infix);
45
49
  }
46
50
  }
47
51
  }
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .fwe-stepper-horizontal {
2
4
  width: 100%;
3
5
  height: 54px;
@@ -19,7 +21,7 @@
19
21
  left: 4px;
20
22
  right: 28px;
21
23
  top: 11px;
22
- background: $text-disabled;
24
+ background: variables.$text-disabled;
23
25
  transition: background-color 0.3s, color 0.3s;
24
26
  }
25
27
  .fwe-step {
@@ -27,51 +29,51 @@
27
29
  padding-bottom: 1px;
28
30
  position: relative;
29
31
  border-radius: 50%;
30
- border: 2px solid $text-disabled;
32
+ border: 2px solid variables.$text-disabled;
31
33
  width: 24px;
32
34
  height: 24px;
33
35
  display: flex;
34
36
  align-items: center;
35
37
  justify-content: center;
36
- font-feature-settings: $font-feature-settings;
37
- font-variant-numeric: $font-variant-numeric;
38
+ font-feature-settings: variables.$font-feature-settings;
39
+ font-variant-numeric: variables.$font-variant-numeric;
38
40
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
39
41
 
40
42
  .fwe-step-no {
41
- color: $text-disabled;
42
- font-size: $font-size-md;
43
- font-weight: $font-weight-bold;
43
+ color: variables.$text-disabled;
44
+ font-size: variables.$font-size-md;
45
+ font-weight: variables.$font-weight-bold;
44
46
  }
45
47
 
46
48
  .fwe-step-name {
47
- font-family: $font-family-base;
48
- @media (max-width: 900px) {
49
- display: none;
50
- }
51
- font-size: $font-size-md;
49
+ font-family: variables.$font-family-base;
50
+ font-size: variables.$font-size-md;
52
51
  position: absolute;
53
52
  top: 30px;
54
53
  left: 50%;
55
54
  transform: translateX(-50%);
56
- color: $text-disabled;
55
+ color: variables.$text-disabled;
57
56
  white-space: pre;
58
57
  transition: color 0.3s;
58
+ @media (max-width: 900px) {
59
+ display: none;
60
+ }
59
61
  }
60
62
  }
61
63
 
62
64
  &.fwe-step-active,
63
65
  &.fwe-step-done {
64
66
  &::after {
65
- background: $hero;
67
+ background: variables.$hero;
66
68
  }
67
69
  .fwe-step {
68
- background: $hero;
69
- border-color: $hero;
70
+ background: variables.$hero;
71
+ border-color: variables.$hero;
70
72
  .fwe-step-no {
71
73
  color: #ffffff;
72
74
  }
73
75
  .fwe-step-name {
74
- color: $hero;
76
+ color: variables.$hero;
75
77
  }
76
78
  }
77
79
  }
@@ -79,7 +81,7 @@
79
81
  &.fwe-step-active {
80
82
  .fwe-step {
81
83
  .fwe-step-name {
82
- font-weight: $font-weight-bold;
84
+ font-weight: variables.$font-weight-bold;
83
85
  }
84
86
  }
85
87
  }
@@ -88,8 +90,8 @@
88
90
  .fwe-step {
89
91
  cursor: pointer;
90
92
  &:hover {
91
- background: $hero-active;
92
- border-color: $hero-active;
93
+ background: variables.$hero-active;
94
+ border-color: variables.$hero-active;
93
95
  }
94
96
  .fwe-step-no {
95
97
  display: none;
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  $vertical-step-height: 300px;
2
4
 
3
5
  .fwe-stepper-vertical {
@@ -16,7 +18,7 @@ $vertical-step-height: 300px;
16
18
  padding-bottom: 1px;
17
19
  position: relative;
18
20
  border-radius: 50%;
19
- border: 2px solid $text-disabled;
21
+ border: 2px solid variables.$text-disabled;
20
22
  width: 24px;
21
23
  height: 24px;
22
24
  display: flex;
@@ -25,17 +27,17 @@ $vertical-step-height: 300px;
25
27
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
26
28
 
27
29
  .fwe-step-no {
28
- color: $text-disabled;
29
- font-size: $font-size-md;
30
- font-weight: $font-weight-bold;
30
+ color: variables.$text-disabled;
31
+ font-size: variables.$font-size-md;
32
+ font-weight: variables.$font-weight-bold;
31
33
  }
32
34
 
33
35
  .fwe-step-name {
34
- font-family: $font-family-base;
35
- font-size: $font-size-md;
36
+ font-family: variables.$font-family-base;
37
+ font-size: variables.$font-size-md;
36
38
  position: absolute;
37
39
  left: 36px;
38
- color: $text-disabled;
40
+ color: variables.$text-disabled;
39
41
  white-space: pre;
40
42
  transition: color 0.3s;
41
43
  }
@@ -52,7 +54,7 @@ $vertical-step-height: 300px;
52
54
  transition: height 0.3s;
53
55
  margin-top: 4px;
54
56
  margin-bottom: 4px;
55
- border-left: 2px solid $text-disabled;
57
+ border-left: 2px solid variables.$text-disabled;
56
58
  padding-left: 26px;
57
59
  margin-left: 11px;
58
60
  text-align: left;
@@ -63,16 +65,16 @@ $vertical-step-height: 300px;
63
65
  &.fwe-step-active,
64
66
  &.fwe-step-done {
65
67
  .fwe-step-content-container {
66
- border-color: $hero;
68
+ border-color: variables.$hero;
67
69
  }
68
70
  .fwe-step {
69
- background: $hero;
70
- border-color: $hero;
71
+ background: variables.$hero;
72
+ border-color: variables.$hero;
71
73
  .fwe-step-no {
72
- color: $white;
74
+ color: variables.$white;
73
75
  }
74
76
  .fwe-step-name {
75
- color: $hero;
77
+ color: variables.$hero;
76
78
  }
77
79
  }
78
80
  }
@@ -86,7 +88,7 @@ $vertical-step-height: 300px;
86
88
  }
87
89
  .fwe-step {
88
90
  .fwe-step-name {
89
- font-weight: $font-weight-bold;
91
+ font-weight: variables.$font-weight-bold;
90
92
  }
91
93
  }
92
94
  }
@@ -95,8 +97,8 @@ $vertical-step-height: 300px;
95
97
  .fwe-step {
96
98
  cursor: pointer;
97
99
  &:hover {
98
- background: $hero-active;
99
- border-color: $hero-active;
100
+ background: variables.$hero-active;
101
+ border-color: variables.$hero-active;
100
102
  }
101
103
  .fwe-step-no {
102
104
  display: none;
package/scss/_switch.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  $defaultHeight: 16px;
2
4
  $lgHeight: 24px;
3
5
 
@@ -38,7 +40,7 @@ label.fwe-switch {
38
40
  height: $defaultHeight;
39
41
  width: $defaultHeight * 2;
40
42
  border: none;
41
- background-color: $control-border;
43
+ background-color: variables.$control-border;
42
44
  border-radius: $defaultHeight * 0.5;
43
45
  margin-top: 4px;
44
46
  margin-bottom: 4px;
@@ -49,7 +51,7 @@ label.fwe-switch {
49
51
  left: 3px;
50
52
  height: $defaultHeight - 6px;
51
53
  width: $defaultHeight - 6px;
52
- background: $white;
54
+ background: variables.$white;
53
55
  border-radius: 50%;
54
56
  transition: left 0.2s;
55
57
  }
@@ -98,35 +100,35 @@ label.fwe-switch {
98
100
  position: absolute;
99
101
 
100
102
  &:hover ~ .fwe-switch-track {
101
- background-color: $control-border-hover;
103
+ background-color: variables.$control-border-hover;
102
104
  }
103
105
 
104
106
  &:active ~ .fwe-switch-track {
105
- background-color: $control-border-active;
107
+ background-color: variables.$control-border-active;
106
108
  }
107
109
 
108
110
  &:checked ~ .fwe-switch-track {
109
- background-color: $caerul;
111
+ background-color: variables.$caerul;
110
112
  &:after {
111
113
  left: $defaultHeight + 3px;
112
114
  }
113
115
  }
114
116
 
115
117
  &:hover:checked ~ .fwe-switch-track {
116
- background-color: $hero-hover;
118
+ background-color: variables.$hero-hover;
117
119
  }
118
120
 
119
121
  &:active:checked ~ .fwe-switch-track {
120
- background-color: $hero-active;
122
+ background-color: variables.$hero-active;
121
123
  }
122
124
 
123
125
  &:disabled ~ .fwe-switch-track {
124
- background-color: $control-disabled;
126
+ background-color: variables.$control-disabled;
125
127
  cursor: not-allowed;
126
128
  }
127
129
 
128
130
  &:disabled:checked ~ .fwe-switch-track {
129
- background-color: $hero-bg;
131
+ background-color: variables.$hero-bg;
130
132
  cursor: not-allowed;
131
133
  }
132
134
 
@@ -135,7 +137,7 @@ label.fwe-switch {
135
137
  }
136
138
 
137
139
  &:disabled ~ .fwe-switch-label-content {
138
- color: $text-disabled;
140
+ color: variables.$text-disabled;
139
141
  cursor: not-allowed;
140
142
  }
141
143
  }
package/scss/_table.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .fwe-table-responsive {
2
4
  display: block;
3
5
  width: 100%;
@@ -10,13 +12,13 @@ table.fwe-table {
10
12
 
11
13
  tr {
12
14
  th {
13
- background-color: $white;
14
- border-bottom: 2px solid $background;
15
+ background-color: variables.$white;
16
+ border-bottom: 2px solid variables.$background;
15
17
  padding-top: 18px;
16
18
  padding-bottom: 9px;
17
19
  padding-left: 16px;
18
20
  padding-right: 16px;
19
- font-size: $font-size-md;
21
+ font-size: variables.$font-size-md;
20
22
  text-align: left;
21
23
  vertical-align: text-bottom;
22
24
 
@@ -25,9 +27,9 @@ table.fwe-table {
25
27
  user-select: none;
26
28
  white-space: nowrap;
27
29
  direction: rtl;
28
- font-family: $font-family-base;
30
+ font-family: variables.$font-family-base;
29
31
  display: table-cell;
30
- font-size: $font-size-md;
32
+ font-size: variables.$font-size-md;
31
33
 
32
34
  &::before {
33
35
  content: "";
@@ -37,7 +39,7 @@ table.fwe-table {
37
39
  background-size: cover;
38
40
  position: relative;
39
41
  top: 2px;
40
- left: $spacer-xs;
42
+ left: variables.$spacer-xs;
41
43
  }
42
44
 
43
45
  &::before {
@@ -58,7 +60,7 @@ table.fwe-table {
58
60
  }
59
61
 
60
62
  &.fwe-active {
61
- color: $hero;
63
+ color: variables.$hero;
62
64
  }
63
65
  }
64
66
 
@@ -75,8 +77,8 @@ table.fwe-table {
75
77
  white-space: nowrap;
76
78
  }
77
79
 
78
- background-color: $white;
79
- border-bottom: 2px solid $background;
80
+ background-color: variables.$white;
81
+ border-bottom: 2px solid variables.$background;
80
82
  padding-top: 12px;
81
83
  padding-bottom: 12px;
82
84
  padding-left: 16px;
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  label.fwe-input-text {
2
4
  position: relative;
3
5
  display: flex;
@@ -9,10 +11,10 @@ label.fwe-input-text {
9
11
  .fwe-input-text-label {
10
12
  height: 18px;
11
13
  order: 1;
12
- color: $text;
13
- font-size: $font-size-small;
14
- line-height: $line-height-base;
15
- font-weight: $font-weight-bold;
14
+ color: variables.$text;
15
+ font-size: variables.$font-size-small;
16
+ line-height: variables.$line-height-base;
17
+ font-weight: variables.$font-weight-bold;
16
18
  white-space: nowrap;
17
19
  overflow: hidden;
18
20
  text-overflow: ellipsis;
@@ -23,15 +25,15 @@ label.fwe-input-text {
23
25
  position: absolute;
24
26
  top: 51px;
25
27
  width: 100%;
26
- font-size: $font-size-small;
27
- line-height: $line-height-base;
28
- color: $text-disabled;
28
+ font-size: variables.$font-size-small;
29
+ line-height: variables.$line-height-base;
30
+ color: variables.$text-disabled;
29
31
  }
30
32
 
31
33
  .fwe-input-text-invalid {
32
34
  @extend .fwe-input-text-info;
33
35
  display: none;
34
- color: $red;
36
+ color: variables.$red;
35
37
  }
36
38
 
37
39
  input[type="text"],
@@ -49,7 +51,7 @@ label.fwe-input-text {
49
51
  background: none;
50
52
  border-bottom-width: 1px;
51
53
  border-bottom-style: solid;
52
- border-color: $control-border;
54
+ border-color: variables.$control-border;
53
55
  width: 100%;
54
56
  padding-top: 4px;
55
57
  padding-bottom: 4px;
@@ -59,25 +61,25 @@ label.fwe-input-text {
59
61
  }
60
62
 
61
63
  &::placeholder {
62
- color: $text-disabled;
64
+ color: variables.$text-disabled;
63
65
  }
64
66
 
65
67
  &:hover:valid:not(:disabled) {
66
- border-color: $hero;
68
+ border-color: variables.$hero;
67
69
  }
68
70
 
69
71
  &:hover:not(:disabled) {
70
- color: $hero;
72
+ color: variables.$hero;
71
73
  }
72
74
 
73
75
  &:focus {
74
76
  outline: none;
75
- border-color: $hero;
76
- color: $text !important;
77
+ border-color: variables.$hero;
78
+ color: variables.$text !important;
77
79
  }
78
80
 
79
81
  &:invalid {
80
- border-color: $red;
82
+ border-color: variables.$red;
81
83
  & ~ .fwe-input-text-info {
82
84
  display: none;
83
85
  }
@@ -88,16 +90,16 @@ label.fwe-input-text {
88
90
 
89
91
  &:disabled {
90
92
  background: none;
91
- color: $text-disabled;
92
- border-color: $control-disabled;
93
+ color: variables.$text-disabled;
94
+ border-color: variables.$control-disabled;
93
95
 
94
96
  & ~ .fwe-input-text-label,
95
97
  & ~ .fwe-input-text-invalid,
96
98
  & ~ .fwe-input-text-info {
97
- color: $text-disabled;
99
+ color: variables.$text-disabled;
98
100
 
99
101
  &::before {
100
- color: $text-disabled;
102
+ color: variables.$text-disabled;
101
103
  }
102
104
  }
103
105
  }
@@ -113,13 +115,13 @@ label.fwe-input-text {
113
115
  color: transparent;
114
116
  background: none;
115
117
  display: block;
116
- font-family: $font-family-icons-16;
118
+ font-family: variables.$font-family-icons-16;
117
119
  width: 16px;
118
120
  height: 16px;
119
121
  position: absolute;
120
122
  top: 6px;
121
123
  right: 0px;
122
- color: $text;
124
+ color: variables.$text;
123
125
  }
124
126
  &::-webkit-calendar-picker-indicator {
125
127
  color: transparent;
@@ -150,7 +152,7 @@ label.fwe-input-text {
150
152
  @for $i from 2 through 10 {
151
153
  &.fwe-row-#{$i} {
152
154
  // height = rowcount * rowheight + margin-top + margin-bottom + 1px-line
153
- height: calc(#{$i} * #{$textarea-row-const});
155
+ height: calc(#{$i} * #{variables.$textarea-row-const});
154
156
  }
155
157
  }
156
158