@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.
- package/README.md +83 -83
- package/dist/css/festo-web-essentials.css +81 -58
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +34 -2
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/organisms/festo-web-essentials-organisms.css +5 -0
- package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
- package/dist/css/organisms/festo-web-essentials-organisms.min.css +5 -1
- package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.css +1 -1
- package/dist/css/themes/flatpickr/festo.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +1 -1
- package/dist/scss/_accordion.scss +26 -24
- package/dist/scss/_badge.scss +11 -9
- package/dist/scss/_border.scss +9 -5
- package/dist/scss/_bottom-navigation.scss +8 -6
- package/dist/scss/_bottom-sheet.scss +19 -16
- package/dist/scss/_breadcrumb.scss +7 -5
- package/dist/scss/_button.scss +25 -22
- package/dist/scss/_cards.scss +13 -11
- package/dist/scss/_checkbox.scss +18 -16
- package/dist/scss/_chips.scss +25 -22
- package/dist/scss/_colors.scss +3 -1
- package/dist/scss/_display.scss +9 -5
- package/dist/scss/_flex.scss +10 -5
- package/dist/scss/_fonts.scss +13 -11
- package/dist/scss/_grid.scss +11 -7
- package/dist/scss/_icons.scss +9 -7
- package/dist/scss/_layout.scss +10 -7
- package/dist/scss/_list.scss +20 -18
- package/dist/scss/_loading-indicator.scss +6 -4
- package/dist/scss/_mixins.scss +4 -2
- package/dist/scss/_mobile-flyout.scss +17 -15
- package/dist/scss/_modal.scss +36 -33
- package/dist/scss/_navbar-menu.scss +118 -116
- package/dist/scss/_navbar.scss +30 -48
- package/dist/scss/_normalize.scss +16 -13
- package/dist/scss/_pagination.scss +23 -21
- package/dist/scss/_popover.scss +21 -19
- package/dist/scss/_progressbar.scss +14 -12
- package/dist/scss/_radio.scss +20 -18
- package/dist/scss/_rfs.scss +5 -4
- package/dist/scss/_root.scss +5 -3
- package/dist/scss/_scroll.scss +6 -3
- package/dist/scss/_search-input.scss +15 -13
- package/dist/scss/_segment.scss +30 -27
- package/dist/scss/_select.scss +20 -18
- package/dist/scss/_sidebar-overlay.scss +7 -5
- package/dist/scss/_slider.scss +26 -23
- package/dist/scss/_snackbar.scss +48 -45
- package/dist/scss/_spacing.scss +9 -5
- package/dist/scss/_stepper-horizontal.scss +22 -20
- package/dist/scss/_stepper-vertical.scss +18 -16
- package/dist/scss/_switch.scss +12 -10
- package/dist/scss/_table.scss +11 -9
- package/dist/scss/_text-input.scss +24 -22
- package/dist/scss/_text-link.scss +7 -5
- package/dist/scss/_timepicker.scss +10 -8
- package/dist/scss/_toolbar.scss +8 -6
- package/dist/scss/_tree.scss +67 -68
- package/dist/scss/_type.scss +10 -8
- package/dist/scss/_utils.scss +2 -1
- package/dist/scss/_variables.scss +3 -2
- package/dist/scss/festo-web-essentials.scss +53 -53
- package/dist/scss/organisms/_footer.scss +13 -11
- package/dist/scss/organisms/_header-modul.scss +14 -12
- package/dist/scss/organisms/_header-slider.scss +10 -8
- package/dist/scss/organisms/_image-gallery.scss +19 -17
- package/dist/scss/organisms/_login.scss +14 -12
- package/dist/scss/organisms/_side-menu.scss +8 -5
- package/dist/scss/organisms/_teaser.scss +7 -5
- package/dist/scss/organisms/festo-web-essentials-organisms.scss +9 -9
- package/dist/scss/themes/flatpickr/festo.scss +2 -2
- package/package.json +3 -3
- package/scss/_accordion.scss +26 -24
- package/scss/_badge.scss +11 -9
- package/scss/_border.scss +9 -5
- package/scss/_bottom-navigation.scss +8 -6
- package/scss/_bottom-sheet.scss +19 -16
- package/scss/_breadcrumb.scss +7 -5
- package/scss/_button.scss +25 -22
- package/scss/_cards.scss +13 -11
- package/scss/_checkbox.scss +18 -16
- package/scss/_chips.scss +25 -22
- package/scss/_colors.scss +3 -1
- package/scss/_display.scss +9 -5
- package/scss/_flex.scss +10 -5
- package/scss/_fonts.scss +13 -11
- package/scss/_grid.scss +11 -7
- package/scss/_icons.scss +9 -7
- package/scss/_layout.scss +10 -7
- package/scss/_list.scss +20 -18
- package/scss/_loading-indicator.scss +6 -4
- package/scss/_mixins.scss +4 -2
- package/scss/_mobile-flyout.scss +17 -15
- package/scss/_modal.scss +36 -33
- package/scss/_navbar-menu.scss +118 -116
- package/scss/_navbar.scss +30 -48
- package/scss/_normalize.scss +16 -13
- package/scss/_pagination.scss +23 -21
- package/scss/_popover.scss +21 -19
- package/scss/_progressbar.scss +14 -12
- package/scss/_radio.scss +20 -18
- package/scss/_rfs.scss +5 -4
- package/scss/_root.scss +5 -3
- package/scss/_scroll.scss +6 -3
- package/scss/_search-input.scss +15 -13
- package/scss/_segment.scss +30 -27
- package/scss/_select.scss +20 -18
- package/scss/_sidebar-overlay.scss +7 -5
- package/scss/_slider.scss +26 -23
- package/scss/_snackbar.scss +48 -45
- package/scss/_spacing.scss +9 -5
- package/scss/_stepper-horizontal.scss +22 -20
- package/scss/_stepper-vertical.scss +18 -16
- package/scss/_switch.scss +12 -10
- package/scss/_table.scss +11 -9
- package/scss/_text-input.scss +24 -22
- package/scss/_text-link.scss +7 -5
- package/scss/_timepicker.scss +10 -8
- package/scss/_toolbar.scss +8 -6
- package/scss/_tree.scss +67 -68
- package/scss/_type.scss +10 -8
- package/scss/_utils.scss +2 -1
- package/scss/_variables.scss +3 -2
- package/scss/festo-web-essentials.scss +52 -52
- package/scss/organisms/_footer.scss +13 -11
- package/scss/organisms/_header-modul.scss +14 -12
- package/scss/organisms/_header-slider.scss +10 -8
- package/scss/organisms/_image-gallery.scss +19 -17
- package/scss/organisms/_login.scss +14 -12
- package/scss/organisms/_side-menu.scss +8 -5
- package/scss/organisms/_teaser.scss +7 -5
- package/scss/organisms/festo-web-essentials-organisms.scss +9 -9
- package/scss/themes/flatpickr/festo.scss +1 -1
package/scss/_snackbar.scss
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "variables";
|
|
3
|
+
|
|
1
4
|
.fwe-snackbar {
|
|
2
|
-
padding:
|
|
3
|
-
background-color:
|
|
4
|
-
border: 1px solid
|
|
5
|
-
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
70
|
-
background-color:
|
|
72
|
+
border-color: variables.$orange;
|
|
73
|
+
background-color: variables.$orange-bg;
|
|
71
74
|
span::before {
|
|
72
|
-
background-color:
|
|
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:
|
|
79
|
+
background-color: variables.$orange;
|
|
77
80
|
}
|
|
78
81
|
.fwe-snackbar-separator {
|
|
79
|
-
background-color:
|
|
82
|
+
background-color: variables.$orange;
|
|
80
83
|
}
|
|
81
84
|
.fwe-snackbar-link-btn {
|
|
82
|
-
color:
|
|
85
|
+
color: variables.$orange;
|
|
83
86
|
}
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
&.fwe-snackbar-error {
|
|
87
|
-
border-color:
|
|
88
|
-
background-color:
|
|
90
|
+
border-color: variables.$red;
|
|
91
|
+
background-color: variables.$red-bg;
|
|
89
92
|
span::before {
|
|
90
|
-
background-color:
|
|
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:
|
|
97
|
+
background-color: variables.$red;
|
|
95
98
|
}
|
|
96
99
|
.fwe-snackbar-separator {
|
|
97
|
-
background-color:
|
|
100
|
+
background-color: variables.$red;
|
|
98
101
|
}
|
|
99
102
|
.fwe-snackbar-link-btn {
|
|
100
|
-
color:
|
|
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:
|
|
111
|
+
background: variables.$hero;
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
&.fwe-snackbar-b {
|
|
112
115
|
border: none;
|
|
113
|
-
background-color:
|
|
116
|
+
background-color: variables.$white;
|
|
114
117
|
|
|
115
118
|
span::before {
|
|
116
|
-
background-color:
|
|
119
|
+
background-color: variables.$text;
|
|
117
120
|
}
|
|
118
121
|
|
|
119
122
|
.fwe-snackbar-close-btn {
|
|
120
|
-
background-color:
|
|
123
|
+
background-color: variables.$text;
|
|
121
124
|
&:hover {
|
|
122
|
-
background-color:
|
|
125
|
+
background-color: variables.$hero-hover;
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
.fwe-snackbar-separator {
|
|
126
|
-
background-color:
|
|
129
|
+
background-color: variables.$text;
|
|
127
130
|
}
|
|
128
131
|
.fwe-snackbar-link-btn {
|
|
129
|
-
color:
|
|
132
|
+
color: variables.$hero;
|
|
130
133
|
&:hover {
|
|
131
|
-
color:
|
|
134
|
+
color: variables.$hero-hover;
|
|
132
135
|
}
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
&.fwe-snackbar-c {
|
|
137
140
|
border: none;
|
|
138
|
-
color:
|
|
139
|
-
background-color:
|
|
141
|
+
color: variables.$white;
|
|
142
|
+
background-color: variables.$hero;
|
|
140
143
|
|
|
141
144
|
&.fwe-snackbar-warning {
|
|
142
|
-
background-color:
|
|
145
|
+
background-color: variables.$orange;
|
|
143
146
|
}
|
|
144
147
|
|
|
145
148
|
&.fwe-snackbar-error {
|
|
146
|
-
background-color:
|
|
149
|
+
background-color: variables.$red;
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
span::before {
|
|
150
|
-
background-color:
|
|
153
|
+
background-color: variables.$white;
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
.fwe-snackbar-close-btn {
|
|
154
|
-
background-color:
|
|
157
|
+
background-color: variables.$white;
|
|
155
158
|
|
|
156
159
|
&:hover {
|
|
157
|
-
background-color:
|
|
160
|
+
background-color: variables.$background;
|
|
158
161
|
}
|
|
159
162
|
}
|
|
160
163
|
.fwe-snackbar-separator {
|
|
161
|
-
background-color:
|
|
164
|
+
background-color: variables.$white;
|
|
162
165
|
}
|
|
163
166
|
.fwe-snackbar-link-btn {
|
|
164
|
-
color:
|
|
167
|
+
color: variables.$white;
|
|
165
168
|
&:hover {
|
|
166
|
-
color:
|
|
169
|
+
color: variables.$background;
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
}
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
.fwe-snackbar-container {
|
|
173
|
-
padding-left:
|
|
174
|
-
padding-right:
|
|
176
|
+
padding-left: variables.$spacer-m;
|
|
177
|
+
padding-right: variables.$spacer-m;
|
|
175
178
|
max-width: 1000px;
|
|
176
179
|
position: fixed;
|
|
177
|
-
z-index:
|
|
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
|
|
183
|
-
padding-left:
|
|
184
|
-
padding-right:
|
|
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
|
}
|
package/scss/_spacing.scss
CHANGED
|
@@ -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
|
|
37
|
-
$infix: breakpoint-infix($breakpoint,
|
|
38
|
-
$size: map
|
|
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(
|
|
45
|
+
@include spacings(variables.$spacers);
|
|
42
46
|
} @else {
|
|
43
47
|
@media (min-width: $size) {
|
|
44
|
-
@include spacings(
|
|
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:
|
|
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
|
|
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:
|
|
37
|
-
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:
|
|
42
|
-
font-size:
|
|
43
|
-
font-weight:
|
|
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:
|
|
48
|
-
|
|
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:
|
|
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:
|
|
67
|
+
background: variables.$hero;
|
|
66
68
|
}
|
|
67
69
|
.fwe-step {
|
|
68
|
-
background:
|
|
69
|
-
border-color:
|
|
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:
|
|
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:
|
|
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:
|
|
92
|
-
border-color:
|
|
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
|
|
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:
|
|
29
|
-
font-size:
|
|
30
|
-
font-weight:
|
|
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:
|
|
35
|
-
font-size:
|
|
36
|
+
font-family: variables.$font-family-base;
|
|
37
|
+
font-size: variables.$font-size-md;
|
|
36
38
|
position: absolute;
|
|
37
39
|
left: 36px;
|
|
38
|
-
color:
|
|
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
|
|
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:
|
|
68
|
+
border-color: variables.$hero;
|
|
67
69
|
}
|
|
68
70
|
.fwe-step {
|
|
69
|
-
background:
|
|
70
|
-
border-color:
|
|
71
|
+
background: variables.$hero;
|
|
72
|
+
border-color: variables.$hero;
|
|
71
73
|
.fwe-step-no {
|
|
72
|
-
color:
|
|
74
|
+
color: variables.$white;
|
|
73
75
|
}
|
|
74
76
|
.fwe-step-name {
|
|
75
|
-
color:
|
|
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:
|
|
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:
|
|
99
|
-
border-color:
|
|
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:
|
|
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:
|
|
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:
|
|
103
|
+
background-color: variables.$control-border-hover;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
&:active ~ .fwe-switch-track {
|
|
105
|
-
background-color:
|
|
107
|
+
background-color: variables.$control-border-active;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
&:checked ~ .fwe-switch-track {
|
|
109
|
-
background-color:
|
|
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:
|
|
118
|
+
background-color: variables.$hero-hover;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
&:active:checked ~ .fwe-switch-track {
|
|
120
|
-
background-color:
|
|
122
|
+
background-color: variables.$hero-active;
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
&:disabled ~ .fwe-switch-track {
|
|
124
|
-
background-color:
|
|
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:
|
|
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:
|
|
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:
|
|
14
|
-
border-bottom: 2px solid
|
|
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:
|
|
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:
|
|
30
|
+
font-family: variables.$font-family-base;
|
|
29
31
|
display: table-cell;
|
|
30
|
-
font-size:
|
|
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:
|
|
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:
|
|
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:
|
|
79
|
-
border-bottom: 2px solid
|
|
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;
|
package/scss/_text-input.scss
CHANGED
|
@@ -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:
|
|
13
|
-
font-size:
|
|
14
|
-
line-height:
|
|
15
|
-
font-weight:
|
|
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:
|
|
27
|
-
line-height:
|
|
28
|
-
color:
|
|
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:
|
|
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:
|
|
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:
|
|
64
|
+
color: variables.$text-disabled;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
&:hover:valid:not(:disabled) {
|
|
66
|
-
border-color:
|
|
68
|
+
border-color: variables.$hero;
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
&:hover:not(:disabled) {
|
|
70
|
-
color:
|
|
72
|
+
color: variables.$hero;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
&:focus {
|
|
74
76
|
outline: none;
|
|
75
|
-
border-color:
|
|
76
|
-
color:
|
|
77
|
+
border-color: variables.$hero;
|
|
78
|
+
color: variables.$text !important;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
&:invalid {
|
|
80
|
-
border-color:
|
|
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:
|
|
92
|
-
border-color:
|
|
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:
|
|
99
|
+
color: variables.$text-disabled;
|
|
98
100
|
|
|
99
101
|
&::before {
|
|
100
|
-
color:
|
|
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:
|
|
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:
|
|
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} * #{
|
|
155
|
+
height: calc(#{$i} * #{variables.$textarea-row-const});
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
158
|
|