@ilo-org/styles 1.8.5 → 1.10.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/css/components/accordion.css +1 -1
- package/css/components/blockquote.css +1 -1
- package/css/components/breadcrumb.css +1 -1
- package/css/components/button.css +1 -1
- package/css/components/callout.css +1 -1
- package/css/components/card.css +1 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/checkbox.css +1 -1
- package/css/components/container.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/datacard.css +1 -1
- package/css/components/datepicker.css +1 -1
- package/css/components/detailcard.css +1 -1
- package/css/components/dropdown.css +1 -1
- package/css/components/empty.css +1 -1
- package/css/components/factlistcard.css +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/components/fieldset.css +1 -1
- package/css/components/file-upload.css +1 -1
- package/css/components/footer.css +1 -1
- package/css/components/form.css +1 -1
- package/css/components/formcontrol.css +1 -1
- package/css/components/hero.css +1 -1
- package/css/components/herocard.css +1 -1
- package/css/components/image.css +1 -1
- package/css/components/input.css +1 -1
- package/css/components/languagetoggle.css +1 -1
- package/css/components/link.css +1 -1
- package/css/components/linklist.css +1 -1
- package/css/components/list.css +1 -1
- package/css/components/loading.css +1 -1
- package/css/components/logogrid.css +1 -1
- package/css/components/modal.css +1 -1
- package/css/components/multilinkcard.css +1 -1
- package/css/components/navigation.css +1 -1
- package/css/components/notification.css +1 -1
- package/css/components/pagination.css +1 -1
- package/css/components/profile.css +1 -1
- package/css/components/promocard.css +1 -1
- package/css/components/radio.css +1 -1
- package/css/components/readmore.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/scorecard.css +1 -1
- package/css/components/searchfield.css +1 -1
- package/css/components/socialmedia.css +1 -1
- package/css/components/statcard.css +1 -1
- package/css/components/status.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tableofcontents.css +1 -1
- package/css/components/tabs.css +1 -1
- package/css/components/tag.css +1 -1
- package/css/components/textarea.css +1 -1
- package/css/components/textcard.css +1 -1
- package/css/components/textinput.css +1 -1
- package/css/components/toggle.css +1 -1
- package/css/components/tooltip.css +1 -1
- package/css/components/video.css +1 -1
- package/css/global.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +4 -2
- package/css/index.css.map +1 -1
- package/css/monorepo.css +4 -2
- package/css/monorepo.css.map +1 -1
- package/package.json +3 -3
- package/scss/_animations.scss +25 -1
- package/scss/_mixins.scss +16 -18
- package/scss/_typography.scss +28 -12
- package/scss/components/_accordion.scss +57 -25
- package/scss/components/_blockquote.scss +20 -20
- package/scss/components/_breadcrumb.scss +1 -1
- package/scss/components/_button.scss +3 -3
- package/scss/components/_card.scss +1 -0
- package/scss/components/_checkbox.scss +63 -25
- package/scss/components/_contextmenu.scss +1 -4
- package/scss/components/_datacard.scss +23 -0
- package/scss/components/_detailcard.scss +95 -1
- package/scss/components/_dropdown.scss +66 -138
- package/scss/components/_factlistcard.scss +10 -0
- package/scss/components/_featurecard.scss +24 -2
- package/scss/components/_fieldset.scss +2 -2
- package/scss/components/_file-upload.scss +2 -2
- package/scss/components/_footer.scss +30 -68
- package/scss/components/_formcontrol.scss +4 -23
- package/scss/components/_hero.scss +0 -4
- package/scss/components/_herocard.scss +9 -19
- package/scss/components/_image.scss +72 -27
- package/scss/components/_input.scss +1 -1
- package/scss/components/_languagetoggle.scss +8 -2
- package/scss/components/_linklist.scss +3 -3
- package/scss/components/_multilinkcard.scss +63 -7
- package/scss/components/_navigation.scss +12 -27
- package/scss/components/_notification.scss +3 -3
- package/scss/components/_pagination.scss +1 -1
- package/scss/components/_promocard.scss +28 -0
- package/scss/components/_readmore.scss +1 -1
- package/scss/components/_richtext.scss +15 -63
- package/scss/components/_scorecard.scss +23 -0
- package/scss/components/_socialmedia.scss +44 -36
- package/scss/components/_statcard.scss +27 -3
- package/scss/components/_table.scss +4 -5
- package/scss/components/_tableofcontents.scss +5 -47
- package/scss/components/_textarea.scss +1 -1
- package/scss/components/_textcard.scss +19 -0
- package/scss/components/_textinput.scss +1 -1
- package/scss/components/_tooltip.scss +1 -1
- package/scss/components/_video.scss +4 -19
- package/scss/components/index.scss +0 -2
- package/scss/components/navigation/_nav-complex.scss +16 -161
- package/scss/components/navigation/_nav-main.scss +127 -0
- package/scss/components/navigation/index.scss +2 -4
- package/scss/components/navigation/{_nav-dropdown.scss → internal/_nav-dropdown.scss} +4 -4
- package/scss/components/navigation/{_nav-grid.scss → internal/_nav-grid.scss} +4 -4
- package/scss/components/navigation/{_nav-menu.scss → internal/_nav-menu.scss} +31 -6
- package/scss/components/navigation/internal/_nav-shared.scss +206 -0
- package/scss/components/navigation/internal/index.scss +5 -0
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-drawer.scss +4 -4
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-menu.scss +4 -4
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile.scss +25 -4
- package/scss/theme/_typography.scss +2 -4
- package/css/components/credit.css +0 -1
- package/css/components/heading.css +0 -1
- package/scss/components/_credit.scss +0 -112
- package/scss/components/_heading.scss +0 -74
- /package/scss/components/navigation/{mobile → internal/mobile}/index.scss +0 -0
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
@use "../../tokens" as *;
|
|
2
2
|
@use "../../functions" as *;
|
|
3
|
+
@use "./internal/nav-shared" as *;
|
|
3
4
|
@import "../../mixins";
|
|
4
5
|
@import "../../config";
|
|
5
6
|
|
|
6
7
|
.ilo--subsite-nav-complex {
|
|
7
|
-
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
@include breakpoint("lg", true) {
|
|
11
|
-
height: px-to-rem(70px);
|
|
12
|
-
}
|
|
8
|
+
@include nav-base;
|
|
13
9
|
|
|
14
10
|
&-bg {
|
|
15
11
|
&--light {
|
|
@@ -22,189 +18,59 @@
|
|
|
22
18
|
}
|
|
23
19
|
|
|
24
20
|
&__container {
|
|
25
|
-
|
|
26
|
-
margin-left: auto;
|
|
27
|
-
margin-right: auto;
|
|
28
|
-
padding-inline: spacing(4);
|
|
29
|
-
|
|
30
|
-
&--light {
|
|
31
|
-
background-color: var(--ilo-color-blue-lighter);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&--dark {
|
|
35
|
-
background-color: var(--ilo-color-blue);
|
|
36
|
-
}
|
|
21
|
+
@include nav-container;
|
|
37
22
|
}
|
|
38
23
|
|
|
39
24
|
&__widgets {
|
|
40
|
-
|
|
41
|
-
justify-content: flex-end;
|
|
42
|
-
align-items: center;
|
|
43
|
-
height: px-to-rem(32px);
|
|
44
|
-
position: relative;
|
|
45
|
-
padding-inline-end: 0;
|
|
46
|
-
|
|
47
|
-
@include breakpoint("lg", true) {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
25
|
+
@include nav-widgets-bar-content;
|
|
50
26
|
|
|
51
27
|
&-bar-corner {
|
|
52
|
-
|
|
53
|
-
background-color: var(--ilo-color-blue);
|
|
54
|
-
width: px-to-rem(32px);
|
|
55
|
-
height: px-to-rem(32px);
|
|
56
|
-
clip-path: polygon(0 0, 100% 0, 99% 100%);
|
|
57
|
-
margin-right: -1px;
|
|
58
|
-
transform: skewY(0.001deg);
|
|
59
|
-
|
|
60
|
-
[dir="rtl"] & {
|
|
61
|
-
@include cornercut(spacing(10), 100%, "left");
|
|
62
|
-
margin-right: 0;
|
|
63
|
-
margin-left: -1px;
|
|
64
|
-
clip-path: polygon(0 0, 100% 0, 1% 100%);
|
|
65
|
-
}
|
|
28
|
+
@include nav-widgets-corner(var(--ilo-color-blue));
|
|
66
29
|
}
|
|
67
30
|
|
|
68
31
|
&-bar {
|
|
69
|
-
|
|
70
|
-
height: 100%;
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
gap: spacing(4);
|
|
74
|
-
padding-inline-end: spacing(4);
|
|
75
|
-
height: px-to-rem(32px);
|
|
32
|
+
@include nav-widgets-bar(var(--ilo-color-blue));
|
|
76
33
|
|
|
77
34
|
&__link {
|
|
78
|
-
@include
|
|
79
|
-
height: inherit;
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
padding-inline: spacing(2);
|
|
83
|
-
text-decoration: none;
|
|
84
|
-
color: var(--ilo-color-white);
|
|
85
|
-
|
|
86
|
-
&:hover,
|
|
87
|
-
&:focus {
|
|
88
|
-
background-color: var(--ilo-color-blue-dark);
|
|
89
|
-
}
|
|
35
|
+
@include nav-widgets-link(var(--ilo-color-blue-dark));
|
|
90
36
|
}
|
|
91
37
|
}
|
|
92
38
|
|
|
93
39
|
&::after {
|
|
94
|
-
content: "";
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 0;
|
|
97
|
-
left: 100%;
|
|
98
|
-
width: 100vw;
|
|
99
|
-
height: 100%;
|
|
100
40
|
background-color: var(--ilo-color-blue);
|
|
101
|
-
z-index: 1;
|
|
102
|
-
|
|
103
|
-
[dir="rtl"] & {
|
|
104
|
-
left: auto;
|
|
105
|
-
right: 100%;
|
|
106
|
-
}
|
|
107
41
|
}
|
|
108
42
|
}
|
|
109
43
|
|
|
110
44
|
&__branding {
|
|
111
|
-
|
|
112
|
-
justify-content: space-between;
|
|
113
|
-
align-items: center;
|
|
114
|
-
padding-bottom: spacing(6);
|
|
115
|
-
|
|
116
|
-
@include breakpoint("lg", true) {
|
|
117
|
-
display: none;
|
|
118
|
-
}
|
|
45
|
+
@include nav-branding;
|
|
119
46
|
|
|
120
47
|
&-main {
|
|
121
|
-
|
|
122
|
-
justify-content: center;
|
|
123
|
-
align-items: center;
|
|
124
|
-
|
|
125
|
-
&__logo img {
|
|
126
|
-
height: 100%;
|
|
127
|
-
height: px-to-rem(72px);
|
|
128
|
-
width: auto;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&__name {
|
|
132
|
-
@include typography("heading-2");
|
|
133
|
-
padding-inline-start: spacing(4);
|
|
134
|
-
}
|
|
48
|
+
@include nav-branding-main;
|
|
135
49
|
}
|
|
136
50
|
|
|
137
51
|
&-tag {
|
|
138
|
-
|
|
139
|
-
flex-direction: column;
|
|
140
|
-
text-align: right;
|
|
141
|
-
|
|
142
|
-
&__main {
|
|
143
|
-
@include typography("heading-4");
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&__sub {
|
|
147
|
-
@include typography("body-xsmall");
|
|
148
|
-
}
|
|
52
|
+
@include nav-branding-tag;
|
|
149
53
|
}
|
|
150
54
|
}
|
|
151
55
|
|
|
152
56
|
&__nav {
|
|
153
|
-
|
|
154
|
-
justify-content: space-between;
|
|
155
|
-
align-items: center;
|
|
156
|
-
height: px-to-rem(64px);
|
|
157
|
-
|
|
158
|
-
@include breakpoint("lg", true) {
|
|
159
|
-
height: px-to-rem(70px);
|
|
160
|
-
}
|
|
57
|
+
@include nav-core;
|
|
161
58
|
|
|
162
59
|
&-menu {
|
|
163
|
-
|
|
164
|
-
@include breakpoint("lg", true) {
|
|
165
|
-
display: none;
|
|
166
|
-
}
|
|
60
|
+
@include nav-menu;
|
|
167
61
|
}
|
|
168
62
|
|
|
169
63
|
&-mobile {
|
|
170
|
-
|
|
171
|
-
align-items: center;
|
|
172
|
-
display: none;
|
|
173
|
-
|
|
174
|
-
@include breakpoint("lg", true) {
|
|
175
|
-
display: flex;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&__logo {
|
|
179
|
-
padding-inline-end: spacing(4);
|
|
180
|
-
height: px-to-rem(38px);
|
|
181
|
-
|
|
182
|
-
img {
|
|
183
|
-
height: 100%;
|
|
184
|
-
width: auto;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
64
|
+
@include nav-mobile;
|
|
187
65
|
}
|
|
188
66
|
|
|
189
67
|
&-search {
|
|
68
|
+
@include nav-search;
|
|
190
69
|
--ilo-subsite_nav_complex-search-color: var(--ilo-color-white);
|
|
191
|
-
height: 100%;
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
padding-inline: spacing(2);
|
|
195
70
|
text-decoration: none;
|
|
196
71
|
|
|
197
|
-
@include breakpoint("lg", true) {
|
|
198
|
-
display: none;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
display: flex;
|
|
202
|
-
|
|
203
72
|
&__icon {
|
|
204
73
|
@include icon("search", var(--ilo-subsite_nav_complex-search-color));
|
|
205
|
-
width: px-to-rem(32px);
|
|
206
|
-
height: px-to-rem(32px);
|
|
207
|
-
cursor: pointer;
|
|
208
74
|
}
|
|
209
75
|
|
|
210
76
|
&:hover,
|
|
@@ -215,26 +81,15 @@
|
|
|
215
81
|
}
|
|
216
82
|
|
|
217
83
|
&-burger {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
@include breakpoint("lg", true) {
|
|
221
|
-
display: flex;
|
|
222
|
-
}
|
|
223
|
-
|
|
84
|
+
@include nav-burger;
|
|
224
85
|
--ilo-subsite_nav_complex-burger-color: var(--ilo-color-white);
|
|
225
|
-
margin-block: px-to-rem(20px);
|
|
226
|
-
align-items: center;
|
|
227
|
-
border: none;
|
|
228
|
-
cursor: pointer;
|
|
229
86
|
|
|
230
87
|
&__icon {
|
|
231
|
-
width: px-to-rem(32px);
|
|
232
|
-
height: px-to-rem(32px);
|
|
233
88
|
@include icon("burger", var(--ilo-subsite_nav_complex-burger-color));
|
|
234
89
|
}
|
|
235
90
|
|
|
236
91
|
&:hover {
|
|
237
|
-
--ilo-
|
|
92
|
+
--ilo-subsite_nav_complex-burger-color: var(--ilo-color-blue);
|
|
238
93
|
background-color: var(--ilo-color-white);
|
|
239
94
|
}
|
|
240
95
|
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@use "../../tokens" as *;
|
|
2
|
+
@use "../../functions" as *;
|
|
3
|
+
@use "./internal/nav-shared" as *;
|
|
4
|
+
@import "../../mixins";
|
|
5
|
+
@import "../../config";
|
|
6
|
+
|
|
7
|
+
.ilo--main-nav {
|
|
8
|
+
@include nav-base;
|
|
9
|
+
|
|
10
|
+
&-bg {
|
|
11
|
+
&--dark {
|
|
12
|
+
background-color: var(--ilo-color-blue);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&--darker {
|
|
16
|
+
background-color: var(--ilo-color-blue-dark);
|
|
17
|
+
|
|
18
|
+
@include breakpoint("lg", true) {
|
|
19
|
+
background-color: var(--ilo-color-blue);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__container {
|
|
25
|
+
@include nav-container;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__widgets {
|
|
29
|
+
@include nav-widgets-bar-content;
|
|
30
|
+
&::after {
|
|
31
|
+
background-color: var(--ilo-color-blue-dark);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-bar-corner {
|
|
35
|
+
@include nav-widgets-corner(var(--ilo-color-blue-dark));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-bar {
|
|
39
|
+
@include nav-widgets-bar(var(--ilo-color-blue-dark));
|
|
40
|
+
|
|
41
|
+
&__link {
|
|
42
|
+
@include nav-widgets-link(var(--ilo-color-blue-dark));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__branding {
|
|
48
|
+
@include nav-branding;
|
|
49
|
+
|
|
50
|
+
&-main {
|
|
51
|
+
@include nav-branding-main;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&-tag {
|
|
55
|
+
@include nav-branding-tag;
|
|
56
|
+
|
|
57
|
+
&__main {
|
|
58
|
+
color: white;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__sub {
|
|
62
|
+
color: var(--ilo-color-blue-light);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&__nav {
|
|
68
|
+
@include nav-core;
|
|
69
|
+
|
|
70
|
+
&-menu {
|
|
71
|
+
@include nav-menu;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&-mobile {
|
|
75
|
+
@include nav-mobile;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-search {
|
|
79
|
+
--ilo-subsite_nav_complex-search-color: var(--ilo-color-white);
|
|
80
|
+
@include nav-search;
|
|
81
|
+
border: none;
|
|
82
|
+
|
|
83
|
+
&__icon {
|
|
84
|
+
@include icon("search", var(--ilo-subsite_nav_complex-search-color));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
--ilo-subsite_nav_complex-search-color: var(--ilo-color-blue);
|
|
89
|
+
background-color: var(--ilo-color-white);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&-burger {
|
|
94
|
+
@include nav-burger;
|
|
95
|
+
|
|
96
|
+
--ilo-subsite_nav_complex-burger-color: var(--ilo-color-white);
|
|
97
|
+
|
|
98
|
+
&__icon {
|
|
99
|
+
@include icon("burger", var(--ilo-subsite_nav_complex-burger-color));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
--ilo-subsite-nav-burger-icon: var(--ilo-color-blue);
|
|
104
|
+
background-color: var(--ilo-color-white);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-search-dropdown {
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
align-items: center;
|
|
112
|
+
form {
|
|
113
|
+
width: px-to-rem(620px);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ilo--form-control,
|
|
117
|
+
.ilo--fieldset {
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ilo--form-control {
|
|
122
|
+
padding-top: spacing(20);
|
|
123
|
+
padding-bottom: spacing(22);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@use "../../../tokens" as *;
|
|
2
|
+
@use "../../../functions" as *;
|
|
3
|
+
@import "../../../mixins";
|
|
4
|
+
@import "../../../config";
|
|
5
5
|
|
|
6
6
|
.ilo--nav-dropdown {
|
|
7
7
|
position: absolute;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@use "../../../tokens" as *;
|
|
2
|
+
@use "../../../functions" as *;
|
|
3
|
+
@import "../../../mixins";
|
|
4
|
+
@import "../../../config";
|
|
5
5
|
|
|
6
6
|
.ilo--nav-menu-grid {
|
|
7
7
|
display: flex;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
1
|
+
@use "../../../tokens" as *;
|
|
2
|
+
@use "../../../functions" as *;
|
|
3
|
+
@import "../../../mixins";
|
|
4
|
+
@import "../../../config";
|
|
5
|
+
@import "../../../animations";
|
|
6
6
|
|
|
7
7
|
.ilo--nav-menu {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: spacing(12);
|
|
11
|
+
$self: &;
|
|
11
12
|
|
|
12
13
|
@include breakpoint("xl", true) {
|
|
13
14
|
gap: spacing(6);
|
|
@@ -46,6 +47,18 @@
|
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
&--light {
|
|
51
|
+
#{$self}__link {
|
|
52
|
+
&--active,
|
|
53
|
+
&:hover,
|
|
54
|
+
&:focus,
|
|
55
|
+
&:active {
|
|
56
|
+
color: var(--ilo-color-blue);
|
|
57
|
+
background-color: var(--ilo-color-white);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
49
62
|
&__more {
|
|
50
63
|
@include globaltransition("background-color, border-color");
|
|
51
64
|
|
|
@@ -75,11 +88,23 @@
|
|
|
75
88
|
|
|
76
89
|
&--open,
|
|
77
90
|
&:hover,
|
|
78
|
-
&:focus,
|
|
79
91
|
&:active {
|
|
80
92
|
outline: none;
|
|
81
93
|
border-color: var(--ilo-color-blue-dark);
|
|
82
94
|
background-color: var(--ilo-color-blue-dark);
|
|
83
95
|
}
|
|
84
96
|
}
|
|
97
|
+
|
|
98
|
+
&--light {
|
|
99
|
+
#{$self}__more {
|
|
100
|
+
&--open,
|
|
101
|
+
&:hover,
|
|
102
|
+
&:active {
|
|
103
|
+
--ilo-nav_menu-icon-color: var(--ilo-color-blue);
|
|
104
|
+
color: var(--ilo-color-blue);
|
|
105
|
+
border-color: var(--ilo-color-white);
|
|
106
|
+
background-color: var(--ilo-color-white);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
85
110
|
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@use "../../../tokens" as *;
|
|
2
|
+
@use "../../../functions" as *;
|
|
3
|
+
@import "../../../mixins";
|
|
4
|
+
@import "../../../config";
|
|
5
|
+
|
|
6
|
+
// Base navigation container
|
|
7
|
+
@mixin nav-base {
|
|
8
|
+
position: relative;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
|
|
11
|
+
@include breakpoint("lg", true) {
|
|
12
|
+
height: px-to-rem(70px);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin nav-container {
|
|
17
|
+
max-width: px-to-rem(1296px);
|
|
18
|
+
margin-left: auto;
|
|
19
|
+
margin-right: auto;
|
|
20
|
+
padding-inline: spacing(4);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin nav-widgets-bar-content {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
align-items: center;
|
|
27
|
+
height: px-to-rem(32px);
|
|
28
|
+
position: relative;
|
|
29
|
+
padding-inline-end: 0;
|
|
30
|
+
|
|
31
|
+
@include breakpoint("lg", true) {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&::after {
|
|
36
|
+
content: "";
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 100%;
|
|
40
|
+
width: 100vw;
|
|
41
|
+
height: 100%;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
|
|
44
|
+
[dir="rtl"] & {
|
|
45
|
+
left: auto;
|
|
46
|
+
right: 100%;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin nav-widgets-corner($bg-color) {
|
|
52
|
+
display: block;
|
|
53
|
+
background-color: $bg-color;
|
|
54
|
+
width: px-to-rem(32px);
|
|
55
|
+
height: px-to-rem(32px);
|
|
56
|
+
clip-path: polygon(0 0, 100% 0, 99% 100%);
|
|
57
|
+
margin-right: -1px;
|
|
58
|
+
transform: skewY(0.001deg);
|
|
59
|
+
|
|
60
|
+
[dir="rtl"] & {
|
|
61
|
+
@include cornercut(spacing(10), 100%, "left");
|
|
62
|
+
margin-right: 0;
|
|
63
|
+
margin-left: -1px;
|
|
64
|
+
clip-path: polygon(0 0, 100% 0, 1% 100%);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin nav-widgets-bar($bg-color) {
|
|
69
|
+
background-color: $bg-color;
|
|
70
|
+
height: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: spacing(4);
|
|
74
|
+
padding-inline-end: spacing(4);
|
|
75
|
+
height: px-to-rem(32px);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@mixin nav-widgets-link($hover-bg-color) {
|
|
79
|
+
@include typography("highlight-small-bold");
|
|
80
|
+
height: inherit;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
padding-inline: spacing(2);
|
|
84
|
+
text-decoration: none;
|
|
85
|
+
color: var(--ilo-color-white);
|
|
86
|
+
|
|
87
|
+
&:hover,
|
|
88
|
+
&:focus {
|
|
89
|
+
background-color: $hover-bg-color;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@mixin nav-branding {
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
align-items: center;
|
|
97
|
+
padding-bottom: spacing(6);
|
|
98
|
+
|
|
99
|
+
@include breakpoint("lg", true) {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@mixin nav-branding-main {
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
align-items: center;
|
|
108
|
+
|
|
109
|
+
&__logo img {
|
|
110
|
+
height: 100%;
|
|
111
|
+
height: px-to-rem(72px);
|
|
112
|
+
width: auto;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&__name {
|
|
116
|
+
@include typography("heading-2");
|
|
117
|
+
padding-inline-start: spacing(4);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@mixin nav-branding-tag {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
text-align: right;
|
|
125
|
+
|
|
126
|
+
&__main {
|
|
127
|
+
@include typography("heading-4");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&__sub {
|
|
131
|
+
@include typography("body-xsmall");
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@mixin nav-core {
|
|
136
|
+
display: flex;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
align-items: center;
|
|
139
|
+
height: px-to-rem(64px);
|
|
140
|
+
|
|
141
|
+
@include breakpoint("lg", true) {
|
|
142
|
+
height: px-to-rem(70px);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@mixin nav-menu {
|
|
147
|
+
height: 100%;
|
|
148
|
+
@include breakpoint("lg", true) {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@mixin nav-mobile {
|
|
154
|
+
justify-content: center;
|
|
155
|
+
align-items: center;
|
|
156
|
+
display: none;
|
|
157
|
+
|
|
158
|
+
@include breakpoint("lg", true) {
|
|
159
|
+
display: flex;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&__logo {
|
|
163
|
+
padding-inline-end: spacing(4);
|
|
164
|
+
height: px-to-rem(38px);
|
|
165
|
+
|
|
166
|
+
img {
|
|
167
|
+
height: 100%;
|
|
168
|
+
width: auto;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@mixin nav-search {
|
|
174
|
+
height: 100%;
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
padding-inline: spacing(2);
|
|
178
|
+
|
|
179
|
+
@include breakpoint("lg", true) {
|
|
180
|
+
display: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__icon {
|
|
184
|
+
width: px-to-rem(32px);
|
|
185
|
+
height: px-to-rem(32px);
|
|
186
|
+
cursor: pointer;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@mixin nav-burger {
|
|
191
|
+
display: none;
|
|
192
|
+
|
|
193
|
+
@include breakpoint("lg", true) {
|
|
194
|
+
display: flex;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
margin-block: px-to-rem(20px);
|
|
198
|
+
align-items: center;
|
|
199
|
+
border: none;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
|
|
202
|
+
&__icon {
|
|
203
|
+
width: px-to-rem(32px);
|
|
204
|
+
height: px-to-rem(32px);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@use "../../../../tokens" as *;
|
|
2
|
+
@use "../../../../functions" as *;
|
|
3
|
+
@import "../../../../mixins";
|
|
4
|
+
@import "../../../../config";
|
|
5
5
|
|
|
6
6
|
.ilo--nav-mobile-drawer {
|
|
7
7
|
position: fixed;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@use "../../../../tokens" as *;
|
|
2
|
+
@use "../../../../functions" as *;
|
|
3
|
+
@import "../../../../mixins";
|
|
4
|
+
@import "../../../../config";
|
|
5
5
|
|
|
6
6
|
.ilo--nav-mobile-menu {
|
|
7
7
|
display: flex;
|