@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
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
1
3
|
.fwe-bottom-navigation {
|
|
2
4
|
width: 100%;
|
|
3
5
|
display: flex;
|
|
4
|
-
background:
|
|
6
|
+
background: variables.$white;
|
|
5
7
|
align-items: flex-start;
|
|
6
8
|
justify-content: space-around;
|
|
7
|
-
border-top: 1px solid
|
|
9
|
+
border-top: 1px solid variables.$border;
|
|
8
10
|
height: 84px;
|
|
9
11
|
padding: 22px 16px;
|
|
10
12
|
.fwe-bottom-navigation-button {
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
background: none;
|
|
19
21
|
border: none;
|
|
20
22
|
outline: none;
|
|
21
|
-
color:
|
|
23
|
+
color: variables.$hero-gray;
|
|
22
24
|
position: relative;
|
|
23
25
|
:after {
|
|
24
26
|
content: "";
|
|
@@ -27,18 +29,18 @@
|
|
|
27
29
|
left: 0px;
|
|
28
30
|
right: 0px;
|
|
29
31
|
height: 0px;
|
|
30
|
-
background:
|
|
32
|
+
background: variables.$hero;
|
|
31
33
|
transition: height 0.3s ease;
|
|
32
34
|
}
|
|
33
35
|
&.fwe-selected {
|
|
34
|
-
color:
|
|
36
|
+
color: variables.$hero;
|
|
35
37
|
cursor: default;
|
|
36
38
|
:after {
|
|
37
39
|
height: 4px;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
&:active {
|
|
41
|
-
color:
|
|
43
|
+
color: variables.$hero-active;
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
}
|
package/scss/_bottom-sheet.scss
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "mixins";
|
|
2
|
+
@use "variables";
|
|
3
|
+
|
|
1
4
|
.fwe-bottom-sheet {
|
|
2
5
|
&-header {
|
|
3
6
|
position: relative;
|
|
@@ -16,31 +19,31 @@
|
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
&-drag-handle {
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
21
|
-
background-color:
|
|
22
|
+
width: variables.$spacer-l;
|
|
23
|
+
height: variables.$spacer-xxxs;
|
|
24
|
+
background-color: variables.$hero-gray;
|
|
22
25
|
border-radius: 3px;
|
|
23
|
-
margin:
|
|
26
|
+
margin: variables.$spacer 0;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
&-toggle-btn {
|
|
27
30
|
position: absolute;
|
|
28
31
|
top: 50%;
|
|
29
32
|
transform: translateY(-50%);
|
|
30
|
-
left:
|
|
33
|
+
left: variables.$spacer-s;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
&-close-btn {
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
37
|
+
width: variables.$spacer-m;
|
|
38
|
+
height: variables.$spacer-m;
|
|
36
39
|
position: absolute;
|
|
37
40
|
right: 20px;
|
|
38
41
|
top: 20px;
|
|
39
42
|
padding: 0;
|
|
40
43
|
border: none;
|
|
41
|
-
min-width:
|
|
44
|
+
min-width: variables.$spacer-m;
|
|
42
45
|
cursor: pointer;
|
|
43
|
-
background:
|
|
46
|
+
background: variables.$text;
|
|
44
47
|
mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExIC0xODMpIj48cGF0aCBkPSJNMCwwSDI0VjI0SDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEgMTgzKSIgZmlsbD0ibm9uZSIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjwvZz48L3N2Zz4=");
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -50,7 +53,7 @@
|
|
|
50
53
|
left: 0;
|
|
51
54
|
|
|
52
55
|
background: rgba(0, 0, 0, 0.5);
|
|
53
|
-
z-index:
|
|
56
|
+
z-index: variables.$zindex-modal-backdrop;
|
|
54
57
|
opacity: 0;
|
|
55
58
|
transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
56
59
|
|
|
@@ -66,10 +69,10 @@
|
|
|
66
69
|
bottom: 0;
|
|
67
70
|
left: 50%;
|
|
68
71
|
right: 50%;
|
|
69
|
-
background:
|
|
72
|
+
background: variables.$white;
|
|
70
73
|
box-shadow: 0px 1px 8px #33333333;
|
|
71
|
-
z-index:
|
|
72
|
-
border-radius:
|
|
74
|
+
z-index: variables.$zindex-modal;
|
|
75
|
+
border-radius: variables.$spacer-xs variables.$spacer-xs 0 0;
|
|
73
76
|
overflow: hidden;
|
|
74
77
|
opacity: 0;
|
|
75
78
|
max-width: 768px;
|
|
@@ -105,9 +108,9 @@
|
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
&-content {
|
|
108
|
-
padding:
|
|
109
|
-
height: calc(100% -
|
|
111
|
+
padding: variables.$spacer variables.$spacer-l;
|
|
112
|
+
height: calc(100% - variables.$spacer-l);
|
|
110
113
|
overflow-y: auto;
|
|
111
|
-
@include custom-scrollbar;
|
|
114
|
+
@include mixins.custom-scrollbar;
|
|
112
115
|
}
|
|
113
116
|
}
|
package/scss/_breadcrumb.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
1
3
|
.fwe-breadcrumb {
|
|
2
4
|
display: flex;
|
|
3
5
|
flex-wrap: wrap;
|
|
@@ -8,20 +10,20 @@
|
|
|
8
10
|
display: flex;
|
|
9
11
|
align-items: center;
|
|
10
12
|
min-height: 24px;
|
|
11
|
-
color:
|
|
13
|
+
color: variables.$text;
|
|
12
14
|
text-decoration: none;
|
|
13
15
|
user-select: none;
|
|
14
|
-
font-size:
|
|
15
|
-
line-height: calc(#{
|
|
16
|
+
font-size: variables.$font-size-md;
|
|
17
|
+
line-height: calc(#{variables.$font-size-md} + 2px);
|
|
16
18
|
&:focus {
|
|
17
19
|
outline: none;
|
|
18
20
|
}
|
|
19
21
|
&:not(:last-child) {
|
|
20
22
|
&:hover {
|
|
21
|
-
color:
|
|
23
|
+
color: variables.$hero;
|
|
22
24
|
}
|
|
23
25
|
&:active {
|
|
24
|
-
color:
|
|
26
|
+
color: variables.$hero-active;
|
|
25
27
|
}
|
|
26
28
|
cursor: pointer;
|
|
27
29
|
&::after {
|
package/scss/_button.scss
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
@use "icons";
|
|
3
|
+
|
|
1
4
|
a.fwe-btn,
|
|
2
5
|
button.fwe-btn {
|
|
3
6
|
line-height: normal;
|
|
@@ -6,13 +9,13 @@ button.fwe-btn {
|
|
|
6
9
|
align-items: center;
|
|
7
10
|
text-align: center;
|
|
8
11
|
justify-content: center;
|
|
9
|
-
font-family:
|
|
10
|
-
font-size:
|
|
12
|
+
font-family: variables.$font-family-base;
|
|
13
|
+
font-size: variables.$font-size-base;
|
|
11
14
|
padding: 4px 16px;
|
|
12
15
|
min-height: 32px;
|
|
13
|
-
color:
|
|
14
|
-
background:
|
|
15
|
-
border-radius:
|
|
16
|
+
color: variables.$text;
|
|
17
|
+
background: variables.$control;
|
|
18
|
+
border-radius: variables.$control-border-radius;
|
|
16
19
|
cursor: pointer;
|
|
17
20
|
border: none;
|
|
18
21
|
|
|
@@ -23,12 +26,12 @@ button.fwe-btn {
|
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
&:hover {
|
|
26
|
-
color:
|
|
27
|
-
background:
|
|
29
|
+
color: variables.$text;
|
|
30
|
+
background: variables.$control-hover;
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
&:active {
|
|
31
|
-
background:
|
|
34
|
+
background: variables.$control-active;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
&:focus {
|
|
@@ -38,27 +41,27 @@ button.fwe-btn {
|
|
|
38
41
|
&:disabled,
|
|
39
42
|
&.fwe-disabled {
|
|
40
43
|
cursor: default;
|
|
41
|
-
background:
|
|
42
|
-
color:
|
|
44
|
+
background: variables.$control-disabled;
|
|
45
|
+
color: variables.$text-disabled;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
&.fwe-btn-hero {
|
|
46
|
-
color:
|
|
47
|
-
background:
|
|
49
|
+
color: variables.$white;
|
|
50
|
+
background: variables.$hero;
|
|
48
51
|
|
|
49
52
|
&:hover {
|
|
50
|
-
color:
|
|
51
|
-
background:
|
|
53
|
+
color: variables.$white;
|
|
54
|
+
background: variables.$hero-hover;
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
&:active {
|
|
55
|
-
background:
|
|
58
|
+
background: variables.$hero-active;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
&:disabled,
|
|
59
62
|
&.fwe-disabled {
|
|
60
|
-
background:
|
|
61
|
-
color:
|
|
63
|
+
background: variables.$control-disabled;
|
|
64
|
+
color: variables.$text-disabled;
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
|
|
@@ -68,7 +71,7 @@ button.fwe-btn {
|
|
|
68
71
|
|
|
69
72
|
&.fwe-btn-link {
|
|
70
73
|
background: none;
|
|
71
|
-
color:
|
|
74
|
+
color: variables.$hero;
|
|
72
75
|
padding: 0;
|
|
73
76
|
|
|
74
77
|
i[class^="fwe-icon-"],
|
|
@@ -78,22 +81,22 @@ button.fwe-btn {
|
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
&.fwe-dark {
|
|
81
|
-
color:
|
|
84
|
+
color: variables.$text;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
&:hover {
|
|
85
88
|
background: none;
|
|
86
|
-
color:
|
|
89
|
+
color: variables.$hero-hover;
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
&:active {
|
|
90
93
|
background: none;
|
|
91
|
-
color:
|
|
94
|
+
color: variables.$hero-hover;
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
&:disabled,
|
|
95
98
|
&.fwe-disabled {
|
|
96
|
-
color:
|
|
99
|
+
color: variables.$text-disabled;
|
|
97
100
|
}
|
|
98
101
|
}
|
|
99
102
|
|
package/scss/_cards.scss
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
1
3
|
.fwe-card {
|
|
2
4
|
display: flex;
|
|
3
5
|
flex-direction: column;
|
|
4
|
-
border: 1px solid
|
|
5
|
-
background-color:
|
|
6
|
-
border-radius:
|
|
6
|
+
border: 1px solid variables.$border;
|
|
7
|
+
background-color: variables.$white;
|
|
8
|
+
border-radius: variables.$border-radius-m;
|
|
7
9
|
|
|
8
10
|
.fwe-card-img {
|
|
9
11
|
width: 100%;
|
|
@@ -36,8 +38,8 @@
|
|
|
36
38
|
|
|
37
39
|
.fwe-card-title {
|
|
38
40
|
h5 {
|
|
39
|
-
line-height:
|
|
40
|
-
font-size:
|
|
41
|
+
line-height: variables.$font-size-xl;
|
|
42
|
+
font-size: variables.$font-size-xl;
|
|
41
43
|
margin: 0;
|
|
42
44
|
padding: 0;
|
|
43
45
|
}
|
|
@@ -45,8 +47,8 @@
|
|
|
45
47
|
p {
|
|
46
48
|
padding: 0;
|
|
47
49
|
margin: 0;
|
|
48
|
-
color:
|
|
49
|
-
font-size:
|
|
50
|
+
color: variables.$text-light;
|
|
51
|
+
font-size: variables.$font-size-md;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
@@ -81,9 +83,9 @@
|
|
|
81
83
|
padding-left: 16px;
|
|
82
84
|
|
|
83
85
|
h6 {
|
|
84
|
-
line-height:
|
|
85
|
-
font-size:
|
|
86
|
-
font-weight:
|
|
86
|
+
line-height: variables.$font-size-base;
|
|
87
|
+
font-size: variables.$font-size-base;
|
|
88
|
+
font-weight: variables.$font-weight-bold;
|
|
87
89
|
margin: 0;
|
|
88
90
|
padding: 0;
|
|
89
91
|
}
|
|
@@ -91,7 +93,7 @@
|
|
|
91
93
|
p {
|
|
92
94
|
padding: 0;
|
|
93
95
|
margin: 0;
|
|
94
|
-
color:
|
|
96
|
+
color: variables.$text;
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
99
|
}
|
package/scss/_checkbox.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
1
3
|
$defaultHeight: 16px;
|
|
2
4
|
$defaultWidth: 16px;
|
|
3
5
|
$lgHeight: 24px;
|
|
@@ -26,7 +28,7 @@ $lgWidth: 24px;
|
|
|
26
28
|
min-height: $lgHeight;
|
|
27
29
|
width: $lgWidth;
|
|
28
30
|
min-width: $lgWidth;
|
|
29
|
-
border-radius:
|
|
31
|
+
border-radius: variables.$border-radius-s;
|
|
30
32
|
&:before {
|
|
31
33
|
height: 18px;
|
|
32
34
|
width: 18px;
|
|
@@ -77,7 +79,7 @@ label.fwe-checkbox {
|
|
|
77
79
|
width: $defaultWidth;
|
|
78
80
|
min-width: $defaultWidth;
|
|
79
81
|
border-radius: 2px;
|
|
80
|
-
border: 1px solid
|
|
82
|
+
border: 1px solid variables.$control-border;
|
|
81
83
|
background-color: white;
|
|
82
84
|
&::before {
|
|
83
85
|
content: "";
|
|
@@ -114,11 +116,11 @@ label.fwe-checkbox {
|
|
|
114
116
|
cursor: pointer;
|
|
115
117
|
|
|
116
118
|
&:hover ~ .fwe-checkbox-checkmark {
|
|
117
|
-
background-color:
|
|
119
|
+
background-color: variables.$control;
|
|
118
120
|
}
|
|
119
121
|
|
|
120
122
|
&:active ~ .fwe-checkbox-checkmark {
|
|
121
|
-
background-color:
|
|
123
|
+
background-color: variables.$control-hover;
|
|
122
124
|
}
|
|
123
125
|
|
|
124
126
|
&:indeterminate ~ .fwe-checkbox-checkmark {
|
|
@@ -129,20 +131,20 @@ label.fwe-checkbox {
|
|
|
129
131
|
|
|
130
132
|
&:checked ~ .fwe-checkbox-checkmark,
|
|
131
133
|
&:indeterminate ~ .fwe-checkbox-checkmark {
|
|
132
|
-
background-color:
|
|
133
|
-
border-color:
|
|
134
|
+
background-color: variables.$hero;
|
|
135
|
+
border-color: variables.$hero;
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
&:hover:checked:not(:disabled) ~ .fwe-checkbox-checkmark,
|
|
137
139
|
&:hover:indeterminate:not(:disabled) ~ .fwe-checkbox-checkmark {
|
|
138
|
-
background-color:
|
|
139
|
-
border-color:
|
|
140
|
+
background-color: variables.$hero-hover;
|
|
141
|
+
border-color: variables.$hero-hover;
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
&:active:checked:not(:disabled) ~ .fwe-checkbox-checkmark,
|
|
143
145
|
&:active:indeterminate:not(:disabled) ~ .fwe-checkbox-checkmark {
|
|
144
|
-
background-color:
|
|
145
|
-
border-color:
|
|
146
|
+
background-color: variables.$hero-active;
|
|
147
|
+
border-color: variables.$hero-active;
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
&:checked ~ .fwe-checkbox-checkmark:before,
|
|
@@ -151,15 +153,15 @@ label.fwe-checkbox {
|
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
&:disabled ~ .fwe-checkbox-checkmark {
|
|
154
|
-
background-color:
|
|
155
|
-
border-color:
|
|
156
|
+
background-color: variables.$white;
|
|
157
|
+
border-color: variables.$control-disabled;
|
|
156
158
|
cursor: not-allowed;
|
|
157
159
|
}
|
|
158
160
|
|
|
159
161
|
&:disabled:checked ~ .fwe-checkbox-checkmark,
|
|
160
162
|
&:disabled:indeterminate ~ .fwe-checkbox-checkmark {
|
|
161
|
-
background-color:
|
|
162
|
-
border-color:
|
|
163
|
+
background-color: variables.$control-disabled;
|
|
164
|
+
border-color: variables.$control-disabled;
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
&:disabled {
|
|
@@ -167,12 +169,12 @@ label.fwe-checkbox {
|
|
|
167
169
|
}
|
|
168
170
|
|
|
169
171
|
&:disabled ~ .fwe-checkbox-label-content {
|
|
170
|
-
color:
|
|
172
|
+
color: variables.$text-disabled;
|
|
171
173
|
cursor: not-allowed;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
&:invalid ~ .fwe-checkbox-checkmark {
|
|
175
|
-
border-color:
|
|
177
|
+
border-color: variables.$red;
|
|
176
178
|
}
|
|
177
179
|
}
|
|
178
180
|
}
|
package/scss/_chips.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
@use "icons";
|
|
2
|
+
@use "variables";
|
|
3
|
+
|
|
1
4
|
%chip-lg {
|
|
2
|
-
font-size:
|
|
3
|
-
border-radius:
|
|
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:
|
|
51
|
+
font-size: variables.$font-size-md;
|
|
49
52
|
text-align: center;
|
|
50
|
-
border-radius:
|
|
53
|
+
border-radius: variables.$border-radius-l;
|
|
51
54
|
cursor: pointer;
|
|
52
|
-
background:
|
|
53
|
-
color:
|
|
54
|
-
border: 1px solid
|
|
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:
|
|
66
|
-
border: 1px solid
|
|
68
|
+
background: variables.$control-hover;
|
|
69
|
+
border: 1px solid variables.$control-hover;
|
|
67
70
|
}
|
|
68
71
|
&:active {
|
|
69
|
-
background:
|
|
70
|
-
border: 1px solid
|
|
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
|
|
76
|
-
color:
|
|
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:
|
|
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:
|
|
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:
|
|
115
|
+
background: variables.$gray-100;
|
|
113
116
|
}
|
|
114
117
|
&:active {
|
|
115
|
-
background:
|
|
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:
|
|
123
|
-
border: 1px solid
|
|
125
|
+
color: variables.$text-light;
|
|
126
|
+
border: 1px solid variables.$text-light;
|
|
124
127
|
}
|
|
125
128
|
&.fwe-disabled {
|
|
126
129
|
cursor: default;
|
|
127
|
-
background:
|
|
128
|
-
border: 1px solid
|
|
129
|
-
color:
|
|
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;
|
package/scss/_colors.scss
CHANGED
package/scss/_display.scss
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
@
|
|
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
|
|
45
|
-
$infix: breakpoint-infix($breakpoint,
|
|
46
|
-
$size: map
|
|
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
|
}
|
package/scss/_flex.scss
CHANGED
|
@@ -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
|
|
254
|
-
$infix: breakpoint-infix($breakpoint,
|
|
255
|
-
$size: map
|
|
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();
|
package/scss/_fonts.scss
CHANGED
|
@@ -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:
|
|
44
|
+
font-size: variables.$font-size-small;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
.fwe-font-size-md {
|
|
46
|
-
font-size:
|
|
48
|
+
font-size: variables.$font-size-md;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
.fwe-font-size-base {
|
|
50
|
-
font-size:
|
|
52
|
+
font-size: variables.$font-size-base;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
.fwe-font-size-xl {
|
|
54
|
-
font-size:
|
|
56
|
+
font-size: variables.$font-size-xl;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.fwe-font-size-xxl {
|
|
58
|
-
font-size:
|
|
60
|
+
font-size: variables.$font-size-xxl;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.fwe-line-height-base {
|
|
62
|
-
line-height:
|
|
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:
|
|
72
|
+
font-weight: variables.$font-weight-base;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
.fwe-font-weight-normal {
|
|
74
|
-
font-weight:
|
|
76
|
+
font-weight: variables.$font-weight-normal;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
.fwe-font-weight-bold {
|
|
78
|
-
font-weight:
|
|
80
|
+
font-weight: variables.$font-weight-bold;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
.fwe-font-family-sans-serif {
|
|
82
|
-
font-family:
|
|
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:
|
|
89
|
+
font-family: variables.$font-family-monospace;
|
|
88
90
|
}
|