@ilo-org/styles 1.15.1 → 1.17.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/audioplayer.css +1 -1
- package/css/components/blockquote.css +1 -1
- package/css/components/breadcrumb.css +5 -1
- package/css/components/button.css +1 -1
- package/css/components/callout.css +1 -1
- package/css/components/card.css +3 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/checkbox.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/datacard.css +3 -1
- package/css/components/datepicker.css +1 -1
- package/css/components/detailcard.css +1 -1
- package/css/components/dropdown.css +7 -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 +5 -1
- package/css/components/hero.css +9 -1
- package/css/components/herocard.css +1 -1
- package/css/components/image.css +7 -1
- package/css/components/input.css +1 -1
- package/css/components/languagetoggle.css +3 -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/logo.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 +7 -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 +3 -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/toggle.css +1 -1
- package/css/components/tooltip.css +1 -1
- package/css/components/video.css +7 -1
- package/css/global.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +69 -3
- package/css/index.css.map +1 -1
- package/css/monorepo.css +69 -3
- package/css/monorepo.css.map +1 -1
- package/package.json +6 -4
- package/scss/_animation-mixins.scss +21 -0
- package/scss/_animations.scss +3 -19
- package/scss/_functions.scss +2 -0
- package/scss/_helpers.scss +12 -0
- package/scss/_mixins.scss +18 -5
- package/scss/_typography.scss +1 -1
- package/scss/_typographymonorepo.scss +1 -1
- package/scss/components/_accordion.scss +10 -10
- package/scss/components/_audioplayer.scss +23 -23
- package/scss/components/_blockquote.scss +6 -6
- package/scss/components/_breadcrumb.scss +10 -6
- package/scss/components/_button.scss +32 -30
- package/scss/components/_callout.scss +24 -15
- package/scss/components/_card.scss +25 -21
- package/scss/components/_checkbox.scss +11 -11
- package/scss/components/_contextmenu.scss +9 -8
- package/scss/components/_datacard.scss +8 -6
- package/scss/components/_detailcard.scss +2 -2
- package/scss/components/_dropdown.scss +16 -10
- package/scss/components/_factlistcard.scss +6 -5
- package/scss/components/_featurecard.scss +2 -2
- package/scss/components/_fieldset.scss +9 -9
- package/scss/components/_file-upload.scss +20 -19
- package/scss/components/_footer.scss +21 -20
- package/scss/components/_form.scss +4 -4
- package/scss/components/_formcontrol.scss +14 -10
- package/scss/components/_hero.scss +8 -8
- package/scss/components/_herocard.scss +14 -14
- package/scss/components/_image.scss +9 -7
- package/scss/components/_input.scss +14 -12
- package/scss/components/_languagetoggle.scss +10 -8
- package/scss/components/_linklist.scss +13 -12
- package/scss/components/_list.scss +3 -3
- package/scss/components/_loading.scss +12 -12
- package/scss/components/_logo.scss +2 -2
- package/scss/components/_logogrid.scss +3 -3
- package/scss/components/_modal.scss +1 -1
- package/scss/components/_multilinkcard.scss +8 -8
- package/scss/components/_navigation.scss +278 -155
- package/scss/components/_notification.scss +12 -9
- package/scss/components/_pagination.scss +39 -24
- package/scss/components/_profile.scss +8 -8
- package/scss/components/_promocard.scss +1 -1
- package/scss/components/_radio.scss +8 -8
- package/scss/components/_readmore.scss +7 -7
- package/scss/components/_richtext.scss +12 -12
- package/scss/components/_scorecard.scss +2 -2
- package/scss/components/_searchfield.scss +11 -9
- package/scss/components/_socialmedia.scss +7 -7
- package/scss/components/_statcard.scss +8 -8
- package/scss/components/_status.scss +7 -7
- package/scss/components/_table.scss +51 -34
- package/scss/components/_tableofcontents.scss +13 -13
- package/scss/components/_tabs.scss +19 -17
- package/scss/components/_tag.scss +15 -15
- package/scss/components/_textarea.scss +15 -12
- package/scss/components/_textcard.scss +2 -2
- package/scss/components/_toggle.scss +6 -6
- package/scss/components/_tooltip.scss +13 -10
- package/scss/components/_video.scss +59 -43
- package/scss/components/navigation/_nav-compact.scss +17 -13
- package/scss/components/navigation/_nav-complex.scss +20 -12
- package/scss/components/navigation/_nav-main.scss +20 -14
- package/scss/components/navigation/internal/_nav-dropdown.scss +2 -2
- package/scss/components/navigation/internal/_nav-grid.scss +3 -3
- package/scss/components/navigation/internal/_nav-menu.scss +13 -13
- package/scss/components/navigation/internal/_nav-shared.scss +1 -1
- package/scss/components/navigation/internal/mobile/_nav-mobile-drawer.scss +5 -5
- package/scss/components/navigation/internal/mobile/_nav-mobile-menu.scss +5 -5
- package/scss/components/navigation/internal/mobile/_nav-mobile.scss +17 -17
- package/scss/components/photogallery/_expandable-caption.scss +4 -4
- package/scss/components/photogallery/_lightbox.scss +7 -7
- package/scss/components/photogallery/_lightboxgallery.scss +8 -8
- package/scss/components/photogallery/_photogallery-controls.scss +25 -13
- package/scss/components/photogallery/_photogallery-thumbnails.scss +8 -8
- package/scss/components/photogallery/_photogallery.scss +9 -9
- package/scss/theme/_breakpoints.scss +4 -3
- package/scss/theme/_foundation.scss +20 -1
|
@@ -21,16 +21,12 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&--nav {
|
|
24
|
-
background: var(--ilo-color-
|
|
24
|
+
background: var(--ilo-color-light-container-bg-brand);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&--menu {
|
|
28
|
-
@include dataurlicon("burger", rgba(255, 255, 255, 1));
|
|
29
28
|
align-self: center;
|
|
30
29
|
background-color: transparent;
|
|
31
|
-
background-position: center;
|
|
32
|
-
background-repeat: no-repeat;
|
|
33
|
-
background-size: 32px;
|
|
34
30
|
border: none;
|
|
35
31
|
cursor: pointer;
|
|
36
32
|
height: 32px;
|
|
@@ -40,13 +36,26 @@
|
|
|
40
36
|
transition: all 150ms ease-out;
|
|
41
37
|
width: 32px;
|
|
42
38
|
|
|
39
|
+
&::before {
|
|
40
|
+
@include icon(
|
|
41
|
+
"burger",
|
|
42
|
+
var(--ilo-color-light-icon-inverse),
|
|
43
|
+
32px,
|
|
44
|
+
center
|
|
45
|
+
);
|
|
46
|
+
content: "";
|
|
47
|
+
position: absolute;
|
|
48
|
+
inset: 0;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
43
52
|
&:hover,
|
|
44
53
|
&:focus {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
54
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
55
|
+
|
|
56
|
+
&::before {
|
|
57
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
58
|
+
}
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
@include breakpoint("lg") {
|
|
@@ -54,11 +63,7 @@
|
|
|
54
63
|
}
|
|
55
64
|
|
|
56
65
|
&--close {
|
|
57
|
-
|
|
58
|
-
background-color: var(--ilo-color-gray-light);
|
|
59
|
-
background-position: center;
|
|
60
|
-
background-repeat: no-repeat;
|
|
61
|
-
background-size: 32px;
|
|
66
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
62
67
|
border: none;
|
|
63
68
|
cursor: pointer;
|
|
64
69
|
height: 32px;
|
|
@@ -68,13 +73,21 @@
|
|
|
68
73
|
transition: all 150ms ease-out;
|
|
69
74
|
width: 32px;
|
|
70
75
|
|
|
76
|
+
&::before {
|
|
77
|
+
@include icon("close", var(--ilo-color-light-icon-brand), 32px, center);
|
|
78
|
+
content: "";
|
|
79
|
+
position: absolute;
|
|
80
|
+
inset: 0;
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
71
84
|
&:hover,
|
|
72
85
|
&:focus {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
87
|
+
|
|
88
|
+
&::before {
|
|
89
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
90
|
+
}
|
|
78
91
|
}
|
|
79
92
|
|
|
80
93
|
@include breakpoint("lg") {
|
|
@@ -103,7 +116,7 @@
|
|
|
103
116
|
}
|
|
104
117
|
|
|
105
118
|
&--logo-bar {
|
|
106
|
-
background: var(--ilo-color-
|
|
119
|
+
background: var(--ilo-color-light-action-selected);
|
|
107
120
|
display: flex;
|
|
108
121
|
width: 100%;
|
|
109
122
|
|
|
@@ -113,7 +126,7 @@
|
|
|
113
126
|
}
|
|
114
127
|
|
|
115
128
|
@include breakpoint("lg") {
|
|
116
|
-
background: var(--ilo-color-
|
|
129
|
+
background: var(--ilo-color-light-action-selected);
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
|
|
@@ -121,7 +134,7 @@
|
|
|
121
134
|
display: none;
|
|
122
135
|
min-height: px-to-rem(24px);
|
|
123
136
|
&--local {
|
|
124
|
-
background: var(--ilo-color-
|
|
137
|
+
background: var(--ilo-color-light-action-selected);
|
|
125
138
|
display: flex;
|
|
126
139
|
justify-content: space-between;
|
|
127
140
|
padding: 0 spacing(5);
|
|
@@ -130,15 +143,11 @@
|
|
|
130
143
|
display: none;
|
|
131
144
|
|
|
132
145
|
&--link {
|
|
133
|
-
@include dataurlicon("chevron_left", rgba(255, 255, 255, 1));
|
|
134
146
|
@include typography("body-small");
|
|
135
147
|
appearance: none;
|
|
136
148
|
background-color: inherit;
|
|
137
|
-
background-position: px-to-rem(12px) 50%;
|
|
138
|
-
background-repeat: no-repeat;
|
|
139
|
-
background-size: px-to-rem(24px);
|
|
140
149
|
border: none;
|
|
141
|
-
color: var(--ilo-color-
|
|
150
|
+
color: var(--ilo-color-light-text-inverse);
|
|
142
151
|
cursor: pointer;
|
|
143
152
|
padding: spacing(4) spacing(4) spacing(4) spacing(9);
|
|
144
153
|
text-decoration: none;
|
|
@@ -148,24 +157,51 @@
|
|
|
148
157
|
display: flex;
|
|
149
158
|
justify-content: center;
|
|
150
159
|
align-items: center;
|
|
160
|
+
position: relative;
|
|
161
|
+
|
|
162
|
+
&::before {
|
|
163
|
+
@include icon(
|
|
164
|
+
"chevron_left",
|
|
165
|
+
var(--ilo-color-light-icon-inverse),
|
|
166
|
+
px-to-rem(24px),
|
|
167
|
+
px-to-rem(12px) 50%
|
|
168
|
+
);
|
|
169
|
+
content: "";
|
|
170
|
+
position: absolute;
|
|
171
|
+
inset: 0;
|
|
172
|
+
pointer-events: none;
|
|
173
|
+
}
|
|
151
174
|
|
|
152
175
|
&:focus,
|
|
153
176
|
&:hover {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
177
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
178
|
+
color: var(--ilo-color-light-action-hover);
|
|
179
|
+
|
|
180
|
+
&::before {
|
|
181
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
182
|
+
}
|
|
157
183
|
}
|
|
158
184
|
|
|
159
185
|
[dir="rtl"] {
|
|
160
|
-
@include dataurlicon("chevron_right", rgba(255, 255, 255, 1));
|
|
161
|
-
background-position: calc(100% - 16px) 50%;
|
|
162
186
|
padding: 16px 36px 16px 16px;
|
|
163
187
|
|
|
188
|
+
&::before {
|
|
189
|
+
@include icon(
|
|
190
|
+
"chevron_right",
|
|
191
|
+
var(--ilo-color-light-icon-inverse),
|
|
192
|
+
px-to-rem(24px),
|
|
193
|
+
calc(100% - 16px) 50%
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
164
197
|
&:focus,
|
|
165
198
|
&:hover {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
199
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
200
|
+
color: var(--ilo-color-light-action-hover);
|
|
201
|
+
|
|
202
|
+
&::before {
|
|
203
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
204
|
+
}
|
|
169
205
|
}
|
|
170
206
|
}
|
|
171
207
|
|
|
@@ -186,7 +222,7 @@
|
|
|
186
222
|
}
|
|
187
223
|
|
|
188
224
|
@include breakpoint("lg") {
|
|
189
|
-
background: var(--ilo-color-
|
|
225
|
+
background: var(--ilo-color-light-action-selected);
|
|
190
226
|
display: flex;
|
|
191
227
|
justify-content: flex-end;
|
|
192
228
|
width: 100%;
|
|
@@ -214,7 +250,7 @@
|
|
|
214
250
|
}
|
|
215
251
|
|
|
216
252
|
&--navigation {
|
|
217
|
-
background: var(--ilo-color-
|
|
253
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
218
254
|
height: 100%;
|
|
219
255
|
left: 0;
|
|
220
256
|
overflow-x: hidden;
|
|
@@ -240,7 +276,7 @@
|
|
|
240
276
|
}
|
|
241
277
|
|
|
242
278
|
@include breakpoint("lg") {
|
|
243
|
-
background: var(--ilo-color-
|
|
279
|
+
background: var(--ilo-color-light-container-bg-brand);
|
|
244
280
|
overflow: visible;
|
|
245
281
|
position: static;
|
|
246
282
|
transform: none;
|
|
@@ -250,7 +286,7 @@
|
|
|
250
286
|
|
|
251
287
|
&--logo-tagline {
|
|
252
288
|
@include typography("highlight-large");
|
|
253
|
-
color: var(--ilo-color-
|
|
289
|
+
color: var(--ilo-color-light-text-inverse);
|
|
254
290
|
display: none;
|
|
255
291
|
font-family: var(--ilo-fonts-display);
|
|
256
292
|
font-weight: 700;
|
|
@@ -263,7 +299,7 @@
|
|
|
263
299
|
|
|
264
300
|
&--small {
|
|
265
301
|
@include typography("body-xsmall");
|
|
266
|
-
color: var(--ilo-color-
|
|
302
|
+
color: var(--ilo-color-dark-text-brand);
|
|
267
303
|
display: block;
|
|
268
304
|
}
|
|
269
305
|
}
|
|
@@ -309,7 +345,7 @@
|
|
|
309
345
|
}
|
|
310
346
|
|
|
311
347
|
&--link {
|
|
312
|
-
color: var(--ilo-color-
|
|
348
|
+
color: var(--ilo-color-light-text-brand);
|
|
313
349
|
display: block;
|
|
314
350
|
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
315
351
|
text-decoration: none;
|
|
@@ -319,38 +355,33 @@
|
|
|
319
355
|
|
|
320
356
|
&:hover,
|
|
321
357
|
&:focus {
|
|
322
|
-
background: var(--ilo-color-
|
|
323
|
-
color: var(--ilo-color-
|
|
358
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
359
|
+
color: var(--ilo-color-light-action-hover);
|
|
324
360
|
text-decoration: none;
|
|
325
361
|
}
|
|
326
362
|
|
|
327
363
|
@include breakpoint("lg") {
|
|
328
|
-
background: var(--ilo-color-
|
|
329
|
-
color: var(--ilo-color-
|
|
364
|
+
background: var(--ilo-color-light-container-bg-brand);
|
|
365
|
+
color: var(--ilo-color-light-text-inverse);
|
|
330
366
|
display: inline-block;
|
|
331
367
|
padding: 21.5px spacing(6) 20.5px;
|
|
332
368
|
|
|
333
369
|
&:hover,
|
|
334
370
|
&:focus {
|
|
335
|
-
background: var(--ilo-color-
|
|
336
|
-
color: var(--ilo-color-
|
|
371
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
372
|
+
color: var(--ilo-color-light-action-hover);
|
|
337
373
|
text-decoration: none;
|
|
338
374
|
}
|
|
339
375
|
}
|
|
340
376
|
}
|
|
341
377
|
|
|
342
378
|
&--trigger {
|
|
343
|
-
@include dataurlicon("chevron_right", rgba(35, 0, 80, 1));
|
|
344
379
|
@include typography("highlight-medium");
|
|
345
380
|
|
|
346
381
|
appearance: none;
|
|
347
|
-
background-color: var(--ilo-color-
|
|
348
|
-
background-position: calc(100% - 16px) 55%;
|
|
349
|
-
background-repeat: no-repeat;
|
|
350
|
-
background-size: 24px;
|
|
351
|
-
background-position-y: center;
|
|
382
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
352
383
|
border: none;
|
|
353
|
-
color: var(--ilo-color-
|
|
384
|
+
color: var(--ilo-color-light-text-brand);
|
|
354
385
|
cursor: pointer;
|
|
355
386
|
display: block;
|
|
356
387
|
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
@@ -358,41 +389,62 @@
|
|
|
358
389
|
text-align: left;
|
|
359
390
|
transition: all 150ms ease-out;
|
|
360
391
|
width: 100%;
|
|
392
|
+
position: relative;
|
|
393
|
+
|
|
394
|
+
&::before {
|
|
395
|
+
@include icon(
|
|
396
|
+
"chevron_right",
|
|
397
|
+
var(--ilo-color-light-icon-brand),
|
|
398
|
+
24px,
|
|
399
|
+
calc(100% - 16px) center
|
|
400
|
+
);
|
|
401
|
+
content: "";
|
|
402
|
+
position: absolute;
|
|
403
|
+
inset: 0;
|
|
404
|
+
pointer-events: none;
|
|
405
|
+
}
|
|
361
406
|
|
|
362
407
|
&:focus,
|
|
363
408
|
&:hover {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
409
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
410
|
+
color: var(--ilo-color-light-action-hover);
|
|
411
|
+
|
|
412
|
+
&::before {
|
|
413
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
414
|
+
}
|
|
367
415
|
}
|
|
368
416
|
|
|
369
417
|
[dir="rtl"] & {
|
|
370
|
-
|
|
371
|
-
background-color: var(--ilo-color-white);
|
|
372
|
-
background-position: 16px 55%;
|
|
373
|
-
background-repeat: no-repeat;
|
|
374
|
-
background-size: 24px;
|
|
418
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
375
419
|
text-align: right;
|
|
376
420
|
|
|
421
|
+
&::before {
|
|
422
|
+
@include icon(
|
|
423
|
+
"chevron_left",
|
|
424
|
+
var(--ilo-color-light-icon-brand),
|
|
425
|
+
24px,
|
|
426
|
+
16px 55%
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
377
430
|
&:focus,
|
|
378
431
|
&:hover {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
432
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
433
|
+
color: var(--ilo-color-light-action-hover);
|
|
434
|
+
|
|
435
|
+
&::before {
|
|
436
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
437
|
+
}
|
|
382
438
|
}
|
|
383
439
|
}
|
|
384
440
|
|
|
385
441
|
@include breakpoint("lg") {
|
|
386
|
-
@include dataurlicon("plus", rgba(255, 255, 255, 1));
|
|
387
442
|
@include typography("highlight-medium-bold");
|
|
388
443
|
|
|
389
|
-
background-color: var(--ilo-color-
|
|
390
|
-
background-position: 90% 55%;
|
|
391
|
-
background-repeat: no-repeat;
|
|
392
|
-
background-size: 20px;
|
|
444
|
+
background-color: var(--ilo-color-light-container-bg-brand);
|
|
393
445
|
border: 1.5px solid rgba(184, 196, 204, 0.5);
|
|
394
446
|
border-radius: 2px;
|
|
395
|
-
color: var(--ilo-color-
|
|
447
|
+
color: var(--ilo-color-light-text-inverse);
|
|
396
448
|
cursor: pointer;
|
|
397
449
|
display: inline-block;
|
|
398
450
|
margin-left: spacing(5);
|
|
@@ -401,27 +453,47 @@
|
|
|
401
453
|
transition: all 150ms ease-out;
|
|
402
454
|
width: auto;
|
|
403
455
|
|
|
456
|
+
&::before {
|
|
457
|
+
@include icon(
|
|
458
|
+
"plus",
|
|
459
|
+
var(--ilo-color-light-icon-inverse),
|
|
460
|
+
20px,
|
|
461
|
+
90% 55%
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
|
|
404
465
|
&:focus,
|
|
405
466
|
&:hover {
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
467
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
468
|
+
border-color: var(--ilo-color-light-border-inverse);
|
|
469
|
+
color: var(--ilo-color-light-action-hover);
|
|
470
|
+
|
|
471
|
+
&::before {
|
|
472
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
473
|
+
}
|
|
410
474
|
}
|
|
411
475
|
|
|
412
476
|
[dir="rtl"] & {
|
|
413
|
-
|
|
414
|
-
background-color: var(--ilo-color-blue-dark);
|
|
415
|
-
background-repeat: no-repeat;
|
|
416
|
-
background-size: 20px;
|
|
417
|
-
background-position: 10% 55%;
|
|
477
|
+
background-color: var(--ilo-color-light-container-bg-brand);
|
|
418
478
|
padding: 7px 15px 5px spacing(8);
|
|
419
479
|
|
|
480
|
+
&::before {
|
|
481
|
+
@include icon(
|
|
482
|
+
"plus",
|
|
483
|
+
var(--ilo-color-light-icon-inverse),
|
|
484
|
+
20px,
|
|
485
|
+
10% 55%
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
|
|
420
489
|
&:focus,
|
|
421
490
|
&:hover {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
491
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
492
|
+
color: var(--ilo-color-light-action-hover);
|
|
493
|
+
|
|
494
|
+
&::before {
|
|
495
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
496
|
+
}
|
|
425
497
|
}
|
|
426
498
|
}
|
|
427
499
|
}
|
|
@@ -469,12 +541,12 @@
|
|
|
469
541
|
|
|
470
542
|
&--item {
|
|
471
543
|
@include typography("highlight-medium");
|
|
472
|
-
color: var(--ilo-color-
|
|
544
|
+
color: var(--ilo-color-light-text-inverse);
|
|
473
545
|
}
|
|
474
546
|
|
|
475
547
|
&--link {
|
|
476
548
|
background: inherit;
|
|
477
|
-
color: var(--ilo-color-
|
|
549
|
+
color: var(--ilo-color-light-text-inverse);
|
|
478
550
|
padding: 0 spacing(6);
|
|
479
551
|
height: 100%;
|
|
480
552
|
text-decoration: none;
|
|
@@ -487,15 +559,15 @@
|
|
|
487
559
|
|
|
488
560
|
&:hover,
|
|
489
561
|
&:focus {
|
|
490
|
-
background: var(--ilo-color-
|
|
491
|
-
color: var(--ilo-color-
|
|
562
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
563
|
+
color: var(--ilo-color-light-action-hover);
|
|
492
564
|
}
|
|
493
565
|
}
|
|
494
566
|
}
|
|
495
567
|
}
|
|
496
568
|
|
|
497
569
|
.ilo--mobile--nav {
|
|
498
|
-
border-bottom: 3px solid var(--ilo-color-
|
|
570
|
+
border-bottom: 3px solid var(--ilo-color-light-border-subtle);
|
|
499
571
|
margin-bottom: spacing(4);
|
|
500
572
|
padding-bottom: spacing(4);
|
|
501
573
|
|
|
@@ -506,7 +578,7 @@
|
|
|
506
578
|
}
|
|
507
579
|
|
|
508
580
|
&--language--select {
|
|
509
|
-
background: var(--ilo-color-
|
|
581
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
510
582
|
left: 0;
|
|
511
583
|
height: 100%;
|
|
512
584
|
padding: 0 0 spacing(8);
|
|
@@ -522,17 +594,12 @@
|
|
|
522
594
|
}
|
|
523
595
|
|
|
524
596
|
&--language--switcher--button {
|
|
525
|
-
@include dataurlicon("globe", rgba(35, 0, 80, 1));
|
|
526
597
|
@include typography("highlight-medium");
|
|
527
598
|
|
|
528
599
|
appearance: none;
|
|
529
|
-
background-color: var(--ilo-color-
|
|
530
|
-
background-position: calc(100% - 16px) 55%;
|
|
531
|
-
background-repeat: no-repeat;
|
|
532
|
-
background-size: 24px;
|
|
533
|
-
background-position-y: center;
|
|
600
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
534
601
|
border: none;
|
|
535
|
-
color: var(--ilo-color-
|
|
602
|
+
color: var(--ilo-color-light-text-brand);
|
|
536
603
|
cursor: pointer;
|
|
537
604
|
display: block;
|
|
538
605
|
font-family: var(--ilo-fonts-display);
|
|
@@ -541,17 +608,38 @@
|
|
|
541
608
|
text-align: left;
|
|
542
609
|
transition: all 150ms ease-out;
|
|
543
610
|
width: 100%;
|
|
611
|
+
position: relative;
|
|
612
|
+
|
|
613
|
+
&::before {
|
|
614
|
+
@include icon(
|
|
615
|
+
"globe",
|
|
616
|
+
var(--ilo-color-light-icon-brand),
|
|
617
|
+
24px,
|
|
618
|
+
calc(100% - 16px) center
|
|
619
|
+
);
|
|
620
|
+
content: "";
|
|
621
|
+
position: absolute;
|
|
622
|
+
inset: 0;
|
|
623
|
+
pointer-events: none;
|
|
624
|
+
}
|
|
544
625
|
|
|
545
626
|
&:focus,
|
|
546
627
|
&:hover {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
628
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
629
|
+
color: var(--ilo-color-light-action-hover);
|
|
630
|
+
|
|
631
|
+
&::before {
|
|
632
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
633
|
+
}
|
|
550
634
|
}
|
|
551
635
|
|
|
552
636
|
[dir="rtl"] & {
|
|
553
|
-
background-position: 16px 55%;
|
|
554
637
|
text-align: right;
|
|
638
|
+
|
|
639
|
+
&::before {
|
|
640
|
+
mask-position: 16px 55%;
|
|
641
|
+
-webkit-mask-position: 16px 55%;
|
|
642
|
+
}
|
|
555
643
|
}
|
|
556
644
|
}
|
|
557
645
|
|
|
@@ -576,7 +664,7 @@
|
|
|
576
664
|
}
|
|
577
665
|
|
|
578
666
|
.ilo--language-switcher {
|
|
579
|
-
background: var(--ilo-color-
|
|
667
|
+
background: var(--ilo-color-light-container-bg-brand);
|
|
580
668
|
display: flex;
|
|
581
669
|
padding: 0 max((100% - #{px-to-rem(1300px)}) / 2, #{px-to-rem(20px)}) 0 0;
|
|
582
670
|
position: relative;
|
|
@@ -586,7 +674,7 @@
|
|
|
586
674
|
}
|
|
587
675
|
|
|
588
676
|
&::before {
|
|
589
|
-
background: var(--ilo-color-
|
|
677
|
+
background: var(--ilo-color-light-container-bg-brand);
|
|
590
678
|
clip-path: polygon(0 0, 100% 0, 97% 100%);
|
|
591
679
|
content: "";
|
|
592
680
|
display: block;
|
|
@@ -615,31 +703,48 @@
|
|
|
615
703
|
|
|
616
704
|
&--button {
|
|
617
705
|
@include typography("body-xsmall");
|
|
618
|
-
@include dataurlicon("globe", rgba(255, 255, 255, 1));
|
|
619
706
|
appearance: none;
|
|
620
|
-
background-color: var(--ilo-color-
|
|
621
|
-
background-repeat: no-repeat;
|
|
622
|
-
background-position: px-to-rem(12px) center;
|
|
623
|
-
background-size: px-to-rem(24px);
|
|
707
|
+
background-color: var(--ilo-color-light-container-bg-brand);
|
|
624
708
|
border: none;
|
|
625
|
-
color: var(--ilo-color-
|
|
709
|
+
color: var(--ilo-color-light-text-inverse);
|
|
626
710
|
cursor: pointer;
|
|
627
711
|
display: block;
|
|
628
712
|
font-family: var(--ilo-fonts-display);
|
|
629
713
|
font-weight: 500;
|
|
630
714
|
padding: spacing(2) 30px spacing(2) spacing(10);
|
|
631
715
|
transition: all 150ms ease-out;
|
|
716
|
+
position: relative;
|
|
717
|
+
|
|
718
|
+
&::before {
|
|
719
|
+
@include icon(
|
|
720
|
+
"globe",
|
|
721
|
+
var(--ilo-color-light-icon-inverse),
|
|
722
|
+
px-to-rem(24px),
|
|
723
|
+
px-to-rem(12px) center
|
|
724
|
+
);
|
|
725
|
+
content: "";
|
|
726
|
+
position: absolute;
|
|
727
|
+
inset: 0;
|
|
728
|
+
pointer-events: none;
|
|
729
|
+
}
|
|
632
730
|
|
|
633
731
|
&:hover,
|
|
634
732
|
&:focus {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
733
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
734
|
+
color: var(--ilo-color-light-action-hover);
|
|
735
|
+
|
|
736
|
+
&::before {
|
|
737
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
738
|
+
}
|
|
638
739
|
}
|
|
639
740
|
|
|
640
741
|
[dir="rtl"] & {
|
|
641
742
|
padding: spacing(2) spacing(10) spacing(2) 30px;
|
|
642
|
-
|
|
743
|
+
|
|
744
|
+
&::before {
|
|
745
|
+
mask-position: calc(100% - #{px-to-rem(12px)}) center;
|
|
746
|
+
-webkit-mask-position: calc(100% - #{px-to-rem(12px)}) center;
|
|
747
|
+
}
|
|
643
748
|
}
|
|
644
749
|
}
|
|
645
750
|
|
|
@@ -671,7 +776,7 @@
|
|
|
671
776
|
.ilo--subnav {
|
|
672
777
|
display: none;
|
|
673
778
|
visibility: hidden;
|
|
674
|
-
background: var(--ilo-color-
|
|
779
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
675
780
|
height: 100%;
|
|
676
781
|
left: 0;
|
|
677
782
|
padding: 0 0 spacing(8);
|
|
@@ -696,7 +801,7 @@
|
|
|
696
801
|
z-index: -1;
|
|
697
802
|
|
|
698
803
|
.ilo--header.ilo--subnav--open & {
|
|
699
|
-
border-bottom: px-to-rem(3px) solid var(--ilo-color-
|
|
804
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-light-border-default);
|
|
700
805
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
701
806
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
702
807
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08));
|
|
@@ -729,8 +834,8 @@
|
|
|
729
834
|
|
|
730
835
|
&--link {
|
|
731
836
|
@include typography("highlight-medium");
|
|
732
|
-
background: var(--ilo-color-
|
|
733
|
-
color: var(--ilo-color-
|
|
837
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
838
|
+
color: var(--ilo-color-light-text-brand);
|
|
734
839
|
display: flex;
|
|
735
840
|
padding: 18px spacing(2);
|
|
736
841
|
text-decoration: none;
|
|
@@ -738,8 +843,8 @@
|
|
|
738
843
|
|
|
739
844
|
&:hover,
|
|
740
845
|
&:focus {
|
|
741
|
-
background: var(--ilo-color-
|
|
742
|
-
color: var(--ilo-color-
|
|
846
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
847
|
+
color: var(--ilo-color-light-action-hover);
|
|
743
848
|
text-decoration: none;
|
|
744
849
|
}
|
|
745
850
|
}
|
|
@@ -759,19 +864,21 @@
|
|
|
759
864
|
|
|
760
865
|
&--back {
|
|
761
866
|
@include typography("highlight-medium");
|
|
762
|
-
background-color: var(--ilo-color-
|
|
867
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
763
868
|
border: none;
|
|
764
|
-
color: var(--ilo-color-
|
|
869
|
+
color: var(--ilo-color-light-text-brand);
|
|
765
870
|
cursor: pointer;
|
|
766
871
|
padding: spacing(5) spacing(4) spacing(4) spacing(8);
|
|
767
872
|
position: relative;
|
|
768
873
|
transition: all 150ms ease-out;
|
|
769
874
|
|
|
770
875
|
&::before {
|
|
771
|
-
@include
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
876
|
+
@include icon(
|
|
877
|
+
"chevron_left",
|
|
878
|
+
var(--ilo-color-light-icon-brand),
|
|
879
|
+
24px,
|
|
880
|
+
10% center
|
|
881
|
+
);
|
|
775
882
|
content: "";
|
|
776
883
|
display: block;
|
|
777
884
|
height: 24px;
|
|
@@ -786,10 +893,12 @@
|
|
|
786
893
|
padding: spacing(5) spacing(8) spacing(4) spacing(4);
|
|
787
894
|
|
|
788
895
|
&::before {
|
|
789
|
-
@include
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
896
|
+
@include icon(
|
|
897
|
+
"chevron_right",
|
|
898
|
+
var(--ilo-color-light-icon-brand),
|
|
899
|
+
24px,
|
|
900
|
+
10% center
|
|
901
|
+
);
|
|
793
902
|
left: auto;
|
|
794
903
|
right: 0;
|
|
795
904
|
}
|
|
@@ -797,22 +906,16 @@
|
|
|
797
906
|
|
|
798
907
|
&:hover,
|
|
799
908
|
&:focus {
|
|
800
|
-
background-color: var(--ilo-color-
|
|
801
|
-
color: var(--ilo-color-
|
|
909
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
910
|
+
color: var(--ilo-color-light-action-hover);
|
|
802
911
|
|
|
803
912
|
&::before {
|
|
804
|
-
|
|
805
|
-
background-position: 10% center;
|
|
806
|
-
background-repeat: no-repeat;
|
|
807
|
-
background-size: 24px;
|
|
913
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
808
914
|
}
|
|
809
915
|
|
|
810
916
|
[dir="rtl"] & {
|
|
811
917
|
&::before {
|
|
812
|
-
|
|
813
|
-
background-position: 10% center;
|
|
814
|
-
background-repeat: no-repeat;
|
|
815
|
-
background-size: 24px;
|
|
918
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
816
919
|
}
|
|
817
920
|
}
|
|
818
921
|
}
|
|
@@ -824,8 +927,8 @@
|
|
|
824
927
|
|
|
825
928
|
&--label {
|
|
826
929
|
@include typography("highlight-large");
|
|
827
|
-
border-bottom: 3px solid var(--ilo-color-
|
|
828
|
-
color: var(--ilo-color-
|
|
930
|
+
border-bottom: 3px solid var(--ilo-color-light-border-subtle);
|
|
931
|
+
color: var(--ilo-color-light-text-default);
|
|
829
932
|
font-family: var(--ilo-fonts-display);
|
|
830
933
|
font-weight: 700;
|
|
831
934
|
margin-bottom: spacing(4);
|
|
@@ -837,7 +940,7 @@
|
|
|
837
940
|
.ilo--search-box {
|
|
838
941
|
display: none;
|
|
839
942
|
visibility: hidden;
|
|
840
|
-
background: var(--ilo-color-
|
|
943
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
841
944
|
left: 0;
|
|
842
945
|
position: absolute;
|
|
843
946
|
top: 0;
|
|
@@ -897,12 +1000,8 @@
|
|
|
897
1000
|
}
|
|
898
1001
|
|
|
899
1002
|
&--button {
|
|
900
|
-
@include dataurlicon("search", rgba(255, 255, 255, 1));
|
|
901
1003
|
appearance: none;
|
|
902
1004
|
background-color: transparent;
|
|
903
|
-
background-position: center;
|
|
904
|
-
background-repeat: no-repeat;
|
|
905
|
-
background-size: 32px 32px;
|
|
906
1005
|
border: none;
|
|
907
1006
|
border-radius: 0;
|
|
908
1007
|
cursor: pointer;
|
|
@@ -911,23 +1010,47 @@
|
|
|
911
1010
|
text-indent: -999%;
|
|
912
1011
|
transition: all 150ms ease-out;
|
|
913
1012
|
|
|
1013
|
+
&::before {
|
|
1014
|
+
@include icon(
|
|
1015
|
+
"search",
|
|
1016
|
+
var(--ilo-color-light-icon-inverse),
|
|
1017
|
+
32px 32px,
|
|
1018
|
+
center
|
|
1019
|
+
);
|
|
1020
|
+
content: "";
|
|
1021
|
+
position: absolute;
|
|
1022
|
+
inset: 0;
|
|
1023
|
+
pointer-events: none;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
914
1026
|
&:hover,
|
|
915
1027
|
&:focus {
|
|
916
|
-
|
|
917
|
-
|
|
1028
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
1029
|
+
|
|
1030
|
+
&::before {
|
|
1031
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
1032
|
+
}
|
|
918
1033
|
}
|
|
919
1034
|
|
|
920
1035
|
.ilo--search--open & {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
1036
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
1037
|
+
|
|
1038
|
+
&::before {
|
|
1039
|
+
@include icon(
|
|
1040
|
+
"close",
|
|
1041
|
+
var(--ilo-color-light-icon-brand),
|
|
1042
|
+
32px 32px,
|
|
1043
|
+
center
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
926
1046
|
|
|
927
1047
|
&:hover,
|
|
928
1048
|
&:focus {
|
|
929
|
-
|
|
930
|
-
|
|
1049
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
1050
|
+
|
|
1051
|
+
&::before {
|
|
1052
|
+
background-color: var(--ilo-color-light-action-hover);
|
|
1053
|
+
}
|
|
931
1054
|
}
|
|
932
1055
|
}
|
|
933
1056
|
}
|