@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,18 +1,17 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
3
|
@import "./blockquote";
|
|
4
|
+
@import "./image";
|
|
4
5
|
@import "../mixins";
|
|
5
6
|
|
|
6
7
|
.ilo--richtext {
|
|
7
8
|
--ilo-richtext-color: var(--ilo-color-blue-dark);
|
|
8
|
-
--ilo-richtext-figcaption-color: var(--ilo-color-gray-accessible);
|
|
9
9
|
--ilo-richtext-hr-color: var(--ilo-color-gray-light);
|
|
10
10
|
--ilo-richtext-link-color: var(--ilo-color-purple);
|
|
11
11
|
--ilo-richtext-link-visited-color: var(--ilo-color-purple);
|
|
12
12
|
|
|
13
13
|
&__theme__light {
|
|
14
14
|
--ilo-richtext-color: var(--ilo-color-blue-dark);
|
|
15
|
-
--ilo-richtext-figcaption-color: var(--ilo-color-gray-accessible);
|
|
16
15
|
--ilo-richtext-hr-color: var(--ilo-color-gray-light);
|
|
17
16
|
--ilo-richtext-link-color: var(--ilo-color-purple);
|
|
18
17
|
--ilo-richtext-link-visited-color: var(--ilo-color-purple);
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
|
|
25
24
|
&__theme__dark {
|
|
26
25
|
--ilo-richtext-color: var(--ilo-color-white);
|
|
27
|
-
--ilo-richtext-figcaption-color: var(--ilo-color-gray-light);
|
|
28
26
|
--ilo-richtext-hr-color: var(--ilo-color-gray-light);
|
|
29
27
|
--ilo-richtext-link-color: var(--ilo-color-blue-medium);
|
|
30
28
|
--ilo-richtext-link-visited-color: var(--ilo-color-blue-medium);
|
|
@@ -32,6 +30,8 @@
|
|
|
32
30
|
a {
|
|
33
31
|
@include linkstyles("dark");
|
|
34
32
|
}
|
|
33
|
+
|
|
34
|
+
@include image-caption-dark-styles;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
color: var(--ilo-richtext-color);
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
h3,
|
|
51
51
|
h4,
|
|
52
52
|
h5 {
|
|
53
|
-
font-weight: var(--ilo-font-weight-bold);
|
|
54
53
|
margin-top: spacing(14);
|
|
55
54
|
}
|
|
56
55
|
|
|
@@ -66,36 +65,25 @@
|
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
h1 {
|
|
69
|
-
|
|
70
|
-
line-height: var(--ilo-line-height-sm);
|
|
71
|
-
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
68
|
+
@include typography("heading-1", true);
|
|
72
69
|
}
|
|
73
70
|
|
|
74
71
|
h2 {
|
|
75
|
-
|
|
76
|
-
line-height: var(--ilo-line-height-md);
|
|
77
|
-
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
72
|
+
@include typography("heading-2", true);
|
|
78
73
|
}
|
|
79
74
|
|
|
80
75
|
h3 {
|
|
81
|
-
|
|
82
|
-
line-height: var(--ilo-line-height-lg);
|
|
83
|
-
letter-spacing: var(--ilo-letter-spacing-sm);
|
|
76
|
+
@include typography("heading-3", true);
|
|
84
77
|
}
|
|
85
78
|
|
|
86
79
|
h4,
|
|
87
80
|
h5,
|
|
88
81
|
h6 {
|
|
89
|
-
|
|
90
|
-
line-height: var(--ilo-line-height-xlg);
|
|
91
|
-
letter-spacing: var(--ilo-letter-spacing-sm);
|
|
82
|
+
@include typography("heading-4", true);
|
|
92
83
|
}
|
|
93
84
|
|
|
94
85
|
p {
|
|
95
|
-
|
|
96
|
-
font-size: var(--ilo-font-size-md);
|
|
97
|
-
line-height: var(--ilo-line-height-2xlg);
|
|
98
|
-
letter-spacing: var(--ilo-letter-spacing-md);
|
|
86
|
+
@include typography("body-large", true);
|
|
99
87
|
}
|
|
100
88
|
|
|
101
89
|
// Italic and bold styles
|
|
@@ -109,25 +97,8 @@
|
|
|
109
97
|
font-weight: 700;
|
|
110
98
|
}
|
|
111
99
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
width: 100%;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Figure styles
|
|
118
|
-
figure {
|
|
119
|
-
width: 100%;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Figcaption styles
|
|
123
|
-
figcaption {
|
|
124
|
-
border-left: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
125
|
-
color: var(--ilo-richtext-figcaption-color);
|
|
126
|
-
font-weight: var(--ilo-font-weight-regular);
|
|
127
|
-
margin-top: spacing(4);
|
|
128
|
-
padding-left: spacing(2);
|
|
129
|
-
@include font-styles("image-caption");
|
|
130
|
-
}
|
|
100
|
+
@include image-styles;
|
|
101
|
+
@include image-caption-styles;
|
|
131
102
|
|
|
132
103
|
// Horizontal rule (hr) styles
|
|
133
104
|
hr {
|
|
@@ -192,44 +163,25 @@
|
|
|
192
163
|
}
|
|
193
164
|
|
|
194
165
|
h1 {
|
|
195
|
-
|
|
196
|
-
line-height: var(--ilo-line-height-xsm);
|
|
197
|
-
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
166
|
+
@include typography("heading-1");
|
|
198
167
|
}
|
|
199
168
|
|
|
200
169
|
h2 {
|
|
201
|
-
|
|
170
|
+
@include typography("heading-2");
|
|
202
171
|
}
|
|
203
172
|
|
|
204
173
|
h3 {
|
|
205
|
-
|
|
206
|
-
line-height: var(--ilo-line-height-md);
|
|
207
|
-
letter-spacing: var(--ilo-letter-spacing-xsm);
|
|
174
|
+
@include typography("heading-3");
|
|
208
175
|
}
|
|
209
176
|
|
|
210
177
|
h4,
|
|
211
178
|
h5,
|
|
212
179
|
h6 {
|
|
213
|
-
|
|
214
|
-
line-height: var(--ilo-line-height-lg);
|
|
180
|
+
@include typography("heading-4");
|
|
215
181
|
}
|
|
216
182
|
|
|
217
183
|
p {
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
figure {
|
|
222
|
-
width: 100%;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// RTL (Right-to-left) support
|
|
227
|
-
[dir="rtl"] & {
|
|
228
|
-
figcaption {
|
|
229
|
-
border-left: none;
|
|
230
|
-
border-right: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
231
|
-
padding-left: 0;
|
|
232
|
-
padding-right: spacing(2);
|
|
184
|
+
@include typography("body-large");
|
|
233
185
|
}
|
|
234
186
|
}
|
|
235
187
|
}
|
|
@@ -29,6 +29,25 @@
|
|
|
29
29
|
width: 100%;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
#{$self}--skeleton--image {
|
|
33
|
+
@include skeleton-element(232px, 100%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
#{$self}--skeleton--eyebrow {
|
|
37
|
+
@include skeleton-element(12px, 20%);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#{$self}--skeleton--title {
|
|
41
|
+
@include skeleton-element(24px, 80%);
|
|
42
|
+
margin-top: spacing(4);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#{$self}--skeleton--date {
|
|
46
|
+
@include skeleton-element(24px, 60%);
|
|
47
|
+
margin-top: spacing(4);
|
|
48
|
+
margin-bottom: spacing(8);
|
|
49
|
+
}
|
|
50
|
+
|
|
32
51
|
#{$self}--image--wrapper {
|
|
33
52
|
height: 0;
|
|
34
53
|
overflow: hidden;
|
|
@@ -108,6 +127,10 @@
|
|
|
108
127
|
flex-direction: row;
|
|
109
128
|
}
|
|
110
129
|
|
|
130
|
+
#{$self}--skeleton--image {
|
|
131
|
+
width: 50%;
|
|
132
|
+
}
|
|
133
|
+
|
|
111
134
|
#{$self}--content {
|
|
112
135
|
width: 50%;
|
|
113
136
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../animations";
|
|
4
3
|
@import "../mixins";
|
|
@@ -8,16 +7,16 @@
|
|
|
8
7
|
$default-theme: "light";
|
|
9
8
|
|
|
10
9
|
@mixin get-icon($icon, $theme: $default-theme) {
|
|
11
|
-
@
|
|
12
|
-
$icon,
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
@if $theme == "dark" {
|
|
11
|
+
@include icon($icon, var(--ilo-color-white));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@if $theme == "light" {
|
|
15
|
+
@include icon($icon, var(--ilo-color-gray-accessible));
|
|
16
|
+
}
|
|
15
17
|
|
|
16
18
|
&:hover {
|
|
17
|
-
@include
|
|
18
|
-
$icon,
|
|
19
|
-
map-get($color, "socialmedia", $theme, "iconhover", "color")
|
|
20
|
-
);
|
|
19
|
+
@include icon($icon, var(--ilo-color-blue));
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -34,14 +33,12 @@
|
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
&--headline {
|
|
37
|
-
color:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
@include font-styles("body-small");
|
|
41
|
-
@include textmargin("margin-bottom", 28px, "body-small", "display", 0, 0);
|
|
36
|
+
color: var(--ilo-color-blue-dark);
|
|
37
|
+
@include typography("highlight-medium-bold");
|
|
38
|
+
margin-bottom: spacing(7);
|
|
42
39
|
|
|
43
40
|
#{$c}__theme__dark & {
|
|
44
|
-
color:
|
|
41
|
+
color: var(--ilo-color-white);
|
|
45
42
|
}
|
|
46
43
|
}
|
|
47
44
|
|
|
@@ -67,10 +64,17 @@
|
|
|
67
64
|
overflow: hidden;
|
|
68
65
|
position: relative;
|
|
69
66
|
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#{$c}__theme__dark &:hover {
|
|
72
|
+
background-color: var(--ilo-color-white);
|
|
73
|
+
}
|
|
74
|
+
|
|
70
75
|
&--icon {
|
|
71
76
|
background-position: center;
|
|
72
77
|
background-repeat: no-repeat;
|
|
73
|
-
|
|
74
78
|
text-indent: -999px;
|
|
75
79
|
border-radius: 2px;
|
|
76
80
|
display: inline-block;
|
|
@@ -78,26 +82,6 @@
|
|
|
78
82
|
width: px-to-rem(24px);
|
|
79
83
|
transition: all 0.1s ease-in-out;
|
|
80
84
|
|
|
81
|
-
&:hover {
|
|
82
|
-
background-color: map-get(
|
|
83
|
-
$color,
|
|
84
|
-
"socialmedia",
|
|
85
|
-
$default-theme,
|
|
86
|
-
"iconhover",
|
|
87
|
-
"background"
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
#{$c}__theme__dark &:hover {
|
|
92
|
-
background-color: map-get(
|
|
93
|
-
$color,
|
|
94
|
-
"socialmedia",
|
|
95
|
-
"dark",
|
|
96
|
-
"iconhover",
|
|
97
|
-
"background"
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
85
|
&__facebook {
|
|
102
86
|
@include get-icon("social_facebook");
|
|
103
87
|
|
|
@@ -122,6 +106,22 @@
|
|
|
122
106
|
}
|
|
123
107
|
}
|
|
124
108
|
|
|
109
|
+
&__apple_podcasts {
|
|
110
|
+
@include get-icon("social_apple_podcasts");
|
|
111
|
+
|
|
112
|
+
#{$c}__theme__dark & {
|
|
113
|
+
@include get-icon("social_apple_podcasts", "dark");
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&__spotify {
|
|
118
|
+
@include get-icon("social_spotify");
|
|
119
|
+
|
|
120
|
+
#{$c}__theme__dark & {
|
|
121
|
+
@include get-icon("social_spotify", "dark");
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
125
|
&__youtube {
|
|
126
126
|
@include get-icon("social_youtube");
|
|
127
127
|
|
|
@@ -177,6 +177,14 @@
|
|
|
177
177
|
@include get-icon("social_wechat", "dark");
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
+
|
|
181
|
+
&__rss {
|
|
182
|
+
@include get-icon("social_rss");
|
|
183
|
+
|
|
184
|
+
#{$c}__theme__dark & {
|
|
185
|
+
@include get-icon("social_rss", "dark");
|
|
186
|
+
}
|
|
187
|
+
}
|
|
180
188
|
}
|
|
181
189
|
}
|
|
182
190
|
}
|
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
&#{$self}__loading {
|
|
47
|
+
background-color: var(--ilo-color-gray-base);
|
|
48
|
+
border-bottom-color: var(--ilo-skeleton-element-background-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
46
51
|
#{$self}--content {
|
|
47
52
|
display: flex;
|
|
48
53
|
flex-flow: column;
|
|
@@ -51,9 +56,28 @@
|
|
|
51
56
|
height: 100%;
|
|
52
57
|
}
|
|
53
58
|
|
|
59
|
+
#{$self}--skeleton--title {
|
|
60
|
+
@include skeleton-element(32px, 70%);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
#{$self}--skeleton--intro-1 {
|
|
64
|
+
@include skeleton-element(16px, 90%);
|
|
65
|
+
margin-top: spacing(4);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#{$self}--skeleton--intro-2 {
|
|
69
|
+
@include skeleton-element(16px, 80%);
|
|
70
|
+
margin-top: spacing(2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
#{$self}--skeleton--source {
|
|
74
|
+
@include skeleton-element(10px, 50%);
|
|
75
|
+
margin-top: spacing(8);
|
|
76
|
+
}
|
|
77
|
+
|
|
54
78
|
#{$self}--title {
|
|
55
79
|
color: $brand-ilo-dark-blue;
|
|
56
|
-
@include
|
|
80
|
+
@include typography("heading-2");
|
|
57
81
|
@include textmargin(
|
|
58
82
|
"margin-bottom",
|
|
59
83
|
24px,
|
|
@@ -68,7 +92,7 @@
|
|
|
68
92
|
#{$self}--intro {
|
|
69
93
|
color: $brand-ilo-dark-blue;
|
|
70
94
|
font-family: var(--ilo-fonts-display);
|
|
71
|
-
@include
|
|
95
|
+
@include typography("highlight-medium");
|
|
72
96
|
@include textmargin("margin-bottom", 35px, "nav-md-sm", "copy", 0, 0);
|
|
73
97
|
width: 100%;
|
|
74
98
|
}
|
|
@@ -82,7 +106,7 @@
|
|
|
82
106
|
}
|
|
83
107
|
|
|
84
108
|
.ilo--link {
|
|
85
|
-
@include
|
|
109
|
+
@include typography("body-xsmall");
|
|
86
110
|
line-height: px-to-rem(24px);
|
|
87
111
|
}
|
|
88
112
|
}
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
border-bottom: px-to-rem(2px) solid $color-base-neutrals-lighter;
|
|
46
46
|
font-family: var(--ilo-fonts-display);
|
|
47
47
|
font-weight: 700;
|
|
48
|
-
@include
|
|
49
|
-
letter-spacing: -0.02em;
|
|
48
|
+
@include typography("body-small");
|
|
50
49
|
padding: spacing(4) spacing(2);
|
|
51
50
|
pointer-events: none;
|
|
52
51
|
text-align: left;
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
border-bottom: px-to-rem(2px) solid $color-base-neutrals-lighter;
|
|
113
112
|
font-family: var(--ilo-fonts-copy);
|
|
114
113
|
font-weight: 400;
|
|
115
|
-
@include
|
|
114
|
+
@include typography("body-small");
|
|
116
115
|
outline: 0;
|
|
117
116
|
padding: spacing(4) spacing(2) spacing(5);
|
|
118
117
|
position: relative;
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
font-family: var(--ilo-fonts-display);
|
|
159
158
|
font-weight: 700;
|
|
160
159
|
margin-bottom: spacing(2);
|
|
161
|
-
@include
|
|
160
|
+
@include typography("highlight-large");
|
|
162
161
|
|
|
163
162
|
.ilo--tooltip--wrapper {
|
|
164
163
|
margin-left: spacing(1);
|
|
@@ -169,7 +168,7 @@
|
|
|
169
168
|
color: $color-base-neutrals-medium;
|
|
170
169
|
font-family: var(--ilo-fonts-copy);
|
|
171
170
|
font-weight: 400;
|
|
172
|
-
@include
|
|
171
|
+
@include typography("body-xsmall");
|
|
173
172
|
|
|
174
173
|
a {
|
|
175
174
|
@include linkstyles();
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
.ilo--table-of-contents {
|
|
7
7
|
background-color: $color-ux-tableofcontents-items-default-background;
|
|
8
8
|
display: none;
|
|
9
|
-
min-width: 343px;
|
|
10
9
|
padding: 0;
|
|
11
10
|
|
|
12
11
|
& > * {
|
|
@@ -29,9 +28,7 @@
|
|
|
29
28
|
border-bottom: px-to-rem(3px) solid $color-base-neutrals-lighter;
|
|
30
29
|
margin-bottom: spacing(6);
|
|
31
30
|
margin-top: spacing(2);
|
|
32
|
-
@include
|
|
33
|
-
font-family: var(--ilo-fonts-display);
|
|
34
|
-
font-weight: 700;
|
|
31
|
+
@include typography("heading-3");
|
|
35
32
|
padding-bottom: spacing(4);
|
|
36
33
|
}
|
|
37
34
|
|
|
@@ -117,14 +114,9 @@
|
|
|
117
114
|
}
|
|
118
115
|
}
|
|
119
116
|
|
|
120
|
-
&--list,
|
|
121
|
-
&--list--item {
|
|
122
|
-
width: 100%;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
117
|
&--link {
|
|
126
118
|
background-color: transparent;
|
|
127
|
-
background-position: calc(100% -
|
|
119
|
+
background-position: calc(100% - 16px) center;
|
|
128
120
|
background-repeat: no-repeat;
|
|
129
121
|
background-size: px-to-rem(24px) px-to-rem(24px);
|
|
130
122
|
border-bottom: $color-ux-tableofcontents-items-default-border px-to-rem(2px)
|
|
@@ -133,14 +125,10 @@
|
|
|
133
125
|
display: block;
|
|
134
126
|
font-family: var(--ilo-fonts-display);
|
|
135
127
|
font-weight: 500;
|
|
136
|
-
|
|
137
|
-
padding: spacing(4) spacing(2) spacing(4);
|
|
138
|
-
padding-inline-end: spacing(12);
|
|
139
|
-
position: relative;
|
|
128
|
+
padding: spacing(4) spacing(4) spacing(4);
|
|
140
129
|
text-decoration: none;
|
|
141
|
-
width: calc(100% - 16px);
|
|
142
130
|
@include dataurlicon("arrow_down", $color-ux-labels-actionable);
|
|
143
|
-
@include
|
|
131
|
+
@include typography("highlight-medium");
|
|
144
132
|
@include globaltransition("background-color, border, color");
|
|
145
133
|
|
|
146
134
|
&:hover,
|
|
@@ -148,13 +136,7 @@
|
|
|
148
136
|
background-color: $color-ux-tableofcontents-items-hover-background;
|
|
149
137
|
border-bottom: $color-ux-tableofcontents-items-hover-border px-to-rem(2px)
|
|
150
138
|
solid;
|
|
151
|
-
background-position: calc(100% - 19px) center;
|
|
152
139
|
color: $color-ux-labels-hover;
|
|
153
|
-
margin: 0;
|
|
154
|
-
outline: none;
|
|
155
|
-
padding: spacing(4) spacing(4) spacing(4);
|
|
156
|
-
padding-inline-end: spacing(12);
|
|
157
|
-
width: 100%;
|
|
158
140
|
@include dataurlicon("arrow_down", $color-ux-labels-hover);
|
|
159
141
|
@include globaltransition("background-color, border, color");
|
|
160
142
|
}
|
|
@@ -163,41 +145,17 @@
|
|
|
163
145
|
background-color: $color-ux-tableofcontents-items-active-background;
|
|
164
146
|
border-bottom: $color-ux-tableofcontents-items-active-border
|
|
165
147
|
px-to-rem(2px) solid;
|
|
166
|
-
border-top: $color-ux-tableofcontents-items-default-border px-to-rem(2px)
|
|
167
|
-
solid;
|
|
168
148
|
color: $color-ux-tableofcontents-items-active-color;
|
|
169
|
-
margin: -2px 0 0 0;
|
|
170
|
-
outline: none;
|
|
171
|
-
padding: spacing(4) spacing(4) spacing(4);
|
|
172
|
-
padding-inline-end: spacing(12);
|
|
173
|
-
width: 100%;
|
|
174
149
|
@include dataurlicon(
|
|
175
150
|
"arrow_down",
|
|
176
151
|
$color-ux-tableofcontents-items-active-icon
|
|
177
152
|
);
|
|
178
|
-
z-index: 5;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&--list--item:last-of-type {
|
|
183
|
-
.ilo--table-of-contents--link {
|
|
184
|
-
border-bottom: none;
|
|
185
|
-
|
|
186
|
-
&:hover {
|
|
187
|
-
border-bottom: $color-ux-tableofcontents-items-hover-border
|
|
188
|
-
px-to-rem(2px) solid;
|
|
189
|
-
}
|
|
190
153
|
}
|
|
191
154
|
}
|
|
192
155
|
|
|
193
156
|
[dir="rtl"] & {
|
|
194
157
|
.ilo--table-of-contents--link {
|
|
195
|
-
background-position:
|
|
196
|
-
|
|
197
|
-
&:hover,
|
|
198
|
-
&:focus {
|
|
199
|
-
background-position: 19px center;
|
|
200
|
-
}
|
|
158
|
+
background-position: 16px center;
|
|
201
159
|
}
|
|
202
160
|
|
|
203
161
|
&--modal {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
font-family: var(--ilo-fonts-copy);
|
|
19
19
|
font-weight: map-get($type, "weights", "section");
|
|
20
|
-
@include
|
|
20
|
+
@include typography("highlight-medium");
|
|
21
21
|
height: px-to-rem(48px);
|
|
22
22
|
margin: spacing(0);
|
|
23
23
|
max-width: 100%;
|
|
@@ -50,6 +50,25 @@
|
|
|
50
50
|
border-bottom: px-to-rem(3px) solid var(--ilo-color-red);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
#{$self}--skeleton--eyebrow {
|
|
54
|
+
@include skeleton-element(12px, 20%);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#{$self}--skeleton--title {
|
|
58
|
+
@include skeleton-element(14px, 90%);
|
|
59
|
+
margin-top: spacing(4);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#{$self}--skeleton--date {
|
|
63
|
+
@include skeleton-element(14px, 100%);
|
|
64
|
+
margin-top: spacing(2);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
#{$self}--skeleton--profile {
|
|
68
|
+
@include skeleton-element(14px, 80%);
|
|
69
|
+
margin-top: spacing(2);
|
|
70
|
+
}
|
|
71
|
+
|
|
53
72
|
#{$self}--title {
|
|
54
73
|
@include typography("heading-4");
|
|
55
74
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
font-family: var(--ilo-fonts-copy);
|
|
19
19
|
font-weight: map-get($type, "weights", "section");
|
|
20
|
-
@include
|
|
20
|
+
@include typography("highlight-medium");
|
|
21
21
|
height: px-to-rem(48px);
|
|
22
22
|
margin: spacing(0);
|
|
23
23
|
outline: none;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
|
+
@import "./image";
|
|
3
4
|
@import "../mixins";
|
|
4
5
|
|
|
5
6
|
.ilo--video {
|
|
@@ -17,15 +18,6 @@
|
|
|
17
18
|
width: 100%;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
&--caption {
|
|
21
|
-
border-left: px-to-rem(3px) solid $color-ux-caption-border-left;
|
|
22
|
-
color: $color-font-caption;
|
|
23
|
-
font-weight: 400;
|
|
24
|
-
margin-top: spacing(4);
|
|
25
|
-
padding-left: spacing(2);
|
|
26
|
-
@include font-styles("image-caption");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
21
|
&--element {
|
|
30
22
|
height: auto;
|
|
31
23
|
object-fit: cover;
|
|
@@ -38,6 +30,8 @@
|
|
|
38
30
|
overflow: hidden;
|
|
39
31
|
}
|
|
40
32
|
|
|
33
|
+
@include image-caption-styles;
|
|
34
|
+
|
|
41
35
|
// ? drupal style reset issue
|
|
42
36
|
button {
|
|
43
37
|
padding: 0;
|
|
@@ -240,7 +234,7 @@
|
|
|
240
234
|
position: absolute;
|
|
241
235
|
bottom: calc(300% + 12px);
|
|
242
236
|
width: 70px;
|
|
243
|
-
@include
|
|
237
|
+
@include typography("body-xsmall");
|
|
244
238
|
|
|
245
239
|
&:after {
|
|
246
240
|
background-position: top left;
|
|
@@ -339,12 +333,3 @@
|
|
|
339
333
|
}
|
|
340
334
|
}
|
|
341
335
|
}
|
|
342
|
-
|
|
343
|
-
[dir="rtl"] {
|
|
344
|
-
.ilo--video--caption {
|
|
345
|
-
border-left: none;
|
|
346
|
-
border-right: 3px solid #b8c4cc;
|
|
347
|
-
padding-left: 0;
|
|
348
|
-
padding-right: spacing(2);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
@use "cardgroup";
|
|
17
17
|
@use "checkbox";
|
|
18
18
|
@use "contextmenu";
|
|
19
|
-
@use "credit";
|
|
20
19
|
@use "datepicker";
|
|
21
20
|
@use "dropdown";
|
|
22
21
|
@use "empty";
|
|
@@ -25,7 +24,6 @@
|
|
|
25
24
|
@use "form";
|
|
26
25
|
@use "formcontrol";
|
|
27
26
|
@use "footer";
|
|
28
|
-
@use "heading";
|
|
29
27
|
@use "hero";
|
|
30
28
|
@use "herocard";
|
|
31
29
|
@use "image";
|