@ilo-org/styles 0.11.3-next.3 → 0.13.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/build/css/components/index.css +574 -820
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/global.css.map +1 -1
- package/build/css/index.css +574 -820
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +574 -820
- 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/accordion.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/credit.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/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/linklist.css +1 -1
- package/css/components/list.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/readmore.css +1 -1
- package/css/components/richtext.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/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/tooltip.css +1 -1
- package/css/components/video.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +2 -8
- package/css/index.css.map +1 -1
- package/css/monorepo.css +2 -8
- package/css/monorepo.css.map +1 -1
- package/package.json +3 -3
- package/scss/_functions.scss +7 -7
- package/scss/_mixins.scss +11 -3
- package/scss/components/_accordion.scss +12 -11
- package/scss/components/_breadcrumb.scss +49 -58
- package/scss/components/_button.scss +27 -27
- package/scss/components/_callout.scss +10 -9
- package/scss/components/_card.scss +4 -15
- package/scss/components/_cardgroup.scss +0 -4
- package/scss/components/_contextmenu.scss +4 -4
- package/scss/components/_credit.scss +1 -1
- package/scss/components/_datacard.scss +5 -5
- package/scss/components/_datepicker.scss +4 -0
- package/scss/components/_detailcard.scss +12 -9
- package/scss/components/_dropdown.scss +16 -5
- package/scss/components/_factlistcard.scss +4 -17
- package/scss/components/_featurecard.scss +11 -7
- package/scss/components/_fieldset.scss +6 -2
- package/scss/components/_file-upload.scss +4 -7
- package/scss/components/_footer.scss +34 -54
- package/scss/components/_form.scss +1 -1
- package/scss/components/_formcontrol.scss +10 -2
- package/scss/components/_hero.scss +64 -138
- package/scss/components/_herocard.scss +2 -6
- package/scss/components/_image.scss +6 -7
- package/scss/components/_input.scss +5 -7
- package/scss/components/_linklist.scss +24 -20
- package/scss/components/_list.scss +15 -20
- package/scss/components/_loading.scss +8 -8
- package/scss/components/_multilinkcard.scss +17 -68
- package/scss/components/_navigation.scss +44 -57
- package/scss/components/_notification.scss +19 -28
- package/scss/components/_pagination.scss +6 -12
- package/scss/components/_profile.scss +3 -3
- package/scss/components/_promocard.scss +24 -72
- package/scss/components/_readmore.scss +7 -6
- package/scss/components/_richtext.scss +32 -38
- package/scss/components/_searchfield.scss +8 -11
- package/scss/components/_socialmedia.scss +6 -22
- package/scss/components/_statcard.scss +5 -5
- package/scss/components/_table.scss +10 -26
- package/scss/components/_tableofcontents.scss +19 -50
- package/scss/components/_tabs.scss +7 -13
- package/scss/components/_tag.scss +3 -8
- package/scss/components/_textarea.scss +8 -14
- package/scss/components/_textcard.scss +11 -10
- package/scss/components/_textinput.scss +5 -14
- package/scss/components/_toggle.scss +2 -6
- package/scss/components/_tooltip.scss +49 -137
- package/scss/components/_video.scss +65 -57
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// Defaults to standard size
|
|
12
12
|
--max-width: #{px-to-rem(536px)};
|
|
13
13
|
|
|
14
|
-
padding:
|
|
14
|
+
padding: spacing(6);
|
|
15
15
|
|
|
16
16
|
#{$self}--image--wrapper {
|
|
17
17
|
display: none;
|
|
@@ -20,50 +20,35 @@
|
|
|
20
20
|
#{$self}--content {
|
|
21
21
|
#{$self}--image--wrapper {
|
|
22
22
|
display: block;
|
|
23
|
+
margin-bottom: spacing(8);
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
@include breakpoint("medium") {
|
|
27
|
-
padding:
|
|
28
|
+
padding: spacing(10);
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
@include breakpoint("large") {
|
|
31
|
-
padding:
|
|
32
|
+
padding: spacing(14) spacing(12);
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
#{$self}--title {
|
|
35
36
|
@include font-styles("headline-5");
|
|
36
|
-
|
|
37
|
-
"margin-bottom",
|
|
38
|
-
24px,
|
|
39
|
-
"headline-5",
|
|
40
|
-
"display",
|
|
41
|
-
0,
|
|
42
|
-
0
|
|
43
|
-
);
|
|
37
|
+
margin-bottom: spacing(8);
|
|
44
38
|
color: $brand-ilo-grey-charcoal;
|
|
45
39
|
|
|
46
40
|
@include breakpoint("medium") {
|
|
47
41
|
@include font-styles("headline-4");
|
|
48
|
-
@include textmargin(
|
|
49
|
-
"margin-bottom",
|
|
50
|
-
24px,
|
|
51
|
-
"headline-4",
|
|
52
|
-
"display",
|
|
53
|
-
0,
|
|
54
|
-
0
|
|
55
|
-
);
|
|
56
42
|
}
|
|
57
43
|
}
|
|
58
44
|
|
|
59
45
|
#{$self}--intro {
|
|
60
46
|
@include font-styles("body-small");
|
|
61
|
-
|
|
47
|
+
margin-bottom: spacing(8);
|
|
62
48
|
color: $brand-ilo-grey-charcoal;
|
|
63
49
|
|
|
64
50
|
@include breakpoint("medium") {
|
|
65
51
|
@include font-styles("base");
|
|
66
|
-
@include textmargin("margin-bottom", 40px, "base", "copy", 0, 0);
|
|
67
52
|
}
|
|
68
53
|
}
|
|
69
54
|
|
|
@@ -71,30 +56,13 @@
|
|
|
71
56
|
&__standard {
|
|
72
57
|
--max-width: #{px-to-rem(536px)};
|
|
73
58
|
|
|
74
|
-
padding:
|
|
75
|
-
|
|
76
|
-
@include breakpoint("medium") {
|
|
77
|
-
padding: px-to-rem(48px) px-to-rem(40px);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@include breakpoint("large") {
|
|
81
|
-
padding: px-to-rem(48px) px-to-rem(40px);
|
|
82
|
-
}
|
|
59
|
+
padding: spacing(12) spacing(10);
|
|
83
60
|
}
|
|
84
61
|
|
|
85
62
|
&__narrow {
|
|
86
63
|
--max-width: #{px-to-rem(375px)};
|
|
87
64
|
|
|
88
|
-
padding:
|
|
89
|
-
|
|
90
|
-
@include breakpoint("medium") {
|
|
91
|
-
padding: px-to-rem(40px) px-to-rem(24px) px-to-rem(48px);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@include breakpoint("large") {
|
|
95
|
-
padding: px-to-rem(40px) px-to-rem(24px) px-to-rem(48px);
|
|
96
|
-
}
|
|
97
|
-
|
|
65
|
+
padding: spacing(10) spacing(6) spacing(12);
|
|
98
66
|
#{$self}--image--wrapper {
|
|
99
67
|
display: none;
|
|
100
68
|
}
|
|
@@ -102,35 +70,21 @@
|
|
|
102
70
|
#{$self}--content {
|
|
103
71
|
#{$self}--image--wrapper {
|
|
104
72
|
display: block;
|
|
105
|
-
margin-bottom:
|
|
73
|
+
margin-bottom: spacing(6);
|
|
106
74
|
}
|
|
107
75
|
}
|
|
108
76
|
|
|
109
77
|
#{$self}--title {
|
|
110
78
|
@include breakpoint("medium") {
|
|
111
79
|
@include font-styles("headline-5");
|
|
112
|
-
|
|
113
|
-
"margin-bottom",
|
|
114
|
-
24px,
|
|
115
|
-
"headline-5",
|
|
116
|
-
"display",
|
|
117
|
-
0,
|
|
118
|
-
0
|
|
119
|
-
);
|
|
80
|
+
margin-bottom: spacing(6);
|
|
120
81
|
}
|
|
121
82
|
}
|
|
122
83
|
|
|
123
84
|
#{$self}--intro {
|
|
124
85
|
@include breakpoint("medium") {
|
|
125
86
|
@include font-styles("body-small");
|
|
126
|
-
|
|
127
|
-
"margin-bottom",
|
|
128
|
-
40px,
|
|
129
|
-
"body-small",
|
|
130
|
-
"copy",
|
|
131
|
-
0,
|
|
132
|
-
0
|
|
133
|
-
);
|
|
87
|
+
margin-bottom: spacing(6);
|
|
134
88
|
}
|
|
135
89
|
}
|
|
136
90
|
}
|
|
@@ -139,28 +93,24 @@
|
|
|
139
93
|
&__fluid {
|
|
140
94
|
--max-width: #{px-to-rem(1104px)};
|
|
141
95
|
|
|
142
|
-
padding:
|
|
96
|
+
padding: spacing(10) spacing(6) spacing(12);
|
|
97
|
+
|
|
98
|
+
#{$self}--title {
|
|
99
|
+
margin-bottom: spacing(3);
|
|
100
|
+
}
|
|
143
101
|
|
|
144
102
|
@include breakpoint("medium") {
|
|
145
|
-
padding:
|
|
103
|
+
padding: spacing(14) spacing(12);
|
|
146
104
|
|
|
147
105
|
&#{$self}__align__right {
|
|
148
106
|
#{$self}--wrap {
|
|
149
107
|
flex-direction: row-reverse;
|
|
150
|
-
|
|
151
|
-
.right-to-left & {
|
|
152
|
-
flex-direction: row;
|
|
153
|
-
}
|
|
154
108
|
}
|
|
155
109
|
}
|
|
156
110
|
|
|
157
111
|
#{$self}--wrap {
|
|
158
112
|
display: flex;
|
|
159
113
|
column-gap: px-to-rem(32px);
|
|
160
|
-
|
|
161
|
-
.right-to-left & {
|
|
162
|
-
flex-direction: row-reverse;
|
|
163
|
-
}
|
|
164
114
|
}
|
|
165
115
|
|
|
166
116
|
#{$self}--image--wrapper {
|
|
@@ -180,7 +130,6 @@
|
|
|
180
130
|
}
|
|
181
131
|
|
|
182
132
|
.ilo--link-list {
|
|
183
|
-
margin-top: px-to-rem(35px);
|
|
184
133
|
position: relative;
|
|
185
134
|
z-index: 3;
|
|
186
135
|
}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
background: $brand-ilo-blue;
|
|
124
124
|
display: flex;
|
|
125
125
|
justify-content: space-between;
|
|
126
|
-
padding: 0
|
|
126
|
+
padding: 0 spacing(5);
|
|
127
127
|
|
|
128
128
|
.ilo--language-switcher {
|
|
129
129
|
display: none;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
cursor: pointer;
|
|
142
142
|
font-family: $fonts-display;
|
|
143
143
|
font-weight: 500;
|
|
144
|
-
padding:
|
|
144
|
+
padding: spacing(4) spacing(4) spacing(4) spacing(9);
|
|
145
145
|
text-decoration: none;
|
|
146
146
|
transition: all 150ms ease-out;
|
|
147
147
|
width: 100%;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
color: $brand-ilo-blue;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
[dir="rtl"] {
|
|
161
161
|
@include dataurlicon("arrowright", $brand-ilo-white);
|
|
162
162
|
background-position: calc(100% - 16px) 50%;
|
|
163
163
|
padding: 16px 36px 16px 16px;
|
|
@@ -195,10 +195,6 @@
|
|
|
195
195
|
&--local {
|
|
196
196
|
justify-content: space-between;
|
|
197
197
|
}
|
|
198
|
-
|
|
199
|
-
.right-to-left & {
|
|
200
|
-
flex-direction: row-reverse;
|
|
201
|
-
}
|
|
202
198
|
}
|
|
203
199
|
}
|
|
204
200
|
|
|
@@ -208,10 +204,6 @@
|
|
|
208
204
|
// padding: 0 16px;
|
|
209
205
|
// width: 100%;
|
|
210
206
|
|
|
211
|
-
.right-to-left & {
|
|
212
|
-
direction: rtl;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
207
|
.ilo--subnav--open & {
|
|
216
208
|
visibility: hidden;
|
|
217
209
|
}
|
|
@@ -219,7 +211,7 @@
|
|
|
219
211
|
@include breakpoint("large") {
|
|
220
212
|
display: flex;
|
|
221
213
|
justify-content: space-between;
|
|
222
|
-
padding: 0
|
|
214
|
+
padding: 0 spacing(5);
|
|
223
215
|
|
|
224
216
|
.ilo--subnav--open & {
|
|
225
217
|
visibility: visible;
|
|
@@ -266,13 +258,9 @@
|
|
|
266
258
|
display: none;
|
|
267
259
|
font-family: $fonts-display;
|
|
268
260
|
font-weight: 700;
|
|
269
|
-
padding:
|
|
261
|
+
padding: spacing(4) 0;
|
|
270
262
|
text-align: right;
|
|
271
263
|
|
|
272
|
-
.right-to-left & {
|
|
273
|
-
text-align: left;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
264
|
@include breakpoint("large") {
|
|
277
265
|
display: block;
|
|
278
266
|
}
|
|
@@ -322,7 +310,7 @@
|
|
|
322
310
|
align-items: center;
|
|
323
311
|
|
|
324
312
|
&:first-of-type {
|
|
325
|
-
margin-left:
|
|
313
|
+
margin-left: -#{spacing(5)};
|
|
326
314
|
}
|
|
327
315
|
}
|
|
328
316
|
}
|
|
@@ -330,7 +318,7 @@
|
|
|
330
318
|
&--link {
|
|
331
319
|
color: $brand-ilo-dark-blue;
|
|
332
320
|
display: block;
|
|
333
|
-
padding:
|
|
321
|
+
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
334
322
|
text-decoration: none;
|
|
335
323
|
transition: color 150ms ease-out, background 150ms ease-out;
|
|
336
324
|
|
|
@@ -345,7 +333,7 @@
|
|
|
345
333
|
background: $brand-ilo-dark-blue;
|
|
346
334
|
color: $brand-ilo-white;
|
|
347
335
|
display: inline-block;
|
|
348
|
-
padding: 21.5px
|
|
336
|
+
padding: 21.5px spacing(6) 20.5px;
|
|
349
337
|
|
|
350
338
|
&:hover,
|
|
351
339
|
&:focus {
|
|
@@ -372,7 +360,7 @@
|
|
|
372
360
|
display: block;
|
|
373
361
|
font-family: $fonts-display;
|
|
374
362
|
font-weight: 500;
|
|
375
|
-
padding:
|
|
363
|
+
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
376
364
|
line-height: 24px;
|
|
377
365
|
text-align: left;
|
|
378
366
|
transition: all 150ms ease-out;
|
|
@@ -385,12 +373,12 @@
|
|
|
385
373
|
color: $brand-ilo-blue;
|
|
386
374
|
}
|
|
387
375
|
|
|
388
|
-
|
|
376
|
+
[dir="rtl"] & {
|
|
389
377
|
@include dataurlicon("arrowleft", $brand-ilo-dark-blue);
|
|
390
378
|
background-color: $brand-ilo-white;
|
|
391
379
|
background-position: 16px 55%;
|
|
392
380
|
background-repeat: no-repeat;
|
|
393
|
-
background-size:
|
|
381
|
+
background-size: 24px;
|
|
394
382
|
text-align: right;
|
|
395
383
|
|
|
396
384
|
&:focus,
|
|
@@ -415,8 +403,8 @@
|
|
|
415
403
|
cursor: pointer;
|
|
416
404
|
display: inline-block;
|
|
417
405
|
font-weight: 700;
|
|
418
|
-
margin-left:
|
|
419
|
-
padding: 7px
|
|
406
|
+
margin-left: spacing(5);
|
|
407
|
+
padding: 7px spacing(8) 5px 15px;
|
|
420
408
|
text-align: center;
|
|
421
409
|
transition: all 150ms ease-out;
|
|
422
410
|
width: auto;
|
|
@@ -429,13 +417,13 @@
|
|
|
429
417
|
color: $brand-ilo-blue;
|
|
430
418
|
}
|
|
431
419
|
|
|
432
|
-
|
|
420
|
+
[dir="rtl"] & {
|
|
433
421
|
@include dataurlicon("add", $brand-ilo-white);
|
|
434
422
|
background-color: $brand-ilo-dark-blue;
|
|
435
|
-
background-position: 90% 55%;
|
|
436
423
|
background-repeat: no-repeat;
|
|
437
424
|
background-size: 20px;
|
|
438
|
-
|
|
425
|
+
background-position: 10% 55%;
|
|
426
|
+
padding: 7px 15px 5px spacing(8);
|
|
439
427
|
|
|
440
428
|
&:focus,
|
|
441
429
|
&:hover {
|
|
@@ -454,9 +442,7 @@
|
|
|
454
442
|
display: flex;
|
|
455
443
|
justify-content: space-between;
|
|
456
444
|
|
|
457
|
-
|
|
458
|
-
direction: rtl;
|
|
459
|
-
|
|
445
|
+
[dir="rtl"] {
|
|
460
446
|
@include breakpoint("large") {
|
|
461
447
|
padding: 0 max((100% - 1260px) / 2, 20px) 0 0;
|
|
462
448
|
}
|
|
@@ -468,7 +454,7 @@
|
|
|
468
454
|
|
|
469
455
|
&--logo-wrapper {
|
|
470
456
|
display: flex;
|
|
471
|
-
padding:
|
|
457
|
+
padding: spacing(4) 0;
|
|
472
458
|
}
|
|
473
459
|
|
|
474
460
|
&--logo {
|
|
@@ -499,7 +485,7 @@
|
|
|
499
485
|
&--link {
|
|
500
486
|
background: inherit;
|
|
501
487
|
color: $brand-ilo-white;
|
|
502
|
-
padding: 0
|
|
488
|
+
padding: 0 spacing(6);
|
|
503
489
|
height: 100%;
|
|
504
490
|
text-decoration: none;
|
|
505
491
|
text-align: center;
|
|
@@ -520,8 +506,8 @@
|
|
|
520
506
|
|
|
521
507
|
.ilo--mobile--nav {
|
|
522
508
|
border-bottom: 3px solid $brand-ilo-grey-light;
|
|
523
|
-
margin-bottom:
|
|
524
|
-
padding-bottom:
|
|
509
|
+
margin-bottom: spacing(4);
|
|
510
|
+
padding-bottom: spacing(4);
|
|
525
511
|
|
|
526
512
|
&--logo {
|
|
527
513
|
align-items: center;
|
|
@@ -533,7 +519,7 @@
|
|
|
533
519
|
background: $brand-ilo-white;
|
|
534
520
|
left: 0;
|
|
535
521
|
height: 100%;
|
|
536
|
-
padding: 0 0
|
|
522
|
+
padding: 0 0 spacing(8);
|
|
537
523
|
position: absolute;
|
|
538
524
|
top: 0;
|
|
539
525
|
transform: translateX(100%);
|
|
@@ -561,7 +547,7 @@
|
|
|
561
547
|
display: block;
|
|
562
548
|
font-family: $fonts-display;
|
|
563
549
|
font-weight: 500;
|
|
564
|
-
padding:
|
|
550
|
+
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
565
551
|
line-height: 16px;
|
|
566
552
|
text-align: left;
|
|
567
553
|
transition: all 150ms ease-out;
|
|
@@ -574,14 +560,14 @@
|
|
|
574
560
|
color: $brand-ilo-blue;
|
|
575
561
|
}
|
|
576
562
|
|
|
577
|
-
|
|
563
|
+
[dir="rtl"] & {
|
|
578
564
|
background-position: 16px 55%;
|
|
579
565
|
text-align: right;
|
|
580
566
|
}
|
|
581
567
|
}
|
|
582
568
|
|
|
583
569
|
&--search {
|
|
584
|
-
padding:
|
|
570
|
+
padding: spacing(8) 0 spacing(6);
|
|
585
571
|
|
|
586
572
|
.ilo--searchfield,
|
|
587
573
|
.ilo--form,
|
|
@@ -606,7 +592,7 @@
|
|
|
606
592
|
padding: 0 max((100% - $layout-max-width) / 2, $layout-padding) 0 0;
|
|
607
593
|
position: relative;
|
|
608
594
|
|
|
609
|
-
|
|
595
|
+
[dir="rtl"] & {
|
|
610
596
|
padding: 0 0 0 max((100% - $layout-max-width) / 2, $layout-padding);
|
|
611
597
|
}
|
|
612
598
|
|
|
@@ -621,10 +607,10 @@
|
|
|
621
607
|
top: 0;
|
|
622
608
|
width: 32px;
|
|
623
609
|
|
|
624
|
-
|
|
610
|
+
[dir="rtl"] & {
|
|
625
611
|
clip-path: polygon(0 0, 0 100%, 100% 0);
|
|
626
612
|
left: auto;
|
|
627
|
-
right: -
|
|
613
|
+
right: -31px;
|
|
628
614
|
}
|
|
629
615
|
}
|
|
630
616
|
|
|
@@ -647,7 +633,7 @@
|
|
|
647
633
|
display: block;
|
|
648
634
|
font-family: $fonts-display;
|
|
649
635
|
font-weight: 500;
|
|
650
|
-
padding:
|
|
636
|
+
padding: spacing(2) 30px spacing(2) spacing(10);
|
|
651
637
|
transition: all 150ms ease-out;
|
|
652
638
|
|
|
653
639
|
&:hover,
|
|
@@ -656,6 +642,11 @@
|
|
|
656
642
|
background-color: $brand-ilo-light-blue;
|
|
657
643
|
color: $brand-ilo-blue;
|
|
658
644
|
}
|
|
645
|
+
|
|
646
|
+
[dir="rtl"] & {
|
|
647
|
+
padding: spacing(2) spacing(10) spacing(2) 30px;
|
|
648
|
+
background-position: calc(100% - 15px) center;
|
|
649
|
+
}
|
|
659
650
|
}
|
|
660
651
|
|
|
661
652
|
.ilo--context-menu {
|
|
@@ -687,7 +678,7 @@
|
|
|
687
678
|
background: $brand-ilo-white;
|
|
688
679
|
height: 100%;
|
|
689
680
|
left: 0;
|
|
690
|
-
padding: 0 0
|
|
681
|
+
padding: 0 0 spacing(8);
|
|
691
682
|
position: absolute;
|
|
692
683
|
top: 0;
|
|
693
684
|
transform: translateX(100%);
|
|
@@ -698,14 +689,10 @@
|
|
|
698
689
|
transform: translateX(0);
|
|
699
690
|
}
|
|
700
691
|
|
|
701
|
-
.right-to-left & {
|
|
702
|
-
direction: rtl;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
692
|
@include breakpoint("large") {
|
|
706
693
|
height: auto;
|
|
707
694
|
left: 0;
|
|
708
|
-
padding:
|
|
695
|
+
padding: spacing(8) 0;
|
|
709
696
|
top: auto;
|
|
710
697
|
transform: translateY(-100%);
|
|
711
698
|
transition: transform 225ms ease-out;
|
|
@@ -755,7 +742,7 @@
|
|
|
755
742
|
display: flex;
|
|
756
743
|
font-family: $fonts-display;
|
|
757
744
|
font-weight: 500;
|
|
758
|
-
padding: 18px
|
|
745
|
+
padding: 18px spacing(2);
|
|
759
746
|
text-decoration: none;
|
|
760
747
|
transition: all 150ms ease-out;
|
|
761
748
|
|
|
@@ -788,7 +775,7 @@
|
|
|
788
775
|
cursor: pointer;
|
|
789
776
|
font-family: $fonts-display;
|
|
790
777
|
font-weight: 500;
|
|
791
|
-
padding:
|
|
778
|
+
padding: spacing(4) spacing(4) spacing(4) spacing(8);
|
|
792
779
|
position: relative;
|
|
793
780
|
transition: all 150ms ease-out;
|
|
794
781
|
|
|
@@ -807,7 +794,7 @@
|
|
|
807
794
|
width: 24px;
|
|
808
795
|
}
|
|
809
796
|
|
|
810
|
-
|
|
797
|
+
[dir="rtl"] & {
|
|
811
798
|
padding: 16px 32px 16px 16px;
|
|
812
799
|
|
|
813
800
|
&::before {
|
|
@@ -832,7 +819,7 @@
|
|
|
832
819
|
background-size: 24px;
|
|
833
820
|
}
|
|
834
821
|
|
|
835
|
-
|
|
822
|
+
[dir="rtl"] & {
|
|
836
823
|
&::before {
|
|
837
824
|
@include dataurlicon("arrowright", $brand-ilo-blue);
|
|
838
825
|
background-position: 10% center;
|
|
@@ -853,8 +840,8 @@
|
|
|
853
840
|
color: $brand-ilo-grey-charcoal;
|
|
854
841
|
font-family: $fonts-display;
|
|
855
842
|
font-weight: 700;
|
|
856
|
-
margin-bottom:
|
|
857
|
-
padding:
|
|
843
|
+
margin-bottom: spacing(4);
|
|
844
|
+
padding: spacing(5) spacing(2);
|
|
858
845
|
width: 100%;
|
|
859
846
|
}
|
|
860
847
|
}
|
|
@@ -877,7 +864,7 @@
|
|
|
877
864
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
878
865
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08));
|
|
879
866
|
left: 0;
|
|
880
|
-
padding:
|
|
867
|
+
padding: spacing(8) 0;
|
|
881
868
|
top: auto;
|
|
882
869
|
transform: translateY(-100%);
|
|
883
870
|
transition: transform 225ms ease-out;
|
|
@@ -896,7 +883,7 @@
|
|
|
896
883
|
.ilo--header--inner {
|
|
897
884
|
align-items: center;
|
|
898
885
|
justify-content: center;
|
|
899
|
-
padding:
|
|
886
|
+
padding: spacing(20) spacing(5);
|
|
900
887
|
}
|
|
901
888
|
|
|
902
889
|
.ilo--form,
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.ilo--notification--content {
|
|
24
|
-
padding:
|
|
25
|
-
px-to-rem($spacing-padding-3);
|
|
24
|
+
padding: spacing(6);
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -30,38 +29,37 @@
|
|
|
30
29
|
max-width: 340px;
|
|
31
30
|
|
|
32
31
|
.ilo--notification--content {
|
|
33
|
-
padding:
|
|
34
|
-
px-to-rem($spacing-padding-3);
|
|
32
|
+
padding: spacing(6);
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
@include breakpoint("medium") {
|
|
38
36
|
max-width: 100%;
|
|
39
|
-
width: 100%;
|
|
40
37
|
|
|
41
38
|
.ilo--notification--content {
|
|
42
|
-
|
|
39
|
+
max-width: 100%;
|
|
43
40
|
display: flex;
|
|
44
|
-
justify-
|
|
45
|
-
|
|
41
|
+
justify-content: space-evenly;
|
|
42
|
+
align-items: center;
|
|
43
|
+
padding: spacing(4) spacing(16) spacing(4) spacing(6);
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
&--content {
|
|
51
|
-
margin-left:
|
|
49
|
+
margin-left: spacing(10);
|
|
52
50
|
position: relative;
|
|
53
51
|
width: calc(100% - 40px);
|
|
54
52
|
|
|
55
53
|
&:before {
|
|
56
|
-
background-position: center
|
|
54
|
+
background-position: center px-to-rem(24px);
|
|
57
55
|
background-repeat: no-repeat;
|
|
58
|
-
background-size: px-to-rem(
|
|
56
|
+
background-size: px-to-rem(16px);
|
|
59
57
|
content: "";
|
|
60
58
|
display: block;
|
|
61
59
|
height: 100%;
|
|
62
60
|
left: -40px;
|
|
63
61
|
position: absolute;
|
|
64
|
-
width: px-to-rem(
|
|
62
|
+
width: px-to-rem(40px);
|
|
65
63
|
top: 0;
|
|
66
64
|
|
|
67
65
|
@include breakpoint("medium") {
|
|
@@ -96,7 +94,7 @@
|
|
|
96
94
|
font-weight: 700;
|
|
97
95
|
@include font-styles("body-small");
|
|
98
96
|
|
|
99
|
-
margin-bottom:
|
|
97
|
+
margin-bottom: spacing(3);
|
|
100
98
|
|
|
101
99
|
@include breakpoint("medium") {
|
|
102
100
|
.ilo--notification--inline & {
|
|
@@ -111,21 +109,14 @@
|
|
|
111
109
|
|
|
112
110
|
@include breakpoint("medium") {
|
|
113
111
|
.ilo--notification--inline & {
|
|
114
|
-
margin-left:
|
|
112
|
+
margin-left: spacing(6);
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
115
|
|
|
118
116
|
&:not(:last-child) {
|
|
119
|
-
margin-bottom: px-to-rem($spacing-padding-3);
|
|
120
|
-
|
|
121
117
|
@include breakpoint("medium") {
|
|
122
118
|
.ilo--notification--inline & {
|
|
123
|
-
|
|
124
|
-
max-width: 24%;
|
|
125
|
-
|
|
126
|
-
@include breakpoint("large") {
|
|
127
|
-
max-width: 40%;
|
|
128
|
-
}
|
|
119
|
+
flex-grow: 1;
|
|
129
120
|
}
|
|
130
121
|
}
|
|
131
122
|
}
|
|
@@ -139,12 +130,12 @@
|
|
|
139
130
|
|
|
140
131
|
@include breakpoint("medium") {
|
|
141
132
|
.ilo--notification--inline & {
|
|
142
|
-
margin-left:
|
|
133
|
+
margin-left: spacing(4);
|
|
143
134
|
}
|
|
144
135
|
}
|
|
145
136
|
|
|
146
137
|
&:not(:last-child) {
|
|
147
|
-
margin-bottom:
|
|
138
|
+
margin-bottom: spacing(5);
|
|
148
139
|
}
|
|
149
140
|
|
|
150
141
|
@include breakpoint("medium") {
|
|
@@ -157,7 +148,7 @@
|
|
|
157
148
|
&--cta {
|
|
158
149
|
@include breakpoint("medium") {
|
|
159
150
|
.ilo--notification--inline & {
|
|
160
|
-
margin-left:
|
|
151
|
+
margin-left: spacing(6);
|
|
161
152
|
}
|
|
162
153
|
}
|
|
163
154
|
}
|
|
@@ -166,13 +157,13 @@
|
|
|
166
157
|
background-color: $color-ux-background-highlight;
|
|
167
158
|
background-position: center;
|
|
168
159
|
background-repeat: no-repeat;
|
|
169
|
-
background-size: px-to-rem(
|
|
160
|
+
background-size: px-to-rem(24px);
|
|
170
161
|
border: none;
|
|
171
|
-
height: px-to-rem(
|
|
162
|
+
height: px-to-rem(40px);
|
|
172
163
|
position: absolute;
|
|
173
164
|
right: 0;
|
|
174
165
|
top: 0;
|
|
175
|
-
width: px-to-rem(
|
|
166
|
+
width: px-to-rem(40px);
|
|
176
167
|
@include dataurlicon("close", $color-ux-labels-actionable);
|
|
177
168
|
|
|
178
169
|
&:hover,
|
|
@@ -5,12 +5,8 @@
|
|
|
5
5
|
.ilo--pagination {
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
|
-
margin-bottom:
|
|
9
|
-
|
|
10
|
-
);
|
|
11
|
-
margin-top: px-to-rem(
|
|
12
|
-
map-get($spacing, "ux", "pagination", "padding", "top")
|
|
13
|
-
);
|
|
8
|
+
margin-bottom: spacing(10);
|
|
9
|
+
margin-top: spacing(10);
|
|
14
10
|
$self: &;
|
|
15
11
|
|
|
16
12
|
&--link {
|
|
@@ -20,12 +16,12 @@
|
|
|
20
16
|
color: map-get($color, "ux", "pagination", "default", "icon");
|
|
21
17
|
display: inline-block;
|
|
22
18
|
font-family: $fonts-display;
|
|
23
|
-
height: px-to-rem(
|
|
19
|
+
height: px-to-rem(40px);
|
|
24
20
|
overflow: hidden;
|
|
25
21
|
position: relative;
|
|
26
22
|
text-align: left;
|
|
27
23
|
text-indent: -999%;
|
|
28
|
-
width: px-to-rem(
|
|
24
|
+
width: px-to-rem(40px);
|
|
29
25
|
@include font-styles("label-medium");
|
|
30
26
|
|
|
31
27
|
&::before {
|
|
@@ -63,8 +59,7 @@
|
|
|
63
59
|
}
|
|
64
60
|
|
|
65
61
|
&--first-page {
|
|
66
|
-
margin: 0
|
|
67
|
-
px-to-rem(map-get($spacing, "ux", "pagination", "padding", "left")) 0 0;
|
|
62
|
+
margin: 0 spacing (2) 0 0;
|
|
68
63
|
&::before {
|
|
69
64
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
70
65
|
|
|
@@ -190,8 +185,7 @@
|
|
|
190
185
|
}
|
|
191
186
|
|
|
192
187
|
&--last-page {
|
|
193
|
-
margin: 0 0 0
|
|
194
|
-
px-to-rem(map-get($spacing, "ux", "pagination", "padding", "right"));
|
|
188
|
+
margin: 0 0 0 spacing(2);
|
|
195
189
|
|
|
196
190
|
&::before {
|
|
197
191
|
@include dataurlicon(
|