@ilo-org/styles 1.2.2 → 1.3.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 +0 -0
- 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/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/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/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/logo.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/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/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 +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 +5 -5
- package/scss/_mixins.scss +7 -10
- package/scss/_normalize.scss +5 -0
- package/scss/_reset.scss +6 -0
- package/scss/_typography.scss +0 -29
- package/scss/_typographymonorepo.scss +0 -29
- package/scss/components/_accordion.scss +3 -3
- package/scss/components/_blockquote.scss +112 -0
- package/scss/components/_breadcrumb.scss +35 -17
- package/scss/components/_button.scss +4 -2
- package/scss/components/_callout.scss +7 -7
- package/scss/components/_checkbox.scss +2 -1
- package/scss/components/_contextmenu.scss +18 -24
- package/scss/components/_credit.scss +2 -5
- package/scss/components/_datepicker.scss +1 -0
- package/scss/components/_detailcard.scss +16 -8
- package/scss/components/_dropdown.scss +20 -10
- package/scss/components/_featurecard.scss +4 -4
- package/scss/components/_fieldset.scss +5 -1
- package/scss/components/_footer.scss +2 -68
- package/scss/components/_formcontrol.scss +3 -3
- package/scss/components/_image.scss +4 -4
- package/scss/components/_linklist.scss +10 -13
- package/scss/components/_navigation.scss +30 -26
- package/scss/components/_notification.scss +16 -8
- package/scss/components/_pagination.scss +12 -12
- package/scss/components/_profile.scss +11 -8
- package/scss/components/_readmore.scss +2 -2
- package/scss/components/_richtext.scss +126 -311
- package/scss/components/_socialmedia.scss +30 -25
- package/scss/components/_table.scss +4 -3
- package/scss/components/_tableofcontents.scss +3 -3
- package/scss/components/_tooltip.scss +10 -4
- package/scss/components/_video.scss +11 -11
- package/scss/theme/_foundation.scss +40 -7
|
@@ -28,10 +28,14 @@
|
|
|
28
28
|
white-space: nowrap;
|
|
29
29
|
width: calc(100% - 78px);
|
|
30
30
|
|
|
31
|
-
background-position:
|
|
31
|
+
background-position:
|
|
32
|
+
calc(100% - 14px) center,
|
|
33
|
+
100% center;
|
|
32
34
|
background-repeat: no-repeat;
|
|
33
|
-
background-size:
|
|
34
|
-
|
|
35
|
+
background-size:
|
|
36
|
+
24px 24px,
|
|
37
|
+
102px 100%;
|
|
38
|
+
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}"),
|
|
35
39
|
linear-gradient(
|
|
36
40
|
to right,
|
|
37
41
|
transparent 0%,
|
|
@@ -58,7 +62,7 @@
|
|
|
58
62
|
);
|
|
59
63
|
@include bordervalues("input", "formelements", "hover");
|
|
60
64
|
border-left-width: 2px;
|
|
61
|
-
background-image: url("#{colortodataurlicon('
|
|
65
|
+
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-hover)}"),
|
|
62
66
|
linear-gradient(
|
|
63
67
|
to right,
|
|
64
68
|
transparent 0%,
|
|
@@ -81,7 +85,7 @@
|
|
|
81
85
|
);
|
|
82
86
|
@include bordervalues("input", "formelements", "focus");
|
|
83
87
|
border-left-width: 2px;
|
|
84
|
-
background-image: url("#{colortodataurlicon('
|
|
88
|
+
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-hover)}"),
|
|
85
89
|
linear-gradient(
|
|
86
90
|
to right,
|
|
87
91
|
transparent 0%,
|
|
@@ -94,10 +98,14 @@
|
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
&:active {
|
|
97
|
-
background-position:
|
|
101
|
+
background-position:
|
|
102
|
+
calc(100% - 14px) center,
|
|
103
|
+
100% center;
|
|
98
104
|
background-repeat: no-repeat;
|
|
99
|
-
background-size:
|
|
100
|
-
|
|
105
|
+
background-size:
|
|
106
|
+
24px 24px,
|
|
107
|
+
102px 100%;
|
|
108
|
+
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}"),
|
|
101
109
|
linear-gradient(
|
|
102
110
|
to right,
|
|
103
111
|
transparent 0%,
|
|
@@ -129,8 +137,10 @@
|
|
|
129
137
|
}
|
|
130
138
|
[dir="rtl"] & {
|
|
131
139
|
padding: 0 spacing(4) 0 spacing(14);
|
|
132
|
-
background-position:
|
|
133
|
-
|
|
140
|
+
background-position:
|
|
141
|
+
calc(0% + 14px) center,
|
|
142
|
+
0% center;
|
|
143
|
+
background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}"),
|
|
134
144
|
linear-gradient(
|
|
135
145
|
to left,
|
|
136
146
|
transparent 0%,
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
&--link {
|
|
25
25
|
color: $brand-ilo-white;
|
|
26
|
-
@include dataurlicon("
|
|
26
|
+
@include dataurlicon("chevron_right", $brand-ilo-white);
|
|
27
27
|
|
|
28
28
|
[dir="rtl"] & {
|
|
29
|
-
@include dataurlicon("
|
|
29
|
+
@include dataurlicon("chevron_left", $brand-ilo-white);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
.ilo--link-list {
|
|
38
38
|
&--link {
|
|
39
39
|
color: $brand-ilo-blue;
|
|
40
|
-
@include dataurlicon("
|
|
40
|
+
@include dataurlicon("chevron_right", $brand-ilo-blue);
|
|
41
41
|
|
|
42
42
|
[dir="rtl"] & {
|
|
43
|
-
@include dataurlicon("
|
|
43
|
+
@include dataurlicon("chevron_left", $brand-ilo-blue);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -22,14 +22,18 @@
|
|
|
22
22
|
@include textmargin("margin-bottom", $gap, "label-medium", "display", 0, 0);
|
|
23
23
|
|
|
24
24
|
.ilo--tooltip--wrapper {
|
|
25
|
-
top:
|
|
25
|
+
top: px-to-rem(-1px);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&--legend {
|
|
30
30
|
font-family: var(--ilo-fonts-display);
|
|
31
31
|
font-weight: map-get($type, "weights", "label");
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-flow: row nowrap;
|
|
34
|
+
align-items: center;
|
|
32
35
|
@include font-styles("label-medium");
|
|
36
|
+
line-height: px-to-rem(20px);
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
&--direction__column {
|
|
@@ -3,62 +3,6 @@
|
|
|
3
3
|
@import "../animations";
|
|
4
4
|
@import "../mixins";
|
|
5
5
|
|
|
6
|
-
// Properties common to the footer triangle whever they appear
|
|
7
|
-
@mixin footer-triangle-props {
|
|
8
|
-
background-size: contain;
|
|
9
|
-
background-repeat: no-repeat;
|
|
10
|
-
content: "";
|
|
11
|
-
height: 100%;
|
|
12
|
-
min-width: 409.5px;
|
|
13
|
-
position: absolute;
|
|
14
|
-
width: 28.8%;
|
|
15
|
-
z-index: 0;
|
|
16
|
-
@include dataurlicon("footertriangle", $color-base-blue-medium);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin footer-triangle($position: bottom-right) {
|
|
20
|
-
// The triangle is placed as an after element on
|
|
21
|
-
// the main footer element on desktop and as a before
|
|
22
|
-
// element on mobile
|
|
23
|
-
@if ($position == top-right) {
|
|
24
|
-
&:after {
|
|
25
|
-
@include footer-triangle-props;
|
|
26
|
-
background-position: right top;
|
|
27
|
-
bottom: auto;
|
|
28
|
-
top: 0;
|
|
29
|
-
right: 0;
|
|
30
|
-
transform: scaleY(1);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@if ($position == bottom-right) {
|
|
35
|
-
&:before {
|
|
36
|
-
@include footer-triangle-props;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
right: 0;
|
|
39
|
-
transform: scaleY(-1);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@if ($position == top-left) {
|
|
44
|
-
&:after {
|
|
45
|
-
@include footer-triangle-props;
|
|
46
|
-
top: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
transform: scaleY(1) scaleX(-1);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@if ($position == bottom-left) {
|
|
53
|
-
&:before {
|
|
54
|
-
@include footer-triangle-props;
|
|
55
|
-
bottom: 0;
|
|
56
|
-
left: 0;
|
|
57
|
-
transform: scaleY(-1) scaleX(-1);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
6
|
.ilo--footer {
|
|
63
7
|
$c: &;
|
|
64
8
|
|
|
@@ -72,8 +16,6 @@
|
|
|
72
16
|
padding: spacing(10) spacing(8) spacing(12);
|
|
73
17
|
position: relative;
|
|
74
18
|
|
|
75
|
-
@include footer-triangle(bottom-right);
|
|
76
|
-
|
|
77
19
|
&:after {
|
|
78
20
|
content: "";
|
|
79
21
|
border-bottom: px-to-rem(6px) solid $color-base-red-medium;
|
|
@@ -231,7 +173,7 @@
|
|
|
231
173
|
transform: rotateX(180deg);
|
|
232
174
|
transform-origin: center;
|
|
233
175
|
width: px-to-rem(24px);
|
|
234
|
-
@include dataurlicon("
|
|
176
|
+
@include dataurlicon("chevron_down", $color-ux-labels-actionable);
|
|
235
177
|
}
|
|
236
178
|
|
|
237
179
|
&:hover {
|
|
@@ -242,7 +184,7 @@
|
|
|
242
184
|
@include globaltransition("color, background-color, border-color");
|
|
243
185
|
|
|
244
186
|
&:after {
|
|
245
|
-
@include dataurlicon("
|
|
187
|
+
@include dataurlicon("chevron_down", $color-ux-labels-hover);
|
|
246
188
|
}
|
|
247
189
|
}
|
|
248
190
|
}
|
|
@@ -296,8 +238,6 @@
|
|
|
296
238
|
}
|
|
297
239
|
|
|
298
240
|
@include breakpoint("lg") {
|
|
299
|
-
@include footer-triangle(top-right);
|
|
300
|
-
|
|
301
241
|
&--main {
|
|
302
242
|
display: grid;
|
|
303
243
|
grid-template-columns: 0.25fr 0.33fr 0.09fr 0.33fr;
|
|
@@ -377,10 +317,6 @@
|
|
|
377
317
|
|
|
378
318
|
/* RTL Styles */
|
|
379
319
|
&[dir="rtl"] & {
|
|
380
|
-
&--main {
|
|
381
|
-
@include footer-triangle(bottom-left);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
320
|
.secondarylinks--list--item {
|
|
385
321
|
&:before {
|
|
386
322
|
content: none;
|
|
@@ -403,8 +339,6 @@
|
|
|
403
339
|
}
|
|
404
340
|
|
|
405
341
|
@include breakpoint("lg") {
|
|
406
|
-
@include footer-triangle(top-left);
|
|
407
|
-
|
|
408
342
|
&--main {
|
|
409
343
|
grid-template-columns: 0.33fr 0.09fr 0.33fr 0.25fr;
|
|
410
344
|
grid-template-areas:
|
|
@@ -169,10 +169,10 @@
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
div[class*="tooltip"] {
|
|
172
|
-
margin-left: spacing
|
|
172
|
+
margin-left: calc(1 * var(--ilo-spacing-base));
|
|
173
173
|
|
|
174
174
|
[dir="rtl"] & {
|
|
175
|
-
margin-right: spacing
|
|
175
|
+
margin-right: calc(1 * var(--ilo-spacing-base));
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
}
|
|
@@ -185,6 +185,6 @@
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.ilo--tooltip--wrapper {
|
|
188
|
-
bottom:
|
|
188
|
+
bottom: px-to-rem(1);
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&--caption {
|
|
24
|
-
border-left:
|
|
25
|
-
color:
|
|
26
|
-
font-weight:
|
|
24
|
+
border-left: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
25
|
+
color: var(--ilo-color-gray-accessible);
|
|
26
|
+
font-weight: var(--ilo-font-weight-regular);
|
|
27
27
|
margin-top: spacing(4);
|
|
28
28
|
padding-left: spacing(2);
|
|
29
29
|
@include font-styles("image-caption");
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
[dir="rtl"] & {
|
|
43
43
|
.ilo--image--caption {
|
|
44
44
|
border-left: none;
|
|
45
|
-
border-right:
|
|
45
|
+
border-right: var(--ilo-border-lg) solid var(--ilo-color-borders-default);
|
|
46
46
|
padding-left: 0;
|
|
47
47
|
padding-right: spacing(2);
|
|
48
48
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
.ilo--link-list--label {
|
|
36
36
|
display: block;
|
|
37
|
-
padding-left: spacing(
|
|
37
|
+
padding-left: spacing(8);
|
|
38
38
|
position: relative;
|
|
39
39
|
|
|
40
40
|
&:before {
|
|
@@ -43,17 +43,14 @@
|
|
|
43
43
|
background-size: contain;
|
|
44
44
|
content: "";
|
|
45
45
|
display: block;
|
|
46
|
-
height: px-to-rem(
|
|
46
|
+
height: px-to-rem(24px);
|
|
47
|
+
width: px-to-rem(24px);
|
|
47
48
|
left: 0;
|
|
48
49
|
position: absolute;
|
|
49
50
|
top: 50%;
|
|
50
51
|
transform: translateY(-50%) rotate(-90deg);
|
|
51
52
|
transform-origin: center;
|
|
52
|
-
|
|
53
|
-
@include dataurlicon(
|
|
54
|
-
"equilateraltriangle",
|
|
55
|
-
$color-base-neutrals-light
|
|
56
|
-
);
|
|
53
|
+
@include dataurlicon("chevrondown", $color-base-neutrals-light);
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
[dir="rtl"] & {
|
|
@@ -71,7 +68,7 @@
|
|
|
71
68
|
&:hover,
|
|
72
69
|
&:focus {
|
|
73
70
|
.ilo--link-list--label:before {
|
|
74
|
-
@include dataurlicon("
|
|
71
|
+
@include dataurlicon("chevrondown", $color-link-text-hover);
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
}
|
|
@@ -91,7 +88,7 @@
|
|
|
91
88
|
padding-bottom: spacing(4);
|
|
92
89
|
padding-inline-end: spacing(8);
|
|
93
90
|
text-decoration: none;
|
|
94
|
-
@include dataurlicon("
|
|
91
|
+
@include dataurlicon("chevron_right", $color-link-text-default);
|
|
95
92
|
@include globaltransition("color, background-color, border-color");
|
|
96
93
|
|
|
97
94
|
&:visited {
|
|
@@ -112,7 +109,7 @@
|
|
|
112
109
|
background-color: $color-base-blue-light;
|
|
113
110
|
color: map-get($color, "link", "text", "hover");
|
|
114
111
|
outline: none;
|
|
115
|
-
@include dataurlicon("
|
|
112
|
+
@include dataurlicon("chevron_right", $color-link-text-hover);
|
|
116
113
|
@include globaltransition("color, background-color, border-color");
|
|
117
114
|
}
|
|
118
115
|
|
|
@@ -135,13 +132,13 @@
|
|
|
135
132
|
|
|
136
133
|
.ilo--link-list--label {
|
|
137
134
|
&:before {
|
|
138
|
-
@include dataurlicon("
|
|
135
|
+
@include dataurlicon("chevrondown", $color-base-neutrals-white);
|
|
139
136
|
}
|
|
140
137
|
}
|
|
141
138
|
|
|
142
139
|
.ilo--link-list--link {
|
|
143
140
|
border-bottom: px-to-rem($borders-base) solid rgba(237, 240, 242, 0.4);
|
|
144
|
-
@include dataurlicon("
|
|
141
|
+
@include dataurlicon("chevron_right", $color-base-neutrals-white);
|
|
145
142
|
|
|
146
143
|
.ilo--link-list--label {
|
|
147
144
|
color: $color-base-neutrals-white;
|
|
@@ -166,7 +163,7 @@
|
|
|
166
163
|
&:hover,
|
|
167
164
|
&:focus {
|
|
168
165
|
outline: none;
|
|
169
|
-
@include dataurlicon("
|
|
166
|
+
@include dataurlicon("chevron_right", $color-base-blue-medium);
|
|
170
167
|
|
|
171
168
|
.ilo--link-list--label {
|
|
172
169
|
color: $color-base-blue-medium;
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
display: none;
|
|
132
132
|
|
|
133
133
|
&--link {
|
|
134
|
-
@include dataurlicon("
|
|
134
|
+
@include dataurlicon("chevron_left", $brand-ilo-white);
|
|
135
135
|
@include font-styles("language-switcher");
|
|
136
136
|
appearance: none;
|
|
137
137
|
background-color: inherit;
|
|
138
|
-
background-position:
|
|
138
|
+
background-position: px-to-rem(12px) 50%;
|
|
139
139
|
background-repeat: no-repeat;
|
|
140
|
-
background-size: 24px;
|
|
140
|
+
background-size: px-to-rem(24px);
|
|
141
141
|
border: none;
|
|
142
142
|
color: $brand-ilo-white;
|
|
143
143
|
cursor: pointer;
|
|
@@ -154,19 +154,19 @@
|
|
|
154
154
|
|
|
155
155
|
&:focus,
|
|
156
156
|
&:hover {
|
|
157
|
-
@include dataurlicon("
|
|
157
|
+
@include dataurlicon("chevron_left", $brand-ilo-blue);
|
|
158
158
|
background-color: $brand-ilo-light-blue;
|
|
159
159
|
color: $brand-ilo-blue;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
[dir="rtl"] {
|
|
163
|
-
@include dataurlicon("
|
|
163
|
+
@include dataurlicon("chevron_right", $brand-ilo-white);
|
|
164
164
|
background-position: calc(100% - 16px) 50%;
|
|
165
165
|
padding: 16px 36px 16px 16px;
|
|
166
166
|
|
|
167
167
|
&:focus,
|
|
168
168
|
&:hover {
|
|
169
|
-
@include dataurlicon("
|
|
169
|
+
@include dataurlicon("chevron_right", $brand-ilo-blue);
|
|
170
170
|
background-color: $brand-ilo-light-blue;
|
|
171
171
|
color: $brand-ilo-blue;
|
|
172
172
|
}
|
|
@@ -225,7 +225,9 @@
|
|
|
225
225
|
position: absolute;
|
|
226
226
|
top: 0;
|
|
227
227
|
transform: translateX(100%);
|
|
228
|
-
transition:
|
|
228
|
+
transition:
|
|
229
|
+
transform 225ms ease-out,
|
|
230
|
+
visibility 225ms 0ms;
|
|
229
231
|
width: 100%;
|
|
230
232
|
visibility: hidden;
|
|
231
233
|
|
|
@@ -317,7 +319,9 @@
|
|
|
317
319
|
display: block;
|
|
318
320
|
padding: spacing(4) spacing(9) spacing(4) spacing(2);
|
|
319
321
|
text-decoration: none;
|
|
320
|
-
transition:
|
|
322
|
+
transition:
|
|
323
|
+
color 150ms ease-out,
|
|
324
|
+
background 150ms ease-out;
|
|
321
325
|
|
|
322
326
|
&:hover,
|
|
323
327
|
&:focus {
|
|
@@ -342,7 +346,7 @@
|
|
|
342
346
|
}
|
|
343
347
|
|
|
344
348
|
&--trigger {
|
|
345
|
-
@include dataurlicon("
|
|
349
|
+
@include dataurlicon("chevron_right", $brand-ilo-dark-blue);
|
|
346
350
|
@include font-styles("nav-md");
|
|
347
351
|
|
|
348
352
|
appearance: none;
|
|
@@ -365,13 +369,13 @@
|
|
|
365
369
|
|
|
366
370
|
&:focus,
|
|
367
371
|
&:hover {
|
|
368
|
-
@include dataurlicon("
|
|
372
|
+
@include dataurlicon("chevron_right", $brand-ilo-blue);
|
|
369
373
|
background-color: $brand-ilo-light-blue;
|
|
370
374
|
color: $brand-ilo-blue;
|
|
371
375
|
}
|
|
372
376
|
|
|
373
377
|
[dir="rtl"] & {
|
|
374
|
-
@include dataurlicon("
|
|
378
|
+
@include dataurlicon("chevron_left", $brand-ilo-dark-blue);
|
|
375
379
|
background-color: $brand-ilo-white;
|
|
376
380
|
background-position: 16px 55%;
|
|
377
381
|
background-repeat: no-repeat;
|
|
@@ -380,14 +384,14 @@
|
|
|
380
384
|
|
|
381
385
|
&:focus,
|
|
382
386
|
&:hover {
|
|
383
|
-
@include dataurlicon("
|
|
387
|
+
@include dataurlicon("chevron_left", $brand-ilo-blue);
|
|
384
388
|
background-color: $brand-ilo-light-blue;
|
|
385
389
|
color: $brand-ilo-blue;
|
|
386
390
|
}
|
|
387
391
|
}
|
|
388
392
|
|
|
389
393
|
@include breakpoint("lg") {
|
|
390
|
-
@include dataurlicon("
|
|
394
|
+
@include dataurlicon("plus", $brand-ilo-white);
|
|
391
395
|
@include font-styles("nav-bold-b-sm");
|
|
392
396
|
|
|
393
397
|
background-color: $brand-ilo-dark-blue;
|
|
@@ -408,14 +412,14 @@
|
|
|
408
412
|
|
|
409
413
|
&:focus,
|
|
410
414
|
&:hover {
|
|
411
|
-
@include dataurlicon("
|
|
415
|
+
@include dataurlicon("plus", $brand-ilo-blue);
|
|
412
416
|
background-color: $brand-ilo-white;
|
|
413
417
|
border-color: $brand-ilo-white;
|
|
414
418
|
color: $brand-ilo-blue;
|
|
415
419
|
}
|
|
416
420
|
|
|
417
421
|
[dir="rtl"] & {
|
|
418
|
-
@include dataurlicon("
|
|
422
|
+
@include dataurlicon("plus", $brand-ilo-white);
|
|
419
423
|
background-color: $brand-ilo-dark-blue;
|
|
420
424
|
background-repeat: no-repeat;
|
|
421
425
|
background-size: 20px;
|
|
@@ -424,7 +428,7 @@
|
|
|
424
428
|
|
|
425
429
|
&:focus,
|
|
426
430
|
&:hover {
|
|
427
|
-
@include dataurlicon("
|
|
431
|
+
@include dataurlicon("plus", $brand-ilo-blue);
|
|
428
432
|
background-color: $brand-ilo-white;
|
|
429
433
|
color: $brand-ilo-blue;
|
|
430
434
|
}
|
|
@@ -529,14 +533,14 @@
|
|
|
529
533
|
}
|
|
530
534
|
|
|
531
535
|
&--language--switcher--button {
|
|
532
|
-
@include dataurlicon("
|
|
536
|
+
@include dataurlicon("globe", $brand-ilo-dark-blue);
|
|
533
537
|
@include font-styles("nav-md");
|
|
534
538
|
|
|
535
539
|
appearance: none;
|
|
536
540
|
background-color: $brand-ilo-white;
|
|
537
541
|
background-position: calc(100% - 16px) 55%;
|
|
538
542
|
background-repeat: no-repeat;
|
|
539
|
-
background-size:
|
|
543
|
+
background-size: 24px;
|
|
540
544
|
background-position-y: center;
|
|
541
545
|
border: none;
|
|
542
546
|
color: $brand-ilo-dark-blue;
|
|
@@ -552,7 +556,7 @@
|
|
|
552
556
|
|
|
553
557
|
&:focus,
|
|
554
558
|
&:hover {
|
|
555
|
-
@include dataurlicon("
|
|
559
|
+
@include dataurlicon("globe", $brand-ilo-blue);
|
|
556
560
|
background-color: $brand-ilo-light-blue;
|
|
557
561
|
color: $brand-ilo-blue;
|
|
558
562
|
}
|
|
@@ -623,12 +627,12 @@
|
|
|
623
627
|
|
|
624
628
|
&--button {
|
|
625
629
|
@include font-styles("image-credit");
|
|
626
|
-
@include dataurlicon("
|
|
630
|
+
@include dataurlicon("globe", $brand-ilo-white);
|
|
627
631
|
appearance: none;
|
|
628
632
|
background-color: $brand-ilo-dark-blue;
|
|
629
633
|
background-repeat: no-repeat;
|
|
630
|
-
background-position:
|
|
631
|
-
background-size:
|
|
634
|
+
background-position: px-to-rem(12px) center;
|
|
635
|
+
background-size: px-to-rem(24px);
|
|
632
636
|
border: none;
|
|
633
637
|
color: $brand-ilo-white;
|
|
634
638
|
cursor: pointer;
|
|
@@ -640,14 +644,14 @@
|
|
|
640
644
|
|
|
641
645
|
&:hover,
|
|
642
646
|
&:focus {
|
|
643
|
-
@include dataurlicon("
|
|
647
|
+
@include dataurlicon("globe", $brand-ilo-blue);
|
|
644
648
|
background-color: $brand-ilo-light-blue;
|
|
645
649
|
color: $brand-ilo-blue;
|
|
646
650
|
}
|
|
647
651
|
|
|
648
652
|
[dir="rtl"] & {
|
|
649
653
|
padding: spacing(2) spacing(10) spacing(2) 30px;
|
|
650
|
-
background-position: calc(100% -
|
|
654
|
+
background-position: calc(100% - px-to-rem(12px)) center;
|
|
651
655
|
}
|
|
652
656
|
}
|
|
653
657
|
|
|
@@ -798,7 +802,7 @@
|
|
|
798
802
|
padding: spacing(5) spacing(8) spacing(4) spacing(4);
|
|
799
803
|
|
|
800
804
|
&::before {
|
|
801
|
-
@include dataurlicon("
|
|
805
|
+
@include dataurlicon("chevron_right", $brand-ilo-dark-blue);
|
|
802
806
|
background-position: 10% center;
|
|
803
807
|
background-repeat: no-repeat;
|
|
804
808
|
background-size: 24px;
|
|
@@ -821,7 +825,7 @@
|
|
|
821
825
|
|
|
822
826
|
[dir="rtl"] & {
|
|
823
827
|
&::before {
|
|
824
|
-
@include dataurlicon("
|
|
828
|
+
@include dataurlicon("chevron_right", $brand-ilo-blue);
|
|
825
829
|
background-position: 10% center;
|
|
826
830
|
background-repeat: no-repeat;
|
|
827
831
|
background-size: 24px;
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
.ilo--notification {
|
|
7
7
|
background-color: $color-ux-notification-background;
|
|
8
|
-
box-shadow:
|
|
9
|
-
0px
|
|
8
|
+
box-shadow:
|
|
9
|
+
0px 0.8px 1.6px rgba(30, 45, 190, 0.038),
|
|
10
|
+
0px 4px 8px rgba(30, 45, 190, 0.054),
|
|
11
|
+
0px 10px 20px rgba(30, 45, 190, 0.08),
|
|
10
12
|
0px -4px 16px rgba(30, 45, 190, 0.054);
|
|
11
13
|
border-radius: 2px;
|
|
12
14
|
color: $color-ux-notification-text;
|
|
@@ -51,9 +53,9 @@
|
|
|
51
53
|
width: calc(100% - 40px);
|
|
52
54
|
|
|
53
55
|
&:before {
|
|
54
|
-
background-position: center px-to-rem(
|
|
56
|
+
background-position: center px-to-rem(22px);
|
|
55
57
|
background-repeat: no-repeat;
|
|
56
|
-
background-size: px-to-rem(
|
|
58
|
+
background-size: px-to-rem(24px);
|
|
57
59
|
content: "";
|
|
58
60
|
display: block;
|
|
59
61
|
height: 100%;
|
|
@@ -70,22 +72,28 @@
|
|
|
70
72
|
|
|
71
73
|
.icon--error & {
|
|
72
74
|
background-color: $color-ux-notification-type-error;
|
|
73
|
-
@include dataurlicon("
|
|
75
|
+
@include dataurlicon("notification_error", $color-ux-notification-icon);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
.icon--info & {
|
|
77
79
|
background-color: $color-ux-notification-type-info;
|
|
78
|
-
@include dataurlicon("
|
|
80
|
+
@include dataurlicon("notification_info", $color-ux-notification-icon);
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
.icon--success & {
|
|
82
84
|
background-color: $color-ux-notification-type-success;
|
|
83
|
-
@include dataurlicon(
|
|
85
|
+
@include dataurlicon(
|
|
86
|
+
"notification_success",
|
|
87
|
+
$color-ux-notification-icon
|
|
88
|
+
);
|
|
84
89
|
}
|
|
85
90
|
|
|
86
91
|
.icon--warning & {
|
|
87
92
|
background-color: $color-ux-notification-type-warning;
|
|
88
|
-
@include dataurlicon(
|
|
93
|
+
@include dataurlicon(
|
|
94
|
+
"notification_warning",
|
|
95
|
+
$color-ux-notification-icon
|
|
96
|
+
);
|
|
89
97
|
}
|
|
90
98
|
}
|
|
91
99
|
}
|