@ilo-org/styles 1.0.7 → 1.1.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/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/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/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/image.css +1 -1
- package/css/components/input.css +1 -1
- package/css/components/link.css +1 -1
- package/css/components/linklist.css +1 -1
- package/css/components/list.css +1 -1
- package/css/components/loading.css +1 -1
- package/css/components/logogrid.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/readmore.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/searchfield.css +1 -1
- package/css/components/socialmedia.css +1 -1
- package/css/components/statcard.css +1 -1
- package/css/components/table.css +1 -1
- package/css/components/tableofcontents.css +1 -1
- package/css/components/tabs.css +1 -1
- package/css/components/tag.css +1 -1
- package/css/components/textarea.css +1 -1
- package/css/components/textcard.css +1 -1
- package/css/components/textinput.css +1 -1
- package/css/components/tooltip.css +1 -1
- package/css/components/video.css +1 -1
- package/css/global.css +1 -1
- package/css/global.css.map +1 -1
- package/css/index.css +2 -2
- package/css/index.css.map +1 -1
- package/css/monorepo.css +2 -2
- package/css/monorepo.css.map +1 -1
- package/package.json +1 -1
- package/scss/_functions.scss +5 -3
- package/scss/_mixins.scss +6 -5
- package/scss/components/_accordion.scss +1 -1
- package/scss/components/_cardgroup.scss +1 -1
- package/scss/components/_credit.scss +2 -2
- package/scss/components/_datacard.scss +2 -2
- package/scss/components/_detailcard.scss +7 -7
- package/scss/components/_factlistcard.scss +3 -3
- package/scss/components/_featurecard.scss +1 -1
- package/scss/components/_fieldset.scss +1 -1
- package/scss/components/_footer.scss +4 -4
- package/scss/components/_formcontrol.scss +1 -1
- package/scss/components/_heading.scss +6 -6
- package/scss/components/_hero.scss +2 -2
- package/scss/components/_herocard.scss +7 -7
- package/scss/components/_image.scss +1 -1
- package/scss/components/_list.scss +1 -1
- package/scss/components/_modal.scss +2 -2
- package/scss/components/_multilinkcard.scss +7 -7
- package/scss/components/_navigation.scss +29 -29
- package/scss/components/_notification.scss +9 -9
- package/scss/components/_promocard.scss +6 -6
- package/scss/components/_richtext.scss +7 -2
- package/scss/components/_statcard.scss +1 -1
- package/scss/components/_tableofcontents.scss +3 -3
- package/scss/components/_tabs.scss +2 -2
- package/scss/components/_textcard.scss +3 -3
- package/scss/components/_tooltip.scss +1 -1
- package/scss/components/_video.scss +1 -1
- package/scss/global.scss +3 -0
- package/scss/monorepo.scss +3 -0
- package/scss/theme/_breakpoints.scss +11 -0
- package/scss/theme/_foundation.scss +82 -0
- package/scss/theme/index.scss +1 -0
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@include breakpoint("
|
|
20
|
+
@include breakpoint("lg") {
|
|
21
21
|
overflow: visible;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
background-size: 32px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
@include breakpoint("
|
|
53
|
+
@include breakpoint("lg") {
|
|
54
54
|
display: none;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
background-size: 32px;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
@include breakpoint("
|
|
81
|
+
@include breakpoint("lg") {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
display: block;
|
|
89
89
|
height: spacing(14);
|
|
90
90
|
|
|
91
|
-
@include breakpoint("
|
|
91
|
+
@include breakpoint("lg") {
|
|
92
92
|
height: spacing(18);
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
padding: spacing(4) 0;
|
|
98
98
|
width: auto;
|
|
99
99
|
|
|
100
|
-
@include breakpoint("
|
|
100
|
+
@include breakpoint("lg") {
|
|
101
101
|
padding: 0 0 spacing(6);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
justify-content: space-between;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
@include breakpoint("
|
|
116
|
+
@include breakpoint("lg") {
|
|
117
117
|
background: $brand-ilo-blue;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -178,17 +178,17 @@
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
@include breakpoint("
|
|
181
|
+
@include breakpoint("lg") {
|
|
182
182
|
display: flex;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
@include breakpoint("
|
|
186
|
+
@include breakpoint("lg") {
|
|
187
187
|
padding: 0;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
@include breakpoint("
|
|
191
|
+
@include breakpoint("lg") {
|
|
192
192
|
background: $brand-ilo-blue;
|
|
193
193
|
display: flex;
|
|
194
194
|
justify-content: flex-end;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
visibility: hidden;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
@include breakpoint("
|
|
208
|
+
@include breakpoint("lg") {
|
|
209
209
|
display: flex;
|
|
210
210
|
justify-content: space-between;
|
|
211
211
|
padding: 0 spacing(5);
|
|
@@ -235,12 +235,12 @@
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ilo--header--local & {
|
|
238
|
-
@include breakpoint("
|
|
238
|
+
@include breakpoint("lg") {
|
|
239
239
|
display: none;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
@include breakpoint("
|
|
243
|
+
@include breakpoint("lg") {
|
|
244
244
|
background: $brand-ilo-dark-blue;
|
|
245
245
|
overflow: visible;
|
|
246
246
|
position: static;
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
padding: spacing(4) 0;
|
|
259
259
|
text-align: right;
|
|
260
260
|
|
|
261
|
-
@include breakpoint("
|
|
261
|
+
@include breakpoint("lg") {
|
|
262
262
|
display: block;
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
.ilo--nav {
|
|
275
275
|
width: 100%;
|
|
276
276
|
|
|
277
|
-
@include breakpoint("
|
|
277
|
+
@include breakpoint("lg") {
|
|
278
278
|
width: auto;
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
&--set {
|
|
292
292
|
width: 100%;
|
|
293
293
|
|
|
294
|
-
@include breakpoint("
|
|
294
|
+
@include breakpoint("lg") {
|
|
295
295
|
display: flex;
|
|
296
296
|
width: auto;
|
|
297
297
|
}
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
font-family: $fonts-display;
|
|
303
303
|
font-weight: 500;
|
|
304
304
|
|
|
305
|
-
@include breakpoint("
|
|
305
|
+
@include breakpoint("lg") {
|
|
306
306
|
display: flex;
|
|
307
307
|
align-items: center;
|
|
308
308
|
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
text-decoration: none;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
@include breakpoint("
|
|
329
|
+
@include breakpoint("lg") {
|
|
330
330
|
background: $brand-ilo-dark-blue;
|
|
331
331
|
color: $brand-ilo-white;
|
|
332
332
|
display: inline-block;
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
@include breakpoint("
|
|
389
|
+
@include breakpoint("lg") {
|
|
390
390
|
@include dataurlicon("add", $brand-ilo-white);
|
|
391
391
|
@include font-styles("nav-bold-b-sm");
|
|
392
392
|
|
|
@@ -440,12 +440,12 @@
|
|
|
440
440
|
justify-content: space-between;
|
|
441
441
|
|
|
442
442
|
[dir="rtl"] {
|
|
443
|
-
@include breakpoint("
|
|
443
|
+
@include breakpoint("lg") {
|
|
444
444
|
padding: 0 max((100% - 1260px) / 2, 20px) 0 0;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
@include breakpoint("
|
|
448
|
+
@include breakpoint("lg") {
|
|
449
449
|
padding: 0 32px 0 max((100% - 1260px) / 2, 20px);
|
|
450
450
|
}
|
|
451
451
|
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
&--set {
|
|
467
467
|
display: none;
|
|
468
468
|
|
|
469
|
-
@include breakpoint("
|
|
469
|
+
@include breakpoint("lg") {
|
|
470
470
|
display: flex;
|
|
471
471
|
justify-content: space-between;
|
|
472
472
|
}
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
@include breakpoint("
|
|
581
|
+
@include breakpoint("lg") {
|
|
582
582
|
display: none;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
transform: translateX(0);
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
@include breakpoint("
|
|
697
|
+
@include breakpoint("lg") {
|
|
698
698
|
height: auto;
|
|
699
699
|
left: 0;
|
|
700
700
|
padding: spacing(8) 0;
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
&--inner {
|
|
720
|
-
@include breakpoint("
|
|
720
|
+
@include breakpoint("lg") {
|
|
721
721
|
display: flex;
|
|
722
722
|
justify-content: space-between;
|
|
723
723
|
}
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
grid-template-columns: 1fr;
|
|
729
729
|
width: 100%;
|
|
730
730
|
|
|
731
|
-
@include breakpoint("
|
|
731
|
+
@include breakpoint("lg") {
|
|
732
732
|
grid-auto-flow: column;
|
|
733
733
|
grid-template-columns: repeat(5, 1fr);
|
|
734
734
|
grid-template-rows: repeat(5, 1fr);
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
.ilo--mobile--subnav {
|
|
759
|
-
@include breakpoint("
|
|
759
|
+
@include breakpoint("lg") {
|
|
760
760
|
display: none;
|
|
761
761
|
}
|
|
762
762
|
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
@include breakpoint("
|
|
832
|
+
@include breakpoint("lg") {
|
|
833
833
|
display: none;
|
|
834
834
|
}
|
|
835
835
|
}
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
transform: translateX(0);
|
|
863
863
|
}
|
|
864
864
|
|
|
865
|
-
@include breakpoint("
|
|
865
|
+
@include breakpoint("lg") {
|
|
866
866
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
867
867
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
868
868
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08));
|
|
@@ -904,7 +904,7 @@
|
|
|
904
904
|
.ilo--search {
|
|
905
905
|
display: none;
|
|
906
906
|
|
|
907
|
-
@include breakpoint("
|
|
907
|
+
@include breakpoint("lg") {
|
|
908
908
|
display: flex;
|
|
909
909
|
}
|
|
910
910
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
max-width: 340px;
|
|
17
17
|
width: 100%;
|
|
18
18
|
|
|
19
|
-
@include breakpoint("
|
|
19
|
+
@include breakpoint("md") {
|
|
20
20
|
max-width: 490px;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
padding: spacing(6);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
@include breakpoint("
|
|
35
|
+
@include breakpoint("md") {
|
|
36
36
|
max-width: 100%;
|
|
37
37
|
|
|
38
38
|
.ilo--notification--content {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
width: px-to-rem(40px);
|
|
63
63
|
top: 0;
|
|
64
64
|
|
|
65
|
-
@include breakpoint("
|
|
65
|
+
@include breakpoint("md") {
|
|
66
66
|
.ilo--notification--inline & {
|
|
67
67
|
background-position: center;
|
|
68
68
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
margin-bottom: spacing(3);
|
|
98
98
|
|
|
99
|
-
@include breakpoint("
|
|
99
|
+
@include breakpoint("md") {
|
|
100
100
|
.ilo--notification--inline & {
|
|
101
101
|
margin-bottom: 0;
|
|
102
102
|
}
|
|
@@ -107,14 +107,14 @@
|
|
|
107
107
|
font-weight: 400;
|
|
108
108
|
@include font-styles("body-xs");
|
|
109
109
|
|
|
110
|
-
@include breakpoint("
|
|
110
|
+
@include breakpoint("md") {
|
|
111
111
|
.ilo--notification--inline & {
|
|
112
112
|
margin-left: spacing(6);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&:not(:last-child) {
|
|
117
|
-
@include breakpoint("
|
|
117
|
+
@include breakpoint("md") {
|
|
118
118
|
.ilo--notification--inline & {
|
|
119
119
|
flex-grow: 1;
|
|
120
120
|
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
font-weight: 400;
|
|
129
129
|
@include font-styles("body-xs");
|
|
130
130
|
|
|
131
|
-
@include breakpoint("
|
|
131
|
+
@include breakpoint("md") {
|
|
132
132
|
.ilo--notification--inline & {
|
|
133
133
|
margin-left: spacing(4);
|
|
134
134
|
}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
margin-bottom: spacing(5);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
@include breakpoint("
|
|
141
|
+
@include breakpoint("md") {
|
|
142
142
|
.ilo--notification--inline & {
|
|
143
143
|
margin-bottom: 0;
|
|
144
144
|
}
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
&--cta {
|
|
149
|
-
@include breakpoint("
|
|
149
|
+
@include breakpoint("md") {
|
|
150
150
|
.ilo--notification--inline & {
|
|
151
151
|
margin-left: spacing(6);
|
|
152
152
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
&__narrow {
|
|
14
14
|
--max-width: #{px-to-rem(343px)};
|
|
15
15
|
|
|
16
|
-
@include breakpoint("
|
|
16
|
+
@include breakpoint("md", true) {
|
|
17
17
|
--max-width: 100%;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
padding: spacing(10) spacing(6);
|
|
40
40
|
width: 100%;
|
|
41
41
|
|
|
42
|
-
@include breakpoint("
|
|
42
|
+
@include breakpoint("md") {
|
|
43
43
|
padding: spacing(12);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
@include breakpoint("
|
|
46
|
+
@include breakpoint("lg") {
|
|
47
47
|
padding: spacing(16) spacing(18);
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
@include font-styles("headline-4");
|
|
93
93
|
margin-bottom: spacing(2);
|
|
94
94
|
|
|
95
|
-
@include breakpoint("
|
|
95
|
+
@include breakpoint("md") {
|
|
96
96
|
@include font-styles("headline-2");
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
#{$self}--title {
|
|
112
112
|
@include font-styles("headline-4");
|
|
113
113
|
|
|
114
|
-
@include breakpoint("
|
|
114
|
+
@include breakpoint("md") {
|
|
115
115
|
@include font-styles("headline-2");
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
@include font-styles("body-small");
|
|
121
121
|
margin-bottom: spacing(8);
|
|
122
122
|
|
|
123
|
-
@include breakpoint("
|
|
123
|
+
@include breakpoint("md") {
|
|
124
124
|
@include font-styles("base");
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
a {
|
|
11
11
|
@include linkstyles();
|
|
12
|
+
background: none;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
background: none;
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
|
|
14
19
|
img {
|
|
@@ -202,7 +207,7 @@
|
|
|
202
207
|
// Repeat list styles from the list component
|
|
203
208
|
@include invincible-list;
|
|
204
209
|
|
|
205
|
-
@include breakpoint("
|
|
210
|
+
@include breakpoint("md") {
|
|
206
211
|
@include font-styles("base");
|
|
207
212
|
|
|
208
213
|
h1,
|
|
@@ -379,7 +384,7 @@
|
|
|
379
384
|
transform: scaleX(-1);
|
|
380
385
|
}
|
|
381
386
|
|
|
382
|
-
@include breakpoint("
|
|
387
|
+
@include breakpoint("md") {
|
|
383
388
|
padding: spacing(15) spacing(12) spacing(12) 0;
|
|
384
389
|
|
|
385
390
|
blockquote {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
width: 100vw;
|
|
47
47
|
z-index: 10001;
|
|
48
48
|
|
|
49
|
-
@include breakpoint("
|
|
49
|
+
@include breakpoint("lg") {
|
|
50
50
|
padding: 0;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
@include breakpoint("
|
|
66
|
+
@include breakpoint("lg") {
|
|
67
67
|
display: block;
|
|
68
68
|
|
|
69
69
|
& > * {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
@include breakpoint("
|
|
97
|
+
@include breakpoint("lg") {
|
|
98
98
|
display: none;
|
|
99
99
|
|
|
100
100
|
&.show {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
@include breakpoint("
|
|
152
|
+
@include breakpoint("md") {
|
|
153
153
|
.ilo--tabs--content {
|
|
154
154
|
padding: spacing(10) spacing(16) spacing(16) spacing(16);
|
|
155
155
|
}
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
@include breakpoint("
|
|
174
|
+
@include breakpoint("lg") {
|
|
175
175
|
.ilo--tabs--selection {
|
|
176
176
|
&--item {
|
|
177
177
|
width: min(calc(var(--tabscount) / 1 * 100%), 100%);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
@include breakpoint("
|
|
43
|
+
@include breakpoint("md", true) {
|
|
44
44
|
--max-width: 100%;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
padding: spacing(10) spacing(6) spacing(8);
|
|
59
59
|
|
|
60
|
-
@include breakpoint("
|
|
60
|
+
@include breakpoint("md", true) {
|
|
61
61
|
--max-width: 100%;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"copy"
|
|
102
102
|
);
|
|
103
103
|
|
|
104
|
-
@include breakpoint("
|
|
104
|
+
@include breakpoint("md") {
|
|
105
105
|
@include font-styles("headline-5");
|
|
106
106
|
@include textmargin(
|
|
107
107
|
"margin-bottom",
|
package/scss/global.scss
CHANGED
package/scss/monorepo.scss
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use "../functions" as *;
|
|
2
|
+
@use "./breakpoints" as *;
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
/**
|
|
6
|
+
* Typography
|
|
7
|
+
*/
|
|
8
|
+
--ilo-scale: 1; // default scale for the design system
|
|
9
|
+
--ilo-font-family: Overpass, Noto Sans, Noto Sans CJK JP, Yu Gothic,
|
|
10
|
+
Hiragino Sans, TakaoPGothic, PingFang SC, Microsoft YaHei, 微软雅黑,
|
|
11
|
+
sans-serif;
|
|
12
|
+
--ilo-font-copy: Noto Sans, Noto Sans CJK JP, Yu Gothic, Hiragino Sans,
|
|
13
|
+
TakaoPGothic, PingFang SC, Microsoft YaHei, 微软雅黑, sans-serif;
|
|
14
|
+
--ilo-font-family-headings: var(--ilo-font-family);
|
|
15
|
+
--ilo-font-family-monospace: monospace;
|
|
16
|
+
--ilo-line-height: 1.46;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Colors
|
|
20
|
+
*/
|
|
21
|
+
--ilo-color-white: rgba(255, 255, 255, 1);
|
|
22
|
+
|
|
23
|
+
--ilo-color-blue: rgba(30, 45, 190, 1);
|
|
24
|
+
--ilo-color-blue-lighter: rgba(235, 245, 253, 1);
|
|
25
|
+
--ilo-color-blue-light: rgba(190, 220, 250, 1);
|
|
26
|
+
--ilo-color-blue-dark: rgba(35, 0, 80, 1);
|
|
27
|
+
--ilo-color-blue-medium: rgba(210, 213, 242, 1);
|
|
28
|
+
--ilo-color-blue-ramp: rgba(30, 45, 190, 0.4);
|
|
29
|
+
--ilo-color-blue-dark-ramp: rgba(35, 0, 80, 0.5);
|
|
30
|
+
|
|
31
|
+
--ilo-color-gray-charcoal: rgba(45, 45, 45, 1);
|
|
32
|
+
--ilo-color-gray-accessible: rgba(109, 109, 109, 1);
|
|
33
|
+
--ilo-color-gray-light: rgba(237, 240, 242, 1);
|
|
34
|
+
--ilo-color-gray-ui: rgba(184, 196, 204, 1);
|
|
35
|
+
|
|
36
|
+
--ilo-color-red: rgba(250, 60, 75, 1);
|
|
37
|
+
--ilo-color-red-light: rgba(254, 216, 219, 1);
|
|
38
|
+
--ilo-color-red-dark: rgba(200, 48, 60, 1);
|
|
39
|
+
--ilo-color-red-ramp: rgba(250, 60, 75, 0.2);
|
|
40
|
+
|
|
41
|
+
--ilo-color-yellow: rgba(255, 205, 45, 1);
|
|
42
|
+
--ilo-color-yellow-light: rgba(255, 245, 200, 1);
|
|
43
|
+
--ilo-color-yellow-ramp: rgba(255, 205, 45, 0.2);
|
|
44
|
+
|
|
45
|
+
--ilo-color-green: rgba(140, 225, 100, 1);
|
|
46
|
+
--ilo-color-green-light: rgba(232, 249, 224, 1);
|
|
47
|
+
--ilo-color-green-ramp: rgba(140, 225, 100, 0.2);
|
|
48
|
+
|
|
49
|
+
--ilo-color-turquoise: rgba(5, 210, 210, 1);
|
|
50
|
+
|
|
51
|
+
--ilo-color-purple: rgba(150, 10, 85, 1);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Sizing
|
|
55
|
+
*/
|
|
56
|
+
--ilo-breakpoint-xs: #{map-get($breakpoints-foundation, "xs")};
|
|
57
|
+
--ilo-breakpoint-sm: #{map-get($breakpoints-foundation, "sm")};
|
|
58
|
+
--ilo-breakpoint-md: #{map-get($breakpoints-foundation, "md")};
|
|
59
|
+
--ilo-breakpoint-lg: #{map-get($breakpoints-foundation, "lg")};
|
|
60
|
+
--ilo-breakpoint-xl: #{map-get($breakpoints-foundation, "xl")};
|
|
61
|
+
--ilo-breakpoint-xxl: #{map-get($breakpoints-foundation, "xxl")};
|
|
62
|
+
--ilo-border-radius: calc(#{px-to-rem(2)} * var(--ilo-scale));
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Spacing
|
|
66
|
+
*/
|
|
67
|
+
--ilo-spacing-base: calc(#{px-to-rem(4)} * var(--ilo-scale));
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Transition
|
|
71
|
+
*/
|
|
72
|
+
--ilo-transition-duration: 150ms;
|
|
73
|
+
--ilo-transition-timing-function: ease-out;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Border
|
|
77
|
+
*/
|
|
78
|
+
--ilo-border-xs: calc(#{px-to-rem(1)} * var(--ilo-scale));
|
|
79
|
+
--ilo-border-sm: calc(#{px-to-rem(1.5)} * var(--ilo-scale));
|
|
80
|
+
--ilo-border-md: calc(#{px-to-rem(2)} * var(--ilo-scale));
|
|
81
|
+
--ilo-border-lg: calc(#{px-to-rem(4)} * var(--ilo-scale));
|
|
82
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "foundation";
|