@festo-ui/web-essentials 3.1.0 → 3.2.1
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 +14 -13
- package/dist/css/festo-web-essentials.css +4679 -2406
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +5 -1
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/fonts/festo_icons-16.woff2 +0 -0
- package/dist/css/fonts/festo_icons-24.woff2 +0 -0
- package/dist/css/fonts/festo_icons-32.woff2 +0 -0
- package/dist/css/organisms/festo-web-essentials-organisms.css +309 -5
- 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 +28 -23
- package/dist/css/themes/flatpickr/festo.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +5 -1
- package/dist/css/themes/flatpickr/festo.min.css.map +1 -1
- package/dist/fonts/festo_icons-16.woff2 +0 -0
- package/dist/fonts/festo_icons-24.woff2 +0 -0
- package/dist/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/_accordion.scss +107 -0
- package/dist/scss/_badge.scss +1 -1
- package/dist/scss/_bottom-navigation.scss +44 -0
- package/dist/scss/_breadcrumb.scss +3 -2
- package/dist/scss/_button.scss +15 -15
- package/dist/scss/_cards.scss +1 -1
- package/dist/scss/_checkbox.scss +1 -1
- package/dist/scss/_chips.scss +5 -5
- package/dist/scss/_fonts.scss +3 -3
- package/dist/scss/_icons.scss +144 -9
- package/dist/scss/_layout.scss +43 -0
- package/dist/scss/_mobile-flyout.scss +108 -0
- package/dist/scss/_modal.scss +47 -123
- package/dist/scss/_navbar-menu.scss +5 -4
- package/dist/scss/_navbar.scss +8 -4
- package/dist/scss/_normalize.scss +4 -4
- package/dist/scss/_pagination.scss +15 -2
- package/dist/scss/_popover.scss +1 -0
- package/dist/scss/_root.scss +38 -5
- package/dist/scss/_segment.scss +0 -4
- package/dist/scss/_stepper-horizontal.scss +126 -0
- package/dist/scss/_stepper-vertical.scss +120 -0
- package/dist/scss/_text-input.scss +13 -8
- package/dist/scss/_timepicker.scss +2 -2
- package/dist/scss/_variables.scss +37 -14
- package/dist/scss/festo-web-essentials.scss +11 -0
- package/dist/scss/fonts/festo_icons-16.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-24.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/organisms/_footer.scss +5 -5
- package/dist/scss/organisms/_header-modul.scss +109 -0
- package/dist/scss/organisms/_image-gallery.scss +196 -0
- package/dist/scss/organisms/_teaser.scss +42 -0
- package/dist/scss/organisms/festo-web-essentials-organisms.scss +8 -0
- package/dist/scss/themes/flatpickr/festo.scss +28 -14
- package/package.json +1 -1
- package/scss/_accordion.scss +107 -0
- package/scss/_badge.scss +1 -1
- package/scss/_bottom-navigation.scss +44 -0
- package/scss/_breadcrumb.scss +3 -2
- package/scss/_button.scss +15 -15
- package/scss/_cards.scss +1 -1
- package/scss/_checkbox.scss +1 -1
- package/scss/_chips.scss +5 -5
- package/scss/_fonts.scss +3 -3
- package/scss/_icons.scss +144 -9
- package/scss/_layout.scss +43 -0
- package/scss/_mobile-flyout.scss +108 -0
- package/scss/_modal.scss +47 -123
- package/scss/_navbar-menu.scss +5 -4
- package/scss/_navbar.scss +8 -4
- package/scss/_normalize.scss +4 -4
- package/scss/_pagination.scss +15 -2
- package/scss/_popover.scss +1 -0
- package/scss/_root.scss +38 -5
- package/scss/_segment.scss +0 -4
- package/scss/_stepper-horizontal.scss +126 -0
- package/scss/_stepper-vertical.scss +120 -0
- package/scss/_text-input.scss +13 -8
- package/scss/_timepicker.scss +2 -2
- package/scss/_variables.scss +37 -14
- package/scss/festo-web-essentials.scss +11 -0
- package/scss/organisms/_footer.scss +5 -5
- package/scss/organisms/_header-modul.scss +109 -0
- package/scss/organisms/_image-gallery.scss +196 -0
- package/scss/organisms/_teaser.scss +42 -0
- package/scss/organisms/festo-web-essentials-organisms.scss +8 -0
- package/scss/themes/flatpickr/festo.scss +28 -14
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
$vertical-step-height: 300px;
|
|
2
|
+
|
|
3
|
+
.fwe-stepper-vertical {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
|
|
8
|
+
.fwe-step-container {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: flex-end;
|
|
12
|
+
text-align: right;
|
|
13
|
+
position: relative;
|
|
14
|
+
.fwe-step {
|
|
15
|
+
padding-top: -1px;
|
|
16
|
+
padding-bottom: 1px;
|
|
17
|
+
position: relative;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
border: 2px solid $text-disabled;
|
|
20
|
+
width: 24px;
|
|
21
|
+
height: 24px;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
transition: border-color 0.3s, background-color 0.3s, color 0.3s;
|
|
26
|
+
|
|
27
|
+
.fwe-step-no {
|
|
28
|
+
color: $text-disabled;
|
|
29
|
+
font-size: $font-size-md;
|
|
30
|
+
font-weight: $font-weight-bold;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fwe-step-name {
|
|
34
|
+
font-size: $font-size-md;
|
|
35
|
+
position: absolute;
|
|
36
|
+
left: 36px;
|
|
37
|
+
color: $text-disabled;
|
|
38
|
+
white-space: pre;
|
|
39
|
+
transition: color 0.3s;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fwe-step-content-container {
|
|
44
|
+
.fwe-step-content {
|
|
45
|
+
padding-top: 12px;
|
|
46
|
+
padding-bottom: 32px;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
transition: opacity 0.3s ease;
|
|
49
|
+
}
|
|
50
|
+
height: 20px;
|
|
51
|
+
transition: height 0.3s;
|
|
52
|
+
margin-top: 4px;
|
|
53
|
+
margin-bottom: 4px;
|
|
54
|
+
border-left: 2px solid $text-disabled;
|
|
55
|
+
padding-left: 26px;
|
|
56
|
+
margin-left: 11px;
|
|
57
|
+
text-align: left;
|
|
58
|
+
position: relative;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.fwe-step-active,
|
|
63
|
+
&.fwe-step-done {
|
|
64
|
+
.fwe-step-content-container {
|
|
65
|
+
border-color: $hero;
|
|
66
|
+
}
|
|
67
|
+
.fwe-step {
|
|
68
|
+
background: $hero;
|
|
69
|
+
border-color: $hero;
|
|
70
|
+
.fwe-step-no {
|
|
71
|
+
color: $white;
|
|
72
|
+
}
|
|
73
|
+
.fwe-step-name {
|
|
74
|
+
color: $hero;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.fwe-step-active {
|
|
80
|
+
.fwe-step-content-container {
|
|
81
|
+
height: $vertical-step-height;
|
|
82
|
+
.fwe-step-content {
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.fwe-step {
|
|
87
|
+
.fwe-step-name {
|
|
88
|
+
font-weight: $font-weight-bold;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.fwe-step-done {
|
|
94
|
+
.fwe-step {
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
&:hover {
|
|
97
|
+
background: $hero-darker;
|
|
98
|
+
border-color: $hero-darker;
|
|
99
|
+
}
|
|
100
|
+
.fwe-step-no {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
@extend .fwe-icon;
|
|
104
|
+
@extend .fwe-icon-menu-check;
|
|
105
|
+
&:before {
|
|
106
|
+
position: absolute;
|
|
107
|
+
left: 2px;
|
|
108
|
+
top: 2px;
|
|
109
|
+
color: $white;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.fwe-step-container.fwe-last-element {
|
|
116
|
+
.fwe-step-content-container {
|
|
117
|
+
border-color: transparent;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
package/scss/_text-input.scss
CHANGED
|
@@ -47,7 +47,9 @@ label.fwe-input-text {
|
|
|
47
47
|
border: none;
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
background: none;
|
|
50
|
-
border-bottom: 1px
|
|
50
|
+
border-bottom-width: 1px;
|
|
51
|
+
border-bottom-style: solid;
|
|
52
|
+
border-color: $control-border;
|
|
51
53
|
width: 100%;
|
|
52
54
|
padding-top: 4px;
|
|
53
55
|
padding-bottom: 4px;
|
|
@@ -61,7 +63,7 @@ label.fwe-input-text {
|
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
&:hover:valid:not(:disabled) {
|
|
64
|
-
border-
|
|
66
|
+
border-color: $hero;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
&:hover:not(:disabled) {
|
|
@@ -70,12 +72,12 @@ label.fwe-input-text {
|
|
|
70
72
|
|
|
71
73
|
&:focus {
|
|
72
74
|
outline: none;
|
|
73
|
-
border-
|
|
75
|
+
border-color: $hero;
|
|
74
76
|
color: $text !important;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
&:invalid {
|
|
78
|
-
border-
|
|
80
|
+
border-color: $red;
|
|
79
81
|
& ~ .fwe-input-text-info {
|
|
80
82
|
display: none;
|
|
81
83
|
}
|
|
@@ -87,7 +89,7 @@ label.fwe-input-text {
|
|
|
87
89
|
&:disabled {
|
|
88
90
|
background: none;
|
|
89
91
|
color: $text-disabled;
|
|
90
|
-
border-
|
|
92
|
+
border-color: $control-disabled;
|
|
91
93
|
|
|
92
94
|
& ~ .fwe-input-text-label,
|
|
93
95
|
& ~ .fwe-input-text-invalid,
|
|
@@ -139,13 +141,16 @@ label.fwe-input-text {
|
|
|
139
141
|
|
|
140
142
|
textarea {
|
|
141
143
|
resize: none;
|
|
142
|
-
|
|
143
|
-
padding-
|
|
144
|
+
margin-top: 4px;
|
|
145
|
+
padding-left: 8px;
|
|
146
|
+
padding-right: 8px;
|
|
147
|
+
border-width: 1px;
|
|
148
|
+
border-style: solid;
|
|
144
149
|
|
|
145
150
|
@for $i from 2 through 10 {
|
|
146
151
|
&.fwe-row-#{$i} {
|
|
147
152
|
// height = rowcount * rowheight + margin-top + margin-bottom + 1px-line
|
|
148
|
-
height: $i * $
|
|
153
|
+
height: calc(#{$i} * #{$textarea-row-const});
|
|
149
154
|
}
|
|
150
155
|
}
|
|
151
156
|
|
package/scss/_timepicker.scss
CHANGED
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
transform: translateY(-50%);
|
|
27
27
|
left: 38px;
|
|
28
28
|
padding-bottom: 4px;
|
|
29
|
-
font-weight: bold;
|
|
29
|
+
font-weight: $font-weight-bold;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
input[type="number"] {
|
|
33
|
-
font-weight: bold;
|
|
33
|
+
font-weight: $font-weight-bold;
|
|
34
34
|
color: $hero;
|
|
35
35
|
outline: 0;
|
|
36
36
|
border: none;
|
package/scss/_variables.scss
CHANGED
|
@@ -25,6 +25,23 @@ $yellow-dark: var(--fwe-yellow-dark) !default;
|
|
|
25
25
|
$orange-dark: var(--fwe-orange-dark) !default;
|
|
26
26
|
$red-dark: var(--fwe-red-dark) !default;
|
|
27
27
|
|
|
28
|
+
// button vars
|
|
29
|
+
$btn: var(--fwe-btn) !default;
|
|
30
|
+
$btn-hover: var(--fwe-btn-hover) !default;
|
|
31
|
+
$btn-active: var(--fwe-btn-active) !default;
|
|
32
|
+
$btn-disabled: var(--fwe-btn-disabled) !default;
|
|
33
|
+
$btn-text: var(--fwe-btn-text) !default;
|
|
34
|
+
$btn-text-hover: var(--fwe-btn-text-hover) !default;
|
|
35
|
+
$btn-text-disabled: var(--fwe-btn-text-disabled) !default;
|
|
36
|
+
|
|
37
|
+
$btn-hero: var(--fwe-btn-hero) !default;
|
|
38
|
+
$btn-hero-hover: var(--fwe-btn-hero-hover) !default;
|
|
39
|
+
$btn-hero-active: var(--fwe-btn-hero-active) !default;
|
|
40
|
+
$btn-hero-disabled: var(--fwe-btn-hero-disabled) !default;
|
|
41
|
+
$btn-hero-text: var(--fwe-btn-hero-text) !default;
|
|
42
|
+
$btn-hero-text-hover: var(--fwe-btn-hero-text-hover) !default;
|
|
43
|
+
$btn-hero-text-disabled: var(--fwe-btn-hero-text-disabled) !default;
|
|
44
|
+
|
|
28
45
|
// control colors
|
|
29
46
|
$text: var(--fwe-text) !default;
|
|
30
47
|
$text-light: var(--fwe-text-light) !default;
|
|
@@ -47,6 +64,7 @@ $control-border-darker: var(--fwe-control-border-darker) !default;
|
|
|
47
64
|
|
|
48
65
|
$background: var(--fwe-background) !default;
|
|
49
66
|
$background-modal: rgba(black, 0.7) !default;
|
|
67
|
+
$background-image-gallery: var(--fwe-background-image-gallery) !default;
|
|
50
68
|
|
|
51
69
|
$border: var(--fwe-border) !default;
|
|
52
70
|
$border-disabled: var(--fwe-border-disabled) !default;
|
|
@@ -122,26 +140,27 @@ $badge-colors: map-merge(
|
|
|
122
140
|
$badge-colors
|
|
123
141
|
);
|
|
124
142
|
|
|
125
|
-
$font-family-sans-serif:
|
|
126
|
-
|
|
127
|
-
$font-family-
|
|
128
|
-
$font-family-icons-
|
|
129
|
-
$font-family-icons-
|
|
130
|
-
$font-family-icons-32: "festo_icons-32" !default;
|
|
143
|
+
$font-family-sans-serif: var(--fwe-font-family-sans-serif) !default;
|
|
144
|
+
$font-family-monospace: var(--fwe-font-family-monospace) !default;
|
|
145
|
+
$font-family-icons-16: var(--fwe-font-family-icons-16) !default;
|
|
146
|
+
$font-family-icons-24: var(--fwe-font-family-icons-24) !default;
|
|
147
|
+
$font-family-icons-32: var(--fwe-font-family-icons-32) !default;
|
|
131
148
|
|
|
132
149
|
$font-family-base: $font-family-sans-serif !default;
|
|
133
150
|
|
|
134
|
-
$font-size-small:
|
|
135
|
-
$font-size-md:
|
|
136
|
-
$font-size-base:
|
|
137
|
-
$font-size-xl:
|
|
138
|
-
$font-size-xxl:
|
|
151
|
+
$font-size-small: var(--fwe-font-size-small) !default;
|
|
152
|
+
$font-size-md: var(--fwe-font-size-md) !default;
|
|
153
|
+
$font-size-base: var(--fwe-font-size-base) !default;
|
|
154
|
+
$font-size-xl: var(--fwe-font-size-xl) !default;
|
|
155
|
+
$font-size-xxl: var(--fwe-font-size-xxl) !default;
|
|
139
156
|
|
|
140
|
-
$font-weight-normal:
|
|
141
|
-
$font-weight-bold:
|
|
157
|
+
$font-weight-normal: var(--fwe-font-weight-normal) !default;
|
|
158
|
+
$font-weight-bold: var(--fwe-font-weight-bold) !default;
|
|
142
159
|
|
|
143
160
|
$font-weight-base: $font-weight-normal !default;
|
|
144
|
-
$line-height-base:
|
|
161
|
+
$line-height-base: var(--fwe-line-height-base) !default;
|
|
162
|
+
$font-feature-settings: var(--fwe-font-feature-settings) !default;
|
|
163
|
+
$font-variant-numeric: var(--fwe-font-variant-numeric) !default;
|
|
145
164
|
|
|
146
165
|
$container-padding: 0 8px 0 8px;
|
|
147
166
|
$container-paddings: (
|
|
@@ -153,6 +172,7 @@ $container-paddings: (
|
|
|
153
172
|
|
|
154
173
|
$grid-columns: 12 !default;
|
|
155
174
|
$grid-gap: 24px !default;
|
|
175
|
+
$grid-breakpoint-xxs: 375px;
|
|
156
176
|
$grid-breakpoint-xs: 600px;
|
|
157
177
|
$grid-breakpoint-sm: 769px;
|
|
158
178
|
$grid-breakpoint-md: 1025px;
|
|
@@ -161,6 +181,7 @@ $grid-breakpoint-xl: 1441px;
|
|
|
161
181
|
$grid-breakpoint-xxl: 1921px;
|
|
162
182
|
$grid-breakpoints: (
|
|
163
183
|
unset: 0,
|
|
184
|
+
xxs: $grid-breakpoint-xxs,
|
|
164
185
|
xs: $grid-breakpoint-xs,
|
|
165
186
|
sm: $grid-breakpoint-sm,
|
|
166
187
|
md: $grid-breakpoint-md,
|
|
@@ -222,3 +243,5 @@ $zindex-modal-backdrop: var(--fwe-z-index-modal-backdrop) !default;
|
|
|
222
243
|
$zindex-modal: var(--fwe-z-index-modal) !default;
|
|
223
244
|
$zindex-popover: var(--fwe-z-index-popover) !default;
|
|
224
245
|
$zindex-tooltip: var(--fwe-z-index-tooltip) !default;
|
|
246
|
+
|
|
247
|
+
$textarea-row-const: var(--fwe-textarea-row-const) !default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Festo UI - Web Essentials v3.1.0 (https://storybook.festo.design/)
|
|
3
|
+
* Copyright 2022 Festo SE & Co. KG
|
|
4
|
+
* Licensed under Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
@import "rfs";
|
|
2
8
|
@import "variables";
|
|
3
9
|
@import "mixins";
|
|
@@ -21,6 +27,7 @@
|
|
|
21
27
|
@import "table";
|
|
22
28
|
@import "list";
|
|
23
29
|
@import "navbar";
|
|
30
|
+
@import "mobile-flyout";
|
|
24
31
|
@import "breadcrumb";
|
|
25
32
|
@import "text-link";
|
|
26
33
|
@import "text-input";
|
|
@@ -44,3 +51,7 @@
|
|
|
44
51
|
@import "navbar-menu";
|
|
45
52
|
@import "scroll";
|
|
46
53
|
@import "search-input";
|
|
54
|
+
@import "stepper-horizontal";
|
|
55
|
+
@import "stepper-vertical";
|
|
56
|
+
@import "bottom-navigation";
|
|
57
|
+
@import "accordion";
|
|
@@ -32,7 +32,7 @@ footer.fwe-footer {
|
|
|
32
32
|
h4 {
|
|
33
33
|
font-size: 16px;
|
|
34
34
|
line-height: 24px;
|
|
35
|
-
font-weight:
|
|
35
|
+
font-weight: $font-weight-bold;
|
|
36
36
|
list-style-type: none;
|
|
37
37
|
position: relative;
|
|
38
38
|
margin-top: 0px;
|
|
@@ -55,8 +55,8 @@ footer.fwe-footer {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
.fwe-bottomline {
|
|
58
|
-
font-size:
|
|
59
|
-
padding-top:
|
|
58
|
+
font-size: $font-size-small;
|
|
59
|
+
padding-top: 24px;
|
|
60
60
|
text-align: center;
|
|
61
61
|
|
|
62
62
|
.fwe-sitelinks {
|
|
@@ -110,8 +110,8 @@ footer.fwe-footer {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
.fwe-bottomline {
|
|
113
|
-
font-size:
|
|
114
|
-
padding-top:
|
|
113
|
+
font-size: $font-size-small;
|
|
114
|
+
padding-top: 24px;
|
|
115
115
|
text-align: left;
|
|
116
116
|
display: flex;
|
|
117
117
|
.fwe-sitelinks {
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
.fwe-header-modul-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
padding-top: $spacer-l;
|
|
7
|
+
padding-bottom: $spacer-l;
|
|
8
|
+
|
|
9
|
+
.fwe-header-modul-content {
|
|
10
|
+
order: 2;
|
|
11
|
+
position: relative;
|
|
12
|
+
|
|
13
|
+
h1,
|
|
14
|
+
.fwe-h1 {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h3,
|
|
19
|
+
.fwe-h3 {
|
|
20
|
+
margin-top: 0;
|
|
21
|
+
margin-bottom: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
p {
|
|
25
|
+
font-size: $font-size-xl;
|
|
26
|
+
line-height: 32px;
|
|
27
|
+
color: $text-light;
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding-bottom: 34px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::after {
|
|
33
|
+
position: absolute;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
content: "";
|
|
37
|
+
width: 28px;
|
|
38
|
+
height: 10px;
|
|
39
|
+
background-color: $gray-400;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fwe-header-modul-media {
|
|
44
|
+
min-height: 111px;
|
|
45
|
+
background-color: $hero;
|
|
46
|
+
order: 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media only screen and (min-width: $grid-breakpoint-xs) {
|
|
51
|
+
.fwe-header-modul-container {
|
|
52
|
+
.fwe-header-modul-media {
|
|
53
|
+
min-height: 132px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media only screen and (min-width: $grid-breakpoint-sm) {
|
|
59
|
+
.fwe-header-modul-container {
|
|
60
|
+
.fwe-header-modul-content {
|
|
61
|
+
h1,
|
|
62
|
+
.fwe-h1 {
|
|
63
|
+
margin-bottom: 6px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.fwe-header-modul-media {
|
|
67
|
+
min-height: 268px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@media only screen and (min-width: $grid-breakpoint-md) {
|
|
73
|
+
.fwe-header-modul-container {
|
|
74
|
+
.fwe-header-modul-media {
|
|
75
|
+
min-height: 352px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media only screen and (min-width: $grid-breakpoint-lg) {
|
|
81
|
+
.fwe-header-modul-container {
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
|
|
84
|
+
.fwe-header-modul-content {
|
|
85
|
+
order: 1;
|
|
86
|
+
width: math.div(100%, 2.4);
|
|
87
|
+
margin-right: $spacer-m;
|
|
88
|
+
|
|
89
|
+
h1,
|
|
90
|
+
.fwe-h1 {
|
|
91
|
+
margin-top: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fwe-header-modul-media {
|
|
96
|
+
order: 2;
|
|
97
|
+
min-height: 293px;
|
|
98
|
+
flex: 1;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media only screen and (min-width: $grid-breakpoint-xl) {
|
|
104
|
+
.fwe-header-modul-container {
|
|
105
|
+
.fwe-header-modul-media {
|
|
106
|
+
min-height: 400px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/* stylelint-disable selector-class-pattern -- Doing swiper overrides here */
|
|
2
|
+
.fwe-modal-image-gallery {
|
|
3
|
+
background: transparent;
|
|
4
|
+
box-shadow: none;
|
|
5
|
+
padding: 0px;
|
|
6
|
+
position: fixed;
|
|
7
|
+
width: 288px;
|
|
8
|
+
max-width: unset;
|
|
9
|
+
max-height: unset;
|
|
10
|
+
overflow-x: hidden;
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
|
|
13
|
+
.fwe-btn-link i.fwe-icon-menu-close.fwe-modal-image-gallery-close {
|
|
14
|
+
padding-right: 0px;
|
|
15
|
+
padding-top: 4px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.fwe-image-gallery {
|
|
19
|
+
// pagination height (37px + 24px) + 12px (extra padding on top and bottom)
|
|
20
|
+
max-height: calc(100vh - 73px);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--with-thumbnails {
|
|
24
|
+
.fwe-image-gallery {
|
|
25
|
+
// pagination height (37px + 24px) + thumbs height (64 + 24) + 12px (extra padding on top and bottom)
|
|
26
|
+
max-height: calc(100vh - 161px);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.fwe-image-gallery-header {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
margin-bottom: $spacer-m;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.fwe-image-gallery {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 288px;
|
|
40
|
+
background-color: $background-image-gallery;
|
|
41
|
+
user-select: none;
|
|
42
|
+
|
|
43
|
+
svg,
|
|
44
|
+
img,
|
|
45
|
+
.swiper-zoom-container img,
|
|
46
|
+
.swiper-zoom-container svg {
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
object-fit: cover;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fwe-image-gallery-thumbs {
|
|
54
|
+
margin-top: 24px;
|
|
55
|
+
user-select: none;
|
|
56
|
+
|
|
57
|
+
&.swiper {
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 64px;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
margin-left: auto;
|
|
62
|
+
margin-right: auto;
|
|
63
|
+
|
|
64
|
+
.swiper-slide {
|
|
65
|
+
position: relative;
|
|
66
|
+
background-size: cover;
|
|
67
|
+
background-position: center;
|
|
68
|
+
width: 88px;
|
|
69
|
+
margin-right: 8px;
|
|
70
|
+
height: 64px;
|
|
71
|
+
opacity: 0.33;
|
|
72
|
+
transition: opacity 0.3s;
|
|
73
|
+
|
|
74
|
+
&:last-child {
|
|
75
|
+
margin-right: 0px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&::after {
|
|
79
|
+
position: absolute;
|
|
80
|
+
content: "";
|
|
81
|
+
height: 4px;
|
|
82
|
+
width: 100%;
|
|
83
|
+
background-color: $hero;
|
|
84
|
+
bottom: 0px;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
transition: opacity 0.3s;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
img {
|
|
90
|
+
display: block;
|
|
91
|
+
object-fit: cover;
|
|
92
|
+
width: 88px;
|
|
93
|
+
height: 56px;
|
|
94
|
+
background-color: $background-image-gallery;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.swiper-slide-thumb-active,
|
|
98
|
+
&:hover {
|
|
99
|
+
opacity: 1;
|
|
100
|
+
|
|
101
|
+
&::after {
|
|
102
|
+
opacity: 1;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:not(.swiper) {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: row;
|
|
111
|
+
overflow: hidden;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&-nail {
|
|
115
|
+
position: relative;
|
|
116
|
+
height: 64px;
|
|
117
|
+
width: 88px;
|
|
118
|
+
min-width: 88px;
|
|
119
|
+
margin-right: 8px;
|
|
120
|
+
opacity: 0.33;
|
|
121
|
+
transition: opacity 0.3s;
|
|
122
|
+
|
|
123
|
+
img {
|
|
124
|
+
position: absolute;
|
|
125
|
+
height: 56px;
|
|
126
|
+
width: 88px;
|
|
127
|
+
min-width: 88px;
|
|
128
|
+
background: $background-image-gallery;
|
|
129
|
+
object-fit: cover;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:last-child {
|
|
133
|
+
margin-right: 0px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&::after {
|
|
137
|
+
position: absolute;
|
|
138
|
+
content: "";
|
|
139
|
+
height: 4px;
|
|
140
|
+
width: 100%;
|
|
141
|
+
background-color: $hero;
|
|
142
|
+
bottom: 0px;
|
|
143
|
+
opacity: 0;
|
|
144
|
+
transition: opacity 0.3s;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.fwe-active,
|
|
148
|
+
&:hover {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
|
|
151
|
+
&::after {
|
|
152
|
+
opacity: 1;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media only screen and (min-width: $grid-breakpoint-xxs) {
|
|
159
|
+
.fwe-modal-image-gallery {
|
|
160
|
+
width: 342px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.fwe-image-gallery {
|
|
164
|
+
height: 342px;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@media only screen and (min-width: $grid-breakpoint-sm) {
|
|
169
|
+
.fwe-modal-image-gallery {
|
|
170
|
+
width: 696px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.fwe-image-gallery {
|
|
174
|
+
height: 465px;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media only screen and (min-width: $grid-breakpoint-md) {
|
|
179
|
+
.fwe-modal-image-gallery {
|
|
180
|
+
width: 696px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.fwe-image-gallery {
|
|
184
|
+
height: 465px;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@media only screen and (min-width: $grid-breakpoint-xl) {
|
|
189
|
+
.fwe-modal-image-gallery {
|
|
190
|
+
width: 960px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.fwe-image-gallery {
|
|
194
|
+
height: 640px;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
@@ -50,3 +50,45 @@
|
|
|
50
50
|
margin-bottom: 24px;
|
|
51
51
|
margin-right: 24px;
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
.fwe-teaser-c12-container {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
|
|
58
|
+
.fwe-teaser-c12-content {
|
|
59
|
+
order: 2;
|
|
60
|
+
background-color: $sucanul;
|
|
61
|
+
padding-top: 16px;
|
|
62
|
+
padding-bottom: 13px;
|
|
63
|
+
padding-left: 20px;
|
|
64
|
+
padding-right: 20px;
|
|
65
|
+
|
|
66
|
+
h3,
|
|
67
|
+
.fwe-h3 {
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
line-height: 14px;
|
|
70
|
+
margin-bottom: 4px;
|
|
71
|
+
font-weight: $font-weight-normal;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h2,
|
|
75
|
+
.fwe-h2 {
|
|
76
|
+
font-size: 16px;
|
|
77
|
+
line-height: 24px;
|
|
78
|
+
font-weight: $font-weight-bold;
|
|
79
|
+
margin-top: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.fwe-teaser-c12-img {
|
|
84
|
+
order: 1;
|
|
85
|
+
background-color: $hero;
|
|
86
|
+
min-height: 114px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media only screen and (min-width: $grid-breakpoint-md) {
|
|
91
|
+
.fwe-teaser-verbox h2 {
|
|
92
|
+
padding-top: 48px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Festo UI - Web Essentials v3.1.0 (https://storybook.festo.design/)
|
|
3
|
+
* Copyright 2022 Festo SE & Co. KG
|
|
4
|
+
* Licensed under Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
@import "../variables";
|
|
2
8
|
|
|
3
9
|
@import "footer";
|
|
4
10
|
@import "teaser";
|
|
5
11
|
@import "header-slider";
|
|
12
|
+
@import "header-modul";
|
|
13
|
+
@import "image-gallery";
|