@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
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
&__label {
|
|
41
41
|
@include typography("highlight-medium");
|
|
42
|
-
color: var(--ilo-color-
|
|
42
|
+
color: var(--ilo-color-light-text-brand);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&__icon {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
height: px-to-rem(24px);
|
|
49
49
|
margin-top: -3px;
|
|
50
50
|
|
|
51
|
-
@include icon("search", var(--ilo-color-
|
|
51
|
+
@include icon("search", var(--ilo-color-light-action-default));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
width: 100%;
|
|
76
76
|
display: block;
|
|
77
77
|
text-decoration: none;
|
|
78
|
-
color: var(--ilo-color-
|
|
78
|
+
color: var(--ilo-color-light-text-brand);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&-language {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
justify-content: space-between;
|
|
89
89
|
|
|
90
90
|
&__label {
|
|
91
|
-
color: var(--ilo-color-
|
|
91
|
+
color: var(--ilo-color-light-text-brand);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&__icon {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
height: px-to-rem(24px);
|
|
98
98
|
margin-top: -3px;
|
|
99
99
|
|
|
100
|
-
@include icon("globe", var(--ilo-color-
|
|
100
|
+
@include icon("globe", var(--ilo-color-light-action-default));
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
justify-content: space-between;
|
|
112
|
-
color: var(--ilo-color-
|
|
112
|
+
color: var(--ilo-color-light-text-brand);
|
|
113
113
|
border-bottom: 2px solid transparent;
|
|
114
114
|
@include typography("highlight-medium");
|
|
115
115
|
|
|
116
116
|
&:hover {
|
|
117
|
-
background-color: var(--ilo-color-
|
|
118
|
-
color: var(--ilo-color-
|
|
119
|
-
border-bottom-color: var(--ilo-color-
|
|
117
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
118
|
+
color: var(--ilo-color-light-action-hover);
|
|
119
|
+
border-bottom-color: var(--ilo-color-light-border-brand);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
&__icon {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
width: px-to-rem(24px);
|
|
125
125
|
height: px-to-rem(24px);
|
|
126
126
|
|
|
127
|
-
@include icon("chevron_right", var(--ilo-color-
|
|
127
|
+
@include icon("chevron_right", var(--ilo-color-light-action-default));
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
&__header {
|
|
137
|
-
--ilo-nav_compact-close_icon-color: var(--ilo-color-
|
|
137
|
+
--ilo-nav_compact-close_icon-color: var(--ilo-color-light-action-default);
|
|
138
138
|
&__icon {
|
|
139
139
|
display: block;
|
|
140
140
|
width: px-to-rem(24px);
|
|
@@ -157,21 +157,21 @@
|
|
|
157
157
|
display: flex;
|
|
158
158
|
gap: spacing(2);
|
|
159
159
|
align-items: center;
|
|
160
|
-
color: var(--ilo-color-
|
|
160
|
+
color: var(--ilo-color-light-text-brand);
|
|
161
161
|
border-bottom: 2px solid transparent;
|
|
162
162
|
@include typography("highlight-medium");
|
|
163
163
|
|
|
164
164
|
&:hover {
|
|
165
|
-
--ilo-nav_compact-close_icon-color: var(--ilo-color-
|
|
166
|
-
background-color: var(--ilo-color-
|
|
167
|
-
color: var(--ilo-color-
|
|
168
|
-
border-bottom-color: var(--ilo-color-
|
|
165
|
+
--ilo-nav_compact-close_icon-color: var(--ilo-color-light-action-hover);
|
|
166
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
167
|
+
color: var(--ilo-color-light-action-hover);
|
|
168
|
+
border-bottom-color: var(--ilo-color-light-border-brand);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&__title {
|
|
173
173
|
@include typography("heading-4", true);
|
|
174
|
-
color: var(--ilo-color-
|
|
174
|
+
color: var(--ilo-color-light-text-default);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
gap: spacing(1);
|
|
17
17
|
align-items: center;
|
|
18
|
-
color: var(--ilo-color-
|
|
18
|
+
color: var(--ilo-color-light-text-inverse);
|
|
19
19
|
animation: slideDown 0.2s ease-out;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
transform: translateY(-50%);
|
|
45
45
|
width: px-to-rem(3px);
|
|
46
46
|
height: 100%;
|
|
47
|
-
background-color: var(--ilo-color-
|
|
47
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
48
48
|
|
|
49
49
|
[dir="rtl"] & {
|
|
50
50
|
left: auto;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
width: px-to-rem(24px);
|
|
60
60
|
height: px-to-rem(24px);
|
|
61
61
|
background: transparent;
|
|
62
|
-
color: var(--ilo-color-
|
|
62
|
+
color: var(--ilo-color-light-text-inverse);
|
|
63
63
|
cursor: pointer;
|
|
64
64
|
flex-shrink: 0;
|
|
65
65
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
left: 0;
|
|
79
79
|
right: 0;
|
|
80
80
|
background: rgba(0, 0, 0, 0.8);
|
|
81
|
-
color: var(--ilo-color-
|
|
81
|
+
color: var(--ilo-color-light-text-inverse);
|
|
82
82
|
animation: slideUp 0.2s ease-out;
|
|
83
83
|
align-items: flex-start;
|
|
84
84
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
opacity: 0;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
|
-
background-color: var(--ilo-color-
|
|
17
|
+
background-color: var(--ilo-color-light-container-bg-inverse);
|
|
18
18
|
|
|
19
19
|
&--open {
|
|
20
20
|
display: flex;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
left: 0;
|
|
28
28
|
right: 0;
|
|
29
29
|
bottom: 0;
|
|
30
|
-
background-color: var(--ilo-color-
|
|
30
|
+
background-color: var(--ilo-color-light-container-bg-inverse);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&__container {
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
top: 0;
|
|
48
48
|
right: 0;
|
|
49
49
|
z-index: 10000;
|
|
50
|
-
background: var(--ilo-color-
|
|
50
|
+
background: var(--ilo-color-light-container-bg-default);
|
|
51
51
|
border: none;
|
|
52
52
|
width: px-to-rem(40px);
|
|
53
53
|
height: px-to-rem(40px);
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
justify-content: center;
|
|
57
|
-
color: var(--ilo-color-
|
|
57
|
+
color: var(--ilo-color-light-text-default);
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
|
|
60
60
|
&:hover {
|
|
61
|
-
background: var(--ilo-color-
|
|
62
|
-
color: var(--ilo-color-
|
|
61
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
62
|
+
color: var(--ilo-color-light-action-hover);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
&:focus {
|
|
66
|
-
outline: 2px solid var(--ilo-color-
|
|
66
|
+
outline: 2px solid var(--ilo-color-light-border-brand);
|
|
67
67
|
outline-offset: 2px;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
position: absolute;
|
|
59
59
|
bottom: 0;
|
|
60
60
|
left: 0;
|
|
61
|
-
color: var(--ilo-color-
|
|
61
|
+
color: var(--ilo-color-light-text-inverse);
|
|
62
62
|
height: 25px;
|
|
63
63
|
display: flex;
|
|
64
64
|
@include typography("body-xsmall");
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
padding: spacing(1) spacing(3);
|
|
74
74
|
display: flex;
|
|
75
75
|
align-items: center;
|
|
76
|
-
background-color: var(--ilo-color-
|
|
76
|
+
background-color: var(--ilo-color-light-container-bg-inverse);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&-corner {
|
|
80
80
|
display: block;
|
|
81
81
|
width: px-to-rem(25px);
|
|
82
82
|
height: px-to-rem(25px);
|
|
83
|
-
background-color: var(--ilo-color-
|
|
83
|
+
background-color: var(--ilo-color-light-container-bg-inverse);
|
|
84
84
|
clip-path: polygon(0 0, 0% 100%, 100% 100%);
|
|
85
85
|
margin-left: px-to-rem(-0.5px);
|
|
86
86
|
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
&-text {
|
|
152
|
-
color: var(--ilo-color-
|
|
152
|
+
color: var(--ilo-color-light-text-inverse);
|
|
153
153
|
@include typography("body-small");
|
|
154
154
|
position: relative;
|
|
155
155
|
padding-left: spacing(4);
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
transform: translateY(-50%);
|
|
171
171
|
width: px-to-rem(3px);
|
|
172
172
|
height: 100%;
|
|
173
|
-
background-color: var(--ilo-color-
|
|
173
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
174
174
|
|
|
175
175
|
[dir="rtl"] & {
|
|
176
176
|
left: auto;
|
|
@@ -200,14 +200,14 @@
|
|
|
200
200
|
width: px-to-rem(90px);
|
|
201
201
|
border: none;
|
|
202
202
|
outline: none;
|
|
203
|
-
background-color: var(--ilo-color-
|
|
203
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
204
204
|
display: flex;
|
|
205
205
|
align-items: center;
|
|
206
206
|
justify-content: center;
|
|
207
207
|
cursor: pointer;
|
|
208
208
|
|
|
209
209
|
&:focus {
|
|
210
|
-
outline: px-to-rem(2px) solid var(--ilo-color-
|
|
210
|
+
outline: px-to-rem(2px) solid var(--ilo-color-light-border-brand);
|
|
211
211
|
outline-offset: px-to-rem(2px);
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
rgba(30, 45, 190, 0.4) 100%
|
|
238
238
|
);
|
|
239
239
|
pointer-events: none;
|
|
240
|
-
border-bottom: px-to-rem(4) solid var(--ilo-color-
|
|
240
|
+
border-bottom: px-to-rem(4) solid var(--ilo-color-light-border-brand);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
gap: spacing(1);
|
|
15
15
|
@include typography("highlight-small");
|
|
16
16
|
font-family: var(--ilo-fonts-copy);
|
|
17
|
-
color: var(--ilo-color-
|
|
17
|
+
color: var(--ilo-color-light-text-inverse);
|
|
18
18
|
|
|
19
19
|
[dir="rtl"] & {
|
|
20
20
|
flex-direction: row-reverse;
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&__item {
|
|
31
|
-
background: var(--ilo-color-
|
|
31
|
+
background: var(--ilo-color-light-container-bg-disabled);
|
|
32
32
|
border: none;
|
|
33
33
|
border-radius: 2px;
|
|
34
|
-
color: var(--ilo-color-
|
|
34
|
+
color: var(--ilo-color-light-text-brand);
|
|
35
35
|
height: px-to-rem(40px);
|
|
36
36
|
width: px-to-rem(40px);
|
|
37
37
|
position: relative;
|
|
@@ -50,19 +50,25 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:hover {
|
|
53
|
-
background: var(--ilo-color-
|
|
54
|
-
color: var(--ilo-color-
|
|
53
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
54
|
+
color: var(--ilo-color-light-action-hover);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&__first {
|
|
59
59
|
&::before {
|
|
60
60
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
61
|
-
@include icon(
|
|
61
|
+
@include icon(
|
|
62
|
+
"double_chevron_right",
|
|
63
|
+
var(--ilo-color-light-action-default)
|
|
64
|
+
);
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
&:hover::before {
|
|
65
|
-
@include icon(
|
|
68
|
+
@include icon(
|
|
69
|
+
"double_chevron_right",
|
|
70
|
+
var(--ilo-color-light-action-hover)
|
|
71
|
+
);
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
[dir="rtl"] & {
|
|
@@ -74,12 +80,12 @@
|
|
|
74
80
|
|
|
75
81
|
&__prev {
|
|
76
82
|
&::before {
|
|
77
|
-
@include icon("chevron_right", var(--ilo-color-
|
|
83
|
+
@include icon("chevron_right", var(--ilo-color-light-action-default));
|
|
78
84
|
transform: translate(-50%, -50%) rotate(180deg);
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
&:hover::before {
|
|
82
|
-
@include icon("chevron_right", var(--ilo-color-
|
|
88
|
+
@include icon("chevron_right", var(--ilo-color-light-action-hover));
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
[dir="rtl"] & {
|
|
@@ -91,12 +97,12 @@
|
|
|
91
97
|
|
|
92
98
|
&__next {
|
|
93
99
|
&::before {
|
|
94
|
-
@include icon("chevron_right", var(--ilo-color-
|
|
100
|
+
@include icon("chevron_right", var(--ilo-color-light-action-default));
|
|
95
101
|
transform: translate(-50%, -50%);
|
|
96
102
|
}
|
|
97
103
|
|
|
98
104
|
&:hover::before {
|
|
99
|
-
@include icon("chevron_right", var(--ilo-color-
|
|
105
|
+
@include icon("chevron_right", var(--ilo-color-light-action-hover));
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
[dir="rtl"] & {
|
|
@@ -108,12 +114,18 @@
|
|
|
108
114
|
|
|
109
115
|
&__last {
|
|
110
116
|
&::before {
|
|
111
|
-
@include icon(
|
|
117
|
+
@include icon(
|
|
118
|
+
"double_chevron_right",
|
|
119
|
+
var(--ilo-color-light-action-default)
|
|
120
|
+
);
|
|
112
121
|
transform: translate(-50%, -50%);
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
&:hover::before {
|
|
116
|
-
@include icon(
|
|
125
|
+
@include icon(
|
|
126
|
+
"double_chevron_right",
|
|
127
|
+
var(--ilo-color-light-action-hover)
|
|
128
|
+
);
|
|
117
129
|
}
|
|
118
130
|
|
|
119
131
|
[dir="rtl"] & {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
position: relative;
|
|
36
36
|
border: none;
|
|
37
37
|
cursor: pointer;
|
|
38
|
-
background-color: var(--ilo-color-
|
|
38
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
39
39
|
display: flex;
|
|
40
40
|
justify-content: center;
|
|
41
41
|
align-items: center;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
rgba(30, 45, 190, 0.4) 100%
|
|
55
55
|
);
|
|
56
56
|
pointer-events: none;
|
|
57
|
-
border-bottom: px-to-rem(4) solid var(--ilo-color-
|
|
57
|
+
border-bottom: px-to-rem(4) solid var(--ilo-color-light-border-brand);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
flex-shrink: 0;
|
|
70
70
|
width: var(--ilo-photo_gallery-thumbnails-width);
|
|
71
71
|
aspect-ratio: 16 / 9;
|
|
72
|
-
background-color: var(--ilo-color-
|
|
72
|
+
background-color: var(--ilo-color-light-container-bg-brand);
|
|
73
73
|
border: none;
|
|
74
74
|
outline: none;
|
|
75
75
|
display: flex;
|
|
@@ -79,22 +79,22 @@
|
|
|
79
79
|
|
|
80
80
|
&-label {
|
|
81
81
|
@include typography("highlight-small-bold");
|
|
82
|
-
color: var(--ilo-color-
|
|
82
|
+
color: var(--ilo-color-light-text-brand);
|
|
83
83
|
text-align: center;
|
|
84
|
-
background-color: var(--ilo-color-
|
|
84
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
85
85
|
padding: spacing(2) spacing(4) spacing(1) spacing(4);
|
|
86
86
|
border-radius: var(--ilo-border-radius);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&:hover,
|
|
90
90
|
&:focus {
|
|
91
|
-
background-color: var(--ilo-color-
|
|
91
|
+
background-color: var(--ilo-color-light-action-selected);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&:hover &-label,
|
|
95
95
|
&:focus &-label {
|
|
96
|
-
background-color: var(--ilo-color-
|
|
97
|
-
color: var(--ilo-color-
|
|
96
|
+
background-color: var(--ilo-color-light-container-bg-subtle);
|
|
97
|
+
color: var(--ilo-color-light-action-hover);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
.ilo--photo-gallery {
|
|
7
7
|
--ilo-photo_gallery-target-height: 210px;
|
|
8
|
-
background-color: var(--ilo-color-
|
|
8
|
+
background-color: var(--ilo-color-light-container-bg-default);
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
gap: spacing(4);
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
width: 100%;
|
|
67
67
|
object-fit: contain;
|
|
68
68
|
height: inherit;
|
|
69
|
-
background-color: var(--ilo-color-
|
|
69
|
+
background-color: var(--ilo-color-light-container-bg-disabled);
|
|
70
70
|
height: var(--ilo-photo_gallery-target-height);
|
|
71
71
|
position: relative;
|
|
72
72
|
}
|
|
@@ -122,24 +122,24 @@
|
|
|
122
122
|
top: 0;
|
|
123
123
|
right: 0;
|
|
124
124
|
z-index: 2;
|
|
125
|
-
background: var(--ilo-color-
|
|
125
|
+
background: var(--ilo-color-light-container-bg-disabled);
|
|
126
126
|
border: none;
|
|
127
127
|
width: px-to-rem(40px);
|
|
128
128
|
height: px-to-rem(40px);
|
|
129
129
|
display: flex;
|
|
130
130
|
align-items: center;
|
|
131
131
|
justify-content: center;
|
|
132
|
-
color: var(--ilo-color-
|
|
132
|
+
color: var(--ilo-color-light-text-brand);
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
border-radius: var(--ilo-border-radius);
|
|
135
135
|
|
|
136
136
|
&:hover {
|
|
137
|
-
background: var(--ilo-color-
|
|
138
|
-
color: var(--ilo-color-
|
|
137
|
+
background: var(--ilo-color-light-container-bg-subtle);
|
|
138
|
+
color: var(--ilo-color-light-action-hover);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
&:focus {
|
|
142
|
-
outline: 2px solid var(--ilo-color-
|
|
142
|
+
outline: 2px solid var(--ilo-color-light-border-brand);
|
|
143
143
|
outline-offset: 2px;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
&__caption {
|
|
149
149
|
@include typography("body-small");
|
|
150
|
-
color: var(--ilo-color-
|
|
150
|
+
color: var(--ilo-color-light-text-subtle);
|
|
151
151
|
padding-left: spacing(4);
|
|
152
152
|
position: relative;
|
|
153
153
|
overflow: hidden;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
transform: translateY(-50%);
|
|
169
169
|
width: px-to-rem(3px);
|
|
170
170
|
height: 100%;
|
|
171
|
-
background-color: var(--ilo-color-
|
|
171
|
+
background-color: var(--ilo-color-light-container-bg-inactive);
|
|
172
172
|
|
|
173
173
|
[dir="rtl"] & {
|
|
174
174
|
left: auto;
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Legacy Colors (aliases pointing to new global colors)
|
|
16
|
+
*
|
|
17
|
+
* @deprecated Use the Light/Dark Semantic Colors below — they name the role a
|
|
18
|
+
* colour plays (Text, Action, Icon, Border, Container Background, Page
|
|
19
|
+
* Background, Supportive Feedback, Generic) rather than the colour itself.
|
|
20
|
+
* These aliases are kept for backwards compatibility with downstream consumers
|
|
21
|
+
* only. Nothing inside this repo references them any more — not the component
|
|
22
|
+
* styles, not the Twig templates, not the React components, not Storybook — so
|
|
23
|
+
* the whole block can be deleted in the next major of @ilo-org/styles.
|
|
16
24
|
*/
|
|
17
25
|
--ilo-color-white: var(--ilo-color-neutrals-white);
|
|
18
26
|
--ilo-color-blue: var(--ilo-color-brand-600);
|
|
@@ -136,6 +144,8 @@
|
|
|
136
144
|
// Icon
|
|
137
145
|
--ilo-color-light-icon-default: var(--ilo-color-neutrals-black);
|
|
138
146
|
--ilo-color-light-icon-subtle: var(--ilo-color-neutrals-500);
|
|
147
|
+
--ilo-color-light-icon-brand: var(--ilo-color-brand-800);
|
|
148
|
+
--ilo-color-light-icon-disabled: var(--ilo-color-neutrals-200);
|
|
139
149
|
--ilo-color-light-icon-accent: var(--ilo-color-purple-600);
|
|
140
150
|
--ilo-color-light-icon-inverse: var(--ilo-color-neutrals-white);
|
|
141
151
|
|
|
@@ -154,6 +164,10 @@
|
|
|
154
164
|
--ilo-color-light-container-bg-subtle: var(--ilo-color-brand-100);
|
|
155
165
|
--ilo-color-light-container-bg-brand: var(--ilo-color-brand-800);
|
|
156
166
|
--ilo-color-light-container-bg-disabled: var(--ilo-color-neutrals-200);
|
|
167
|
+
--ilo-color-light-container-bg-inactive: var(--ilo-color-neutrals-500);
|
|
168
|
+
--ilo-color-light-container-bg-inverse-subtle: var(--ilo-color-neutrals-700);
|
|
169
|
+
--ilo-color-light-container-bg-inverse: var(--ilo-color-neutrals-black);
|
|
170
|
+
--ilo-color-light-container-bg-accent: var(--ilo-color-yellow-400);
|
|
157
171
|
|
|
158
172
|
// Page Background
|
|
159
173
|
--ilo-color-light-page-bg-default: var(--ilo-color-neutrals-white);
|
|
@@ -191,12 +205,14 @@
|
|
|
191
205
|
// Action
|
|
192
206
|
--ilo-color-dark-action-default: var(--ilo-color-brand-100);
|
|
193
207
|
--ilo-color-dark-action-hover: var(--ilo-color-brand-200);
|
|
194
|
-
--ilo-color-dark-action-selected: var(--ilo-color-brand-
|
|
208
|
+
--ilo-color-dark-action-selected: var(--ilo-color-brand-600);
|
|
195
209
|
--ilo-color-dark-action-inverse: var(--ilo-color-brand-800);
|
|
196
210
|
|
|
197
211
|
// Icon
|
|
198
212
|
--ilo-color-dark-icon-default: var(--ilo-color-neutrals-white);
|
|
199
213
|
--ilo-color-dark-icon-subtle: var(--ilo-color-neutrals-700);
|
|
214
|
+
--ilo-color-dark-icon-brand: var(--ilo-color-brand-200);
|
|
215
|
+
--ilo-color-dark-icon-disabled: var(--ilo-color-neutrals-700);
|
|
200
216
|
--ilo-color-dark-icon-accent: var(--ilo-color-yellow-400);
|
|
201
217
|
--ilo-color-dark-icon-inverse: var(--ilo-color-brand-800);
|
|
202
218
|
|
|
@@ -215,6 +231,9 @@
|
|
|
215
231
|
--ilo-color-dark-container-bg-subtle: var(--ilo-color-brand-600);
|
|
216
232
|
--ilo-color-dark-container-bg-brand: var(--ilo-color-brand-100);
|
|
217
233
|
--ilo-color-dark-container-bg-disabled: var(--ilo-color-neutrals-black);
|
|
234
|
+
--ilo-color-dark-container-bg-inactive: var(--ilo-color-neutrals-700);
|
|
235
|
+
--ilo-color-dark-container-bg-inverse-subtle: var(--ilo-color-neutrals-200);
|
|
236
|
+
--ilo-color-dark-container-bg-inverse: var(--ilo-color-neutrals-white);
|
|
218
237
|
|
|
219
238
|
// Page Background
|
|
220
239
|
--ilo-color-dark-page-bg-default: var(--ilo-color-brand-800);
|