@ilo-org/styles 0.13.0 → 0.13.2
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/build/css/components/index.css +148 -178
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/index.css +148 -178
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +148 -178
- package/build/css/monorepo.css.map +1 -1
- package/build/minified/index.css +1 -1
- package/build/minified/index.css.map +1 -1
- package/build/minified/monorepo.css +1 -1
- package/build/minified/monorepo.css.map +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/components/link.css +1 -1
- package/css/components/linklist.css +1 -1
- package/css/components/navigation.css +1 -1
- package/css/components/richtext.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/global.css.map +1 -1
- package/css/index.css +2 -2
- package/css/index.css.map +1 -1
- package/css/monorepo.css +2 -2
- package/css/monorepo.css.map +1 -1
- package/package.json +1 -1
- package/scss/_mixins.scss +13 -38
- package/scss/components/_featurecard.scss +1 -2
- package/scss/components/_linklist.scss +1 -2
- package/scss/components/_navigation.scss +6 -1
- package/scss/components/_richtext.scss +6 -0
- package/scss/components/_statcard.scss +1 -0
- package/scss/components/_tableofcontents.scss +1 -0
package/package.json
CHANGED
package/scss/_mixins.scss
CHANGED
|
@@ -214,79 +214,63 @@
|
|
|
214
214
|
|
|
215
215
|
@mixin linkstyles() {
|
|
216
216
|
background: map-get($color, "link", "background", "default");
|
|
217
|
-
border-bottom: $widths-border-sm solid
|
|
218
|
-
map-get($color, "link", "underline", "default");
|
|
219
217
|
color: map-get($color, "link", "text", "default");
|
|
220
218
|
font-size: inherit;
|
|
221
219
|
font-weight: inherit;
|
|
222
220
|
line-height: inherit;
|
|
223
|
-
text-decoration:
|
|
221
|
+
text-decoration: underline;
|
|
222
|
+
text-underline-offset: px-to-rem(6px);
|
|
223
|
+
text-decoration-thickness: px-to-rem(1.5px);
|
|
224
|
+
padding-bottom: spacing(1);
|
|
224
225
|
|
|
225
226
|
&:visited {
|
|
226
227
|
background: map-get($color, "link", "background", "visited");
|
|
227
|
-
border-bottom: $widths-border-sm solid
|
|
228
|
-
map-get($color, "link", "underline", "visited");
|
|
229
228
|
color: map-get($color, "link", "text", "visited");
|
|
230
229
|
}
|
|
231
230
|
|
|
232
231
|
&:hover {
|
|
233
232
|
background: map-get($color, "link", "background", "hover");
|
|
234
|
-
border-bottom: $widths-border-med solid
|
|
235
|
-
map-get($color, "link", "underline", "hover");
|
|
236
233
|
color: map-get($color, "link", "text", "hover");
|
|
237
|
-
text-decoration:
|
|
234
|
+
text-decoration-thickness: 3px;
|
|
238
235
|
}
|
|
239
236
|
|
|
240
237
|
&:active {
|
|
241
238
|
background: map-get($color, "link", "background", "active");
|
|
242
|
-
border-bottom: $widths-border-med solid
|
|
243
|
-
map-get($color, "link", "underline", "active");
|
|
244
239
|
color: map-get($color, "link", "text", "active");
|
|
245
|
-
|
|
240
|
+
text-decoration-thickness: 3px;
|
|
246
241
|
}
|
|
247
242
|
|
|
248
243
|
&:focus {
|
|
249
244
|
background: map-get($color, "link", "background", "focus");
|
|
250
|
-
border-bottom: $widths-border-lg solid
|
|
251
|
-
map-get($color, "link", "underline", "focus");
|
|
252
245
|
color: map-get($color, "link", "text", "focus");
|
|
253
|
-
|
|
246
|
+
text-decoration-thickness: 3px;
|
|
254
247
|
}
|
|
255
248
|
|
|
256
249
|
&--dark {
|
|
257
250
|
background: map-get($color, "link", "background-dark", "default");
|
|
258
|
-
border-bottom: $widths-border-sm solid
|
|
259
|
-
map-get($color, "link", "underline-dark", "default");
|
|
260
251
|
color: map-get($color, "link", "text-dark", "default");
|
|
261
252
|
|
|
262
253
|
&:visited {
|
|
263
254
|
background: map-get($color, "link", "background-dark", "visited");
|
|
264
|
-
border-bottom: $widths-border-sm solid
|
|
265
|
-
map-get($color, "link", "underline-dark", "visited");
|
|
266
255
|
color: map-get($color, "link", "text-dark", "visited");
|
|
267
256
|
}
|
|
268
257
|
|
|
269
258
|
&:hover {
|
|
270
259
|
background: map-get($color, "link", "background-dark", "hover");
|
|
271
|
-
border-bottom: $widths-border-med solid
|
|
272
|
-
map-get($color, "link", "underline-dark", "hover");
|
|
273
260
|
color: map-get($color, "link", "text-dark", "hover");
|
|
261
|
+
text-decoration-thickness: 3px;
|
|
274
262
|
}
|
|
275
263
|
|
|
276
264
|
&:active {
|
|
277
265
|
background: map-get($color, "link", "background-dark", "active");
|
|
278
|
-
border-bottom: $widths-border-med solid
|
|
279
|
-
map-get($color, "link", "underline-dark", "active");
|
|
280
266
|
color: map-get($color, "link", "text-dark", "active");
|
|
281
|
-
|
|
267
|
+
text-decoration-thickness: 3px;
|
|
282
268
|
}
|
|
283
269
|
|
|
284
270
|
&:focus {
|
|
285
271
|
background: map-get($color, "link", "background-dark", "focus");
|
|
286
|
-
border-bottom: $widths-border-lg solid
|
|
287
|
-
map-get($color, "link", "underline-dark", "focus");
|
|
288
272
|
color: map-get($color, "link", "text-dark", "focus");
|
|
289
|
-
|
|
273
|
+
text-decoration-thickness: 3px;
|
|
290
274
|
}
|
|
291
275
|
}
|
|
292
276
|
|
|
@@ -294,38 +278,29 @@
|
|
|
294
278
|
@include font-styles("body-xxs");
|
|
295
279
|
|
|
296
280
|
background: map-get($color, "link", "background-footer", "default");
|
|
297
|
-
border-bottom: $widths-border-xsm solid
|
|
298
|
-
map-get($color, "link", "underline-footer", "default");
|
|
299
281
|
color: map-get($color, "link", "text-footer", "default");
|
|
300
282
|
|
|
301
283
|
&:visited {
|
|
302
284
|
background: map-get($color, "link", "background-footer", "visited");
|
|
303
|
-
border-bottom: $widths-border-xsm solid
|
|
304
|
-
map-get($color, "link", "underline-footer", "visited");
|
|
305
285
|
color: map-get($color, "link", "text-footer", "visited");
|
|
306
286
|
}
|
|
307
287
|
|
|
308
288
|
&:hover {
|
|
309
289
|
background: map-get($color, "link", "background-footer", "hover");
|
|
310
|
-
border-bottom: $widths-border-sm solid
|
|
311
|
-
map-get($color, "link", "underline-footer", "hover");
|
|
312
290
|
color: map-get($color, "link", "text-footer", "hover");
|
|
291
|
+
text-decoration-thickness: 3px;
|
|
313
292
|
}
|
|
314
293
|
|
|
315
294
|
&:active {
|
|
316
295
|
background: map-get($color, "link", "background-footer", "active");
|
|
317
|
-
border-bottom: $widths-border-sm solid
|
|
318
|
-
map-get($color, "link", "underline-footer", "active");
|
|
319
296
|
color: map-get($color, "link", "text-footer", "active");
|
|
320
|
-
|
|
297
|
+
text-decoration-thickness: 3px;
|
|
321
298
|
}
|
|
322
299
|
|
|
323
300
|
&:focus {
|
|
324
301
|
background: map-get($color, "link", "background-footer", "focus");
|
|
325
|
-
border-bottom: $widths-border-med-sm solid
|
|
326
|
-
map-get($color, "link", "underline-footer", "focus");
|
|
327
302
|
color: map-get($color, "link", "text-footer", "focus");
|
|
328
|
-
|
|
303
|
+
text-decoration-thickness: 3px;
|
|
329
304
|
}
|
|
330
305
|
}
|
|
331
306
|
}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
@include font-styles("body-small");
|
|
90
90
|
padding-top: spacing(4);
|
|
91
91
|
padding-bottom: spacing(4);
|
|
92
|
-
padding-
|
|
92
|
+
padding-inline-end: spacing(8);
|
|
93
93
|
text-decoration: none;
|
|
94
94
|
@include dataurlicon("arrowright", $color-link-text-default);
|
|
95
95
|
@include globaltransition("color, background-color, border-color");
|
|
@@ -119,7 +119,6 @@
|
|
|
119
119
|
[dir="rtl"] & {
|
|
120
120
|
background-position: px-to-rem(4px) center;
|
|
121
121
|
@include dataurlicon("arrowleft", $color-link-text-default);
|
|
122
|
-
padding-right: 0;
|
|
123
122
|
|
|
124
123
|
&:hover,
|
|
125
124
|
&:focus {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
&--utility-bar {
|
|
120
120
|
display: none;
|
|
121
|
-
|
|
121
|
+
min-height: px-to-rem(24px);
|
|
122
122
|
&--local {
|
|
123
123
|
background: $brand-ilo-blue;
|
|
124
124
|
display: flex;
|
|
@@ -619,6 +619,11 @@
|
|
|
619
619
|
position: relative;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
+
&--empty {
|
|
623
|
+
height: px-to-rem(26);
|
|
624
|
+
width: px-to-rem(100);
|
|
625
|
+
}
|
|
626
|
+
|
|
622
627
|
&--button {
|
|
623
628
|
@include font-styles("image-credit");
|
|
624
629
|
@include dataurlicon("global", $brand-ilo-white);
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
p + figure,
|
|
23
23
|
p + img,
|
|
24
24
|
p + blockquote,
|
|
25
|
+
p + iframe,
|
|
25
26
|
ul + img,
|
|
26
27
|
ol + img,
|
|
27
28
|
dl + img,
|
|
@@ -40,6 +41,10 @@
|
|
|
40
41
|
);
|
|
41
42
|
}
|
|
42
43
|
|
|
44
|
+
iframe {
|
|
45
|
+
margin-bottom: spacing(14);
|
|
46
|
+
}
|
|
47
|
+
|
|
43
48
|
figure {
|
|
44
49
|
width: 100%;
|
|
45
50
|
margin-bottom: spacing(14);
|
|
@@ -335,6 +340,7 @@
|
|
|
335
340
|
p + figure,
|
|
336
341
|
p + img,
|
|
337
342
|
p + blockquote,
|
|
343
|
+
p + iframe,
|
|
338
344
|
ul + img,
|
|
339
345
|
ol + img,
|
|
340
346
|
dl + img,
|