@ilo-org/styles 1.15.1 → 1.16.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/audioplayer.css +1 -1
- package/css/components/blockquote.css +1 -1
- package/css/components/breadcrumb.css +5 -1
- package/css/components/button.css +1 -1
- package/css/components/callout.css +1 -1
- package/css/components/card.css +3 -1
- package/css/components/checkbox.css +1 -1
- package/css/components/contextmenu.css +1 -1
- package/css/components/datacard.css +3 -1
- package/css/components/detailcard.css +1 -1
- package/css/components/dropdown.css +7 -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 +5 -1
- package/css/components/hero.css +9 -1
- package/css/components/herocard.css +1 -1
- package/css/components/image.css +7 -1
- package/css/components/input.css +1 -1
- package/css/components/languagetoggle.css +3 -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 +7 -1
- package/css/components/scorecard.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/status.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tableofcontents.css +1 -1
- package/css/components/tabs.css +3 -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/toggle.css +1 -1
- package/css/components/tooltip.css +1 -1
- package/css/components/video.css +7 -1
- package/css/global.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +69 -3
- package/css/index.css.map +1 -1
- package/css/monorepo.css +69 -3
- package/css/monorepo.css.map +1 -1
- package/package.json +3 -3
- package/scss/_mixins.scss +4 -2
- package/scss/_typography.scss +1 -1
- package/scss/_typographymonorepo.scss +1 -1
- package/scss/components/_accordion.scss +10 -10
- package/scss/components/_audioplayer.scss +23 -23
- package/scss/components/_blockquote.scss +6 -6
- package/scss/components/_breadcrumb.scss +10 -6
- package/scss/components/_button.scss +32 -30
- package/scss/components/_callout.scss +24 -15
- package/scss/components/_card.scss +25 -21
- package/scss/components/_checkbox.scss +11 -11
- package/scss/components/_contextmenu.scss +9 -8
- package/scss/components/_datacard.scss +8 -6
- package/scss/components/_detailcard.scss +2 -2
- package/scss/components/_dropdown.scss +16 -10
- package/scss/components/_factlistcard.scss +6 -5
- package/scss/components/_featurecard.scss +2 -2
- package/scss/components/_fieldset.scss +9 -9
- package/scss/components/_file-upload.scss +20 -19
- package/scss/components/_footer.scss +21 -20
- package/scss/components/_form.scss +4 -4
- package/scss/components/_formcontrol.scss +14 -10
- package/scss/components/_hero.scss +8 -8
- package/scss/components/_herocard.scss +14 -14
- package/scss/components/_image.scss +9 -7
- package/scss/components/_input.scss +14 -12
- package/scss/components/_languagetoggle.scss +10 -8
- package/scss/components/_linklist.scss +13 -12
- package/scss/components/_list.scss +3 -3
- package/scss/components/_loading.scss +12 -12
- package/scss/components/_logo.scss +2 -2
- package/scss/components/_logogrid.scss +3 -3
- package/scss/components/_modal.scss +1 -1
- package/scss/components/_multilinkcard.scss +8 -8
- package/scss/components/_navigation.scss +71 -71
- package/scss/components/_notification.scss +12 -9
- package/scss/components/_pagination.scss +39 -24
- package/scss/components/_profile.scss +8 -8
- package/scss/components/_promocard.scss +1 -1
- package/scss/components/_radio.scss +8 -8
- package/scss/components/_readmore.scss +7 -7
- package/scss/components/_richtext.scss +12 -12
- package/scss/components/_scorecard.scss +2 -2
- package/scss/components/_searchfield.scss +11 -9
- package/scss/components/_socialmedia.scss +7 -7
- package/scss/components/_statcard.scss +8 -8
- package/scss/components/_status.scss +7 -7
- package/scss/components/_table.scss +30 -30
- package/scss/components/_tableofcontents.scss +13 -13
- package/scss/components/_tabs.scss +19 -17
- package/scss/components/_tag.scss +15 -15
- package/scss/components/_textarea.scss +15 -12
- package/scss/components/_textcard.scss +2 -2
- package/scss/components/_toggle.scss +6 -6
- package/scss/components/_tooltip.scss +13 -10
- package/scss/components/_video.scss +28 -29
- package/scss/components/navigation/_nav-compact.scss +17 -13
- package/scss/components/navigation/_nav-complex.scss +20 -12
- package/scss/components/navigation/_nav-main.scss +20 -14
- package/scss/components/navigation/internal/_nav-dropdown.scss +2 -2
- package/scss/components/navigation/internal/_nav-grid.scss +3 -3
- package/scss/components/navigation/internal/_nav-menu.scss +13 -13
- package/scss/components/navigation/internal/_nav-shared.scss +1 -1
- package/scss/components/navigation/internal/mobile/_nav-mobile-drawer.scss +5 -5
- package/scss/components/navigation/internal/mobile/_nav-mobile-menu.scss +5 -5
- package/scss/components/navigation/internal/mobile/_nav-mobile.scss +17 -17
- package/scss/components/photogallery/_expandable-caption.scss +4 -4
- package/scss/components/photogallery/_lightbox.scss +7 -7
- package/scss/components/photogallery/_lightboxgallery.scss +8 -8
- package/scss/components/photogallery/_photogallery-controls.scss +25 -13
- package/scss/components/photogallery/_photogallery-thumbnails.scss +8 -8
- package/scss/components/photogallery/_photogallery.scss +9 -9
- package/scss/theme/_foundation.scss +20 -1
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.
|
|
4
|
+
"version": "1.16.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/international-labour-organization/designsystem.git",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ilo-org/
|
|
41
|
-
"@ilo-org/
|
|
40
|
+
"@ilo-org/icons": "2.4.2",
|
|
41
|
+
"@ilo-org/fonts": "2.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"cssnano": "^7.0.6",
|
package/scss/_mixins.scss
CHANGED
|
@@ -168,7 +168,9 @@
|
|
|
168
168
|
// ======================================
|
|
169
169
|
|
|
170
170
|
@mixin caption-icon-wrapper($dir: "right", $width, $height) {
|
|
171
|
-
--ilo-caption-icon-wrapper-bg-color: var(
|
|
171
|
+
--ilo-caption-icon-wrapper-bg-color: var(
|
|
172
|
+
--ilo-color-light-container-bg-inverse
|
|
173
|
+
);
|
|
172
174
|
background: var(--ilo-caption-icon-wrapper-bg-color);
|
|
173
175
|
height: $height;
|
|
174
176
|
width: $width;
|
|
@@ -219,7 +221,7 @@
|
|
|
219
221
|
// and also lists in RichText.
|
|
220
222
|
// ======================================
|
|
221
223
|
|
|
222
|
-
@mixin invincible-list($bullet-color: var(--ilo-color-
|
|
224
|
+
@mixin invincible-list($bullet-color: var(--ilo-color-light-icon-subtle)) {
|
|
223
225
|
li {
|
|
224
226
|
position: relative;
|
|
225
227
|
margin-bottom: spacing(3);
|
package/scss/_typography.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
.#{$prefix}--accordion {
|
|
10
10
|
// CSS Custom Properties
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
12
|
-
--ilo-accordion-color-icon: var(--ilo-color-
|
|
12
|
+
--ilo-accordion-color-icon: var(--ilo-color-light-action-default);
|
|
13
13
|
--ilo-accordion-transition-timing: 500ms; // Slower timing for smooth height transitions
|
|
14
14
|
--ilo-accordion-scroll-max-height: 300px;
|
|
15
15
|
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
padding-inline-end: spacing(1);
|
|
45
45
|
|
|
46
46
|
// Visual
|
|
47
|
-
background-color: var(--ilo-color-
|
|
47
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
48
48
|
border: none;
|
|
49
|
-
border-top: 2px solid var(--ilo-color-
|
|
50
|
-
color: var(--ilo-color-
|
|
49
|
+
border-top: 2px solid var(--ilo-color-light-border-subtle);
|
|
50
|
+
color: var(--ilo-color-light-text-brand);
|
|
51
51
|
|
|
52
52
|
// Animation
|
|
53
53
|
transition: all var(--ilo-accordion-transition-timing) ease-in-out;
|
|
@@ -63,26 +63,26 @@
|
|
|
63
63
|
|
|
64
64
|
// Expanded state
|
|
65
65
|
&[aria-expanded="true"] {
|
|
66
|
-
background-color: var(--ilo-color-
|
|
66
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
67
67
|
|
|
68
68
|
#{$accordion}--icon {
|
|
69
|
-
@include icon("minus", var(--ilo-color-
|
|
69
|
+
@include icon("minus", var(--ilo-color-light-action-hover));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// Collapsed state
|
|
74
74
|
&[aria-expanded="false"] {
|
|
75
75
|
#{$accordion}--icon {
|
|
76
|
-
@include icon("plus", var(--ilo-color-
|
|
76
|
+
@include icon("plus", var(--ilo-color-light-action-default));
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// Interactive states
|
|
81
81
|
&:hover,
|
|
82
82
|
&:focus {
|
|
83
|
-
--ilo-accordion-color-icon: var(--ilo-color-
|
|
84
|
-
border-top-color: var(--ilo-color-
|
|
85
|
-
color: var(--ilo-color-
|
|
83
|
+
--ilo-accordion-color-icon: var(--ilo-color-light-action-hover);
|
|
84
|
+
border-top-color: var(--ilo-color-light-border-brand);
|
|
85
|
+
color: var(--ilo-color-light-action-hover);
|
|
86
86
|
cursor: pointer;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.ilo--audio-player {
|
|
5
5
|
&--progress-bar {
|
|
6
6
|
height: px-to-rem(8px);
|
|
7
|
-
background-color: var(--ilo-color-
|
|
7
|
+
background-color: var(--ilo-color-light-container-bg-inverse-subtle);
|
|
8
8
|
position: relative;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--progress: 0%;
|
|
13
13
|
width: var(--progress);
|
|
14
14
|
height: 100%;
|
|
15
|
-
background-color: var(--ilo-color-
|
|
15
|
+
background-color: var(--ilo-color-light-container-bg-accent);
|
|
16
16
|
position: absolute;
|
|
17
17
|
top: 0;
|
|
18
18
|
left: 0;
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"left left"
|
|
27
27
|
"center right";
|
|
28
28
|
align-items: center;
|
|
29
|
-
color: var(--ilo-color-
|
|
30
|
-
background-color: var(--ilo-color-
|
|
29
|
+
color: var(--ilo-color-light-text-inverse);
|
|
30
|
+
background-color: var(--ilo-color-light-container-bg-inverse);
|
|
31
31
|
padding: spacing(3) 0;
|
|
32
32
|
row-gap: spacing(3);
|
|
33
33
|
}
|
|
34
34
|
&--left {
|
|
35
35
|
grid-area: left;
|
|
36
|
-
border-bottom: 1px solid var(--ilo-color-
|
|
36
|
+
border-bottom: 1px solid var(--ilo-color-dark-border-subtle);
|
|
37
37
|
padding-inline: spacing(3);
|
|
38
38
|
padding-block-end: spacing(3);
|
|
39
39
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
white-space: nowrap;
|
|
62
62
|
font-size: var(--ilo-font-size-xsm);
|
|
63
63
|
line-height: var(--ilo-line-height-xlg);
|
|
64
|
-
color: var(--ilo-color-
|
|
64
|
+
color: var(--ilo-color-dark-text-subtle);
|
|
65
65
|
}
|
|
66
66
|
&--track-creator::before {
|
|
67
67
|
content: "•";
|
|
@@ -88,21 +88,21 @@
|
|
|
88
88
|
padding: spacing(2);
|
|
89
89
|
}
|
|
90
90
|
&--skip-button:hover {
|
|
91
|
-
background-color: var(--ilo-color-
|
|
92
|
-
color: var(--ilo-color-
|
|
91
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
92
|
+
color: var(--ilo-color-light-action-hover);
|
|
93
93
|
}
|
|
94
94
|
&--play-button {
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
|
-
background-color: var(--ilo-color-
|
|
98
|
-
color: var(--ilo-color-brand
|
|
97
|
+
background-color: var(--ilo-color-light-container-bg-accent);
|
|
98
|
+
color: var(--ilo-color-light-text-brand);
|
|
99
99
|
border-radius: 50%;
|
|
100
100
|
cursor: pointer;
|
|
101
101
|
padding: spacing(1);
|
|
102
102
|
border: none;
|
|
103
103
|
}
|
|
104
104
|
&--play-button:hover {
|
|
105
|
-
background-color: var(--ilo-color-
|
|
105
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
106
106
|
}
|
|
107
107
|
[aria-label="Play"] &--play-icon {
|
|
108
108
|
display: block;
|
|
@@ -134,13 +134,13 @@
|
|
|
134
134
|
line-height: var(--ilo-line-height-lg);
|
|
135
135
|
}
|
|
136
136
|
&--duration-total {
|
|
137
|
-
color: var(--ilo-color-
|
|
137
|
+
color: var(--ilo-color-dark-text-subtle);
|
|
138
138
|
font-size: var(--ilo-font-size-2xsm);
|
|
139
139
|
line-height: var(--ilo-line-height-2xlg);
|
|
140
140
|
}
|
|
141
141
|
&--separator {
|
|
142
142
|
height: 32px;
|
|
143
|
-
border-left: 1px solid var(--ilo-color-
|
|
143
|
+
border-left: 1px solid var(--ilo-color-dark-border-subtle);
|
|
144
144
|
margin: spacing(1) spacing(3);
|
|
145
145
|
}
|
|
146
146
|
&--volume-icon {
|
|
@@ -165,24 +165,24 @@
|
|
|
165
165
|
&--volume-slider {
|
|
166
166
|
--progress: 100%;
|
|
167
167
|
margin-left: spacing(1);
|
|
168
|
-
background: var(--ilo-color-
|
|
168
|
+
background: var(--ilo-color-light-container-bg-accent);
|
|
169
169
|
border-radius: 4px;
|
|
170
170
|
height: 4px;
|
|
171
171
|
width: 50%;
|
|
172
172
|
background: linear-gradient(
|
|
173
173
|
to right,
|
|
174
|
-
var(--ilo-color-
|
|
175
|
-
var(--ilo-color-
|
|
176
|
-
var(--ilo-color-
|
|
177
|
-
var(--ilo-color-
|
|
174
|
+
var(--ilo-color-light-container-bg-accent) 0%,
|
|
175
|
+
var(--ilo-color-light-container-bg-accent) var(--progress, 50%),
|
|
176
|
+
var(--ilo-color-light-container-bg-inverse-subtle) var(--progress, 50%),
|
|
177
|
+
var(--ilo-color-light-container-bg-inverse-subtle) 100%
|
|
178
178
|
);
|
|
179
179
|
[dir="rtl"] & {
|
|
180
180
|
background: linear-gradient(
|
|
181
181
|
to left,
|
|
182
|
-
var(--ilo-color-
|
|
183
|
-
var(--ilo-color-
|
|
184
|
-
var(--ilo-color-
|
|
185
|
-
var(--ilo-color-
|
|
182
|
+
var(--ilo-color-light-container-bg-accent) 0%,
|
|
183
|
+
var(--ilo-color-light-container-bg-accent) var(--progress, 50%),
|
|
184
|
+
var(--ilo-color-light-container-bg-inverse-subtle) var(--progress, 50%),
|
|
185
|
+
var(--ilo-color-light-container-bg-inverse-subtle) 100%
|
|
186
186
|
);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
|
|
194
194
|
width: 16px;
|
|
195
195
|
height: 16px;
|
|
196
|
-
background: var(--ilo-color-
|
|
196
|
+
background: var(--ilo-color-light-container-bg-disabled);
|
|
197
197
|
border-radius: 50%;
|
|
198
198
|
cursor: pointer;
|
|
199
199
|
margin-top: -2px; // Center thumb on track
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
@mixin blockquote {
|
|
9
9
|
// Layout & background
|
|
10
|
-
background-color: var(--ilo-color-
|
|
10
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
11
11
|
background-position: right top;
|
|
12
12
|
background-repeat: no-repeat;
|
|
13
13
|
background-size: px-to-rem(72px) px-to-rem(40px);
|
|
14
14
|
display: block;
|
|
15
15
|
width: fit-content;
|
|
16
16
|
position: relative;
|
|
17
|
-
border-bottom: px-to-rem(3px) solid var(--ilo-color-
|
|
17
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-light-border-default);
|
|
18
18
|
@include cornercut(72px, 40px);
|
|
19
19
|
|
|
20
20
|
// Typography & spacing
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
p {
|
|
25
25
|
@include typography("blockquote", true);
|
|
26
|
-
color: var(--ilo-color-
|
|
26
|
+
color: var(--ilo-color-light-text-accent);
|
|
27
27
|
padding: 0 spacing(12) 0 0;
|
|
28
28
|
margin-bottom: spacing(6);
|
|
29
29
|
position: relative;
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
width: px-to-rem(26.5px);
|
|
38
38
|
height: px-to-rem(20px);
|
|
39
39
|
transform: scaleX(-1);
|
|
40
|
-
@include icon("quote", var(--ilo-color-
|
|
40
|
+
@include icon("quote", var(--ilo-color-light-icon-accent));
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
cite {
|
|
45
|
-
color: var(--ilo-color-
|
|
45
|
+
color: var(--ilo-color-light-text-subtle);
|
|
46
46
|
font-weight: 400;
|
|
47
47
|
font-size: var(--ilo-font-size-sm);
|
|
48
48
|
line-height: 135%;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
left: 0;
|
|
59
59
|
width: px-to-rem(53px);
|
|
60
60
|
height: px-to-rem(40px);
|
|
61
|
-
@include icon("quote", var(--ilo-color-
|
|
61
|
+
@include icon("quote", var(--ilo-color-light-icon-accent));
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
@include breakpoint("md") {
|
|
@@ -6,18 +6,22 @@
|
|
|
6
6
|
.#{$prefix}--breadcrumb {
|
|
7
7
|
$breadcrumb: &;
|
|
8
8
|
|
|
9
|
-
--ilo-breadcrumb-background-color: var(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
--ilo-breadcrumb-background-color: var(
|
|
10
|
+
--ilo-color-light-container-bg-default
|
|
11
|
+
);
|
|
12
|
+
--ilo-breadcrumb-link-color: var(--ilo-color-light-text-brand);
|
|
13
|
+
--ilo-breadcrumb-link-hover-color: var(--ilo-color-light-action-hover);
|
|
12
14
|
|
|
13
15
|
position: relative;
|
|
14
16
|
z-index: 10;
|
|
15
17
|
|
|
16
18
|
&__theme {
|
|
17
19
|
&__dark {
|
|
18
|
-
--ilo-breadcrumb-background-color: var(
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
--ilo-breadcrumb-background-color: var(
|
|
21
|
+
--ilo-color-light-container-bg-brand
|
|
22
|
+
);
|
|
23
|
+
--ilo-breadcrumb-link-color: var(--ilo-color-light-text-inverse);
|
|
24
|
+
--ilo-breadcrumb-link-hover-color: var(--ilo-color-light-text-inverse);
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
.#{$prefix}--button {
|
|
7
7
|
--ilo-button-label-weight: 700;
|
|
8
|
-
--ilo-button-labels-actionable-color: var(--ilo-color-
|
|
9
|
-
--ilo-button-labels-active-color: var(--ilo-color-
|
|
10
|
-
--ilo-button-labels-alert-color: var(--ilo-color-
|
|
11
|
-
--ilo-button-labels-hover-color: var(--ilo-color-
|
|
8
|
+
--ilo-button-labels-actionable-color: var(--ilo-color-light-text-brand);
|
|
9
|
+
--ilo-button-labels-active-color: var(--ilo-color-dark-text-brand);
|
|
10
|
+
--ilo-button-labels-alert-color: var(--ilo-color-light-text-inverse);
|
|
11
|
+
--ilo-button-labels-hover-color: var(--ilo-color-light-action-hover);
|
|
12
12
|
|
|
13
13
|
// This provides a reference to the outerclass within nested declarations
|
|
14
14
|
$button: &;
|
|
@@ -85,49 +85,51 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&__primary {
|
|
88
|
-
background-color: var(--ilo-color-
|
|
89
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
88
|
+
background-color: var(--ilo-color-light-feedback-warning-default);
|
|
89
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-focus) solid;
|
|
90
90
|
color: var(--ilo-button-labels-actionable-color);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&__secondary {
|
|
94
|
-
background-color: var(--ilo-color-
|
|
95
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
94
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
95
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-default) solid;
|
|
96
96
|
color: var(--ilo-button-labels-actionable-color);
|
|
97
97
|
|
|
98
98
|
&:hover {
|
|
99
|
-
background-color: var(--ilo-color-
|
|
100
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
99
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
100
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
&:active {
|
|
104
|
-
background-color: var(--ilo-color-
|
|
105
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
104
|
+
background-color: var(--ilo-color-light-action-selected);
|
|
105
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
106
106
|
box-shadow: none;
|
|
107
107
|
color: var(--ilo-button-labels-active-color);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&__tertiary {
|
|
112
|
-
background-color: var(--ilo-color-
|
|
113
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
112
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
113
|
+
border: var(--ilo-border-md) var(--ilo-color-light-container-bg-disabled)
|
|
114
|
+
solid;
|
|
114
115
|
color: var(--ilo-button-labels-actionable-color);
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
&__alert {
|
|
118
|
-
background-color: var(--ilo-color-
|
|
119
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
119
|
+
background-color: var(--ilo-color-light-feedback-error-dark);
|
|
120
|
+
border: var(--ilo-border-md) var(--ilo-color-light-feedback-error-dark)
|
|
121
|
+
solid;
|
|
120
122
|
color: var(--ilo-button-labels-alert-color);
|
|
121
123
|
|
|
122
124
|
&:hover {
|
|
123
|
-
background-color: var(--ilo-color-
|
|
124
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
125
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
126
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
125
127
|
color: var(--ilo-button-labels-hover-color);
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
&:active {
|
|
129
|
-
background-color: var(--ilo-color-
|
|
130
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
131
|
+
background-color: var(--ilo-color-light-action-selected);
|
|
132
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
131
133
|
box-shadow: none;
|
|
132
134
|
color: var(--ilo-button-labels-active-color);
|
|
133
135
|
}
|
|
@@ -138,23 +140,23 @@
|
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
&:focus-visible {
|
|
141
|
-
background-color: var(--ilo-color-
|
|
142
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
143
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
144
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-focus) solid;
|
|
143
145
|
box-shadow:
|
|
144
|
-
4px 4px 0 1px var(--ilo-color-
|
|
145
|
-
-4px -4px 0 1px var(--ilo-color-
|
|
146
|
+
4px 4px 0 1px var(--ilo-color-light-border-focus) inset,
|
|
147
|
+
-4px -4px 0 1px var(--ilo-color-light-border-focus) inset;
|
|
146
148
|
@include globaltransition("color, background-color, border-color");
|
|
147
149
|
|
|
148
150
|
&.#{$prefix}--small {
|
|
149
151
|
box-shadow:
|
|
150
|
-
3px 3px 0 1px var(--ilo-color-
|
|
151
|
-
-3px -3px 0 1px var(--ilo-color-
|
|
152
|
+
3px 3px 0 1px var(--ilo-color-light-border-focus) inset,
|
|
153
|
+
-3px -3px 0 1px var(--ilo-color-light-border-focus) inset;
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
&:hover {
|
|
156
|
-
background-color: var(--ilo-color-
|
|
157
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
158
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
159
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
158
160
|
box-shadow: none;
|
|
159
161
|
color: var(--ilo-button-labels-hover-color);
|
|
160
162
|
cursor: pointer;
|
|
@@ -162,8 +164,8 @@
|
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
&:active {
|
|
165
|
-
background-color: var(--ilo-color-
|
|
166
|
-
border: var(--ilo-border-md) var(--ilo-color-
|
|
167
|
+
background-color: var(--ilo-color-light-action-selected);
|
|
168
|
+
border: var(--ilo-border-md) var(--ilo-color-light-border-brand) solid;
|
|
167
169
|
box-shadow: none;
|
|
168
170
|
color: var(--ilo-button-labels-active-color);
|
|
169
171
|
@include globaltransition("color, background-color, border-color");
|
|
@@ -22,34 +22,34 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&__error {
|
|
25
|
-
background: var(--ilo-color-
|
|
25
|
+
background: var(--ilo-color-light-feedback-error-light);
|
|
26
26
|
|
|
27
27
|
#{$callout}--sidebar {
|
|
28
|
-
background: var(--ilo-color-
|
|
28
|
+
background: var(--ilo-color-light-feedback-error-default);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&__info {
|
|
33
|
-
background: var(--ilo-color-
|
|
33
|
+
background: var(--ilo-color-light-feedback-info-light);
|
|
34
34
|
|
|
35
35
|
#{$callout}--sidebar {
|
|
36
|
-
background: var(--ilo-color-
|
|
36
|
+
background: var(--ilo-color-light-action-selected);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&__success {
|
|
41
|
-
background: var(--ilo-color-
|
|
41
|
+
background: var(--ilo-color-light-feedback-success-light);
|
|
42
42
|
|
|
43
43
|
#{$callout}--sidebar {
|
|
44
|
-
background: var(--ilo-color-
|
|
44
|
+
background: var(--ilo-color-light-feedback-success-default);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&__warning {
|
|
49
|
-
background: var(--ilo-color-
|
|
49
|
+
background: var(--ilo-color-light-feedback-warning-light);
|
|
50
50
|
|
|
51
51
|
#{$callout}--sidebar {
|
|
52
|
-
background: var(--ilo-color-
|
|
52
|
+
background: var(--ilo-color-light-feedback-warning-default);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&--content {
|
|
69
|
-
color: var(--ilo-color-
|
|
69
|
+
color: var(--ilo-color-light-text-default);
|
|
70
70
|
padding: spacing(6);
|
|
71
71
|
width: 100%;
|
|
72
72
|
font-size: px-to-rem(14px);
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
@include typography("highlight-medium-bold");
|
|
92
92
|
background: none;
|
|
93
93
|
border: none;
|
|
94
|
-
color: var(--ilo-color-
|
|
94
|
+
color: var(--ilo-color-light-text-brand);
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
font-weight: 500;
|
|
97
97
|
padding-inline-end: spacing(8);
|
|
98
98
|
position: relative;
|
|
99
99
|
|
|
100
100
|
&--icon {
|
|
101
|
-
@include icon("chevron_down", var(--ilo-color-
|
|
101
|
+
@include icon("chevron_down", var(--ilo-color-light-action-default));
|
|
102
102
|
background-position: right;
|
|
103
103
|
background-repeat: no-repeat;
|
|
104
104
|
display: inline-block;
|
|
@@ -125,19 +125,28 @@
|
|
|
125
125
|
|
|
126
126
|
&__alert {
|
|
127
127
|
&__error {
|
|
128
|
-
@include icon(
|
|
128
|
+
@include icon(
|
|
129
|
+
"notification_error",
|
|
130
|
+
var(--ilo-color-light-icon-inverse)
|
|
131
|
+
);
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
&__info {
|
|
132
|
-
@include icon("notification_info", var(--ilo-color-
|
|
135
|
+
@include icon("notification_info", var(--ilo-color-light-icon-inverse));
|
|
133
136
|
}
|
|
134
137
|
|
|
135
138
|
&__success {
|
|
136
|
-
@include icon(
|
|
139
|
+
@include icon(
|
|
140
|
+
"notification_success",
|
|
141
|
+
var(--ilo-color-light-icon-inverse)
|
|
142
|
+
);
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
&__warning {
|
|
140
|
-
@include icon(
|
|
146
|
+
@include icon(
|
|
147
|
+
"notification_warning",
|
|
148
|
+
var(--ilo-color-light-icon-inverse)
|
|
149
|
+
);
|
|
141
150
|
}
|
|
142
151
|
}
|
|
143
152
|
}
|