@festo-ui/web-essentials 3.1.0 → 3.2.0
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 +4547 -2436
- 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 +34 -7
- package/dist/scss/_layout.scss +43 -0
- package/dist/scss/_mobile-flyout.scss +104 -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 +34 -7
- package/scss/_layout.scss +43 -0
- package/scss/_mobile-flyout.scss +104 -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,107 @@
|
|
|
1
|
+
.fwe-accordion {
|
|
2
|
+
background-color: $white;
|
|
3
|
+
|
|
4
|
+
&-header {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
height: $spacer-xl;
|
|
8
|
+
padding: 0 $spacer-s 0 $spacer-m;
|
|
9
|
+
font-size: $font-size-md;
|
|
10
|
+
font-weight: $font-weight-bold;
|
|
11
|
+
color: $text;
|
|
12
|
+
border-bottom: 1px solid $gray-100;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-item {
|
|
16
|
+
position: relative;
|
|
17
|
+
padding: 0 $spacer-s 0 $spacer-m;
|
|
18
|
+
border-top: 1px solid $gray-100;
|
|
19
|
+
border-bottom: 1px solid $gray-100;
|
|
20
|
+
|
|
21
|
+
&-header {
|
|
22
|
+
outline: none;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
padding: $spacer-m $spacer-xxl $spacer-m 0;
|
|
26
|
+
min-height: $spacer-xl;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::-webkit-details-marker {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&::before {
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
display: block;
|
|
39
|
+
content: "";
|
|
40
|
+
width: $spacer-xxxs;
|
|
41
|
+
height: 0px;
|
|
42
|
+
background-color: $caerul;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&::after {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 21px;
|
|
48
|
+
right: $spacer-s;
|
|
49
|
+
display: block;
|
|
50
|
+
font-family: $font-family-icons-32;
|
|
51
|
+
font-size: $font-size-xxl;
|
|
52
|
+
content: "\e900";
|
|
53
|
+
height: $spacer-l;
|
|
54
|
+
line-height: $spacer-l;
|
|
55
|
+
transition: transform 0.2s ease;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[open] {
|
|
60
|
+
.fwe-accordion-item-header {
|
|
61
|
+
font-weight: $font-weight-bold;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&::after {
|
|
65
|
+
transform: rotate(-180deg);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&::before {
|
|
69
|
+
height: 100%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:not([open]) .fwe-accordion-item-header {
|
|
74
|
+
font-weight: $font-weight-normal;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&-body {
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
margin-right: 0;
|
|
80
|
+
margin-bottom: $spacer-m;
|
|
81
|
+
|
|
82
|
+
> :first-child {
|
|
83
|
+
margin-top: 0 !important;
|
|
84
|
+
padding-top: 0 !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
> :last-child {
|
|
88
|
+
margin-bottom: 0 !important;
|
|
89
|
+
padding-bottom: 0 !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
> :not(.fwe-accordion) {
|
|
93
|
+
margin-right: 0px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (min-width: $grid-breakpoint-xs) {
|
|
100
|
+
.fwe-accordion {
|
|
101
|
+
&-item {
|
|
102
|
+
&-body {
|
|
103
|
+
margin-right: $spacer-xxl;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
package/dist/scss/_badge.scss
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.fwe-bottom-navigation {
|
|
2
|
+
width: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
background: $white;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
border-top: 1px solid $border;
|
|
8
|
+
height: 84px;
|
|
9
|
+
padding: 22px 16px;
|
|
10
|
+
.fwe-bottom-navigation-button {
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
user-select: none;
|
|
13
|
+
.fwe-icon {
|
|
14
|
+
line-height: 0px;
|
|
15
|
+
}
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
background: none;
|
|
19
|
+
border: none;
|
|
20
|
+
outline: none;
|
|
21
|
+
color: $icon-gray;
|
|
22
|
+
position: relative;
|
|
23
|
+
:after {
|
|
24
|
+
content: "";
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: -23px;
|
|
27
|
+
left: 0px;
|
|
28
|
+
right: 0px;
|
|
29
|
+
height: 0px;
|
|
30
|
+
background: $hero;
|
|
31
|
+
transition: height 0.3s ease;
|
|
32
|
+
}
|
|
33
|
+
&.fwe-selected {
|
|
34
|
+
color: $hero;
|
|
35
|
+
cursor: default;
|
|
36
|
+
:after {
|
|
37
|
+
height: 4px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&:active {
|
|
41
|
+
color: $hero-darker;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.fwe-breadcrumb {
|
|
2
|
+
white-space: nowrap;
|
|
2
3
|
display: flex;
|
|
3
4
|
justify-items: center;
|
|
4
5
|
align-items: center;
|
|
@@ -15,8 +16,8 @@
|
|
|
15
16
|
color: $text-light;
|
|
16
17
|
text-decoration: none;
|
|
17
18
|
user-select: none;
|
|
18
|
-
font-size:
|
|
19
|
-
line-height:
|
|
19
|
+
font-size: $font-size-md;
|
|
20
|
+
line-height: calc(#{$font-size-md} + 2px);
|
|
20
21
|
&:focus {
|
|
21
22
|
outline: none;
|
|
22
23
|
}
|
package/dist/scss/_button.scss
CHANGED
|
@@ -5,12 +5,13 @@ button.fwe-btn {
|
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
text-align: center;
|
|
8
|
+
justify-content: center;
|
|
8
9
|
font-family: $font-family-base;
|
|
9
10
|
font-size: $font-size-base;
|
|
10
11
|
padding: 4px 16px;
|
|
11
12
|
min-height: 32px;
|
|
12
|
-
color: $text;
|
|
13
|
-
background: $
|
|
13
|
+
color: $btn-text;
|
|
14
|
+
background: $btn;
|
|
14
15
|
border-radius: $control-border-radius;
|
|
15
16
|
cursor: pointer;
|
|
16
17
|
border: none;
|
|
@@ -25,12 +26,12 @@ button.fwe-btn {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
&:hover {
|
|
28
|
-
color: $text;
|
|
29
|
-
background: $
|
|
29
|
+
color: $btn-text-hover;
|
|
30
|
+
background: $btn-hover;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&:active {
|
|
33
|
-
background: $
|
|
34
|
+
background: $btn-active;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
&:focus {
|
|
@@ -40,33 +41,32 @@ button.fwe-btn {
|
|
|
40
41
|
&:disabled,
|
|
41
42
|
&.fwe-disabled {
|
|
42
43
|
cursor: default;
|
|
43
|
-
background: $
|
|
44
|
-
color: $text-disabled;
|
|
44
|
+
background: $btn-disabled;
|
|
45
|
+
color: $btn-text-disabled;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
&.fwe-btn-hero {
|
|
48
|
-
color: $
|
|
49
|
-
background: $hero;
|
|
49
|
+
color: $btn-hero-text;
|
|
50
|
+
background: $btn-hero;
|
|
50
51
|
|
|
51
52
|
&:hover {
|
|
52
|
-
color: $
|
|
53
|
-
background: $hero-
|
|
53
|
+
color: $btn-hero-text-hover;
|
|
54
|
+
background: $btn-hero-hover;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
&:active {
|
|
57
|
-
background: $hero-
|
|
58
|
+
background: $btn-hero-active;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
&:disabled,
|
|
61
62
|
&.fwe-disabled {
|
|
62
|
-
background: $
|
|
63
|
-
color: $text-disabled;
|
|
63
|
+
background: $btn-hero-disabled;
|
|
64
|
+
color: $btn-hero-text-disabled;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
&.fwe-btn-block {
|
|
68
69
|
width: 100%;
|
|
69
|
-
justify-content: center;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&.fwe-btn-link {
|
package/dist/scss/_cards.scss
CHANGED
package/dist/scss/_checkbox.scss
CHANGED
package/dist/scss/_chips.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
%chip-lg {
|
|
2
|
-
font-size:
|
|
2
|
+
font-size: $font-size-base;
|
|
3
3
|
line-height: 22px;
|
|
4
4
|
border-radius: 16px;
|
|
5
5
|
padding: 3px 16px 5px 16px;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
&::after {
|
|
15
15
|
top: 4px;
|
|
16
16
|
font-family: $font-family-icons-24;
|
|
17
|
-
font-size:
|
|
18
|
-
line-height:
|
|
17
|
+
font-size: $font-size-xl;
|
|
18
|
+
line-height: $font-size-xl;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
&.fwe-filter {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
position: relative;
|
|
46
46
|
display: flex;
|
|
47
47
|
align-items: flex-end;
|
|
48
|
-
font-size:
|
|
49
|
-
line-height:
|
|
48
|
+
font-size: $font-size-md;
|
|
49
|
+
line-height: calc(#{$font-size-md} + 7px);
|
|
50
50
|
text-align: center;
|
|
51
51
|
border-radius: 12px;
|
|
52
52
|
cursor: pointer;
|
package/dist/scss/_fonts.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@font-face {
|
|
15
|
-
font-family:
|
|
15
|
+
font-family: "festo_icons-16";
|
|
16
16
|
src: url("../fonts/festo_icons-16.woff2") format("woff2");
|
|
17
17
|
font-weight: normal;
|
|
18
18
|
font-style: normal;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@font-face {
|
|
23
|
-
font-family:
|
|
23
|
+
font-family: "festo_icons-24";
|
|
24
24
|
src: url("../fonts/festo_icons-24.woff2") format("woff2");
|
|
25
25
|
font-weight: normal;
|
|
26
26
|
font-style: normal;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
@font-face {
|
|
31
|
-
font-family:
|
|
31
|
+
font-family: "festo_icons-32";
|
|
32
32
|
src: url("../fonts/festo_icons-32.woff2") format("woff2");
|
|
33
33
|
font-weight: normal;
|
|
34
34
|
font-style: normal;
|
package/dist/scss/_icons.scss
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
text-transform: none;
|
|
12
12
|
-webkit-font-smoothing: antialiased;
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
font-family:
|
|
14
|
+
font-family: $font-family-icons-16;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -20,30 +20,30 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.fwe-icon-lg {
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: 24px;
|
|
24
24
|
&:before {
|
|
25
|
-
font-family:
|
|
25
|
+
font-family: $font-family-icons-24 !important;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.fwe-icon-2x {
|
|
30
|
-
font-size:
|
|
30
|
+
font-size: 32px;
|
|
31
31
|
&:before {
|
|
32
|
-
font-family:
|
|
32
|
+
font-family: $font-family-icons-32 !important;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.fwe-icon-3x {
|
|
37
37
|
font-size: 48px;
|
|
38
38
|
&:before {
|
|
39
|
-
font-family:
|
|
39
|
+
font-family: $font-family-icons-24 !important;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.fwe-icon-4x {
|
|
44
44
|
font-size: 64px;
|
|
45
45
|
&:before {
|
|
46
|
-
font-family:
|
|
46
|
+
font-family: $font-family-icons-32 !important;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -1311,3 +1311,30 @@
|
|
|
1311
1311
|
.fwe-icon-simulation:before {
|
|
1312
1312
|
content: "\ea9d";
|
|
1313
1313
|
}
|
|
1314
|
+
.fwe-icon-control-valve:before {
|
|
1315
|
+
content: "\ea9e";
|
|
1316
|
+
}
|
|
1317
|
+
.fwe-icon-country-selector:before {
|
|
1318
|
+
content: "\ea9f";
|
|
1319
|
+
}
|
|
1320
|
+
.fwe-icon-dosing-heads:before {
|
|
1321
|
+
content: "\eaa0";
|
|
1322
|
+
}
|
|
1323
|
+
.fwe-icon-single-valve:before {
|
|
1324
|
+
content: "\eaa1";
|
|
1325
|
+
}
|
|
1326
|
+
.fwe-icon-show-course:before {
|
|
1327
|
+
content: "\eaa2";
|
|
1328
|
+
}
|
|
1329
|
+
.fwe-icon-show-equipment:before {
|
|
1330
|
+
content: "\eaa3";
|
|
1331
|
+
}
|
|
1332
|
+
.fwe-icon-show-group:before {
|
|
1333
|
+
content: "\eaa4";
|
|
1334
|
+
}
|
|
1335
|
+
.fwe-icon-show-results:before {
|
|
1336
|
+
content: "\eaa5";
|
|
1337
|
+
}
|
|
1338
|
+
.fwe-icon-show-user:before {
|
|
1339
|
+
content: "\eaa6";
|
|
1340
|
+
}
|
package/dist/scss/_layout.scss
CHANGED
|
@@ -16,3 +16,46 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
.fwe-layout-1920 {
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
padding: 0px !important;
|
|
24
|
+
.fwe-container {
|
|
25
|
+
padding: 0px !important;
|
|
26
|
+
max-width: 1920px - 128;
|
|
27
|
+
margin-right: 64px;
|
|
28
|
+
margin-left: 64px;
|
|
29
|
+
@media (max-width: $grid-breakpoint-lg) {
|
|
30
|
+
margin-right: 32px;
|
|
31
|
+
margin-left: 32px;
|
|
32
|
+
}
|
|
33
|
+
@media (max-width: $grid-breakpoint-sm) {
|
|
34
|
+
margin-right: 16px;
|
|
35
|
+
margin-left: 16px;
|
|
36
|
+
}
|
|
37
|
+
@media (max-width: $grid-breakpoint-xs) {
|
|
38
|
+
margin-right: 8px;
|
|
39
|
+
margin-left: 8px;
|
|
40
|
+
}
|
|
41
|
+
.fwe-app-logo-container {
|
|
42
|
+
position: unset;
|
|
43
|
+
margin-bottom: 17px;
|
|
44
|
+
margin-right: 24px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.fwe-layout-1440 {
|
|
50
|
+
@extend .fwe-layout-1920;
|
|
51
|
+
.fwe-container {
|
|
52
|
+
max-width: 1440px - 128px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.fwe-layout-1024 {
|
|
57
|
+
@extend .fwe-layout-1920;
|
|
58
|
+
.fwe-container {
|
|
59
|
+
max-width: 1024px - 64px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
.fwe-mobile-flyout {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.fwe-mobile-flyout-button {
|
|
5
|
+
@extend .fwe-icon;
|
|
6
|
+
@extend .fwe-icon-lg;
|
|
7
|
+
padding: 0px;
|
|
8
|
+
border: none;
|
|
9
|
+
background: none;
|
|
10
|
+
outline: none;
|
|
11
|
+
margin-bottom: 8px;
|
|
12
|
+
margin-right: auto;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
@media (hover: hover) and (pointer: fine) {
|
|
15
|
+
&:hover {
|
|
16
|
+
color: $hero;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fwe-burger-button {
|
|
22
|
+
@extend .fwe-mobile-flyout-button;
|
|
23
|
+
@extend .fwe-icon-menu-menu;
|
|
24
|
+
}
|
|
25
|
+
.fwe-close-button {
|
|
26
|
+
@extend .fwe-mobile-flyout-button;
|
|
27
|
+
@extend .fwe-icon-menu-close;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fwe-mobile-flyout-container {
|
|
31
|
+
position: fixed;
|
|
32
|
+
display: flex;
|
|
33
|
+
top: $navbar-height;
|
|
34
|
+
left: 0px;
|
|
35
|
+
width: 384px;
|
|
36
|
+
height: calc(100vh - #{$navbar-height});
|
|
37
|
+
background-color: $white;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
box-shadow: 0px 1px 4px #00000029;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
transform: translateX(-105%);
|
|
42
|
+
|
|
43
|
+
@media (max-width: $grid-breakpoint-xs) {
|
|
44
|
+
width: 100% !important;
|
|
45
|
+
}
|
|
46
|
+
transition: transform 0.3s ease;
|
|
47
|
+
&.fwe-opened {
|
|
48
|
+
transform: translateX(0%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fwe-mobile-flyout-page {
|
|
54
|
+
background: $white;
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 0;
|
|
57
|
+
top: 0;
|
|
58
|
+
right: 0;
|
|
59
|
+
bottom: 0;
|
|
60
|
+
transform: translateX(100%);
|
|
61
|
+
transition: transform 0.3s ease;
|
|
62
|
+
&.fwe-opened {
|
|
63
|
+
transform: translateX(0%);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.fwe-page-back {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
height: 53px;
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
background: $background;
|
|
72
|
+
&:hover {
|
|
73
|
+
background: $control;
|
|
74
|
+
}
|
|
75
|
+
i {
|
|
76
|
+
@extend .fwe-icon;
|
|
77
|
+
@extend .fwe-icon-arrows-left-2;
|
|
78
|
+
margin-left: 16px;
|
|
79
|
+
margin-right: 8px;
|
|
80
|
+
}
|
|
81
|
+
div {
|
|
82
|
+
margin-top: -1px;
|
|
83
|
+
margin-bottom: 1px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.fwe-mobile-flyout-item-container {
|
|
88
|
+
padding: 24px;
|
|
89
|
+
@media (max-width: $grid-breakpoint-xs) {
|
|
90
|
+
padding: 16px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fwe-mobile-flyout-item {
|
|
96
|
+
color: $text;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
height: 56px;
|
|
101
|
+
&.fwe-active {
|
|
102
|
+
color: $hero;
|
|
103
|
+
}
|
|
104
|
+
}
|