@ilo-org/styles 1.3.1 → 1.3.3
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/callout.css +1 -1
- package/css/components/link.css +1 -1
- package/css/components/linklist.css +1 -1
- package/css/components/pagination.css +1 -1
- package/css/components/promocard.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tabs.css +1 -1
- package/css/components/tag.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 +4 -6
- package/scss/_mixins.scss +19 -0
- package/scss/components/_accordion.scss +22 -32
- package/scss/components/_blockquote.scss +2 -4
- package/scss/components/_callout.scss +5 -9
- package/scss/components/_linklist.scss +22 -45
- package/scss/components/_pagination.scss +12 -48
- package/scss/components/_promocard.scss +1 -5
- package/scss/components/_richtext.scss +2 -2
- package/scss/components/_tabs.scss +39 -6
- package/scss/components/_tag.scss +4 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/styles",
|
|
3
3
|
"description": "Styles for products using ILO's Design System",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/international-labour-organization/designsystem.git",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"author": "@justintemps, @johnpauldavis, @avrilpearl, @ghlost",
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
|
+
"@ilo-org/themes": "0.9.1",
|
|
41
42
|
"@ilo-org/fonts": "1.0.0",
|
|
42
|
-
"@ilo-org/icons": "2.0.0"
|
|
43
|
-
"@ilo-org/themes": "0.9.1"
|
|
43
|
+
"@ilo-org/icons": "2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"cssnano": "^7.0.6",
|
|
@@ -54,9 +54,7 @@
|
|
|
54
54
|
"sass": "^1.62.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"build": "gulp",
|
|
58
|
-
"build:lib": "pnpm build",
|
|
59
|
-
"build:docs": "pnpm build",
|
|
57
|
+
"build:lib": "gulp",
|
|
60
58
|
"format": "prettier --check . --ignore-path ../../.prettierignore",
|
|
61
59
|
"format:fix": "prettier --write . --ignore-path ../../.prettierignore",
|
|
62
60
|
"lint": "eslint",
|
package/scss/_mixins.scss
CHANGED
|
@@ -149,6 +149,15 @@
|
|
|
149
149
|
background-repeat: no-repeat;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
@mixin icon($name, $color: black) {
|
|
153
|
+
$icon: map-get($icons, $name);
|
|
154
|
+
mask-image: url("#{$icon}");
|
|
155
|
+
mask-repeat: no-repeat;
|
|
156
|
+
-webkit-mask-image: url("#{$icon}");
|
|
157
|
+
-webkit-mask-repeat: no-repeat;
|
|
158
|
+
background-color: $color;
|
|
159
|
+
}
|
|
160
|
+
|
|
152
161
|
// ======================================
|
|
153
162
|
// Video Button
|
|
154
163
|
// ======================================
|
|
@@ -189,56 +198,66 @@
|
|
|
189
198
|
text-decoration: underline;
|
|
190
199
|
text-underline-offset: px-to-rem(6px);
|
|
191
200
|
text-decoration-thickness: px-to-rem(1.5px);
|
|
201
|
+
text-decoration-color: var(--ilo-color-blue);
|
|
192
202
|
padding-bottom: spacing(1);
|
|
193
203
|
|
|
194
204
|
&:visited {
|
|
195
205
|
background: map-get($color, "link", "background", "visited");
|
|
196
206
|
color: map-get($color, "link", "text", "visited");
|
|
207
|
+
text-decoration-color: var(--ilo-color-purple);
|
|
197
208
|
}
|
|
198
209
|
|
|
199
210
|
&:hover {
|
|
200
211
|
background: map-get($color, "link", "background", "hover");
|
|
201
212
|
color: map-get($color, "link", "text", "hover");
|
|
202
213
|
text-decoration-thickness: 3px;
|
|
214
|
+
text-decoration-color: var(--ilo-color-blue);
|
|
203
215
|
}
|
|
204
216
|
|
|
205
217
|
&:active {
|
|
206
218
|
background: map-get($color, "link", "background", "active");
|
|
207
219
|
color: map-get($color, "link", "text", "active");
|
|
208
220
|
text-decoration-thickness: 3px;
|
|
221
|
+
text-decoration-color: var(--ilo-color-blue-dark);
|
|
209
222
|
}
|
|
210
223
|
|
|
211
224
|
&:focus {
|
|
212
225
|
background: map-get($color, "link", "background", "focus");
|
|
213
226
|
color: map-get($color, "link", "text", "focus");
|
|
214
227
|
text-decoration-thickness: 3px;
|
|
228
|
+
text-decoration-color: var(--ilo-color-blue-dark);
|
|
215
229
|
}
|
|
216
230
|
|
|
217
231
|
&--dark {
|
|
218
232
|
background: map-get($color, "link", "background-dark", "default");
|
|
219
233
|
color: map-get($color, "link", "text-dark", "default");
|
|
234
|
+
text-decoration-color: var(--ilo-color-gray-light);
|
|
220
235
|
|
|
221
236
|
&:visited {
|
|
222
237
|
background: map-get($color, "link", "background-dark", "visited");
|
|
223
238
|
color: map-get($color, "link", "text-dark", "visited");
|
|
239
|
+
text-decoration-color: var(--ilo-color-gray-base);
|
|
224
240
|
}
|
|
225
241
|
|
|
226
242
|
&:hover {
|
|
227
243
|
background: map-get($color, "link", "background-dark", "hover");
|
|
228
244
|
color: map-get($color, "link", "text-dark", "hover");
|
|
229
245
|
text-decoration-thickness: 3px;
|
|
246
|
+
text-decoration-color: var(--ilo-color-blue);
|
|
230
247
|
}
|
|
231
248
|
|
|
232
249
|
&:active {
|
|
233
250
|
background: map-get($color, "link", "background-dark", "active");
|
|
234
251
|
color: map-get($color, "link", "text-dark", "active");
|
|
235
252
|
text-decoration-thickness: 3px;
|
|
253
|
+
text-decoration-color: var(--ilo-color-blue-dark);
|
|
236
254
|
}
|
|
237
255
|
|
|
238
256
|
&:focus {
|
|
239
257
|
background: map-get($color, "link", "background-dark", "focus");
|
|
240
258
|
color: map-get($color, "link", "text-dark", "focus");
|
|
241
259
|
text-decoration-thickness: 3px;
|
|
260
|
+
text-decoration-color: var(--ilo-color-blue-dark);
|
|
242
261
|
}
|
|
243
262
|
}
|
|
244
263
|
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
@import "../config";
|
|
5
5
|
|
|
6
6
|
.#{$prefix}--accordion {
|
|
7
|
+
--ilo-accordion-color-icon: var(--ilo-color-blue-dark);
|
|
8
|
+
|
|
7
9
|
// This provides a reference to the outerclass within nested declarations
|
|
8
10
|
$accordion: &;
|
|
9
11
|
|
|
@@ -14,6 +16,11 @@
|
|
|
14
16
|
// If the accordion item is scrollable, then this is its max-height
|
|
15
17
|
$scroll-max-height: 300px;
|
|
16
18
|
|
|
19
|
+
&--icon {
|
|
20
|
+
width: 24px;
|
|
21
|
+
height: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
&--button {
|
|
18
25
|
display: flex;
|
|
19
26
|
flex-direction: row;
|
|
@@ -21,42 +28,40 @@
|
|
|
21
28
|
width: 100%;
|
|
22
29
|
margin: 0;
|
|
23
30
|
padding-block: spacing(4);
|
|
24
|
-
padding-inline-end: spacing(
|
|
31
|
+
padding-inline-end: spacing(1);
|
|
25
32
|
background-color: $color-ux-background-default;
|
|
26
|
-
background-position: calc(100% - px-to-rem(6px)) center;
|
|
27
|
-
background-repeat: no-repeat;
|
|
28
|
-
background-size: px-to-rem(24px) px-to-rem(24px);
|
|
29
33
|
border: none;
|
|
30
34
|
border-top: 2px solid $color-base-neutrals-lighter;
|
|
31
|
-
fill: $color-ux-labels-actionable;
|
|
32
35
|
font-family: var(--ilo-fonts-display);
|
|
33
36
|
color: $color-ux-labels-actionable;
|
|
34
37
|
font-weight: $type-weights-section;
|
|
35
38
|
transition: all $transition-timing ease-in-out;
|
|
36
39
|
@include font-styles("label-medium");
|
|
37
|
-
@include dataurlicon("plus", $color-ux-labels-actionable);
|
|
38
40
|
|
|
39
41
|
&__large {
|
|
40
42
|
@include font-styles("headline-6");
|
|
41
43
|
padding-block: spacing(5);
|
|
42
|
-
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[aria-expanded="true"] {
|
|
47
|
+
background-color: $color-base-blue-light;
|
|
48
|
+
#{$accordion}--icon {
|
|
49
|
+
@include icon("minus", var(--ilo-color-blue));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[aria-expanded="false"] {
|
|
54
|
+
#{$accordion}--icon {
|
|
55
|
+
@include icon("plus", var(--ilo-color-blue-dark));
|
|
56
|
+
}
|
|
43
57
|
}
|
|
44
58
|
|
|
45
59
|
&:hover,
|
|
46
60
|
&:focus {
|
|
61
|
+
--ilo-accordion-color-icon: var(--ilo-color-blue);
|
|
47
62
|
border-top-color: $color-ux-borders-hover;
|
|
48
63
|
color: $color-ux-labels-hover;
|
|
49
|
-
fill: $color-ux-labels-hover;
|
|
50
64
|
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
&[aria-expanded="true"] {
|
|
53
|
-
color: $brand-ilo-dark-blue;
|
|
54
|
-
@include dataurlicon("minus", $brand-ilo-dark-blue);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[aria-expanded="false"] {
|
|
58
|
-
@include dataurlicon("plus", $color-ux-labels-hover);
|
|
59
|
-
}
|
|
60
65
|
}
|
|
61
66
|
|
|
62
67
|
@include breakpoint("md") {
|
|
@@ -64,23 +69,8 @@
|
|
|
64
69
|
&__large {
|
|
65
70
|
@include font-styles("headline-6");
|
|
66
71
|
padding: spacing(5) 0;
|
|
67
|
-
padding-inline-end: spacing(11);
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
|
-
|
|
71
|
-
&[aria-expanded="true"] {
|
|
72
|
-
background-color: $color-base-blue-light;
|
|
73
|
-
color: $brand-ilo-blue;
|
|
74
|
-
@include dataurlicon("minus", $brand-ilo-blue);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&[aria-expanded="false"] {
|
|
78
|
-
@include dataurlicon("plus", $color-ux-labels-actionable);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
[dir="rtl"] & {
|
|
82
|
-
background-position: calc(0% + px-to-rem(6px)) center;
|
|
83
|
-
}
|
|
84
74
|
}
|
|
85
75
|
|
|
86
76
|
&--panel {
|
|
@@ -27,7 +27,6 @@ It could eventually be used for a standalone blockquote component.
|
|
|
27
27
|
@include font-styles("pull-quote-sm");
|
|
28
28
|
|
|
29
29
|
&:after {
|
|
30
|
-
background-repeat: no-repeat;
|
|
31
30
|
bottom: 0;
|
|
32
31
|
content: "";
|
|
33
32
|
display: inline-block;
|
|
@@ -36,7 +35,7 @@ It could eventually be used for a standalone blockquote component.
|
|
|
36
35
|
right: 0;
|
|
37
36
|
transform: scaleX(-1);
|
|
38
37
|
width: px-to-rem(26.5px);
|
|
39
|
-
@include
|
|
38
|
+
@include icon("quote", var(--ilo-color-purple));
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -47,7 +46,6 @@ It could eventually be used for a standalone blockquote component.
|
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
&:before {
|
|
50
|
-
background-repeat: no-repeat;
|
|
51
49
|
content: "";
|
|
52
50
|
display: inline-block;
|
|
53
51
|
height: px-to-rem(40px);
|
|
@@ -55,7 +53,7 @@ It could eventually be used for a standalone blockquote component.
|
|
|
55
53
|
position: absolute;
|
|
56
54
|
width: px-to-rem(53px);
|
|
57
55
|
top: 0;
|
|
58
|
-
@include
|
|
56
|
+
@include icon("quote", var(--ilo-color-purple));
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
@include breakpoint("md") {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
position: relative;
|
|
70
70
|
|
|
71
71
|
&__icon {
|
|
72
|
-
@include
|
|
72
|
+
@include icon("chevron_down", var(--ilo-color-blue-dark));
|
|
73
73
|
|
|
74
74
|
background-position: right;
|
|
75
75
|
background-repeat: no-repeat;
|
|
@@ -96,23 +96,19 @@
|
|
|
96
96
|
width: px-to-rem(24px);
|
|
97
97
|
|
|
98
98
|
&__error {
|
|
99
|
-
|
|
100
|
-
@include dataurlicon("notification_error", "white");
|
|
99
|
+
@include icon("notification_error", var(--ilo-color-white));
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
&__info {
|
|
104
|
-
|
|
105
|
-
@include dataurlicon("notification_info", "white");
|
|
103
|
+
@include icon("notification_info", var(--ilo-color-white));
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
&__success {
|
|
109
|
-
|
|
110
|
-
@include dataurlicon("notification_success", "white");
|
|
107
|
+
@include icon("notification_success", var(--ilo-color-white));
|
|
111
108
|
}
|
|
112
109
|
|
|
113
110
|
&__warning {
|
|
114
|
-
|
|
115
|
-
@include dataurlicon("notification_warning", "white");
|
|
111
|
+
@include icon("notification_warning", var(--ilo-color-white));
|
|
116
112
|
}
|
|
117
113
|
}
|
|
118
114
|
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
@import "../mixins";
|
|
5
5
|
|
|
6
6
|
.ilo--link-list {
|
|
7
|
+
--ilo-link-list-color-icon: var(--ilo-color-blue-dark);
|
|
8
|
+
--ilo-link-list-color-indent-icon: var(--ilo-color-gray-base);
|
|
9
|
+
|
|
7
10
|
&--headline {
|
|
8
11
|
font-family: var(--ilo-fonts-display);
|
|
9
12
|
font-weight: map-get($type, "weights", "label");
|
|
@@ -33,14 +36,10 @@
|
|
|
33
36
|
padding-left: spacing(8);
|
|
34
37
|
|
|
35
38
|
.ilo--link-list--label {
|
|
36
|
-
display: block;
|
|
37
39
|
padding-left: spacing(8);
|
|
38
40
|
position: relative;
|
|
39
41
|
|
|
40
42
|
&:before {
|
|
41
|
-
background-position: left center;
|
|
42
|
-
background-repeat: no-repeat;
|
|
43
|
-
background-size: contain;
|
|
44
43
|
content: "";
|
|
45
44
|
display: block;
|
|
46
45
|
height: px-to-rem(24px);
|
|
@@ -48,15 +47,16 @@
|
|
|
48
47
|
left: 0;
|
|
49
48
|
position: absolute;
|
|
50
49
|
top: 50%;
|
|
51
|
-
transform: translateY(-50%)
|
|
50
|
+
transform: translateY(-50%);
|
|
52
51
|
transform-origin: center;
|
|
53
|
-
@include
|
|
52
|
+
@include icon("caret_right", var(--ilo-link-list-color-indent-icon));
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
[dir="rtl"] & {
|
|
57
56
|
padding-right: spacing(6);
|
|
58
57
|
&:before {
|
|
59
|
-
|
|
58
|
+
@include icon("caret_left", var(--ilo-link-list-color-indent-icon));
|
|
59
|
+
transform: translateY(-50%);
|
|
60
60
|
left: unset;
|
|
61
61
|
right: 0;
|
|
62
62
|
}
|
|
@@ -67,28 +67,29 @@
|
|
|
67
67
|
& .ilo--link-list--link:focus,
|
|
68
68
|
&:hover,
|
|
69
69
|
&:focus {
|
|
70
|
-
|
|
71
|
-
@include dataurlicon("chevrondown", $color-link-text-hover);
|
|
72
|
-
}
|
|
70
|
+
--ilo-link-list-color-indent-icon: var(--ilo-color-blue);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
}
|
|
76
74
|
|
|
75
|
+
.ilo--link-list--icon {
|
|
76
|
+
@include icon("chevron_right", var(--ilo-link-list-color-icon));
|
|
77
|
+
width: px-to-rem(24px);
|
|
78
|
+
height: px-to-rem(24px);
|
|
79
|
+
}
|
|
80
|
+
|
|
77
81
|
&--link {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: space-between;
|
|
84
|
+
align-items: center;
|
|
81
85
|
border-bottom: px-to-rem($borders-base) solid $color-base-neutrals-lighter;
|
|
82
86
|
color: map-get($color, "link", "text", "default");
|
|
83
|
-
display: block;
|
|
84
87
|
font-family: var(--ilo-fonts-display);
|
|
85
88
|
font-weight: map-get($type, "weights", "section");
|
|
86
89
|
@include font-styles("body-small");
|
|
87
90
|
padding-top: spacing(4);
|
|
88
91
|
padding-bottom: spacing(4);
|
|
89
|
-
padding-inline-end: spacing(8);
|
|
90
92
|
text-decoration: none;
|
|
91
|
-
@include dataurlicon("chevron_right", $color-link-text-default);
|
|
92
93
|
@include globaltransition("color, background-color, border-color");
|
|
93
94
|
|
|
94
95
|
&:visited {
|
|
@@ -104,41 +105,32 @@
|
|
|
104
105
|
|
|
105
106
|
&:hover,
|
|
106
107
|
&:focus {
|
|
108
|
+
--ilo-link-list-color-icon: var(--ilo-color-blue);
|
|
107
109
|
border-bottom: px-to-rem($borders-base) solid
|
|
108
110
|
map-get($color, "link", "text", "hover");
|
|
109
111
|
background-color: $color-base-blue-light;
|
|
110
112
|
color: map-get($color, "link", "text", "hover");
|
|
111
113
|
outline: none;
|
|
112
|
-
@include dataurlicon("chevron_right", $color-link-text-hover);
|
|
113
114
|
@include globaltransition("color, background-color, border-color");
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
[dir="rtl"] & {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
&:hover,
|
|
121
|
-
&:focus {
|
|
122
|
-
@include dataurlicon("arrowleft", $color-link-text-hover);
|
|
118
|
+
.ilo--link-list--icon {
|
|
119
|
+
@include icon("chevron_left", var(--ilo-link-list-color-icon));
|
|
123
120
|
}
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
&--dark {
|
|
125
|
+
--ilo-link-list-color-icon: var(--ilo-color-white);
|
|
126
|
+
--ilo-link-list-color-indent-icon: var(--ilo-color-white);
|
|
128
127
|
.ilo--link-list--headline,
|
|
129
128
|
.ilo--link-list--links--headline {
|
|
130
129
|
color: $color-base-neutrals-white;
|
|
131
130
|
}
|
|
132
131
|
|
|
133
|
-
.ilo--link-list--label {
|
|
134
|
-
&:before {
|
|
135
|
-
@include dataurlicon("chevrondown", $color-base-neutrals-white);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
132
|
.ilo--link-list--link {
|
|
140
133
|
border-bottom: px-to-rem($borders-base) solid rgba(237, 240, 242, 0.4);
|
|
141
|
-
@include dataurlicon("chevron_right", $color-base-neutrals-white);
|
|
142
134
|
|
|
143
135
|
.ilo--link-list--label {
|
|
144
136
|
color: $color-base-neutrals-white;
|
|
@@ -163,27 +155,12 @@
|
|
|
163
155
|
&:hover,
|
|
164
156
|
&:focus {
|
|
165
157
|
outline: none;
|
|
166
|
-
@include dataurlicon("chevron_right", $color-base-blue-medium);
|
|
167
158
|
|
|
168
159
|
.ilo--link-list--label {
|
|
169
160
|
color: $color-base-blue-medium;
|
|
170
161
|
@include globaltransition("color");
|
|
171
162
|
}
|
|
172
163
|
}
|
|
173
|
-
|
|
174
|
-
[dir="rtl"] & {
|
|
175
|
-
background-position: px-to-rem(4px) center;
|
|
176
|
-
@include dataurlicon("arrowleft", $color-base-neutrals-white);
|
|
177
|
-
|
|
178
|
-
&:hover,
|
|
179
|
-
&:focus {
|
|
180
|
-
@include dataurlicon("arrowleft", $color-base-blue-medium);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
164
|
}
|
|
184
165
|
}
|
|
185
166
|
}
|
|
186
|
-
|
|
187
|
-
.wingsuit-body .ilo--link-list--dark {
|
|
188
|
-
background-color: $color-base-blue-dark;
|
|
189
|
-
}
|
|
@@ -57,18 +57,12 @@
|
|
|
57
57
|
&::before {
|
|
58
58
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
59
59
|
|
|
60
|
-
@include
|
|
61
|
-
"double_chevron_right",
|
|
62
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
63
|
-
);
|
|
60
|
+
@include icon("double_chevron_right", var(--ilo-color-blue-dark));
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
&:hover {
|
|
67
64
|
&::before {
|
|
68
|
-
@include
|
|
69
|
-
"double_chevron_right",
|
|
70
|
-
map-get($color, "ux", "pagination", "hover", "icon")
|
|
71
|
-
);
|
|
65
|
+
@include icon("double_chevron_right", var(--ilo-color-blue));
|
|
72
66
|
}
|
|
73
67
|
}
|
|
74
68
|
|
|
@@ -79,10 +73,7 @@
|
|
|
79
73
|
background: var(--ilo-color-gray-light);
|
|
80
74
|
|
|
81
75
|
&::before {
|
|
82
|
-
@include
|
|
83
|
-
"double_chevron_right",
|
|
84
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
85
|
-
);
|
|
76
|
+
@include icon("double_chevron_right", var(--ilo-color-blue-dark));
|
|
86
77
|
}
|
|
87
78
|
}
|
|
88
79
|
}
|
|
@@ -93,18 +84,12 @@
|
|
|
93
84
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
94
85
|
width: px-to-rem(20px);
|
|
95
86
|
|
|
96
|
-
@include
|
|
97
|
-
"chevron_right",
|
|
98
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
99
|
-
);
|
|
87
|
+
@include icon("chevron_right", var(--ilo-color-blue-dark));
|
|
100
88
|
}
|
|
101
89
|
|
|
102
90
|
&:hover {
|
|
103
91
|
&::before {
|
|
104
|
-
@include
|
|
105
|
-
"chevron_right",
|
|
106
|
-
map-get($color, "ux", "pagination", "hover", "icon")
|
|
107
|
-
);
|
|
92
|
+
@include icon("chevron_right", var(--ilo-color-blue));
|
|
108
93
|
}
|
|
109
94
|
}
|
|
110
95
|
|
|
@@ -115,10 +100,7 @@
|
|
|
115
100
|
background: var(--ilo-color-gray-light);
|
|
116
101
|
|
|
117
102
|
&::before {
|
|
118
|
-
@include
|
|
119
|
-
"chevron_right",
|
|
120
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
121
|
-
);
|
|
103
|
+
@include icon("chevron_right", var(--ilo-color-blue-dark));
|
|
122
104
|
}
|
|
123
105
|
}
|
|
124
106
|
}
|
|
@@ -129,18 +111,12 @@
|
|
|
129
111
|
transform: translate(-50%, -50%) rotate(0);
|
|
130
112
|
width: px-to-rem(20px);
|
|
131
113
|
|
|
132
|
-
@include
|
|
133
|
-
"chevron_right",
|
|
134
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
135
|
-
);
|
|
114
|
+
@include icon("chevron_right", var(--ilo-color-blue-dark));
|
|
136
115
|
}
|
|
137
116
|
|
|
138
117
|
&:hover {
|
|
139
118
|
&::before {
|
|
140
|
-
@include
|
|
141
|
-
"chevron_right",
|
|
142
|
-
map-get($color, "ux", "pagination", "hover", "icon")
|
|
143
|
-
);
|
|
119
|
+
@include icon("chevron_right", var(--ilo-color-blue));
|
|
144
120
|
}
|
|
145
121
|
}
|
|
146
122
|
|
|
@@ -151,10 +127,7 @@
|
|
|
151
127
|
background: var(--ilo-color-gray-light);
|
|
152
128
|
|
|
153
129
|
&::before {
|
|
154
|
-
@include
|
|
155
|
-
"chevron_right",
|
|
156
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
157
|
-
);
|
|
130
|
+
@include icon("chevron_right", var(--ilo-color-blue-dark));
|
|
158
131
|
}
|
|
159
132
|
}
|
|
160
133
|
}
|
|
@@ -162,18 +135,12 @@
|
|
|
162
135
|
|
|
163
136
|
&--last-page {
|
|
164
137
|
&::before {
|
|
165
|
-
@include
|
|
166
|
-
"double_chevron_right",
|
|
167
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
168
|
-
);
|
|
138
|
+
@include icon("double_chevron_right", var(--ilo-color-blue-dark));
|
|
169
139
|
}
|
|
170
140
|
|
|
171
141
|
&:hover {
|
|
172
142
|
&::before {
|
|
173
|
-
@include
|
|
174
|
-
"double_chevron_right",
|
|
175
|
-
map-get($color, "ux", "pagination", "hover", "icon")
|
|
176
|
-
);
|
|
143
|
+
@include icon("double_chevron_right", var(--ilo-color-blue));
|
|
177
144
|
}
|
|
178
145
|
}
|
|
179
146
|
|
|
@@ -184,10 +151,7 @@
|
|
|
184
151
|
background: var(--ilo-color-gray-light);
|
|
185
152
|
|
|
186
153
|
&::before {
|
|
187
|
-
@include
|
|
188
|
-
"chevron_right",
|
|
189
|
-
map-get($color, "ux", "pagination", "default", "icon")
|
|
190
|
-
);
|
|
154
|
+
@include icon("chevron_right", var(--ilo-color-blue-dark));
|
|
191
155
|
}
|
|
192
156
|
}
|
|
193
157
|
}
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
|
|
110
110
|
// Horizontal rule (hr) styles
|
|
111
111
|
hr {
|
|
112
|
-
background-color: var(--ilo-color-
|
|
112
|
+
background-color: var(--ilo-color-gray-light);
|
|
113
113
|
border: none;
|
|
114
|
-
height: px-to-rem(
|
|
114
|
+
height: px-to-rem(3px);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.responsive-video-embed {
|
|
@@ -83,9 +83,14 @@
|
|
|
83
83
|
&[aria-selected="true"] {
|
|
84
84
|
background-color: $color-base-neutrals-white;
|
|
85
85
|
border-top: px-to-rem(3px) solid $color-ux-labels-actionable;
|
|
86
|
+
pointer-events: none;
|
|
86
87
|
@include globaltransition("color, background-color, border-color");
|
|
87
88
|
}
|
|
88
89
|
|
|
90
|
+
&[aria-selected="false"]:not(:hover) {
|
|
91
|
+
border-top: px-to-rem(3px) solid transparent;
|
|
92
|
+
}
|
|
93
|
+
|
|
89
94
|
&.icon {
|
|
90
95
|
.ilo--icon {
|
|
91
96
|
height: px-to-rem(16px);
|
|
@@ -106,12 +111,6 @@
|
|
|
106
111
|
outline: none;
|
|
107
112
|
border-top: px-to-rem(3px) solid $color-base-blue-medium;
|
|
108
113
|
@include globaltransition("color, background-color, border-color");
|
|
109
|
-
|
|
110
|
-
&.has--tooltip {
|
|
111
|
-
.ilo--tooltip--wrapper {
|
|
112
|
-
@include dataurlicon("info", $color-base-blue-medium);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
@@ -180,3 +179,37 @@
|
|
|
180
179
|
}
|
|
181
180
|
}
|
|
182
181
|
}
|
|
182
|
+
|
|
183
|
+
// This was proposed by base theme but isn't implemented in the design system yet
|
|
184
|
+
.ilo--tabs--secondary {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-wrap: wrap;
|
|
187
|
+
margin-block: 2rem;
|
|
188
|
+
gap: 10px;
|
|
189
|
+
|
|
190
|
+
.ilo--tabs--selection--button {
|
|
191
|
+
display: block;
|
|
192
|
+
padding: 0.2em 1em;
|
|
193
|
+
font-size: 16px;
|
|
194
|
+
font-weight: 600;
|
|
195
|
+
color: #230050;
|
|
196
|
+
text-decoration: none;
|
|
197
|
+
|
|
198
|
+
&[aria-selected="false"] {
|
|
199
|
+
border-bottom: 2px solid transparent;
|
|
200
|
+
background-color: var(--ilo-color-background-highlight);
|
|
201
|
+
|
|
202
|
+
&:hover {
|
|
203
|
+
color: var(--ilo-color-blue);
|
|
204
|
+
border-bottom-color: var(--ilo-color-blue);
|
|
205
|
+
background-color: var(--ilo-color-background-hover);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&[aria-selected="true"] {
|
|
210
|
+
color: var(--ilo-color-blue-dark);
|
|
211
|
+
border-bottom: 2px solid var(--ilo-color-blue-dark);
|
|
212
|
+
pointer-events: none;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|