@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,6 +1,9 @@
1
+ @use "icons";
2
+ @use "variables";
3
+
1
4
  %chip-lg {
2
- font-size: $font-size-base;
3
- border-radius: $border-radius-xl;
5
+ font-size: variables.$font-size-base;
6
+ border-radius: variables.$border-radius-xl;
4
7
  padding: 0px 16px;
5
8
  height: 32px;
6
9
  i[class^="fwe-icon-"],
@@ -45,13 +48,13 @@
45
48
  position: relative;
46
49
  display: flex;
47
50
  align-items: center;
48
- font-size: $font-size-md;
51
+ font-size: variables.$font-size-md;
49
52
  text-align: center;
50
- border-radius: $border-radius-l;
53
+ border-radius: variables.$border-radius-l;
51
54
  cursor: pointer;
52
- background: $control;
53
- color: $text;
54
- border: 1px solid $control;
55
+ background: variables.$control;
56
+ color: variables.$text;
57
+ border: 1px solid variables.$control;
55
58
  box-sizing: border-box;
56
59
  padding: 0px 12px;
57
60
  i[class^="fwe-icon-"],
@@ -62,18 +65,18 @@
62
65
  line-height: 1;
63
66
  }
64
67
  &:hover {
65
- background: $control-hover;
66
- border: 1px solid $control-hover;
68
+ background: variables.$control-hover;
69
+ border: 1px solid variables.$control-hover;
67
70
  }
68
71
  &:active {
69
- background: $control-active;
70
- border: 1px solid $control-active;
72
+ background: variables.$control-active;
73
+ border: 1px solid variables.$control-active;
71
74
  }
72
75
  &.fwe-selected {
73
76
  cursor: default;
74
77
  background: transparent;
75
- border: 1px solid $hero;
76
- color: $hero;
78
+ border: 1px solid variables.$hero;
79
+ color: variables.$hero;
77
80
  &.fwe-category {
78
81
  cursor: pointer;
79
82
  padding-right: 24px;
@@ -87,13 +90,13 @@
87
90
  background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iYTAwMzhlNDEtMjFlNi00ZjBlLWFmZjctMzViMzY2MWQ0ZDhlIiBkYXRhLW5hbWU9ImNvbnRlbnQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCgk8ZyBpZD0iZmQwZDc0NmQtZTE2My00Yjk4LTkxYTctYjk0MGYyYTlkZDc4IiBkYXRhLW5hbWU9ImFiYjU1YWU4LWNhNTUtNDcwYy04N2MzLTRiMDY3MzhiNDM2MCI+DQoJCTxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPg0KCTwvZz4NCgk8ZyBpZD0iYTE4OTFiZmMtNDBjMS00Y2EwLWFmOTgtMmJiOTQ1YTdmMDFmIiBkYXRhLW5hbWU9ImI2NGIxZWQyLWI4MzEtNDM1Yy05Y2VlLWI5OTY0MjYwMjA5ZCI+DQoJCTxwb2x5Z29uIHBvaW50cz0iMTAuMjQgNS4wNSA4IDcuMyA1Ljc1IDUuMDUgNS4wNSA1Ljc2IDcuMjkgOCA1LjA1IDEwLjI1IDUuNzUgMTAuOTUgOCA4LjcxIDEwLjI0IDEwLjk1IDEwLjk1IDEwLjI1IDguNyA4IDEwLjk1IDUuNzYgMTAuMjQgNS4wNSAxMC4yNCA1LjA1IiBmaWxsPSIjMzMzIi8+DQoJPC9nPg0KPC9zdmc+");
88
91
  }
89
92
  &:hover {
90
- background: $gray-100;
93
+ background: variables.$gray-100;
91
94
  &::after {
92
95
  background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iYTAwMzhlNDEtMjFlNi00ZjBlLWFmZjctMzViMzY2MWQ0ZDhlIiBkYXRhLW5hbWU9ImNvbnRlbnQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCgk8ZyBpZD0iZmQwZDc0NmQtZTE2My00Yjk4LTkxYTctYjk0MGYyYTlkZDc4IiBkYXRhLW5hbWU9ImFiYjU1YWU4LWNhNTUtNDcwYy04N2MzLTRiMDY3MzhiNDM2MCI+DQoJCTxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPg0KCTwvZz4NCgk8ZyBpZD0iYTE4OTFiZmMtNDBjMS00Y2EwLWFmOTgtMmJiOTQ1YTdmMDFmIiBkYXRhLW5hbWU9ImI2NGIxZWQyLWI4MzEtNDM1Yy05Y2VlLWI5OTY0MjYwMjA5ZCI+DQoJCTxwb2x5Z29uIHBvaW50cz0iMTAuMjQgNS4wNSA4IDcuMyA1Ljc1IDUuMDUgNS4wNSA1Ljc2IDcuMjkgOCA1LjA1IDEwLjI1IDUuNzUgMTAuOTUgOCA4LjcxIDEwLjI0IDEwLjk1IDEwLjk1IDEwLjI1IDguNyA4IDEwLjk1IDUuNzYgMTAuMjQgNS4wNSAxMC4yNCA1LjA1IiBmaWxsPSIjMDA5MWRjIi8+DQoJPC9nPg0KPC9zdmc+");
93
96
  }
94
97
  }
95
98
  &:active {
96
- background: $gray-200;
99
+ background: variables.$gray-200;
97
100
  }
98
101
  }
