@ilo-org/styles 1.9.0 → 1.10.1
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 -0
- package/css/components/blockquote.css +1 -1
- package/css/components/breadcrumb.css +1 -1
- package/css/components/button.css +1 -1
- package/css/components/callout.css +1 -1
- package/css/components/card.css +1 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/checkbox.css +1 -1
- package/css/components/container.css +1 -1
- package/css/components/contextmenu.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/languagetoggle.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/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/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 +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 +3 -3
- package/css/index.css.map +1 -1
- package/css/monorepo.css +3 -3
- package/css/monorepo.css.map +1 -1
- package/package.json +2 -2
- package/scss/_animations.scss +47 -1
- package/scss/_mixins.scss +9 -0
- package/scss/components/_audioplayer.scss +206 -0
- package/scss/components/_card.scss +1 -0
- package/scss/components/_datacard.scss +23 -0
- package/scss/components/_detailcard.scss +77 -0
- package/scss/components/_factlistcard.scss +10 -0
- package/scss/components/_featurecard.scss +23 -1
- package/scss/components/_footer.scss +26 -64
- package/scss/components/_languagetoggle.scss +7 -1
- package/scss/components/_multilinkcard.scss +57 -1
- package/scss/components/_promocard.scss +28 -0
- package/scss/components/_scorecard.scss +23 -0
- package/scss/components/_socialmedia.scss +43 -35
- package/scss/components/_statcard.scss +24 -0
- package/scss/components/_textcard.scss +19 -0
- package/scss/components/_video.scss +7 -1
- package/scss/components/index.scss +2 -0
- package/scss/components/navigation/_nav-complex.scss +16 -161
- package/scss/components/navigation/_nav-main.scss +127 -0
- package/scss/components/navigation/index.scss +2 -4
- package/scss/components/navigation/{_nav-dropdown.scss → internal/_nav-dropdown.scss} +4 -4
- package/scss/components/navigation/{_nav-grid.scss → internal/_nav-grid.scss} +4 -4
- package/scss/components/navigation/{_nav-menu.scss → internal/_nav-menu.scss} +31 -6
- package/scss/components/navigation/internal/_nav-shared.scss +206 -0
- package/scss/components/navigation/internal/index.scss +5 -0
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-drawer.scss +4 -4
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile-menu.scss +4 -4
- package/scss/components/navigation/{mobile → internal/mobile}/_nav-mobile.scss +25 -4
- package/scss/components/photogallery/_expandable-caption.scss +92 -0
- package/scss/components/photogallery/_lightbox.scss +70 -0
- package/scss/components/photogallery/_lightboxgallery.scss +254 -0
- package/scss/components/photogallery/_photogallery-controls.scss +125 -0
- package/scss/components/photogallery/_photogallery-thumbnails.scss +100 -0
- package/scss/components/photogallery/_photogallery.scss +179 -0
- package/scss/components/photogallery/index.scss +6 -0
- package/scss/theme/_foundation.scss +10 -4
- /package/scss/components/navigation/{mobile → internal/mobile}/index.scss +0 -0
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.10.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/international-labour-organization/designsystem.git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@ilo-org/fonts": "2.0.0",
|
|
42
|
-
"@ilo-org/icons": "2.
|
|
42
|
+
"@ilo-org/icons": "2.4.0",
|
|
43
43
|
"@ilo-org/themes": "0.9.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
package/scss/_animations.scss
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// $ANIMATIONS
|
|
3
3
|
//*------------------------------------*/
|
|
4
4
|
@use "tokens" as *;
|
|
5
|
-
@import "mixins";
|
|
6
5
|
|
|
7
6
|
// ======================================
|
|
8
7
|
// Global transition
|
|
@@ -39,3 +38,50 @@
|
|
|
39
38
|
transform: rotate(360deg);
|
|
40
39
|
}
|
|
41
40
|
}
|
|
41
|
+
|
|
42
|
+
// ======================================
|
|
43
|
+
// Animation for loading skeletons
|
|
44
|
+
// ======================================
|
|
45
|
+
@mixin pulse-animation() {
|
|
46
|
+
animation-name: pulse;
|
|
47
|
+
animation-delay: 0.5s;
|
|
48
|
+
animation-duration: 2s;
|
|
49
|
+
animation-timing-function: ease-in-out;
|
|
50
|
+
animation-iteration-count: infinite;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@keyframes pulse {
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
50% {
|
|
59
|
+
opacity: 0.4;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
100% {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@keyframes slideUp {
|
|
68
|
+
from {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
transform: translateY(30px);
|
|
71
|
+
}
|
|
72
|
+
to {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
transform: translateY(0);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@keyframes slideDown {
|
|
79
|
+
from {
|
|
80
|
+
opacity: 0;
|
|
81
|
+
transform: translateY(-30px);
|
|
82
|
+
}
|
|
83
|
+
to {
|
|
84
|
+
opacity: 1;
|
|
85
|
+
transform: translateY(0);
|
|
86
|
+
}
|
|
87
|
+
}
|
package/scss/_mixins.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
//*------------------------------------*/
|
|
4
4
|
@use "tokens" as *;
|
|
5
5
|
@use "functions" as *;
|
|
6
|
+
@use "animations" as *;
|
|
6
7
|
@use "theme/breakpoints" as *;
|
|
7
8
|
|
|
8
9
|
// ======================================
|
|
@@ -544,3 +545,11 @@
|
|
|
544
545
|
@error "Typography variant '#{$variant}' not recognized";
|
|
545
546
|
}
|
|
546
547
|
}
|
|
548
|
+
|
|
549
|
+
@mixin skeleton-element($height, $width) {
|
|
550
|
+
height: px-to-rem($height);
|
|
551
|
+
width: $width;
|
|
552
|
+
background: var(--ilo-skeleton-element-background-color);
|
|
553
|
+
|
|
554
|
+
@include pulse-animation();
|
|
555
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@use "../functions" as *;
|
|
2
|
+
@import "../mixins";
|
|
3
|
+
|
|
4
|
+
.ilo--audio-player {
|
|
5
|
+
&--progress-bar {
|
|
6
|
+
height: px-to-rem(8px);
|
|
7
|
+
background-color: var(--ilo-color-gray-accessible);
|
|
8
|
+
position: relative;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
&--progress-complete {
|
|
12
|
+
--progress: 0%;
|
|
13
|
+
width: var(--progress);
|
|
14
|
+
height: 100%;
|
|
15
|
+
background-color: var(--ilo-color-yellow-500);
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
transition: width 0.5s;
|
|
20
|
+
}
|
|
21
|
+
&--body {
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-columns: 1fr 1fr;
|
|
24
|
+
grid-template-rows: auto auto;
|
|
25
|
+
grid-template-areas:
|
|
26
|
+
"left left"
|
|
27
|
+
"center right";
|
|
28
|
+
align-items: center;
|
|
29
|
+
color: var(--ilo-color-white);
|
|
30
|
+
background-color: var(--ilo-color-gray-charcoal);
|
|
31
|
+
padding: spacing(3) 0;
|
|
32
|
+
row-gap: spacing(3);
|
|
33
|
+
}
|
|
34
|
+
&--left {
|
|
35
|
+
grid-area: left;
|
|
36
|
+
border-bottom: 1px solid var(--ilo-color-gray-accessible);
|
|
37
|
+
padding-inline: spacing(3);
|
|
38
|
+
padding-block-end: spacing(3);
|
|
39
|
+
}
|
|
40
|
+
&--track-name {
|
|
41
|
+
font-size: var(--ilo-font-size-sm);
|
|
42
|
+
font-weight: var(--ilo-font-weight-medium);
|
|
43
|
+
line-height: var(--ilo-line-height-lg);
|
|
44
|
+
}
|
|
45
|
+
&--track-details {
|
|
46
|
+
display: flex;
|
|
47
|
+
font-size: var(--ilo-font-size-xsm);
|
|
48
|
+
line-height: var(--ilo-line-height-xlg);
|
|
49
|
+
color: var(--ilo-color-gray-light);
|
|
50
|
+
}
|
|
51
|
+
&--track-creator::before {
|
|
52
|
+
content: "•";
|
|
53
|
+
margin-right: spacing(2);
|
|
54
|
+
}
|
|
55
|
+
&--track-programme {
|
|
56
|
+
text-wrap: nowrap;
|
|
57
|
+
}
|
|
58
|
+
&--track-creator {
|
|
59
|
+
margin-left: spacing(2);
|
|
60
|
+
text-wrap: nowrap;
|
|
61
|
+
}
|
|
62
|
+
&--center {
|
|
63
|
+
grid-area: center;
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: spacing(1);
|
|
67
|
+
padding-inline-start: spacing(3);
|
|
68
|
+
}
|
|
69
|
+
&--skip-button {
|
|
70
|
+
border: none;
|
|
71
|
+
display: flex;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
padding: spacing(2);
|
|
74
|
+
}
|
|
75
|
+
&--skip-button:hover {
|
|
76
|
+
background-color: var(--ilo-color-brand-100);
|
|
77
|
+
color: var(--ilo-color-brand-600);
|
|
78
|
+
}
|
|
79
|
+
&--play-button {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
background-color: var(--ilo-color-yellow-500);
|
|
83
|
+
color: var(--ilo-color-brand-800);
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
padding: spacing(1);
|
|
87
|
+
border: none;
|
|
88
|
+
}
|
|
89
|
+
&--play-button:hover {
|
|
90
|
+
background-color: var(--ilo-color-brand-100);
|
|
91
|
+
}
|
|
92
|
+
[aria-label="Play"] &--play-icon {
|
|
93
|
+
display: block;
|
|
94
|
+
}
|
|
95
|
+
[aria-label="Play"] &--pause-icon {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
[aria-label="Pause"] &--play-icon {
|
|
99
|
+
display: none;
|
|
100
|
+
}
|
|
101
|
+
[aria-label="Pause"] &--pause-icon {
|
|
102
|
+
display: block;
|
|
103
|
+
}
|
|
104
|
+
&--right {
|
|
105
|
+
grid-area: right;
|
|
106
|
+
display: flex;
|
|
107
|
+
justify-content: flex-end;
|
|
108
|
+
align-items: center;
|
|
109
|
+
padding-inline-end: spacing(3);
|
|
110
|
+
}
|
|
111
|
+
&--duration {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
align-items: flex-end;
|
|
115
|
+
}
|
|
116
|
+
&--duration-played {
|
|
117
|
+
font-size: var(--ilo-font-size-sm);
|
|
118
|
+
font-weight: var(--ilo-font-weight-bold);
|
|
119
|
+
line-height: var(--ilo-line-height-lg);
|
|
120
|
+
}
|
|
121
|
+
&--duration-total {
|
|
122
|
+
color: var(--ilo-color-gray-light);
|
|
123
|
+
font-size: var(--ilo-font-size-2xsm);
|
|
124
|
+
line-height: var(--ilo-line-height-2xlg);
|
|
125
|
+
}
|
|
126
|
+
&--separator {
|
|
127
|
+
height: 32px;
|
|
128
|
+
border-left: 1px solid var(--ilo-color-gray-accessible);
|
|
129
|
+
margin: spacing(1) spacing(3);
|
|
130
|
+
}
|
|
131
|
+
&--volume-icon {
|
|
132
|
+
border: none;
|
|
133
|
+
background: none;
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
}
|
|
138
|
+
[aria-label="Mute"] &--sound-on-icon {
|
|
139
|
+
display: block;
|
|
140
|
+
}
|
|
141
|
+
[aria-label="Mute"] &--sound-off-icon {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
[aria-label="Unmute"] &--sound-on-icon {
|
|
145
|
+
display: none;
|
|
146
|
+
}
|
|
147
|
+
[aria-label="Unmute"] &--sound-off-icon {
|
|
148
|
+
display: block;
|
|
149
|
+
}
|
|
150
|
+
&--volume-slider {
|
|
151
|
+
--progress: 100%;
|
|
152
|
+
margin-left: spacing(1);
|
|
153
|
+
background: var(--ilo-color-yellow-500);
|
|
154
|
+
border-radius: 4px;
|
|
155
|
+
height: 4px;
|
|
156
|
+
width: 50%;
|
|
157
|
+
background: linear-gradient(
|
|
158
|
+
to right,
|
|
159
|
+
var(--ilo-color-yellow-500) 0%,
|
|
160
|
+
var(--ilo-color-yellow-500) var(--progress, 50%),
|
|
161
|
+
var(--ilo-color-gray-accessible) var(--progress, 50%),
|
|
162
|
+
var(--ilo-color-gray-accessible) 100%
|
|
163
|
+
);
|
|
164
|
+
[dir="rtl"] & {
|
|
165
|
+
background: linear-gradient(
|
|
166
|
+
to left,
|
|
167
|
+
var(--ilo-color-yellow-500) 0%,
|
|
168
|
+
var(--ilo-color-yellow-500) var(--progress, 50%),
|
|
169
|
+
var(--ilo-color-gray-accessible) var(--progress, 50%),
|
|
170
|
+
var(--ilo-color-gray-accessible) 100%
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
&--volume-slider::-webkit-slider-thumb {
|
|
175
|
+
// Reset default styles
|
|
176
|
+
border: none;
|
|
177
|
+
-webkit-appearance: none;
|
|
178
|
+
|
|
179
|
+
width: 16px;
|
|
180
|
+
height: 16px;
|
|
181
|
+
background: var(--ilo-color-gray-light);
|
|
182
|
+
border-radius: 50%;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
margin-top: -2px; // Center thumb on track
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@include breakpoint("md") {
|
|
188
|
+
&--body {
|
|
189
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
190
|
+
grid-template-rows: auto;
|
|
191
|
+
grid-template-areas: "left center right";
|
|
192
|
+
}
|
|
193
|
+
&--left {
|
|
194
|
+
border-bottom: none;
|
|
195
|
+
padding-inline: spacing(3) 0;
|
|
196
|
+
padding-block: 0;
|
|
197
|
+
}
|
|
198
|
+
&--center {
|
|
199
|
+
justify-content: center;
|
|
200
|
+
padding: 0;
|
|
201
|
+
}
|
|
202
|
+
&--volume-slider {
|
|
203
|
+
width: 40%;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -133,6 +133,7 @@ $link-hover-selectors: ".ilo--card--link:hover, .ilo--card--link:focus, .ilo--ca
|
|
|
133
133
|
&__light {
|
|
134
134
|
background: var(--ilo-color-white);
|
|
135
135
|
border-bottom: px-to-rem(3px) solid var(--ilo-color-gray-base);
|
|
136
|
+
--ilo-skeleton-element-background-color: var(--ilo-color-gray-light);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
&__soft {
|
|
@@ -18,6 +18,29 @@
|
|
|
18
18
|
position: relative;
|
|
19
19
|
width: 100%;
|
|
20
20
|
|
|
21
|
+
&#{$self}__loading {
|
|
22
|
+
--ilo-skeleton-element-background-color: var(--ilo-color-gray-base);
|
|
23
|
+
background-color: var(--ilo-color-gray-light);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#{$self}--skeleton--eyebrow {
|
|
27
|
+
@include skeleton-element(12px, 20%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#{$self}--skeleton--image {
|
|
31
|
+
@include skeleton-element(279px, 200px);
|
|
32
|
+
margin-top: spacing(8);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#{$self}--skeleton--label {
|
|
36
|
+
@include skeleton-element(14px, 20%);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
#{$self}--skeleton--copy {
|
|
40
|
+
@include skeleton-element(14px, 100%);
|
|
41
|
+
margin-top: spacing(2);
|
|
42
|
+
}
|
|
43
|
+
|
|
21
44
|
&--content {
|
|
22
45
|
&-links-list {
|
|
23
46
|
display: flex;
|
|
@@ -16,6 +16,48 @@
|
|
|
16
16
|
padding: spacing(8) spacing(4);
|
|
17
17
|
position: relative;
|
|
18
18
|
|
|
19
|
+
#{$self}--skeleton--image {
|
|
20
|
+
@include skeleton-element(64px, 100%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
#{$self}--skeleton--eyebrow {
|
|
24
|
+
@include skeleton-element(12px, 20%);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#{$self}--skeleton--title-1 {
|
|
28
|
+
@include skeleton-element(14px, 90%);
|
|
29
|
+
margin-top: spacing(4);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
#{$self}--skeleton--title-2 {
|
|
33
|
+
@include skeleton-element(14px, 100%);
|
|
34
|
+
margin-top: spacing(2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#{$self}--skeleton--intro-1 {
|
|
38
|
+
@include skeleton-element(14px, 80%);
|
|
39
|
+
margin-top: spacing(4);
|
|
40
|
+
}
|
|
41
|
+
#{$self}--skeleton--intro-2 {
|
|
42
|
+
@include skeleton-element(14px, 85%);
|
|
43
|
+
margin-top: spacing(2);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
#{$self}--skeleton--intro-3 {
|
|
47
|
+
@include skeleton-element(14px, 90%);
|
|
48
|
+
margin-top: spacing(2);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#{$self}--skeleton--intro-4 {
|
|
52
|
+
@include skeleton-element(14px, 75%);
|
|
53
|
+
margin-top: spacing(2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#{$self}--skeleton--intro-5 {
|
|
57
|
+
@include skeleton-element(14px, 35%);
|
|
58
|
+
margin-top: spacing(2);
|
|
59
|
+
}
|
|
60
|
+
|
|
19
61
|
#{$self}--wrap {
|
|
20
62
|
display: flex;
|
|
21
63
|
flex-flow: column;
|
|
@@ -103,6 +145,41 @@
|
|
|
103
145
|
|
|
104
146
|
&__wide,
|
|
105
147
|
&__fluid {
|
|
148
|
+
#{$self}--content {
|
|
149
|
+
flex: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
#{$self}--skeleton--image {
|
|
153
|
+
@include skeleton-element(130px, 100%);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
#{$self}--skeleton--title-1 {
|
|
157
|
+
@include skeleton-element(14px, 80%);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#{$self}--skeleton--title-2 {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
#{$self}--skeleton--intro-1 {
|
|
165
|
+
@include skeleton-element(14px, 90%);
|
|
166
|
+
}
|
|
167
|
+
#{$self}--skeleton--intro-2 {
|
|
168
|
+
@include skeleton-element(14px, 85%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
#{$self}--skeleton--intro-3 {
|
|
172
|
+
@include skeleton-element(14px, 86%);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#{$self}--skeleton--intro-4 {
|
|
176
|
+
@include skeleton-element(14px, 50%);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
#{$self}--skeleton--intro-5 {
|
|
180
|
+
display: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
106
183
|
@include breakpoint("md") {
|
|
107
184
|
padding: spacing(8) spacing(4) spacing(8) spacing(0);
|
|
108
185
|
|
|
@@ -56,6 +56,16 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
#{$self}--skeleton--title {
|
|
60
|
+
@include skeleton-element(20px, 60%);
|
|
61
|
+
margin-bottom: spacing(4);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{$self}--skeleton--list-item {
|
|
65
|
+
@include skeleton-element(16px, 95%);
|
|
66
|
+
display: table-cell;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
#{$self}--title {
|
|
60
70
|
color: $brand-ilo-black;
|
|
61
71
|
font-size: var(--ilo-font-size-xlg);
|
|
@@ -9,12 +9,30 @@
|
|
|
9
9
|
&__type {
|
|
10
10
|
&__feature {
|
|
11
11
|
--max-width: #{px-to-rem(412px)};
|
|
12
|
-
|
|
13
12
|
display: flex;
|
|
14
13
|
flex-flow: column;
|
|
15
14
|
margin-top: 0;
|
|
16
15
|
position: relative;
|
|
17
16
|
|
|
17
|
+
#{$self}--skeleton--image {
|
|
18
|
+
@include skeleton-element(232px, 100%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#{$self}--skeleton--eyebrow {
|
|
22
|
+
@include skeleton-element(12px, 20%);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#{$self}--skeleton--title {
|
|
26
|
+
@include skeleton-element(24px, 80%);
|
|
27
|
+
margin-top: spacing(4);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#{$self}--skeleton--date {
|
|
31
|
+
@include skeleton-element(24px, 60%);
|
|
32
|
+
margin-top: spacing(4);
|
|
33
|
+
margin-bottom: spacing(8);
|
|
34
|
+
}
|
|
35
|
+
|
|
18
36
|
#{$self}--image--wrapper {
|
|
19
37
|
height: 0;
|
|
20
38
|
overflow: hidden;
|
|
@@ -82,6 +100,10 @@
|
|
|
82
100
|
flex-direction: row;
|
|
83
101
|
}
|
|
84
102
|
|
|
103
|
+
#{$self}--skeleton--image {
|
|
104
|
+
width: 50%;
|
|
105
|
+
}
|
|
106
|
+
|
|
85
107
|
#{$self}--content {
|
|
86
108
|
display: flex;
|
|
87
109
|
flex-wrap: wrap;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
1
|
@use "../functions" as *;
|
|
3
2
|
@import "../animations";
|
|
4
3
|
@import "../mixins";
|
|
5
4
|
|
|
6
5
|
.ilo--footer {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
border-bottom: px-to-rem(3px) solid $color-base-neutrals-light;
|
|
10
|
-
background-color: $color-base-blue-dark;
|
|
6
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-gray-accessible);
|
|
7
|
+
background-color: var(--ilo-color-blue-dark);
|
|
11
8
|
position: relative;
|
|
12
9
|
width: 100%;
|
|
13
10
|
overflow: hidden;
|
|
@@ -18,7 +15,7 @@
|
|
|
18
15
|
|
|
19
16
|
&:after {
|
|
20
17
|
content: "";
|
|
21
|
-
border-bottom: px-to-rem(6px) solid
|
|
18
|
+
border-bottom: px-to-rem(6px) solid var(--ilo-color-red);
|
|
22
19
|
width: 200vw;
|
|
23
20
|
position: absolute;
|
|
24
21
|
bottom: 0;
|
|
@@ -41,36 +38,22 @@
|
|
|
41
38
|
padding: 0;
|
|
42
39
|
}
|
|
43
40
|
|
|
44
|
-
background-color:
|
|
41
|
+
background-color: var(--ilo-color-gray-light);
|
|
45
42
|
padding: spacing(8) spacing(4) 0;
|
|
46
43
|
min-height: px-to-rem(56px);
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
&--headline {
|
|
50
|
-
color:
|
|
51
|
-
font-family: var(--ilo-fonts-display);
|
|
52
|
-
font-weight: map-get($type, "weights", "label");
|
|
47
|
+
color: var(--ilo-color-white);
|
|
53
48
|
@include typography("highlight-medium-bold");
|
|
54
|
-
line-height: px-to-rem(21.6px);
|
|
55
|
-
@include textmargin(
|
|
56
|
-
"margin-bottom",
|
|
57
|
-
10px,
|
|
58
|
-
"body-small",
|
|
59
|
-
"display",
|
|
60
|
-
"body-xxs",
|
|
61
|
-
"display"
|
|
62
|
-
);
|
|
63
49
|
margin-top: spacing(5);
|
|
64
50
|
}
|
|
65
51
|
|
|
66
52
|
&--subhead {
|
|
67
|
-
color:
|
|
68
|
-
font-family: var(--ilo-fonts-display);
|
|
69
|
-
font-weight: map-get($type, "weights", "section");
|
|
53
|
+
color: var(--ilo-color-blue-light);
|
|
70
54
|
margin-top: spacing(1);
|
|
71
|
-
@include typography("body-xsmall");
|
|
72
|
-
line-height: px-to-rem(18.56px);
|
|
73
55
|
margin-bottom: spacing(12);
|
|
56
|
+
@include typography("body-xsmall");
|
|
74
57
|
}
|
|
75
58
|
|
|
76
59
|
.address {
|
|
@@ -78,16 +61,8 @@
|
|
|
78
61
|
}
|
|
79
62
|
|
|
80
63
|
.address--line {
|
|
81
|
-
color:
|
|
64
|
+
color: var(--ilo-color-white);
|
|
82
65
|
@include typography("body-xsmall");
|
|
83
|
-
@include textmargin(
|
|
84
|
-
"margin-bottom",
|
|
85
|
-
8px,
|
|
86
|
-
"body-xxs",
|
|
87
|
-
"display",
|
|
88
|
-
"body-xxs",
|
|
89
|
-
"display"
|
|
90
|
-
);
|
|
91
66
|
}
|
|
92
67
|
|
|
93
68
|
.connect {
|
|
@@ -100,9 +75,8 @@
|
|
|
100
75
|
|
|
101
76
|
.legal,
|
|
102
77
|
.secondarylinks {
|
|
103
|
-
color:
|
|
78
|
+
color: var(--ilo-color-gray-accessible);
|
|
104
79
|
display: inline;
|
|
105
|
-
font-family: var(--ilo-fonts-copy);
|
|
106
80
|
@include typography("body-xsmall");
|
|
107
81
|
}
|
|
108
82
|
|
|
@@ -120,29 +94,25 @@
|
|
|
120
94
|
}
|
|
121
95
|
|
|
122
96
|
.secondarylinks--list--item a {
|
|
123
|
-
color:
|
|
97
|
+
color: var(--ilo-color-gray-accessible);
|
|
124
98
|
@include globaltransition("color, border-color");
|
|
125
99
|
|
|
126
100
|
&:visited {
|
|
127
|
-
color:
|
|
128
|
-
@include globaltransition("color, border-color");
|
|
101
|
+
color: var(--ilo-color-purple);
|
|
129
102
|
}
|
|
130
103
|
|
|
131
104
|
&:hover {
|
|
132
|
-
color:
|
|
133
|
-
@include globaltransition("color, border-color");
|
|
105
|
+
color: var(--ilo-color-blue);
|
|
134
106
|
}
|
|
135
107
|
|
|
136
108
|
&:active {
|
|
137
|
-
color:
|
|
109
|
+
color: var(--ilo-color-blue-dark);
|
|
138
110
|
outline: none;
|
|
139
|
-
@include globaltransition("color, border-color");
|
|
140
111
|
}
|
|
141
112
|
|
|
142
113
|
&:focus {
|
|
143
|
-
color:
|
|
114
|
+
color: var(--ilo-color-blue-dark);
|
|
144
115
|
outline: none;
|
|
145
|
-
@include globaltransition("color, border-color");
|
|
146
116
|
}
|
|
147
117
|
}
|
|
148
118
|
|
|
@@ -150,8 +120,7 @@
|
|
|
150
120
|
// General Styles
|
|
151
121
|
display: flex;
|
|
152
122
|
flex-flow: row nowrap;
|
|
153
|
-
color:
|
|
154
|
-
font-family: var(--ilo-fonts-display);
|
|
123
|
+
color: var(--ilo-color-blue-dark);
|
|
155
124
|
@include typography("highlight-medium");
|
|
156
125
|
position: relative;
|
|
157
126
|
text-decoration: none;
|
|
@@ -159,32 +128,30 @@
|
|
|
159
128
|
|
|
160
129
|
// Mobile styles
|
|
161
130
|
justify-content: center;
|
|
162
|
-
border-bottom:
|
|
131
|
+
border-bottom: px-to-rem(2px) solid var(--ilo-color-gray-light);
|
|
163
132
|
margin: spacing(3) auto 0 auto;
|
|
164
133
|
padding: spacing(4);
|
|
165
134
|
|
|
135
|
+
@include globaltransition("all");
|
|
136
|
+
|
|
166
137
|
&:after {
|
|
167
138
|
background-repeat: no-repeat;
|
|
168
139
|
content: "";
|
|
169
140
|
height: px-to-rem(24px);
|
|
170
141
|
position: relative;
|
|
171
142
|
margin-left: spacing(2);
|
|
172
|
-
bottom: px-to-rem(
|
|
173
|
-
transform: rotateX(180deg);
|
|
174
|
-
transform-origin: center;
|
|
143
|
+
bottom: px-to-rem(2px);
|
|
175
144
|
width: px-to-rem(24px);
|
|
176
|
-
@include
|
|
145
|
+
@include icon("chevron_up", var(--ilo-color-blue-dark));
|
|
177
146
|
}
|
|
178
147
|
|
|
179
148
|
&:hover {
|
|
180
|
-
background:
|
|
181
|
-
border-bottom:
|
|
182
|
-
color:
|
|
183
|
-
cursor: pointer;
|
|
184
|
-
@include globaltransition("color, background-color, border-color");
|
|
149
|
+
background: var(--ilo-color-blue-lighter);
|
|
150
|
+
border-bottom: px-to-rem(2px) solid var(--ilo-color-blue);
|
|
151
|
+
color: var(--ilo-color-blue);
|
|
185
152
|
|
|
186
153
|
&:after {
|
|
187
|
-
@include
|
|
154
|
+
@include icon("chevron_up", var(--ilo-color-blue));
|
|
188
155
|
}
|
|
189
156
|
}
|
|
190
157
|
}
|
|
@@ -233,7 +200,7 @@
|
|
|
233
200
|
}
|
|
234
201
|
|
|
235
202
|
.anchorlink {
|
|
236
|
-
|
|
203
|
+
top: px-to-rem(3px);
|
|
237
204
|
}
|
|
238
205
|
}
|
|
239
206
|
|
|
@@ -266,7 +233,7 @@
|
|
|
266
233
|
align-items: flex-start;
|
|
267
234
|
justify-content: flex-start;
|
|
268
235
|
flex-flow: column;
|
|
269
|
-
top:
|
|
236
|
+
top: spacing(2);
|
|
270
237
|
}
|
|
271
238
|
|
|
272
239
|
.ilo--button {
|
|
@@ -306,12 +273,7 @@
|
|
|
306
273
|
|
|
307
274
|
.anchorlink {
|
|
308
275
|
margin: 0;
|
|
309
|
-
border: none;
|
|
310
276
|
padding: spacing(1);
|
|
311
|
-
|
|
312
|
-
&:hover {
|
|
313
|
-
margin-bottom: -0.1071811361rem;
|
|
314
|
-
}
|
|
315
277
|
}
|
|
316
278
|
}
|
|
317
279
|
|