@ilo-org/styles 1.8.5 → 1.9.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/checkbox.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/detailcard.css +1 -1
- package/css/components/dropdown.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/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/linklist.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/readmore.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/socialmedia.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/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/_mixins.scss +7 -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/_checkbox.scss +63 -25
- package/scss/components/_contextmenu.scss +1 -4
- package/scss/components/_detailcard.scss +18 -1
- package/scss/components/_dropdown.scss +66 -138
- package/scss/components/_featurecard.scss +1 -1
- package/scss/components/_fieldset.scss +2 -2
- package/scss/components/_file-upload.scss +2 -2
- package/scss/components/_footer.scss +5 -5
- 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 +1 -1
- package/scss/components/_linklist.scss +3 -3
- package/scss/components/_multilinkcard.scss +6 -6
- package/scss/components/_navigation.scss +12 -27
- package/scss/components/_notification.scss +3 -3
- package/scss/components/_pagination.scss +1 -1
- package/scss/components/_readmore.scss +1 -1
- package/scss/components/_richtext.scss +15 -63
- package/scss/components/_socialmedia.scss +1 -1
- package/scss/components/_statcard.scss +3 -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/_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/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
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
|
|
133
133
|
&--link {
|
|
134
134
|
@include dataurlicon("chevron_left", $brand-ilo-white);
|
|
135
|
-
@include
|
|
135
|
+
@include typography("body-small");
|
|
136
136
|
appearance: none;
|
|
137
137
|
background-color: inherit;
|
|
138
138
|
background-position: px-to-rem(12px) 50%;
|
|
@@ -141,8 +141,6 @@
|
|
|
141
141
|
border: none;
|
|
142
142
|
color: $brand-ilo-white;
|
|
143
143
|
cursor: pointer;
|
|
144
|
-
font-family: var(--ilo-fonts-display);
|
|
145
|
-
font-weight: 500;
|
|
146
144
|
padding: spacing(4) spacing(4) spacing(4) spacing(9);
|
|
147
145
|
text-decoration: none;
|
|
148
146
|
transition: all 150ms ease-out;
|
|
@@ -252,7 +250,7 @@
|
|
|
252
250
|
}
|
|
253
251
|
|
|
254
252
|
&--logo-tagline {
|
|
255
|
-
@include
|
|
253
|
+
@include typography("highlight-large");
|
|
256
254
|
color: $brand-ilo-white;
|
|
257
255
|
display: none;
|
|
258
256
|
font-family: var(--ilo-fonts-display);
|
|
@@ -265,10 +263,9 @@
|
|
|
265
263
|
}
|
|
266
264
|
|
|
267
265
|
&--small {
|
|
268
|
-
@include
|
|
266
|
+
@include typography("body-xsmall");
|
|
269
267
|
color: $brand-ilo-ramp-blue;
|
|
270
268
|
display: block;
|
|
271
|
-
font-weight: 500;
|
|
272
269
|
}
|
|
273
270
|
}
|
|
274
271
|
}
|
|
@@ -300,9 +297,7 @@
|
|
|
300
297
|
}
|
|
301
298
|
|
|
302
299
|
&--items {
|
|
303
|
-
@include
|
|
304
|
-
font-family: var(--ilo-fonts-display);
|
|
305
|
-
font-weight: 500;
|
|
300
|
+
@include typography("highlight-medium");
|
|
306
301
|
|
|
307
302
|
@include breakpoint("lg") {
|
|
308
303
|
display: flex;
|
|
@@ -347,7 +342,7 @@
|
|
|
347
342
|
|
|
348
343
|
&--trigger {
|
|
349
344
|
@include dataurlicon("chevron_right", $brand-ilo-dark-blue);
|
|
350
|
-
@include
|
|
345
|
+
@include typography("highlight-medium");
|
|
351
346
|
|
|
352
347
|
appearance: none;
|
|
353
348
|
background-color: $brand-ilo-white;
|
|
@@ -359,8 +354,6 @@
|
|
|
359
354
|
color: $brand-ilo-dark-blue;
|
|
360
355
|
cursor: pointer;
|
|
361
356
|
display: block;
|
|
362
|
-
font-family: var(--ilo-fonts-display);
|
|
363
|
-
font-weight: 500;
|
|
364
357
|
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
365
358
|
line-height: 24px;
|
|
366
359
|
text-align: left;
|
|
@@ -392,7 +385,7 @@
|
|
|
392
385
|
|
|
393
386
|
@include breakpoint("lg") {
|
|
394
387
|
@include dataurlicon("plus", $brand-ilo-white);
|
|
395
|
-
@include
|
|
388
|
+
@include typography("highlight-medium-bold");
|
|
396
389
|
|
|
397
390
|
background-color: $brand-ilo-dark-blue;
|
|
398
391
|
background-position: 90% 55%;
|
|
@@ -403,7 +396,6 @@
|
|
|
403
396
|
color: $brand-ilo-white;
|
|
404
397
|
cursor: pointer;
|
|
405
398
|
display: inline-block;
|
|
406
|
-
font-weight: 700;
|
|
407
399
|
margin-left: spacing(5);
|
|
408
400
|
padding: 7px spacing(8) 5px 15px;
|
|
409
401
|
text-align: center;
|
|
@@ -477,10 +469,8 @@
|
|
|
477
469
|
}
|
|
478
470
|
|
|
479
471
|
&--item {
|
|
480
|
-
@include
|
|
472
|
+
@include typography("highlight-medium");
|
|
481
473
|
color: $brand-ilo-white;
|
|
482
|
-
font-family: var(--ilo-fonts-display);
|
|
483
|
-
font-weight: 500;
|
|
484
474
|
}
|
|
485
475
|
|
|
486
476
|
&--link {
|
|
@@ -534,7 +524,7 @@
|
|
|
534
524
|
|
|
535
525
|
&--language--switcher--button {
|
|
536
526
|
@include dataurlicon("globe", $brand-ilo-dark-blue);
|
|
537
|
-
@include
|
|
527
|
+
@include typography("highlight-medium");
|
|
538
528
|
|
|
539
529
|
appearance: none;
|
|
540
530
|
background-color: $brand-ilo-white;
|
|
@@ -547,7 +537,6 @@
|
|
|
547
537
|
cursor: pointer;
|
|
548
538
|
display: block;
|
|
549
539
|
font-family: var(--ilo-fonts-display);
|
|
550
|
-
font-weight: 500;
|
|
551
540
|
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
552
541
|
line-height: 16px;
|
|
553
542
|
text-align: left;
|
|
@@ -626,7 +615,7 @@
|
|
|
626
615
|
}
|
|
627
616
|
|
|
628
617
|
&--button {
|
|
629
|
-
@include
|
|
618
|
+
@include typography("body-xsmall");
|
|
630
619
|
@include dataurlicon("globe", $brand-ilo-white);
|
|
631
620
|
appearance: none;
|
|
632
621
|
background-color: $brand-ilo-dark-blue;
|
|
@@ -740,12 +729,10 @@
|
|
|
740
729
|
}
|
|
741
730
|
|
|
742
731
|
&--link {
|
|
743
|
-
@include
|
|
732
|
+
@include typography("highlight-medium");
|
|
744
733
|
background: $brand-ilo-white;
|
|
745
734
|
color: $brand-ilo-dark-blue;
|
|
746
735
|
display: flex;
|
|
747
|
-
font-family: var(--ilo-fonts-display);
|
|
748
|
-
font-weight: 500;
|
|
749
736
|
padding: 18px spacing(2);
|
|
750
737
|
text-decoration: none;
|
|
751
738
|
transition: all 150ms ease-out;
|
|
@@ -772,13 +759,11 @@
|
|
|
772
759
|
}
|
|
773
760
|
|
|
774
761
|
&--back {
|
|
775
|
-
@include
|
|
762
|
+
@include typography("highlight-medium");
|
|
776
763
|
background-color: $brand-ilo-white;
|
|
777
764
|
border: none;
|
|
778
765
|
color: $brand-ilo-dark-blue;
|
|
779
766
|
cursor: pointer;
|
|
780
|
-
font-family: var(--ilo-fonts-display);
|
|
781
|
-
font-weight: 500;
|
|
782
767
|
padding: spacing(5) spacing(4) spacing(4) spacing(8);
|
|
783
768
|
position: relative;
|
|
784
769
|
transition: all 150ms ease-out;
|
|
@@ -839,7 +824,7 @@
|
|
|
839
824
|
}
|
|
840
825
|
|
|
841
826
|
&--label {
|
|
842
|
-
@include
|
|
827
|
+
@include typography("highlight-large");
|
|
843
828
|
border-bottom: 3px solid $brand-ilo-grey-light;
|
|
844
829
|
color: $brand-ilo-black;
|
|
845
830
|
font-family: var(--ilo-fonts-display);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
&--headline {
|
|
102
102
|
font-weight: 700;
|
|
103
|
-
@include
|
|
103
|
+
@include typography("highlight-medium-bold");
|
|
104
104
|
|
|
105
105
|
margin-bottom: spacing(3);
|
|
106
106
|
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
|
|
114
114
|
&--copy {
|
|
115
115
|
font-weight: 400;
|
|
116
|
-
@include
|
|
116
|
+
@include typography("body-small");
|
|
117
117
|
|
|
118
118
|
@include breakpoint("md") {
|
|
119
119
|
.ilo--notification--inline & {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
color: $color-base-neutrals-medium;
|
|
135
135
|
display: block;
|
|
136
136
|
font-weight: 400;
|
|
137
|
-
@include
|
|
137
|
+
@include typography("body-small");
|
|
138
138
|
|
|
139
139
|
@include breakpoint("md") {
|
|
140
140
|
.ilo--notification--inline & {
|
|
@@ -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
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
color: map-get($color, "socialmedia", $default-theme, "headline", "color");
|
|
38
38
|
font-family: var(--ilo-fonts-display);
|
|
39
39
|
font-weight: map-get($type, "weights", "label");
|
|
40
|
-
@include
|
|
40
|
+
@include typography("highlight-medium-bold");
|
|
41
41
|
@include textmargin("margin-bottom", 28px, "body-small", "display", 0, 0);
|
|
42
42
|
|
|
43
43
|
#{$c}__theme__dark & {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
#{$self}--title {
|
|
55
55
|
color: $brand-ilo-dark-blue;
|
|
56
|
-
@include
|
|
56
|
+
@include typography("heading-2");
|
|
57
57
|
@include textmargin(
|
|
58
58
|
"margin-bottom",
|
|
59
59
|
24px,
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
#{$self}--intro {
|
|
69
69
|
color: $brand-ilo-dark-blue;
|
|
70
70
|
font-family: var(--ilo-fonts-display);
|
|
71
|
-
@include
|
|
71
|
+
@include typography("highlight-medium");
|
|
72
72
|
@include textmargin("margin-bottom", 35px, "nav-md-sm", "copy", 0, 0);
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.ilo--link {
|
|
85
|
-
@include
|
|
85
|
+
@include typography("body-xsmall");
|
|
86
86
|
line-height: px-to-rem(24px);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -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%;
|
|
@@ -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";
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Display Font Families
|
|
3
3
|
--ilo-fonts-display: Overpass, Noto Sans, sans-serif;
|
|
4
|
-
|
|
5
|
-
// Chinese and Japanese system fonts
|
|
4
|
+
--ilo-fonts-display-ar: Vazirmatn, sans-serif;
|
|
6
5
|
--ilo-fonts-display-zh: PingFang SC, Microsoft YaHei, 微软雅黑, sans-serif;
|
|
7
6
|
--ilo-fonts-display-jp: Noto Sans CJK JP, Yu Gothic, Hiragino Sans,
|
|
8
7
|
TakaoPGothic, sans-serif;
|
|
9
8
|
|
|
10
9
|
// Copy font families
|
|
11
10
|
--ilo-fonts-copy: Noto Sans, sans-serif;
|
|
12
|
-
|
|
13
|
-
// Chinese and Japanese system fonts
|
|
11
|
+
--ilo-fonts-copy-ar: Vazirmatn, sans-serif;
|
|
14
12
|
--ilo-fonts-copy-zh: PingFang SC, Microsoft YaHei, 微软雅黑, sans-serif;
|
|
15
13
|
--ilo-fonts-copy-jp: Noto Sans CJK JP, Yu Gothic, Hiragino Sans, TakaoPGothic,
|
|
16
14
|
sans-serif;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes emptygradient{0%{opacity:1}to{opacity:0}}@keyframes spin{to{-moz-transform:rotate(1turn);-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ilo--credit{color:#fff;display:inline-block;font-size:11.94px;height:1.2861736334rem;letter-spacing:-.02em;line-height:16.24px;padding:0;position:relative}.ilo--credit--label{background-color:#2d2d2d;padding:4px 8px 4px 12px}.ilo--credit:after{background-position:100% 0;background-repeat:no-repeat;background-size:contain;content:"";height:1.2861736334rem;left:100%;position:absolute;top:-.2143622722rem;width:1.2861736334rem}@media screen and (max-width:1023px){.ilo--credit{width:75%}.ilo--credit--label{bottom:calc(100% + 1px);display:none;left:0;margin-bottom:.6430868167rem;position:absolute}.ilo--credit--label:after{background-position:0 0;background-size:contain;bottom:-.6430868167rem;height:.6430868167rem;left:.32154rem;width:.6430868167rem}.ilo--credit--label:after,.ilo--credit:before{background-repeat:no-repeat;content:"";position:absolute}.ilo--credit:before{background-color:#2d2d2d;background-position:calc(100% - 4px);background-size:.6430868167rem .6430868167rem;height:1.2861736334rem;left:0;top:0;width:1.5541264737rem}.ilo--credit:after{left:1.5541264737rem;top:0}.ilo--credit:hover .ilo--credit--label{display:inline-block}}[dir=rtl] .ilo--credit:after{background-position:0 0;left:auto;right:100%;transform:scaleX(-1)}@media screen and (max-width:1023px){[dir=rtl] .ilo--credit--label{left:auto;right:0}[dir=rtl] .ilo--credit--label:after{background-position:100% 0;left:auto;right:.32154rem}[dir=rtl] .ilo--credit:before{background-position:4px;left:auto;right:0}[dir=rtl] .ilo--credit:after{left:auto;right:1.5541264737rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ilo--h1,.ilo--h2,.ilo--h3,.ilo--h4,.ilo--h5,.ilo--h6{color:inherit;font-family:var(--ilo-fonts-display);font-weight:700}.ilo--h1--default,.ilo--h2--default,.ilo--h3--default,.ilo--h4--default,.ilo--h5--default,.ilo--h6--default{color:#2d2d2d}.ilo--h1--actionable,.ilo--h2--actionable,.ilo--h3--actionable,.ilo--h4--actionable,.ilo--h5--actionable,.ilo--h6--actionable{color:#960a55}.ilo--h1--light,.ilo--h2--light,.ilo--h3--light,.ilo--h4--light,.ilo--h5--light,.ilo--h6--light{color:#fff}.ilo--h1{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}@media screen and (min-width:610px){.ilo--h1{font-size:56.95px;letter-spacing:-.035em;line-height:65.49px}}.ilo--h2{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}@media screen and (min-width:610px){.ilo--h2{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}}.ilo--h3{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}@media screen and (min-width:610px){.ilo--h3{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}}.ilo--h4{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}@media screen and (min-width:610px){.ilo--h4{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}}.ilo--h5{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h5{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}}.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}}
|