99
102
  &.fwe-filter {
@@ -109,24 +112,24 @@
109
112
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+DQoJPGcgaWQ9ImJhNmJmZGNhLWJhMzgtNDczMC04MjlkLTcyYmIzNzI3YjUzNCIgZGF0YS1uYW1lPSJjb250ZW50Ij4NCgkJPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJub25lIi8+DQoJCTxwb2x5Z29uIHBvaW50cz0iNi4xNDEgMTIuODE0IDEuOTM0IDguNjA3IDMuMzQ4IDcuMTkzIDYuMTQxIDkuOTg2IDEyLjkzNCAzLjE5MyAxNC4zNDggNC42MDcgNi4xNDEgMTIuODE0IiBmaWxsPSIjMDA5MWRjIi8+DQoJPC9nPg0KPC9zdmc+");
110
113
  }
111
114
  &:hover {
112
- background: $gray-100;
115
+ background: variables.$gray-100;
113
116
  }
114
117
  &:active {
115
- background: $gray-200;
118
+ background: variables.$gray-200;
116
119
  }
117
120
  }
118
121
  }
119
122
  &.fwe-readonly {
120
123
  cursor: default;
121
124
  background: transparent;
122
- color: $text-light;
123
- border: 1px solid $text-light;
125
+ color: variables.$text-light;
126
+ border: 1px solid variables.$text-light;
124
127
  }
