@ilo-org/styles 1.10.2 → 1.11.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 +87 -20
- package/css/components/container.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/factlistcard.css +1 -1
- package/css/components/fieldset.css +1 -1
- package/css/components/file-upload.css +1 -1
- package/css/components/hero.css +1 -1
- package/css/components/herocard.css +1 -1
- package/css/components/input.css +1 -1
- package/css/components/linklist.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/navigation.css +1 -1
- package/css/components/notification.css +1 -1
- package/css/components/radio.css +1 -1
- package/css/components/readmore.css +1 -1
- package/css/components/searchfield.css +1 -1
- package/css/components/statcard.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tableofcontents.css +1 -1
- package/css/components/textarea.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 +7 -9
- package/css/index.css.map +1 -1
- package/css/monorepo.css +7 -9
- package/css/monorepo.css.map +1 -1
- package/package.json +2 -4
- package/scss/_animations.scss +0 -5
- package/scss/_config.scss +6 -0
- package/scss/_functions.scss +4 -35
- package/scss/{_tokens.scss → _icons.scss} +1 -1
- package/scss/_mixins.scss +13 -115
- package/scss/_typography.scss +4 -13
- package/scss/_typographymonorepo.scss +33 -24
- package/scss/components/_accordion.scss +0 -1
- package/scss/components/_blockquote.scss +0 -1
- package/scss/components/_breadcrumb.scss +0 -1
- package/scss/components/_button.scss +1 -2
- package/scss/components/_callout.scss +0 -1
- package/scss/components/_card.scss +0 -1
- package/scss/components/_cardgroup.scss +0 -1
- package/scss/components/_container.scss +2 -3
- package/scss/components/_contextmenu.scss +2 -3
- package/scss/components/_datacard.scss +0 -1
- package/scss/components/_datepicker.scss +0 -1
- package/scss/components/_detailcard.scss +0 -1
- package/scss/components/_empty.scss +0 -1
- package/scss/components/_factlistcard.scss +1 -2
- package/scss/components/_featurecard.scss +0 -1
- package/scss/components/_fieldset.scss +4 -12
- package/scss/components/_file-upload.scss +24 -32
- package/scss/components/_form.scss +0 -1
- package/scss/components/_formcontrol.scss +0 -1
- package/scss/components/_hero.scss +47 -53
- package/scss/components/_herocard.scss +35 -36
- package/scss/components/_image.scss +0 -1
- package/scss/components/_input.scss +8 -28
- package/scss/components/_languagetoggle.scss +0 -1
- package/scss/components/_link.scss +0 -1
- package/scss/components/_linklist.scss +18 -31
- package/scss/components/_list.scss +0 -1
- package/scss/components/_loading.scss +0 -1
- package/scss/components/_logo.scss +2 -4
- package/scss/components/_logogrid.scss +3 -4
- package/scss/components/_modal.scss +1 -2
- package/scss/components/_multilinkcard.scss +0 -1
- package/scss/components/_navigation.scss +102 -103
- package/scss/components/_notification.scss +77 -98
- package/scss/components/_pagination.scss +0 -1
- package/scss/components/_profile.scss +0 -1
- package/scss/components/_promocard.scss +0 -1
- package/scss/components/_radio.scss +8 -9
- package/scss/components/_readmore.scss +8 -9
- package/scss/components/_richtext.scss +0 -1
- package/scss/components/_scorecard.scss +0 -1
- package/scss/components/_searchfield.scss +27 -44
- package/scss/components/_statcard.scss +9 -17
- package/scss/components/_status.scss +0 -1
- package/scss/components/_table.scss +31 -32
- package/scss/components/_tableofcontents.scss +29 -20
- package/scss/components/_tabs.scss +0 -1
- package/scss/components/_tag.scss +0 -1
- package/scss/components/_textarea.scss +10 -28
- package/scss/components/_textcard.scss +0 -1
- package/scss/components/_textinput.scss +9 -28
- package/scss/components/_toggle.scss +6 -45
- package/scss/components/_tooltip.scss +23 -17
- package/scss/components/_video.scss +54 -22
- package/scss/components/navigation/_nav-compact.scss +1 -1
- package/scss/components/navigation/_nav-complex.scss +1 -1
- package/scss/components/navigation/_nav-main.scss +1 -1
- package/scss/components/navigation/internal/_nav-dropdown.scss +1 -1
- package/scss/components/navigation/internal/_nav-grid.scss +1 -1
- package/scss/components/navigation/internal/_nav-menu.scss +1 -1
- package/scss/components/navigation/internal/_nav-shared.scss +1 -1
- package/scss/components/navigation/internal/mobile/_nav-mobile-drawer.scss +1 -1
- package/scss/components/navigation/internal/mobile/_nav-mobile-menu.scss +1 -1
- package/scss/components/navigation/internal/mobile/_nav-mobile.scss +1 -1
- package/scss/components/photogallery/_expandable-caption.scss +1 -1
- package/scss/components/photogallery/_lightbox.scss +1 -1
- package/scss/components/photogallery/_lightboxgallery.scss +1 -1
- package/scss/components/photogallery/_photogallery-controls.scss +1 -1
- package/scss/components/photogallery/_photogallery-thumbnails.scss +1 -1
- package/scss/components/photogallery/_photogallery.scss +1 -1
- package/scss/theme/_foundation.scss +6 -0
- package/scss/theme/_typography.scss +4 -0
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
4
3
|
|
|
5
4
|
.hero {
|
|
6
5
|
$c: &;
|
|
7
6
|
|
|
7
|
+
// Shared spacing values for Hero and HeroCard components
|
|
8
|
+
--hero-card-padding-y-sm: #{spacing(10)};
|
|
9
|
+
--hero-card-padding-y-lg: #{px-to-rem(56px)};
|
|
10
|
+
--hero-card-padding-x-sm: #{spacing(4)};
|
|
11
|
+
--hero-card-padding-x-lg: #{px-to-rem(71px)};
|
|
12
|
+
--hero-card-corner-cut-width-sm: #{px-to-rem(72px)};
|
|
13
|
+
--hero-card-corner-cut-width-lg: #{px-to-rem(116px)};
|
|
14
|
+
--hero-card-corner-cut-height-sm: #{px-to-rem(40px)};
|
|
15
|
+
--hero-card-corner-cut-height-lg: #{px-to-rem(64px)};
|
|
16
|
+
--hero-tooltip-width: #{px-to-rem(30px)};
|
|
17
|
+
--hero-tooltip-height: #{px-to-rem(27px)};
|
|
18
|
+
--hero-image-min-height: #{px-to-rem(216px)};
|
|
19
|
+
|
|
8
20
|
// Additional offset to add for justify: offset
|
|
9
21
|
--added-offset: 0px;
|
|
10
22
|
|
|
11
23
|
// Total offset from the edge of the window
|
|
12
|
-
--base-offset: calc(((100vw - #{
|
|
24
|
+
--base-offset: calc(((100vw - #{px-to-rem(1300px)}) / 2));
|
|
13
25
|
|
|
14
26
|
// Breadcrumb offset. This is used directly by the breadcrumb component
|
|
15
27
|
// Ensures the Breadcrumb aligns to the starting edge of a 1300px content
|
|
@@ -19,37 +31,34 @@
|
|
|
19
31
|
// Card padding defaults to a fixed value. But it's a CSS variable
|
|
20
32
|
// so that we can make it squeezy when the card is justified `start`
|
|
21
33
|
// or `offset`
|
|
22
|
-
--card-padding-start:
|
|
34
|
+
--card-padding-start: var(--hero-card-padding-x-lg);
|
|
23
35
|
|
|
24
36
|
// Squeezy padding makes it so we can have a flexible padding value
|
|
25
37
|
// that will be somewhere between 16px and the card's fixed padding
|
|
26
38
|
// depending on how far the card is from the edge of the screen
|
|
27
39
|
$squeezy-padding-start: max(
|
|
28
|
-
|
|
29
|
-
min(
|
|
30
|
-
var(--base-offset) + var(--added-offset),
|
|
31
|
-
#{$spacing-hero-card-padding-x-lg}
|
|
32
|
-
)
|
|
40
|
+
#{spacing(4)},
|
|
41
|
+
min(var(--base-offset) + var(--added-offset), var(--hero-card-padding-x-lg))
|
|
33
42
|
);
|
|
34
43
|
|
|
35
44
|
// Card offset from the edge of the window minus the card's fixed padding
|
|
36
45
|
$card-offset: calc(
|
|
37
|
-
var(--base-offset) -
|
|
46
|
+
var(--base-offset) - var(--hero-card-padding-x-lg) + var(--added-offset)
|
|
38
47
|
);
|
|
39
48
|
|
|
40
49
|
// The height of the corner cut
|
|
41
|
-
--corner-cut-height:
|
|
50
|
+
--corner-cut-height: var(--hero-card-corner-cut-height-sm);
|
|
42
51
|
|
|
43
52
|
width: 100%;
|
|
44
53
|
display: grid;
|
|
45
54
|
position: relative;
|
|
46
55
|
grid-template-columns: 1fr;
|
|
47
56
|
overflow: hidden;
|
|
48
|
-
@include hero-grid-rows(
|
|
57
|
+
@include hero-grid-rows(var(--hero-image-min-height));
|
|
49
58
|
|
|
50
59
|
&--image {
|
|
51
60
|
display: grid;
|
|
52
|
-
@include hero-grid-rows();
|
|
61
|
+
@include hero-grid-rows(var(--hero-image-min-height));
|
|
53
62
|
}
|
|
54
63
|
|
|
55
64
|
&__gap {
|
|
@@ -58,21 +67,21 @@
|
|
|
58
67
|
}
|
|
59
68
|
|
|
60
69
|
&__white {
|
|
61
|
-
background-color:
|
|
70
|
+
background-color: var(--ilo-color-white);
|
|
62
71
|
}
|
|
63
72
|
|
|
64
73
|
&__light {
|
|
65
|
-
background-color:
|
|
74
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
66
75
|
}
|
|
67
76
|
|
|
68
77
|
&__dark {
|
|
69
|
-
background-color:
|
|
78
|
+
background-color: var(--ilo-color-blue-dark);
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
|
|
73
82
|
&--background {
|
|
74
83
|
display: grid;
|
|
75
|
-
background-color:
|
|
84
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
76
85
|
position: relative;
|
|
77
86
|
grid-area: 1 / 1 / 4 / 2;
|
|
78
87
|
|
|
@@ -105,15 +114,15 @@
|
|
|
105
114
|
&--wrapper {
|
|
106
115
|
@include caption-icon-wrapper(
|
|
107
116
|
"right",
|
|
108
|
-
|
|
109
|
-
|
|
117
|
+
var(--hero-tooltip-width),
|
|
118
|
+
var(--hero-tooltip-height)
|
|
110
119
|
);
|
|
111
120
|
}
|
|
112
121
|
}
|
|
113
122
|
|
|
114
123
|
@include breakpoint("lg") {
|
|
115
124
|
--card-width: 625px;
|
|
116
|
-
--corner-cut-height:
|
|
125
|
+
--corner-cut-height: var(--hero-card-corner-cut-height-lg);
|
|
117
126
|
--breadcrumbs-height: 48px;
|
|
118
127
|
--image-gap: 240px;
|
|
119
128
|
|
|
@@ -121,12 +130,12 @@
|
|
|
121
130
|
--row-1-lg: var(--breadcrumbs-height);
|
|
122
131
|
--row-2-lg: calc(var(--image-gap) - var(--breadcrumbs-height));
|
|
123
132
|
--row-3-lg: auto;
|
|
124
|
-
--row-4-lg:
|
|
133
|
+
--row-4-lg: var(--hero-tooltip-height);
|
|
125
134
|
--row-5-lg: 72px;
|
|
126
135
|
|
|
127
136
|
--col-1-lg: 0;
|
|
128
137
|
--col-2-lg: var(--card-width);
|
|
129
|
-
--col-3-lg:
|
|
138
|
+
--col-3-lg: var(--hero-tooltip-width);
|
|
130
139
|
--col-4-lg: 1fr;
|
|
131
140
|
|
|
132
141
|
grid-template-rows:
|
|
@@ -195,15 +204,15 @@
|
|
|
195
204
|
&__center {
|
|
196
205
|
--col-1-lg: calc((100% - var(--card-width)) / 2);
|
|
197
206
|
--col-4-lg: calc(
|
|
198
|
-
((100% - var(--card-width)) / 2) -
|
|
207
|
+
((100% - var(--card-width)) / 2) - var(--hero-tooltip-width)
|
|
199
208
|
);
|
|
200
209
|
}
|
|
201
210
|
}
|
|
202
211
|
|
|
203
212
|
&__card-align {
|
|
204
213
|
&__center {
|
|
205
|
-
--row-4-lg: calc(72px -
|
|
206
|
-
--row-5-lg:
|
|
214
|
+
--row-4-lg: calc(#{px-to-rem(72px)} - var(--hero-tooltip-height));
|
|
215
|
+
--row-5-lg: var(--hero-tooltip-height);
|
|
207
216
|
}
|
|
208
217
|
|
|
209
218
|
&__bottom {
|
|
@@ -225,44 +234,29 @@
|
|
|
225
234
|
&__card-theme {
|
|
226
235
|
&__dark {
|
|
227
236
|
#{$c}--card-offset {
|
|
228
|
-
background-color:
|
|
237
|
+
background-color: var(--ilo-color-blue-dark);
|
|
229
238
|
position: relative;
|
|
230
|
-
box-shadow: 0.3px 0 0 0
|
|
239
|
+
box-shadow: 0.3px 0 0 0 var(--ilo-color-blue-dark);
|
|
231
240
|
}
|
|
232
241
|
|
|
233
242
|
&[class*="semi-transparent"] {
|
|
234
243
|
#{$c}--card-offset {
|
|
235
|
-
background: rgba(
|
|
236
|
-
|
|
237
|
-
$opacity-semi-transparent
|
|
238
|
-
);
|
|
239
|
-
box-shadow: 0.3px 0 0 0
|
|
240
|
-
rgba(
|
|
241
|
-
map-get($color, "hero", "card", "dark", "background"),
|
|
242
|
-
$opacity-semi-transparent
|
|
243
|
-
);
|
|
244
|
+
background: rgba(35, 0, 80, 0.6);
|
|
245
|
+
box-shadow: 0.3px 0 0 0 rgba(35, 0, 80, 0.6);
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
&__light {
|
|
249
251
|
#{$c}--card-offset {
|
|
250
|
-
background:
|
|
251
|
-
box-shadow: 0.3px 0 0 0
|
|
252
|
-
map-get($color, "hero", "card", "light", "background");
|
|
252
|
+
background: var(--ilo-color-white);
|
|
253
|
+
box-shadow: 0.3px 0 0 0 var(--ilo-color-white);
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
&[class*="semi-transparent"] {
|
|
256
257
|
#{$c}--card-offset {
|
|
257
|
-
background: rgba(
|
|
258
|
-
|
|
259
|
-
$opacity-semi-transparent
|
|
260
|
-
);
|
|
261
|
-
box-shadow: 0.3px 0 0 0
|
|
262
|
-
rgba(
|
|
263
|
-
map-get($color, "hero", "card", "light", "background"),
|
|
264
|
-
$opacity-semi-transparent
|
|
265
|
-
);
|
|
258
|
+
background: rgba(255, 255, 255, 0.6);
|
|
259
|
+
box-shadow: 0.3px 0 0 0 rgba(255, 255, 255, 0.6);
|
|
266
260
|
}
|
|
267
261
|
}
|
|
268
262
|
}
|
|
@@ -345,8 +339,8 @@
|
|
|
345
339
|
#{$c}--caption--wrapper {
|
|
346
340
|
@include caption-icon-wrapper(
|
|
347
341
|
"right",
|
|
348
|
-
|
|
349
|
-
|
|
342
|
+
var(--hero-tooltip-width),
|
|
343
|
+
var(--hero-tooltip-height)
|
|
350
344
|
);
|
|
351
345
|
|
|
352
346
|
position: absolute;
|
|
@@ -363,8 +357,8 @@
|
|
|
363
357
|
&--wrapper {
|
|
364
358
|
@include caption-icon-wrapper(
|
|
365
359
|
"left",
|
|
366
|
-
|
|
367
|
-
|
|
360
|
+
var(--hero-tooltip-width),
|
|
361
|
+
var(--hero-tooltip-height)
|
|
368
362
|
);
|
|
369
363
|
right: 0;
|
|
370
364
|
position: absolute;
|
|
@@ -378,8 +372,8 @@
|
|
|
378
372
|
#{$c}--caption--wrapper {
|
|
379
373
|
@include caption-icon-wrapper(
|
|
380
374
|
"left",
|
|
381
|
-
|
|
382
|
-
|
|
375
|
+
var(--hero-tooltip-width),
|
|
376
|
+
var(--hero-tooltip-height)
|
|
383
377
|
);
|
|
384
378
|
|
|
385
379
|
position: absolute;
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
4
3
|
|
|
5
4
|
.ilo--hero-card {
|
|
6
5
|
$c: &;
|
|
6
|
+
--hero-card-padding-y-sm: 40px;
|
|
7
|
+
--hero-card-padding-x-sm: 16px;
|
|
8
|
+
--hero-card-padding-y-lg: 56px;
|
|
9
|
+
--hero-card-padding-x-lg: 32px;
|
|
10
|
+
--hero-card-corner-cut-width-sm: 72px;
|
|
11
|
+
--hero-card-corner-cut-height-sm: 40px;
|
|
12
|
+
--hero-card-corner-cut-width-lg: 116px;
|
|
13
|
+
--hero-card-corner-cut-height-lg: 64px;
|
|
7
14
|
|
|
8
15
|
height: 100%;
|
|
9
16
|
position: relative;
|
|
10
|
-
padding:
|
|
17
|
+
padding: var(--hero-card-padding-y-sm) var(--hero-card-padding-x-sm);
|
|
11
18
|
|
|
12
19
|
@include breakpoint("lg") {
|
|
13
|
-
padding-block:
|
|
14
|
-
padding-inline-end:
|
|
20
|
+
padding-block: var(--hero-card-padding-y-lg);
|
|
21
|
+
padding-inline-end: var(--hero-card-padding-x-lg);
|
|
15
22
|
padding-inline-start: var(--card-padding-start);
|
|
16
23
|
}
|
|
17
24
|
|
|
@@ -26,29 +33,23 @@
|
|
|
26
33
|
|
|
27
34
|
&__theme {
|
|
28
35
|
&__light {
|
|
29
|
-
color:
|
|
30
|
-
background:
|
|
36
|
+
color: var(--ilo-color-gray-charcoal);
|
|
37
|
+
background: var(--ilo-color-white);
|
|
31
38
|
|
|
32
39
|
@include breakpoint("lg") {
|
|
33
40
|
&.ilo--hero-card__background__semi-transparent {
|
|
34
|
-
background: rgba(
|
|
35
|
-
map-get($color, "hero", "card", "light", "background"),
|
|
36
|
-
$opacity-semi-transparent
|
|
37
|
-
);
|
|
41
|
+
background: rgba(255, 255, 255, 0.6);
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
&__dark {
|
|
43
|
-
background:
|
|
44
|
-
color:
|
|
47
|
+
background: var(--ilo-color-blue-dark);
|
|
48
|
+
color: var(--ilo-color-white);
|
|
45
49
|
|
|
46
50
|
@include breakpoint("lg") {
|
|
47
51
|
&.ilo--hero-card__background__semi-transparent {
|
|
48
|
-
background: rgba(
|
|
49
|
-
map-get($color, "hero", "card", "dark", "background"),
|
|
50
|
-
$opacity-semi-transparent
|
|
51
|
-
);
|
|
52
|
+
background: rgba(35, 0, 80, 0.6);
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -56,13 +57,11 @@
|
|
|
56
57
|
@include breakpoint("lg") {
|
|
57
58
|
&__dark.ilo--hero-card__background__transparent,
|
|
58
59
|
&__light.ilo--hero-card__background__transparent {
|
|
59
|
-
color:
|
|
60
|
+
color: var(--ilo-color-white);
|
|
60
61
|
background: transparent;
|
|
61
62
|
|
|
62
63
|
* {
|
|
63
|
-
filter: drop-shadow(
|
|
64
|
-
1px 1px 12px #{map-get($color, "base", "neutrals", "dark")}
|
|
65
|
-
);
|
|
64
|
+
filter: drop-shadow(1px 1px 12px var(--ilo-color-gray-charcoal));
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
}
|
|
@@ -70,28 +69,28 @@
|
|
|
70
69
|
|
|
71
70
|
&__cornercut {
|
|
72
71
|
@include cornercut(
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
var(--hero-card-corner-cut-width-sm),
|
|
73
|
+
var(--hero-card-corner-cut-height-sm)
|
|
75
74
|
);
|
|
76
75
|
|
|
77
76
|
[dir="rtl"] & {
|
|
78
77
|
@include cornercut(
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
var(--hero-card-corner-cut-width-sm),
|
|
79
|
+
var(--hero-card-corner-cut-height-sm),
|
|
81
80
|
"left"
|
|
82
81
|
);
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
@include breakpoint("lg") {
|
|
86
85
|
@include cornercut(
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
var(--hero-card-corner-cut-width-lg),
|
|
87
|
+
var(--hero-card-corner-cut-height-lg)
|
|
89
88
|
);
|
|
90
89
|
|
|
91
90
|
[dir="rtl"] & {
|
|
92
91
|
@include cornercut(
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
var(--hero-card-corner-cut-width-lg),
|
|
93
|
+
var(--hero-card-corner-cut-height-lg),
|
|
95
94
|
"left"
|
|
96
95
|
);
|
|
97
96
|
}
|
|
@@ -101,37 +100,37 @@
|
|
|
101
100
|
&--datecopy {
|
|
102
101
|
@include typography("body-medium");
|
|
103
102
|
margin-bottom: px-to-rem(28px);
|
|
104
|
-
color:
|
|
103
|
+
color: var(--ilo-color-gray-accessible);
|
|
105
104
|
|
|
106
105
|
#{$c}__theme__dark & {
|
|
107
|
-
color:
|
|
106
|
+
color: var(--ilo-color-white);
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
#{$c}__theme__light & {
|
|
111
|
-
color:
|
|
110
|
+
color: var(--ilo-color-gray-accessible);
|
|
112
111
|
}
|
|
113
112
|
|
|
114
113
|
.ilo--hero-card__background__transparent &,
|
|
115
114
|
.ilo--hero-card__background__semi-transparent & {
|
|
116
|
-
color:
|
|
115
|
+
color: var(--ilo-color-white);
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
|
|
120
119
|
&--eyebrow {
|
|
121
120
|
@include typography("body-medium");
|
|
122
121
|
margin-bottom: spacing(4);
|
|
123
|
-
color:
|
|
122
|
+
color: var(--ilo-color-purple);
|
|
124
123
|
|
|
125
124
|
#{$c}__theme__dark & {
|
|
126
|
-
color:
|
|
125
|
+
color: var(--ilo-color-white);
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
#{$c}__theme__light & {
|
|
130
|
-
color:
|
|
129
|
+
color: var(--ilo-color-purple);
|
|
131
130
|
}
|
|
132
131
|
|
|
133
132
|
.ilo--hero-card__background__transparent & {
|
|
134
|
-
color:
|
|
133
|
+
color: var(--ilo-color-white);
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
|
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
4
3
|
|
|
5
4
|
.ilo--input {
|
|
6
|
-
-webkit-appearance: none;
|
|
7
|
-
-moz-appearance: none;
|
|
8
5
|
appearance: none;
|
|
9
|
-
background-color:
|
|
10
|
-
|
|
11
|
-
"formelements",
|
|
12
|
-
"input",
|
|
13
|
-
"default",
|
|
14
|
-
"background"
|
|
15
|
-
);
|
|
16
|
-
@include bordervalues("input", "formelements");
|
|
6
|
+
background-color: var(--ilo-color-white);
|
|
7
|
+
border: var(--ilo-border-md) solid var(--ilo-color-gray-base);
|
|
17
8
|
box-sizing: border-box;
|
|
18
9
|
font-family: var(--ilo-fonts-copy);
|
|
19
|
-
font-weight:
|
|
10
|
+
font-weight: var(--ilo-font-weight-medium);
|
|
20
11
|
@include typography("highlight-medium");
|
|
21
12
|
height: px-to-rem(48px);
|
|
22
13
|
margin: spacing(0);
|
|
@@ -25,14 +16,8 @@
|
|
|
25
16
|
width: 100%;
|
|
26
17
|
|
|
27
18
|
&:focus {
|
|
28
|
-
background-color:
|
|
29
|
-
|
|
30
|
-
"formelements",
|
|
31
|
-
"input",
|
|
32
|
-
"focus",
|
|
33
|
-
"background"
|
|
34
|
-
);
|
|
35
|
-
@include bordervalues("input", "formelements", "focus");
|
|
19
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
20
|
+
border: var(--ilo-border-md) solid var(--ilo-color-gray-base);
|
|
36
21
|
padding-left: spacing(3);
|
|
37
22
|
outline: none;
|
|
38
23
|
}
|
|
@@ -45,13 +30,8 @@
|
|
|
45
30
|
&:invalid,
|
|
46
31
|
&.error,
|
|
47
32
|
.error & {
|
|
48
|
-
background-color:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"input",
|
|
52
|
-
"error",
|
|
53
|
-
"background"
|
|
54
|
-
);
|
|
55
|
-
@include bordervalues("input", "formelements", "error");
|
|
33
|
+
background-color: var(--ilo-color-white);
|
|
34
|
+
border: var(--ilo-border-md) solid var(--ilo-color-gray-base);
|
|
35
|
+
border-left: px-to-rem(3px) solid var(--ilo-color-red-dark);
|
|
56
36
|
}
|
|
57
37
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../animations";
|
|
4
3
|
@import "../mixins";
|
|
@@ -9,25 +8,15 @@
|
|
|
9
8
|
|
|
10
9
|
&--headline {
|
|
11
10
|
font-family: var(--ilo-fonts-display);
|
|
12
|
-
font-weight:
|
|
11
|
+
font-weight: var(--ilo-font-weight-bold);
|
|
13
12
|
@include typography("heading-3");
|
|
14
|
-
|
|
13
|
+
margin-bottom: px-to-rem(30px);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
&--links {
|
|
18
17
|
&--headline {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
@include typography("heading-4");
|
|
22
|
-
@include textmargin("margin-bottom", 27px, "headline-6", "display", 0, 0);
|
|
23
|
-
@include textmargin(
|
|
24
|
-
"margin-top",
|
|
25
|
-
$spacing-spacing-12,
|
|
26
|
-
"headline-6",
|
|
27
|
-
"display",
|
|
28
|
-
0,
|
|
29
|
-
0
|
|
30
|
-
);
|
|
18
|
+
@include typography("highlight-large");
|
|
19
|
+
margin: spacing(10) 0 spacing(5);
|
|
31
20
|
}
|
|
32
21
|
}
|
|
33
22
|
|
|
@@ -86,10 +75,8 @@
|
|
|
86
75
|
display: flex;
|
|
87
76
|
justify-content: space-between;
|
|
88
77
|
align-items: center;
|
|
89
|
-
border-bottom:
|
|
90
|
-
color:
|
|
91
|
-
font-family: var(--ilo-fonts-display);
|
|
92
|
-
font-weight: map-get($type, "weights", "section");
|
|
78
|
+
border-bottom: var(--ilo-border-md) solid var(--ilo-color-gray-light);
|
|
79
|
+
color: var(--ilo-link-color-default-light);
|
|
93
80
|
@include typography("highlight-medium");
|
|
94
81
|
padding-top: spacing(4);
|
|
95
82
|
padding-bottom: spacing(4);
|
|
@@ -97,12 +84,12 @@
|
|
|
97
84
|
@include globaltransition("color, background-color, border-color");
|
|
98
85
|
|
|
99
86
|
&:visited {
|
|
100
|
-
color:
|
|
87
|
+
color: var(--ilo-link-color-default-light);
|
|
101
88
|
@include globaltransition("color");
|
|
102
89
|
}
|
|
103
90
|
|
|
104
91
|
&:active {
|
|
105
|
-
color:
|
|
92
|
+
color: var(--ilo-link-color-active-light);
|
|
106
93
|
outline: none;
|
|
107
94
|
@include globaltransition("color");
|
|
108
95
|
}
|
|
@@ -110,10 +97,10 @@
|
|
|
110
97
|
&:hover,
|
|
111
98
|
&:focus {
|
|
112
99
|
--ilo-link-list-color-icon: var(--ilo-color-blue);
|
|
113
|
-
border-bottom:
|
|
114
|
-
|
|
115
|
-
background-color:
|
|
116
|
-
color:
|
|
100
|
+
border-bottom: var(--ilo-border-md) solid
|
|
101
|
+
var(--ilo-link-color-hover-light);
|
|
102
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
103
|
+
color: var(--ilo-link-color-hover-light);
|
|
117
104
|
outline: none;
|
|
118
105
|
@include globaltransition("color, background-color, border-color");
|
|
119
106
|
}
|
|
@@ -130,19 +117,19 @@
|
|
|
130
117
|
--ilo-link-list-color-indent-icon: var(--ilo-color-white);
|
|
131
118
|
.ilo--link-list--headline,
|
|
132
119
|
.ilo--link-list--links--headline {
|
|
133
|
-
color:
|
|
120
|
+
color: var(--ilo-color-white);
|
|
134
121
|
}
|
|
135
122
|
|
|
136
123
|
.ilo--link-list--link {
|
|
137
|
-
border-bottom:
|
|
124
|
+
border-bottom: var(--ilo-border-md) solid rgba(237, 240, 242, 0.4);
|
|
138
125
|
|
|
139
126
|
.ilo--link-list--label {
|
|
140
|
-
color:
|
|
127
|
+
color: var(--ilo-color-white);
|
|
141
128
|
}
|
|
142
129
|
|
|
143
130
|
&:visited {
|
|
144
131
|
.ilo--link-list--label {
|
|
145
|
-
color:
|
|
132
|
+
color: var(--ilo-color-white);
|
|
146
133
|
@include globaltransition("color");
|
|
147
134
|
}
|
|
148
135
|
}
|
|
@@ -151,7 +138,7 @@
|
|
|
151
138
|
outline: none;
|
|
152
139
|
|
|
153
140
|
.ilo--link-list--label {
|
|
154
|
-
color:
|
|
141
|
+
color: var(--ilo-link-color-active-light);
|
|
155
142
|
@include globaltransition("color");
|
|
156
143
|
}
|
|
157
144
|
}
|
|
@@ -161,7 +148,7 @@
|
|
|
161
148
|
outline: none;
|
|
162
149
|
|
|
163
150
|
.ilo--link-list--label {
|
|
164
|
-
color:
|
|
151
|
+
color: var(--ilo-color-blue);
|
|
165
152
|
@include globaltransition("color");
|
|
166
153
|
}
|
|
167
154
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
|
-
|
|
3
1
|
.ilo--logo {
|
|
4
2
|
&--visibility--hidden {
|
|
5
3
|
visibility: hidden;
|
|
@@ -12,11 +10,11 @@
|
|
|
12
10
|
|
|
13
11
|
&--theme {
|
|
14
12
|
&--light {
|
|
15
|
-
--logo-theme-color:
|
|
13
|
+
--logo-theme-color: var(--ilo-color-blue);
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
&--dark {
|
|
19
|
-
--logo-theme-color:
|
|
17
|
+
--logo-theme-color: var(--ilo-color-white);
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
4
3
|
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
#{$c}__theme__light &,
|
|
32
31
|
#{$c}__theme__dark & {
|
|
33
32
|
&:hover {
|
|
34
|
-
background-color:
|
|
33
|
+
background-color: var(--ilo-color-background-hover);
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
}
|
|
@@ -46,11 +45,11 @@
|
|
|
46
45
|
grid-column: span 1;
|
|
47
46
|
|
|
48
47
|
#{$c}__theme__light & {
|
|
49
|
-
background-color:
|
|
48
|
+
background-color: var(--ilo-color-background-highlight);
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
#{$c}__theme__dark & {
|
|
53
|
-
background-color:
|
|
52
|
+
background-color: var(--ilo-color-background-default);
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
img {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
4
3
|
@import "../animations";
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
&--contents {
|
|
48
|
-
background-color:
|
|
47
|
+
background-color: var(--ilo-color-white);
|
|
49
48
|
left: 0;
|
|
50
49
|
position: absolute;
|
|
51
50
|
margin: 0 4.2%;
|