@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
|
@@ -18,6 +18,29 @@
|
|
|
18
18
|
position: relative;
|
|
19
19
|
width: 100%;
|
|
20
20
|
|
|
21
|
+
&#{$self}__loading {
|
|
22
|
+
--ilo-skeleton-element-background-color: var(--ilo-color-gray-base);
|
|
23
|
+
background-color: var(--ilo-color-gray-light);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#{$self}--skeleton--eyebrow {
|
|
27
|
+
@include skeleton-element(12px, 20%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#{$self}--skeleton--image {
|
|
31
|
+
@include skeleton-element(279px, 200px);
|
|
32
|
+
margin-top: spacing(8);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#{$self}--skeleton--label {
|
|
36
|
+
@include skeleton-element(14px, 20%);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
#{$self}--skeleton--copy {
|
|
40
|
+
@include skeleton-element(14px, 100%);
|
|
41
|
+
margin-top: spacing(2);
|
|
42
|
+
}
|
|
43
|
+
|
|
21
44
|
&--content {
|
|
22
45
|
&-links-list {
|
|
23
46
|
display: flex;
|
|
@@ -16,6 +16,48 @@
|
|
|
16
16
|
padding: spacing(8) spacing(4);
|
|
17
17
|
position: relative;
|
|
18
18
|
|
|
19
|
+
#{$self}--skeleton--image {
|
|
20
|
+
@include skeleton-element(64px, 100%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
#{$self}--skeleton--eyebrow {
|
|
24
|
+
@include skeleton-element(12px, 20%);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#{$self}--skeleton--title-1 {
|
|
28
|
+
@include skeleton-element(14px, 90%);
|
|
29
|
+
margin-top: spacing(4);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
#{$self}--skeleton--title-2 {
|
|
33
|
+
@include skeleton-element(14px, 100%);
|
|
34
|
+
margin-top: spacing(2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#{$self}--skeleton--intro-1 {
|
|
38
|
+
@include skeleton-element(14px, 80%);
|
|
39
|
+
margin-top: spacing(4);
|
|
40
|
+
}
|
|
41
|
+
#{$self}--skeleton--intro-2 {
|
|
42
|
+
@include skeleton-element(14px, 85%);
|
|
43
|
+
margin-top: spacing(2);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
#{$self}--skeleton--intro-3 {
|
|
47
|
+
@include skeleton-element(14px, 90%);
|
|
48
|
+
margin-top: spacing(2);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#{$self}--skeleton--intro-4 {
|
|
52
|
+
@include skeleton-element(14px, 75%);
|
|
53
|
+
margin-top: spacing(2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#{$self}--skeleton--intro-5 {
|
|
57
|
+
@include skeleton-element(14px, 35%);
|
|
58
|
+
margin-top: spacing(2);
|
|
59
|
+
}
|
|
60
|
+
|
|
19
61
|
#{$self}--wrap {
|
|
20
62
|
display: flex;
|
|
21
63
|
flex-flow: column;
|
|
@@ -64,13 +106,30 @@
|
|
|
64
106
|
text-indent: px-to-rem(-24px);
|
|
65
107
|
|
|
66
108
|
.ilo--icon {
|
|
67
|
-
display: inline-block;
|
|
68
109
|
position: relative;
|
|
69
110
|
vertical-align: sub;
|
|
70
111
|
top: px-to-rem(1px);
|
|
71
112
|
}
|
|
72
113
|
}
|
|
73
114
|
|
|
115
|
+
#{$self}--icon-left {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#{$self}--icon-right {
|
|
120
|
+
display: inline-block;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[dir="rtl"] & {
|
|
124
|
+
#{$self}--icon-left {
|
|
125
|
+
display: inline-block;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
#{$self}--icon-right {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
74
133
|
&#{$self}__size {
|
|
75
134
|
&__narrow {
|
|
76
135
|
@include breakpoint("md") {
|
|
@@ -86,6 +145,41 @@
|
|
|
86
145
|
|
|
87
146
|
&__wide,
|
|
88
147
|
&__fluid {
|
|
148
|
+
#{$self}--content {
|
|
149
|
+
flex: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
#{$self}--skeleton--image {
|
|
153
|
+
@include skeleton-element(130px, 100%);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
#{$self}--skeleton--title-1 {
|
|
157
|
+
@include skeleton-element(14px, 80%);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#{$self}--skeleton--title-2 {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
#{$self}--skeleton--intro-1 {
|
|
165
|
+
@include skeleton-element(14px, 90%);
|
|
166
|
+
}
|
|
167
|
+
#{$self}--skeleton--intro-2 {
|
|
168
|
+
@include skeleton-element(14px, 85%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
#{$self}--skeleton--intro-3 {
|
|
172
|
+
@include skeleton-element(14px, 86%);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#{$self}--skeleton--intro-4 {
|
|
176
|
+
@include skeleton-element(14px, 50%);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
#{$self}--skeleton--intro-5 {
|
|
180
|
+
display: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
89
183
|
@include breakpoint("md") {
|
|
90
184
|
padding: spacing(8) spacing(4) spacing(8) spacing(0);
|
|
91
185
|
|
|
@@ -1,154 +1,82 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../mixins";
|
|
3
|
+
@import "../animations";
|
|
4
4
|
|
|
5
5
|
.ilo--dropdown {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
&--wrapper {
|
|
7
|
+
--ilo-dropdown-background-color: var(--ilo-color-white);
|
|
8
|
+
--ilo-dropdown-background-color-active: var(--ilo-color-blue-lighter);
|
|
9
|
+
--ilo-dropdown-color: var(--ilo-color-gray-accessible);
|
|
10
|
+
--ilo-dropdown-height: #{px-to-rem(48px)};
|
|
11
|
+
--ilo-dropdown-border-color: var(--ilo-color-gray-base);
|
|
12
|
+
--ilo-dropdown-button-background-color: var(--ilo-color-gray-light);
|
|
13
|
+
--ilo-dropdown-button-icon-color: var(--ilo-color-blue-dark);
|
|
14
|
+
--ilo-dropdown-button-icon-size: calc(var(--ilo-dropdown-height) / 2);
|
|
15
|
+
--ilo-dropdown-button-icon-offset: calc(
|
|
16
|
+
var(--ilo-dropdown-button-icon-size) / 2
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
display: inline-block;
|
|
20
|
+
position: relative;
|
|
21
|
+
|
|
22
|
+
&:before {
|
|
23
|
+
content: "";
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
position: absolute;
|
|
26
|
+
border: 2px solid var(--ilo-dropdown-border-color);
|
|
27
|
+
background-color: var(--ilo-dropdown-button-background-color);
|
|
28
|
+
height: var(--ilo-dropdown-height);
|
|
29
|
+
width: var(--ilo-dropdown-height);
|
|
30
|
+
right: 0;
|
|
31
|
+
@include globaltransition("background-color");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:has(select:hover):before {
|
|
35
|
+
background-color: var(--ilo-dropdown-background-color-active);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:after {
|
|
39
|
+
content: "";
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
position: absolute;
|
|
42
|
+
height: var(--ilo-dropdown-button-icon-size);
|
|
43
|
+
width: var(--ilo-dropdown-button-icon-size);
|
|
44
|
+
right: var(--ilo-dropdown-button-icon-offset);
|
|
45
|
+
top: var(--ilo-dropdown-button-icon-offset);
|
|
46
|
+
@include icon("chevron_down", var(--ilo-dropdown-button-icon-color));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
8
50
|
appearance: none;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"background"
|
|
15
|
-
);
|
|
16
|
-
@include bordervalues("input", "formelements");
|
|
17
|
-
border-radius: 0;
|
|
18
|
-
box-sizing: content-box;
|
|
19
|
-
font-family: var(--ilo-fonts-copy);
|
|
20
|
-
font-weight: map-get($type, "weights", "section");
|
|
21
|
-
@include font-styles("label-medium");
|
|
22
|
-
height: px-to-rem(45px);
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
background-color: var(--ilo-dropdown-background-color);
|
|
53
|
+
height: var(--ilo-dropdown-height);
|
|
54
|
+
color: var(--ilo-dropdown-color);
|
|
55
|
+
width: 100%;
|
|
23
56
|
margin: spacing(0);
|
|
24
|
-
outline: none;
|
|
25
|
-
overflow: hidden;
|
|
26
57
|
padding: 0 spacing(14) 0 spacing(4);
|
|
27
58
|
text-overflow: ellipsis;
|
|
28
59
|
white-space: nowrap;
|
|
29
|
-
|
|
60
|
+
outline: none;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
border: 2px solid var(--ilo-dropdown-border-color);
|
|
64
|
+
@include typography("body-medium");
|
|
65
|
+
@include globaltransition("background-color, border-color, color");
|
|
30
66
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
to right,
|
|
41
|
-
transparent 0%,
|
|
42
|
-
transparent calc(50% - 0.81px),
|
|
43
|
-
$color-formelements-input-default-border-left calc(50% - 0.8px),
|
|
44
|
-
$color-formelements-input-default-border-left calc(50% + 0.8px),
|
|
45
|
-
rgba(237, 240, 242, 1) calc(50% + 0.81px),
|
|
46
|
-
rgba(237, 240, 242, 1) 100%
|
|
47
|
-
);
|
|
67
|
+
&:hover,
|
|
68
|
+
&:focus,
|
|
69
|
+
&:active {
|
|
70
|
+
border-left-color: var(--ilo-color-blue);
|
|
71
|
+
border-left-width: px-to-rem(3px);
|
|
72
|
+
padding-left: calc(#{spacing(4)} - #{px-to-rem(1px)});
|
|
73
|
+
background-color: var(--ilo-dropdown-background-color-active);
|
|
74
|
+
--ilo-dropdown-color: var(--ilo-color-gray-charcoal);
|
|
75
|
+
}
|
|
48
76
|
|
|
49
77
|
option {
|
|
50
|
-
width:
|
|
78
|
+
width: 100%;
|
|
51
79
|
text-overflow: ellipsis;
|
|
52
80
|
overflow: hidden;
|
|
53
81
|
}
|
|
54
|
-
|
|
55
|
-
&:hover {
|
|
56
|
-
background-color: map-get(
|
|
57
|
-
$color,
|
|
58
|
-
"formelements",
|
|
59
|
-
"input",
|
|
60
|
-
"hover",
|
|
61
|
-
"background"
|
|
62
|
-
);
|
|
63
|
-
@include bordervalues("input", "formelements", "hover");
|
|
64
|
-
border-left-width: 2px;
|
|
65
|
-
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-hover)}"),
|
|
66
|
-
linear-gradient(
|
|
67
|
-
to right,
|
|
68
|
-
transparent 0%,
|
|
69
|
-
transparent calc(50% - 0.81px),
|
|
70
|
-
$color-formelements-input-default-border-left calc(50% - 0.8px),
|
|
71
|
-
$color-formelements-input-default-border-left calc(50% + 0.8px),
|
|
72
|
-
transparent calc(50% + 0.81px),
|
|
73
|
-
transparent 100%
|
|
74
|
-
);
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:focus {
|
|
79
|
-
background-color: map-get(
|
|
80
|
-
$color,
|
|
81
|
-
"formelements",
|
|
82
|
-
"input",
|
|
83
|
-
"focus",
|
|
84
|
-
"background"
|
|
85
|
-
);
|
|
86
|
-
@include bordervalues("input", "formelements", "focus");
|
|
87
|
-
border-left-width: 2px;
|
|
88
|
-
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-hover)}"),
|
|
89
|
-
linear-gradient(
|
|
90
|
-
to right,
|
|
91
|
-
transparent 0%,
|
|
92
|
-
transparent calc(50% - 0.81px),
|
|
93
|
-
$color-formelements-input-default-border-left calc(50% - 0.8px),
|
|
94
|
-
$color-formelements-input-default-border-left calc(50% + 0.8px),
|
|
95
|
-
transparent calc(50% + 0.81px),
|
|
96
|
-
transparent 100%
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&:active {
|
|
101
|
-
background-position:
|
|
102
|
-
calc(100% - 14px) center,
|
|
103
|
-
100% center;
|
|
104
|
-
background-repeat: no-repeat;
|
|
105
|
-
background-size:
|
|
106
|
-
24px 24px,
|
|
107
|
-
102px 100%;
|
|
108
|
-
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}"),
|
|
109
|
-
linear-gradient(
|
|
110
|
-
to right,
|
|
111
|
-
transparent 0%,
|
|
112
|
-
transparent calc(50% - 0.81px),
|
|
113
|
-
$color-formelements-input-default-border-left calc(50% - 0.8px),
|
|
114
|
-
$color-formelements-input-default-border-left calc(50% + 0.8px),
|
|
115
|
-
rgba(237, 240, 242, 1) calc(50% + 0.81px),
|
|
116
|
-
rgba(237, 240, 242, 1) 100%
|
|
117
|
-
);
|
|
118
|
-
@include bordervalues("input", "formelements");
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:disabled {
|
|
122
|
-
opacity: 0.45;
|
|
123
|
-
pointer-events: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&:invalid,
|
|
127
|
-
&.error,
|
|
128
|
-
.error & {
|
|
129
|
-
background-color: map-get(
|
|
130
|
-
$color,
|
|
131
|
-
"formelements",
|
|
132
|
-
"input",
|
|
133
|
-
"error",
|
|
134
|
-
"background"
|
|
135
|
-
);
|
|
136
|
-
@include bordervalues("input", "formelements", "error");
|
|
137
|
-
}
|
|
138
|
-
[dir="rtl"] & {
|
|
139
|
-
padding: 0 spacing(4) 0 spacing(14);
|
|
140
|
-
background-position:
|
|
141
|
-
calc(0% + 14px) center,
|
|
142
|
-
0% center;
|
|
143
|
-
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}"),
|
|
144
|
-
linear-gradient(
|
|
145
|
-
to left,
|
|
146
|
-
transparent 0%,
|
|
147
|
-
transparent calc(50% - 0.81px),
|
|
148
|
-
$color-formelements-input-default-border-right calc(50% - 0.8px),
|
|
149
|
-
$color-formelements-input-default-border-right calc(50% + 0.8px),
|
|
150
|
-
rgba(237, 240, 242, 1) calc(50% + 0.81px),
|
|
151
|
-
rgba(237, 240, 242, 1) 100%
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
82
|
}
|
|
@@ -56,6 +56,16 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
#{$self}--skeleton--title {
|
|
60
|
+
@include skeleton-element(20px, 60%);
|
|
61
|
+
margin-bottom: spacing(4);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{$self}--skeleton--list-item {
|
|
65
|
+
@include skeleton-element(16px, 95%);
|
|
66
|
+
display: table-cell;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
#{$self}--title {
|
|
60
70
|
color: $brand-ilo-black;
|
|
61
71
|
font-size: var(--ilo-font-size-xlg);
|
|
@@ -9,12 +9,30 @@
|
|
|
9
9
|
&__type {
|
|
10
10
|
&__feature {
|
|
11
11
|
--max-width: #{px-to-rem(412px)};
|
|
12
|
-
|
|
13
12
|
display: flex;
|
|
14
13
|
flex-flow: column;
|
|
15
14
|
margin-top: 0;
|
|
16
15
|
position: relative;
|
|
17
16
|
|
|
17
|
+
#{$self}--skeleton--image {
|
|
18
|
+
@include skeleton-element(232px, 100%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#{$self}--skeleton--eyebrow {
|
|
22
|
+
@include skeleton-element(12px, 20%);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#{$self}--skeleton--title {
|
|
26
|
+
@include skeleton-element(24px, 80%);
|
|
27
|
+
margin-top: spacing(4);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#{$self}--skeleton--date {
|
|
31
|
+
@include skeleton-element(24px, 60%);
|
|
32
|
+
margin-top: spacing(4);
|
|
33
|
+
margin-bottom: spacing(8);
|
|
34
|
+
}
|
|
35
|
+
|
|
18
36
|
#{$self}--image--wrapper {
|
|
19
37
|
height: 0;
|
|
20
38
|
overflow: hidden;
|
|
@@ -82,6 +100,10 @@
|
|
|
82
100
|
flex-direction: row;
|
|
83
101
|
}
|
|
84
102
|
|
|
103
|
+
#{$self}--skeleton--image {
|
|
104
|
+
width: 50%;
|
|
105
|
+
}
|
|
106
|
+
|
|
85
107
|
#{$self}--content {
|
|
86
108
|
display: flex;
|
|
87
109
|
flex-wrap: wrap;
|
|
@@ -129,7 +151,7 @@
|
|
|
129
151
|
}
|
|
130
152
|
|
|
131
153
|
#{$self}--title {
|
|
132
|
-
@include
|
|
154
|
+
@include typography("heading-3");
|
|
133
155
|
font-family: var(--ilo-fonts-display);
|
|
134
156
|
font-weight: 700;
|
|
135
157
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-flow: row nowrap;
|
|
50
50
|
align-items: center;
|
|
51
|
-
@include
|
|
51
|
+
@include typography("highlight-medium");
|
|
52
52
|
color: var(--ilo-fieldset-legend-color);
|
|
53
53
|
line-height: px-to-rem(20px);
|
|
54
54
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
&--helper,
|
|
105
105
|
&__error {
|
|
106
106
|
font-family: var(--ilo-fonts-copy);
|
|
107
|
-
@include
|
|
107
|
+
@include typography("body-xsmall");
|
|
108
108
|
@include textmargin(
|
|
109
109
|
"margin-top",
|
|
110
110
|
map-get($spacing, "padding-1-5"),
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
font-weight: map-get($type, "weights", "label");
|
|
23
23
|
@include borderradius("button");
|
|
24
24
|
@include boxpadding("button", "medium");
|
|
25
|
-
@include
|
|
25
|
+
@include typography("highlight-medium");
|
|
26
26
|
|
|
27
27
|
.ilo--form__theme__dark & {
|
|
28
28
|
color: map-get($color, "ux", "labels", "actionable");
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
box-sizing: border-box;
|
|
91
91
|
font-family: var(--ilo-fonts-display);
|
|
92
92
|
font-weight: map-get($type, "weights", "section");
|
|
93
|
-
@include
|
|
93
|
+
@include typography("highlight-medium");
|
|
94
94
|
height: px-to-rem(48px);
|
|
95
95
|
outline: none;
|
|
96
96
|
padding: spacing(3) spacing(3) spacing(4);
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../animations";
|
|
4
3
|
@import "../mixins";
|
|
5
4
|
|
|
6
5
|
.ilo--footer {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
border-bottom: px-to-rem(3px) solid $color-base-neutrals-light;
|
|
10
|
-
background-color: $color-base-blue-dark;
|
|
6
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-gray-accessible);
|
|
7
|
+
background-color: var(--ilo-color-blue-dark);
|
|
11
8
|
position: relative;
|
|
12
9
|
width: 100%;
|
|
13
10
|
overflow: hidden;
|
|
@@ -18,7 +15,7 @@
|
|
|
18
15
|
|
|
19
16
|
&:after {
|
|
20
17
|
content: "";
|
|
21
|
-
border-bottom: px-to-rem(6px) solid
|
|
18
|
+
border-bottom: px-to-rem(6px) solid var(--ilo-color-red);
|
|
22
19
|
width: 200vw;
|
|
23
20
|
position: absolute;
|
|
24
21
|
bottom: 0;
|
|
@@ -41,36 +38,22 @@
|
|
|
41
38
|
padding: 0;
|
|
42
39
|
}
|
|
43
40
|
|
|
44
|
-
background-color:
|
|
41
|
+
background-color: var(--ilo-color-gray-light);
|
|
45
42
|
padding: spacing(8) spacing(4) 0;
|
|
46
43
|
min-height: px-to-rem(56px);
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
&--headline {
|
|
50
|
-
color:
|
|
51
|
-
|
|
52
|
-
font-weight: map-get($type, "weights", "label");
|
|
53
|
-
@include font-styles("body-small");
|
|
54
|
-
line-height: px-to-rem(21.6px);
|
|
55
|
-
@include textmargin(
|
|
56
|
-
"margin-bottom",
|
|
57
|
-
10px,
|
|
58
|
-
"body-small",
|
|
59
|
-
"display",
|
|
60
|
-
"body-xxs",
|
|
61
|
-
"display"
|
|
62
|
-
);
|
|
47
|
+
color: var(--ilo-color-white);
|
|
48
|
+
@include typography("highlight-medium-bold");
|
|
63
49
|
margin-top: spacing(5);
|
|
64
50
|
}
|
|
65
51
|
|
|
66
52
|
&--subhead {
|
|
67
|
-
color:
|
|
68
|
-
font-family: var(--ilo-fonts-display);
|
|
69
|
-
font-weight: map-get($type, "weights", "section");
|
|
53
|
+
color: var(--ilo-color-blue-light);
|
|
70
54
|
margin-top: spacing(1);
|
|
71
|
-
@include font-styles("body-xxs");
|
|
72
|
-
line-height: px-to-rem(18.56px);
|
|
73
55
|
margin-bottom: spacing(12);
|
|
56
|
+
@include typography("body-xsmall");
|
|
74
57
|
}
|
|
75
58
|
|
|
76
59
|
.address {
|
|
@@ -78,16 +61,8 @@
|
|
|
78
61
|
}
|
|
79
62
|
|
|
80
63
|
.address--line {
|
|
81
|
-
color:
|
|
82
|
-
@include
|
|
83
|
-
@include textmargin(
|
|
84
|
-
"margin-bottom",
|
|
85
|
-
8px,
|
|
86
|
-
"body-xxs",
|
|
87
|
-
"display",
|
|
88
|
-
"body-xxs",
|
|
89
|
-
"display"
|
|
90
|
-
);
|
|
64
|
+
color: var(--ilo-color-white);
|
|
65
|
+
@include typography("body-xsmall");
|
|
91
66
|
}
|
|
92
67
|
|
|
93
68
|
.connect {
|
|
@@ -100,10 +75,9 @@
|
|
|
100
75
|
|
|
101
76
|
.legal,
|
|
102
77
|
.secondarylinks {
|
|
103
|
-
color:
|
|
78
|
+
color: var(--ilo-color-gray-accessible);
|
|
104
79
|
display: inline;
|
|
105
|
-
|
|
106
|
-
@include font-styles("body-xxs");
|
|
80
|
+
@include typography("body-xsmall");
|
|
107
81
|
}
|
|
108
82
|
|
|
109
83
|
.secondarylinks--list,
|
|
@@ -120,29 +94,25 @@
|
|
|
120
94
|
}
|
|
121
95
|
|
|
122
96
|
.secondarylinks--list--item a {
|
|
123
|
-
color:
|
|
97
|
+
color: var(--ilo-color-gray-accessible);
|
|
124
98
|
@include globaltransition("color, border-color");
|
|
125
99
|
|
|
126
100
|
&:visited {
|
|
127
|
-
color:
|
|
128
|
-
@include globaltransition("color, border-color");
|
|
101
|
+
color: var(--ilo-color-purple);
|
|
129
102
|
}
|
|
130
103
|
|
|
131
104
|
&:hover {
|
|
132
|
-
color:
|
|
133
|
-
@include globaltransition("color, border-color");
|
|
105
|
+
color: var(--ilo-color-blue);
|
|
134
106
|
}
|
|
135
107
|
|
|
136
108
|
&:active {
|
|
137
|
-
color:
|
|
109
|
+
color: var(--ilo-color-blue-dark);
|
|
138
110
|
outline: none;
|
|
139
|
-
@include globaltransition("color, border-color");
|
|
140
111
|
}
|
|
141
112
|
|
|
142
113
|
&:focus {
|
|
143
|
-
color:
|
|
114
|
+
color: var(--ilo-color-blue-dark);
|
|
144
115
|
outline: none;
|
|
145
|
-
@include globaltransition("color, border-color");
|
|
146
116
|
}
|
|
147
117
|
}
|
|
148
118
|
|
|
@@ -150,41 +120,38 @@
|
|
|
150
120
|
// General Styles
|
|
151
121
|
display: flex;
|
|
152
122
|
flex-flow: row nowrap;
|
|
153
|
-
color:
|
|
154
|
-
|
|
155
|
-
@include font-styles("label-medium");
|
|
123
|
+
color: var(--ilo-color-blue-dark);
|
|
124
|
+
@include typography("highlight-medium");
|
|
156
125
|
position: relative;
|
|
157
126
|
text-decoration: none;
|
|
158
127
|
width: max-content;
|
|
159
128
|
|
|
160
129
|
// Mobile styles
|
|
161
130
|
justify-content: center;
|
|
162
|
-
border-bottom:
|
|
131
|
+
border-bottom: px-to-rem(2px) solid var(--ilo-color-gray-light);
|
|
163
132
|
margin: spacing(3) auto 0 auto;
|
|
164
133
|
padding: spacing(4);
|
|
165
134
|
|
|
135
|
+
@include globaltransition("all");
|
|
136
|
+
|
|
166
137
|
&:after {
|
|
167
138
|
background-repeat: no-repeat;
|
|
168
139
|
content: "";
|
|
169
140
|
height: px-to-rem(24px);
|
|
170
141
|
position: relative;
|
|
171
142
|
margin-left: spacing(2);
|
|
172
|
-
bottom: px-to-rem(
|
|
173
|
-
transform: rotateX(180deg);
|
|
174
|
-
transform-origin: center;
|
|
143
|
+
bottom: px-to-rem(2px);
|
|
175
144
|
width: px-to-rem(24px);
|
|
176
|
-
@include
|
|
145
|
+
@include icon("chevron_up", var(--ilo-color-blue-dark));
|
|
177
146
|
}
|
|
178
147
|
|
|
179
148
|
&:hover {
|
|
180
|
-
background:
|
|
181
|
-
border-bottom:
|
|
182
|
-
color:
|
|
183
|
-
cursor: pointer;
|
|
184
|
-
@include globaltransition("color, background-color, border-color");
|
|
149
|
+
background: var(--ilo-color-blue-lighter);
|
|
150
|
+
border-bottom: px-to-rem(2px) solid var(--ilo-color-blue);
|
|
151
|
+
color: var(--ilo-color-blue);
|
|
185
152
|
|
|
186
153
|
&:after {
|
|
187
|
-
@include
|
|
154
|
+
@include icon("chevron_up", var(--ilo-color-blue));
|
|
188
155
|
}
|
|
189
156
|
}
|
|
190
157
|
}
|
|
@@ -233,7 +200,7 @@
|
|
|
233
200
|
}
|
|
234
201
|
|
|
235
202
|
.anchorlink {
|
|
236
|
-
|
|
203
|
+
top: px-to-rem(3px);
|
|
237
204
|
}
|
|
238
205
|
}
|
|
239
206
|
|
|
@@ -266,7 +233,7 @@
|
|
|
266
233
|
align-items: flex-start;
|
|
267
234
|
justify-content: flex-start;
|
|
268
235
|
flex-flow: column;
|
|
269
|
-
top:
|
|
236
|
+
top: spacing(2);
|
|
270
237
|
}
|
|
271
238
|
|
|
272
239
|
.ilo--button {
|
|
@@ -306,12 +273,7 @@
|
|
|
306
273
|
|
|
307
274
|
.anchorlink {
|
|
308
275
|
margin: 0;
|
|
309
|
-
border: none;
|
|
310
276
|
padding: spacing(1);
|
|
311
|
-
|
|
312
|
-
&:hover {
|
|
313
|
-
margin-bottom: -0.1071811361rem;
|
|
314
|
-
}
|
|
315
277
|
}
|
|
316
278
|
}
|
|
317
279
|
|