125
128
  &.fwe-disabled {
126
129
  cursor: default;
127
- background: $control-disabled;
128
- border: 1px solid $control-disabled;
129
- color: $text-disabled;
130
+ background: variables.$control-disabled;
131
+ border: 1px solid variables.$control-disabled;
132
+ color: variables.$text-disabled;
130
133
 
131
134
  &.fwe-filter.fwe-selected {
132
135
  cursor: default;
@@ -1,4 +1,6 @@
1
- @each $key, $value in $colors {
1
+ @use "variables";
2
+
3
+ @each $key, $value in variables.$colors {
2
4
  .fwe-color-#{$key} {
3
5
  color: $value !important;
4
6
  }
@@ -1,4 +1,8 @@
1
- @import "mixins";
1
+ @use "sass:map";
2
+ @use "mixins";
3
+ @use "utils";
4
+ @use "variables";
5
+
2
6
  @mixin displays($infix: "") {
3
7
  .fwe-d#{$infix}-none {
4
8
  display: none !important;
@@ -41,9 +45,9 @@
41
45
  }
42
46
  }
43
47
 
44
- @each $breakpoint in map-keys($grid-breakpoints) {
45
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
46
- $size: map-get($grid-breakpoints, $breakpoint);
48
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
49
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
50
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
47
51
 
48
52
  @if $size == 0 {
49
53
  @include displays();
@@ -55,5 +59,5 @@
55
59
  }
56
60
 
57
61
  .fwe-sr-only {
58
- @include visual-hidden();
62
+ @include mixins.visual-hidden();
59
63
  }
@@ -1,3 +1,8 @@
1
+ @use "sass:list";
2
+ @use "sass:map";
3
+ @use "utils";
4
+ @use "variables";
5
+
1
6
  $basic-keywords: normal, stretch, center, start, end, flex-start, flex-end;
2
7
  $baseline-keywords: baseline, first baseline, last baseline, safe center, unsafe center;
3
8
  $positional-keywords: left, right;
@@ -157,8 +162,8 @@ $flex-properties: (
157
162
  }
158
163
 
159
164
  @each $classname, $properties in $flex-properties {
160
- $property: nth($properties, 1);
161
- $value: nth($properties, 2);
165
+ $property: list.nth($properties, 1);
166
+ $value: list.nth($properties, 2);
162
167
 
163
168
  .fwe-flex#{$infix}-#{$classname} {
164
169
  #{$property}: $value !important;
@@ -250,9 +255,9 @@ $flex-properties: (
250
255
  }
251
256
  }
252
257
 
253
- @each $breakpoint in map-keys($grid-breakpoints) {
254
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
255
- $size: map-get($grid-breakpoints, $breakpoint);
258
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
259
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
260
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
256
261
 
257
262
  @if $size == 0 {
258
263
  @include flex-helpers();
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  /* Festo regular */
2
4
  @font-face {
3
5
  font-family: "Festo";
@@ -39,27 +41,27 @@
39
41
  }
40
42
 
41
43
  .fwe-font-size-small {
42
- font-size: $font-size-small;
44
+ font-size: variables.$font-size-small;
43
45
  }
44
46
 
45
47
  .fwe-font-size-md {
46
- font-size: $font-size-md;
48
+ font-size: variables.$font-size-md;
47
49
  }
48
50
 
49
51
  .fwe-font-size-base {
50
- font-size: $font-size-base;
52
+ font-size: variables.$font-size-base;
51
53
  }
52
54
 
53
55
  .fwe-font-size-xl {
54
- font-size: $font-size-xl;
56
+ font-size: variables.$font-size-xl;
55
57
  }
56
58
 
57
59
  .fwe-font-size-xxl {
58
- font-size: $font-size-xxl;
60
+ font-size: variables.$font-size-xxl;
59
61
  }
60
62
 
61
63
  .fwe-line-height-base {
62
- line-height: $line-height-base;
64
+ line-height: variables.$line-height-base;
63
65
  }
64
66
 
65
67
  .fwe-line-height-1 {
@@ -67,22 +69,22 @@
67
69
  }
68
70
 
69
71
  .fwe-font-weight-base {
70
- font-weight: $font-weight-base;
72
+ font-weight: variables.$font-weight-base;
71
73
  }
72
74
 
73
75
  .fwe-font-weight-normal {
74
- font-weight: $font-weight-normal;
76
+ font-weight: variables.$font-weight-normal;
75
77
  }
76
78
 
77
79
  .fwe-font-weight-bold {
78
- font-weight: $font-weight-bold;
80
+ font-weight: variables.$font-weight-bold;
79
81
  }
80
82
 
81
83
  .fwe-font-family-sans-serif {
82
- font-family: $font-family-sans-serif;
84
+ font-family: variables.$font-family-sans-serif;
83
85
  }
84
86
 
85
87
  .fwe-font-family-monospace,
86
88
  .fwe-font-family-code {
87
- font-family: $font-family-monospace;
89
+ font-family: variables.$font-family-monospace;
88
90
  }
@@ -1,9 +1,13 @@
1
- @each $breakpoint in map-keys($grid-breakpoints) {
2
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
3
- $size: map-get($grid-breakpoints, $breakpoint);
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
5
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
6
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
7
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
4
8
 
5
9
  @media (min-width: $size) {
6
- @for $i from 1 through $grid-columns {
10
+ @for $i from 1 through variables.$grid-columns {
7
11
  .fwe-col#{$infix}-#{$i} {
8
12
  grid-column-end: span $i;
9
13
  }
@@ -12,7 +16,7 @@
12
16
  grid-column-start: 1;
13
17
  }
14
18
 
15
- @if $i < $grid-columns {
19
+ @if $i < variables.$grid-columns {
16
20
  .fwe-offset#{$infix}-#{$i} {
17
21
  grid-column-start: $i + 1;
18
22
  }
@@ -23,8 +27,8 @@
23
27
 
24
28
  .fwe-grid {
25
29
  display: grid;
26
- grid-template-columns: repeat($grid-columns, 1fr);
27
- gap: $grid-gap;
30
+ grid-template-columns: repeat(variables.$grid-columns, 1fr);
31
+ gap: variables.$grid-gap;
28
32
 
29
33
  &.fwe-no-gap {
30
34
  gap: 0px;
@@ -1,6 +1,8 @@
1
+ @use "variables";
2
+
1
3
  .fwe-icon {
2
- font-family: $font-family-icons-16; // this is needed to center the icons vertically
3
- font-size: $font-size-base;
4
+ font-family: variables.$font-family-icons-16; // this is needed to center the icons vertically
5
+ font-size: variables.$font-size-base;
4
6
  display: inline-block;
5
7
  &:before {
6
8
  line-height: 1;
@@ -12,35 +14,35 @@
12
14
  text-transform: none;
13
15
  -webkit-font-smoothing: antialiased;
14
16
  -moz-osx-font-smoothing: grayscale;
15
- font-family: $font-family-icons-16;
17
+ font-family: variables.$font-family-icons-16;
16
18
  }
17
19
  }
18
20
 
19
21
  .fwe-icon-lg {
20
22
  font-size: 24px;
21
23
  &:before {
22
- font-family: $font-family-icons-24 !important;
24
+ font-family: variables.$font-family-icons-24 !important;
23
25
  }
24
26
  }
25
27
 
26
28
  .fwe-icon-2x {
27
29
  font-size: 32px;
28
30
  &:before {
29
- font-family: $font-family-icons-32 !important;
31
+ font-family: variables.$font-family-icons-32 !important;
30
32
  }
31
33
  }
32
34
 
33
35
  .fwe-icon-3x {
34
36
  font-size: 48px;
35
37
  &:before {
36
- font-family: $font-family-icons-24 !important;
38
+ font-family: variables.$font-family-icons-24 !important;
37
39
  }
38
40
  }
39
41
 
40
42
  .fwe-icon-4x {
41
43
  font-size: 64px;
42
44
  &:before {
43
- font-family: $font-family-icons-32 !important;
45
+ font-family: variables.$font-family-icons-32 !important;
44
46
  }
45
47
  }
46
48
 
@@ -1,12 +1,15 @@
1
+ @use "sass:map";
2
+ @use "variables";
3
+
1
4
  .fwe-container {
2
- padding: $container-padding;
5
+ padding: variables.$container-padding;
3
6
  box-sizing: border-box;
4
7
  width: 100%;
5
8
  }
6
9
 
7
- @each $breakpoint in map-keys($grid-breakpoints) {
8
- $padding: map-get($container-paddings, $breakpoint);
9
- $size: map-get($grid-breakpoints, $breakpoint);
10
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
11
+ $padding: map.get(variables.$container-paddings, $breakpoint);
12
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
10
13
 
11
14
  @if $size != 0 {
12
15
  @media (min-width: $size) {
@@ -26,15 +29,15 @@
26
29
  max-width: 1920px - 128;
27
30
  margin-right: 64px;
28
31
  margin-left: 64px;
29
- @media (max-width: $grid-breakpoint-lg) {
32
+ @media (max-width: variables.$grid-breakpoint-lg) {
30
33
  margin-right: 32px;
31
34
  margin-left: 32px;
32
35
  }
33
- @media (max-width: $grid-breakpoint-sm) {
36
+ @media (max-width: variables.$grid-breakpoint-sm) {
34
37
  margin-right: 16px;
35
38
  margin-left: 16px;
36
39
  }
37
- @media (max-width: $grid-breakpoint-xs) {
40
+ @media (max-width: variables.$grid-breakpoint-xs) {
38
41
  margin-right: 8px;
39
42
  margin-left: 8px;
40
43
  }
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  ul.fwe-list-group {
2
4
  margin: 0;
3
5
  padding: 0;
@@ -44,7 +46,7 @@ ul.fwe-list-group {
44
46
  display: flex;
45
47
  flex-grow: 1;
46
48
  width: 100%;
47
- font-weight: $font-weight-bold;
49
+ font-weight: variables.$font-weight-bold;
48
50
  margin-bottom: 24px;
49
51
  margin-top: 16px;
50
52
  }
@@ -56,7 +58,7 @@ ul.fwe-list-group {
56
58
 
57
59
  .fwe-list-group-item-footer {
58
60
  width: 100%;
59
- font-size: $font-size-small;
61
+ font-size: variables.$font-size-small;
60
62
  margin-bottom: 16px;
61
63
  }
62
64
 
@@ -67,7 +69,7 @@ ul.fwe-list-group {
67
69
  bottom: 0;
68
70
  width: 1px;
69
71
  left: 0;
70
- background-color: $hero;
72
+ background-color: variables.$hero;
71
73
  transform-origin: left top;
72
74
  transform: scaleX(0);
73
75
  transition: transform 0.3s;
@@ -79,25 +81,25 @@ ul.fwe-list-group {
79
81
  }
80
82
 
81
83
  .fwe-list-group-item-head {
82
- color: $hero;
84
+ color: variables.$hero;
83
85
  }
84
86
  }
85
87
 
86
88
  &.fwe-disabled {
87
- color: $text-disabled;
89
+ color: variables.$text-disabled;
88
90
  &::before {
89
- background-color: $control-hover;
91
+ background-color: variables.$control-hover;
90
92
  }
91
93
  }
92
94
  }
93
95
 
94
96
  a.fwe-list-group-item {
95
97
  cursor: pointer;
96
- color: $text;
98
+ color: variables.$text;
97
99
 
98
100
  &:not(.fwe-disabled):hover {
99
- color: $text;
100
- background-color: $sucanul;
101
+ color: variables.$text;
102
+ background-color: variables.$sucanul;
101
103
  }
102
104
  }
103
105
 
@@ -110,14 +112,14 @@ ul.fwe-list-group {
110
112
  cursor: pointer;
111
113
 
112
114
  &:not(.fwe-disabled):hover {
113
- background-color: $sucanul;
115
+ background-color: variables.$sucanul;
114
116
  }
115
117
  }
116
118
 
117
119
  &.fwe-list-group-border {
118
120
  .fwe-list-group-item,
119
121
  button.fwe-list-group-item {
120
- border-bottom: 1px solid $border;
122
+ border-bottom: 1px solid variables.$border;
121
123
  &:last-child {
122
124
  border-bottom: none;
123
125
  }
@@ -150,28 +152,28 @@ ul.fwe-list-group {
150
152
  right: 0;
151
153
  width: 100%;
152
154
  height: 1px;
153
- background-color: $hero;
155
+ background-color: variables.$hero;
154
156
  transform-origin: center bottom;
155
157
  transform: scaleY(0);
156
158
  transition: transform 0.3s;
157
159
  }
158
160
 
159
161
  &.fwe-active {
160
- color: $hero;
162
+ color: variables.$hero;
161
163
 
162
164
  &::before {
163
165
  transform: scaleY(4);
164
166
  }
165
167
 
166
168
  .fwe-list-group-item-head {
167
- color: $hero;
169
+ color: variables.$hero;
168
170
  }
169
171
  }
170
172
 
171
173
  &.fwe-disabled {
172
- color: $text-disabled;
174
+ color: variables.$text-disabled;
173
175
  &::before {
174
- background-color: $control-hover;
176
+ background-color: variables.$control-hover;
175
177
  }
176
178
  }
177
179
  }
@@ -189,7 +191,7 @@ ul.fwe-list-group {
189
191
  width: auto;
190
192
 
191
193
  &:not(.fwe-disabled):hover {
192
- color: $hero;
194
+ color: variables.$hero;
193
195
  background-color: unset;
194
196
  }
195
197
  }
@@ -200,7 +202,7 @@ ul.fwe-list-group {
200
202
  display: flex;
201
203
  align-items: center;
202
204
  padding: 14px 24px;
203
- border-bottom: 1px solid $border;
205
+ border-bottom: 1px solid variables.$border;
204
206
 
205
207
  button {
206
208
  margin-left: auto;
@@ -1,10 +1,12 @@
1
+ @use "variables";
2
+
1
3
  $spinner-duration: 3s;
2
4
  $pulsing-duration: 1s;
3
5
 
4
6
  @media (prefers-reduced-motion: reduce) {
5
7
  .fwe-waiting-circle-1 {
6
8
  animation: non-motion-animation $pulsing-duration infinite alternate !important;
7
- border-color: $hero !important;
9
+ border-color: variables.$hero !important;
8
10
  }
9
11
 
10
12
  .fwe-waiting-circle-2,
@@ -23,7 +25,7 @@ $pulsing-duration: 1s;
23
25
  align-items: center;
24
26
  .fwe-waiting-content-container {
25
27
  margin-top: 12px;
26
- color: $hero;
28
+ color: variables.$hero;
27
29
  }
28
30
  }
29
31
 
@@ -47,9 +49,9 @@ $pulsing-duration: 1s;
47
49
  position: absolute;
48
50
  width: 96px;
49
51
  height: 96px;
50
- border: 8px solid $hero;
52
+ border: 8px solid variables.$hero;
51
53
  border-radius: 50%;
52
- border-color: $hero transparent transparent transparent;
54
+ border-color: variables.$hero transparent transparent transparent;
53
55
  }
54
56
  .fwe-waiting-circle-1 {
55
57
  animation: fwe-wi-animation-1 $spinner-duration linear infinite;
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  @mixin firefox-only {
2
4
  @at-root {
3
5
  @-moz-document url-prefix() {
@@ -24,7 +26,7 @@
24
26
  @mixin custom-scrollbar {
25
27
  @-moz-document url-prefix() {
26
28
  scrollbar-width: thin;
27
- scrollbar-color: $control-scrollbar transparent;
29
+ scrollbar-color: variables.$control-scrollbar transparent;
28
30
  }
29
31
  @media (pointer: fine) {
30
32
  &::-webkit-scrollbar {
@@ -37,7 +39,7 @@
37
39
 
38
40
  &::-webkit-scrollbar-thumb {
39
41
  overflow: visible;
40
- background-color: $control-scrollbar;
42
+ background-color: variables.$control-scrollbar;
41
43
  // use $gray-100 with opacity 0 for effect of margins of scrollbar
42
44
  border: 3px solid rgba(242, 243, 245, 0);
43
45
  // hide the background with background clip
@@ -1,3 +1,6 @@
1
+ @use "mixins";
2
+ @use "variables";
3
+
1
4
  .fwe-mobile-flyout {
2
5
  position: relative;
3
6
 
@@ -16,12 +19,12 @@
16
19
  display: block;
17
20
  height: 24px;
18
21
  width: 24px;
19
- background-color: $text;
22
+ background-color: variables.$text;
20
23
  }
21
24
  @media (hover: hover) and (pointer: fine) {
22
25
  &:hover {
23
26
  &::after {
24
- background-color: $hero;
27
+ background-color: variables.$hero;
25
28
  }
26
29
  }
27
30
  }
@@ -43,20 +46,19 @@
43
46
  .fwe-mobile-flyout-container {
44
47
  position: fixed;
45
48
  display: flex;
46
- top: $navbar-height;
49
+ top: variables.$navbar-height;
47
50
  left: 0px;
48
51
  width: 384px;
49
- height: calc(100vh - #{$navbar-height});
50
- background-color: $white;
52
+ height: calc(100vh - #{variables.$navbar-height});
53
+ background-color: variables.$white;
51
54
  flex-direction: column;
52
55
  box-shadow: 0px 1px 4px #00000029;
53
56
  overflow: hidden;
54
57
  transform: translateX(-105%);
55
-
56
- @media (max-width: $grid-breakpoint-xs) {
58
+ transition: transform 0.3s ease;
59
+ @media (max-width: variables.$grid-breakpoint-xs) {
57
60
  width: 100% !important;
58
61
  }
59
- transition: transform 0.3s ease;
60
62
  &.fwe-opened {
61
63
  transform: translateX(0%);
62
64
  }
@@ -64,7 +66,7 @@
64
66
  }
65
67
 
66
68
  .fwe-mobile-flyout-page {
67
- background: $white;
69
+ background: variables.$white;
68
70
  position: absolute;
69
71
  left: 0;
70
72
  top: 0;
@@ -72,9 +74,9 @@
72
74
  bottom: 0;
73
75
  transform: translateX(100%);
74
76
  transition: transform 0.3s ease;
75
- @include custom-scrollbar;
76
77
  overflow-x: hidden;
77
78
  overflow-y: auto;
79
+ @include mixins.custom-scrollbar;
78
80
 
79
81
  &.fwe-opened {
80
82
  transform: translateX(0%);
@@ -85,7 +87,7 @@
85
87
  height: 53px;
86
88
  display: flex;
87
89
  align-items: center;
88
- background: $background;
90
+ background: variables.$background;
89
91
  position: relative;
90
92
  padding-left: 40px;
91
93
  &::after {
@@ -98,7 +100,7 @@
98
100
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMTZWMGgxNnYxNnoiLz48cGF0aCBmaWxsPSIjMzMzIiBkPSJNMTAuMzU0IDQuMzU0IDYuNzA3IDhsMy42NDcgMy42NDYtLjcwOC43MDhMNS4yOTMgOGw0LjM1My00LjM1NC43MDguNzA4eiIvPjwvc3ZnPg==");
99
101
  }
100
102
  &:hover {
101
- background: $control;
103
+ background: variables.$control;
102
104
  }
103
105
  div {
104
106
  margin-top: -1px;
@@ -108,19 +110,19 @@
108
110
 
109
111
  .fwe-mobile-flyout-item-container {
110
112
  padding: 24px;
111
- @media (max-width: $grid-breakpoint-xs) {
113
+ @media (max-width: variables.$grid-breakpoint-xs) {
112
114
  padding: 16px;
113
115
  }
114
116
  }
115
117
  }
116
118
 
117
119
  .fwe-mobile-flyout-item {
118
- color: $text;
120
+ color: variables.$text;
119
121
  cursor: pointer;
120
122
  display: flex;
121
123
  align-items: center;
122
124
  height: 56px;
123
125
  &.fwe-active {
124
- color: $hero;
126
+ color: variables.$hero;
125
127
  }
126
128
  }