@ilo-org/styles 0.1.11 → 0.1.12
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/build/css/components/index.css +252 -124
- package/build/css/components/index.css.map +1 -1
- package/build/css/index.css +252 -124
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +252 -124
- package/build/css/monorepo.css.map +1 -1
- package/build/minified/index.css +1 -1
- package/build/minified/index.css.map +1 -1
- package/build/minified/monorepo.css +1 -1
- package/build/minified/monorepo.css.map +1 -1
- package/package.json +4 -4
- package/scss/components/_card.scss +41 -17
- package/scss/components/_cardgroup.scss +3 -3
- package/scss/components/_contextmenu.scss +4 -2
- package/scss/components/_dropdown.scss +2 -0
- package/scss/components/_hero.scss +20 -7
- package/scss/components/_list.scss +19 -15
- package/scss/components/_navigation.scss +103 -9
- package/scss/components/_pagination.scss +6 -0
- package/scss/components/_tooltip.scss +7 -1
- package/scss/components/_video.scss +2 -1
|
@@ -58,18 +58,29 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&__title {
|
|
61
|
-
@include font-styles("headline-
|
|
62
|
-
|
|
63
|
-
font-family: $fonts-display;
|
|
64
|
-
font-weight: 700;
|
|
61
|
+
@include font-styles("headline-6");
|
|
65
62
|
@include textmargin(
|
|
66
63
|
"margin-bottom",
|
|
67
|
-
|
|
68
|
-
"headline-
|
|
64
|
+
24px,
|
|
65
|
+
"headline-6",
|
|
69
66
|
"display",
|
|
70
|
-
"
|
|
67
|
+
"body-small",
|
|
71
68
|
"copy"
|
|
72
69
|
);
|
|
70
|
+
font-family: $fonts-display;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
|
|
73
|
+
@include breakpoint("medium") {
|
|
74
|
+
@include font-styles("headline-5");
|
|
75
|
+
@include textmargin(
|
|
76
|
+
"margin-bottom",
|
|
77
|
+
map-get($spacing, "ui-padding-xxl"),
|
|
78
|
+
"headline-5",
|
|
79
|
+
"display",
|
|
80
|
+
"base",
|
|
81
|
+
"copy"
|
|
82
|
+
);
|
|
83
|
+
}
|
|
73
84
|
}
|
|
74
85
|
|
|
75
86
|
&__item {
|
|
@@ -95,14 +106,7 @@
|
|
|
95
106
|
|
|
96
107
|
@include breakpoint("medium") {
|
|
97
108
|
@include font-styles("base");
|
|
98
|
-
@include textmargin(
|
|
99
|
-
"margin-bottom",
|
|
100
|
-
map-get($spacing, "ui-padding-lg"),
|
|
101
|
-
"base",
|
|
102
|
-
"copy",
|
|
103
|
-
0,
|
|
104
|
-
0
|
|
105
|
-
);
|
|
109
|
+
@include textmargin("margin-bottom", 20px, "base", "copy", 0, 0);
|
|
106
110
|
}
|
|
107
111
|
}
|
|
108
112
|
}
|
|
@@ -9,7 +9,12 @@
|
|
|
9
9
|
z-index: 4;
|
|
10
10
|
|
|
11
11
|
&.ilo--mobile--open {
|
|
12
|
-
height:
|
|
12
|
+
height: 100%;
|
|
13
|
+
left: 0;
|
|
14
|
+
min-height: 100vh;
|
|
15
|
+
position: fixed;
|
|
16
|
+
top: 0;
|
|
17
|
+
width: 100%;
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
@include breakpoint("large") {
|
|
@@ -124,6 +129,50 @@
|
|
|
124
129
|
.ilo--language-switcher {
|
|
125
130
|
display: none;
|
|
126
131
|
|
|
132
|
+
&--link {
|
|
133
|
+
@include dataurlicon("arrowleft", $brand-ilo-white);
|
|
134
|
+
@include font-styles("language-switcher");
|
|
135
|
+
appearance: none;
|
|
136
|
+
background-color: inherit;
|
|
137
|
+
background-position: 16px 50%;
|
|
138
|
+
background-repeat: no-repeat;
|
|
139
|
+
background-size: 24px;
|
|
140
|
+
border: none;
|
|
141
|
+
color: $brand-ilo-white;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
font-family: $fonts-display;
|
|
144
|
+
font-weight: 500;
|
|
145
|
+
padding: 16px 16px 16px 36px;
|
|
146
|
+
text-decoration: none;
|
|
147
|
+
transition: all 150ms ease-out;
|
|
148
|
+
width: 100%;
|
|
149
|
+
|
|
150
|
+
&:focus,
|
|
151
|
+
&:hover {
|
|
152
|
+
@include dataurlicon("arrowleft", $brand-ilo-blue);
|
|
153
|
+
background-color: $brand-ilo-light-blue;
|
|
154
|
+
color: $brand-ilo-blue;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.right-to-left & {
|
|
158
|
+
@include dataurlicon("arrowright", $brand-ilo-white);
|
|
159
|
+
background-position: calc(100% - 16px) 50%;
|
|
160
|
+
padding: 16px 36px 16px 16px;
|
|
161
|
+
|
|
162
|
+
&:focus,
|
|
163
|
+
&:hover {
|
|
164
|
+
@include dataurlicon("arrowright", $brand-ilo-blue);
|
|
165
|
+
background-color: $brand-ilo-light-blue;
|
|
166
|
+
color: $brand-ilo-blue;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&--wrap {
|
|
171
|
+
align-items: center;
|
|
172
|
+
display: flex;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
127
176
|
@include breakpoint("large") {
|
|
128
177
|
display: flex;
|
|
129
178
|
}
|
|
@@ -169,9 +218,12 @@
|
|
|
169
218
|
|
|
170
219
|
&--navigation {
|
|
171
220
|
background: $brand-ilo-white;
|
|
221
|
+
height: 100%;
|
|
222
|
+
left: 0;
|
|
223
|
+
overflow-x: hidden;
|
|
224
|
+
overflow-y: scroll;
|
|
172
225
|
position: absolute;
|
|
173
226
|
top: 0;
|
|
174
|
-
left: 0;
|
|
175
227
|
transform: translateX(100%);
|
|
176
228
|
transition: transform 225ms ease-out;
|
|
177
229
|
width: 100%;
|
|
@@ -297,7 +349,7 @@
|
|
|
297
349
|
background-color: $brand-ilo-white;
|
|
298
350
|
background-position: calc(100% - 16px) 55%;
|
|
299
351
|
background-repeat: no-repeat;
|
|
300
|
-
background-size:
|
|
352
|
+
background-size: 24px;
|
|
301
353
|
border: none;
|
|
302
354
|
color: $brand-ilo-dark-blue;
|
|
303
355
|
cursor: pointer;
|
|
@@ -382,6 +434,14 @@
|
|
|
382
434
|
display: flex;
|
|
383
435
|
justify-content: space-between;
|
|
384
436
|
|
|
437
|
+
.right-to-left & {
|
|
438
|
+
direction: rtl;
|
|
439
|
+
|
|
440
|
+
@include breakpoint("large") {
|
|
441
|
+
padding: 0 max((100% - 1260px) / 2, 20px) 0 0;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
385
445
|
@include breakpoint("large") {
|
|
386
446
|
padding: 0 0 0 max((100% - 1260px) / 2, 20px);
|
|
387
447
|
}
|
|
@@ -574,11 +634,18 @@
|
|
|
574
634
|
transition: opacity 150ms ease-out;
|
|
575
635
|
z-index: -1;
|
|
576
636
|
|
|
577
|
-
.ilo--context--open
|
|
637
|
+
.ilo--context--open &,
|
|
638
|
+
.ilo--language-switcher:focus-within &,
|
|
639
|
+
&:focus-within {
|
|
578
640
|
opacity: 1;
|
|
579
641
|
z-index: 1;
|
|
580
642
|
}
|
|
581
643
|
}
|
|
644
|
+
|
|
645
|
+
.ilo--language-switcher--button:focus + .ilo--context-menu {
|
|
646
|
+
opacity: 1;
|
|
647
|
+
z-index: 1;
|
|
648
|
+
}
|
|
582
649
|
}
|
|
583
650
|
|
|
584
651
|
.ilo--subnav {
|
|
@@ -601,9 +668,6 @@
|
|
|
601
668
|
}
|
|
602
669
|
|
|
603
670
|
@include breakpoint("large") {
|
|
604
|
-
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
605
|
-
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
606
|
-
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08));
|
|
607
671
|
height: auto;
|
|
608
672
|
left: 0;
|
|
609
673
|
padding: 32px 0;
|
|
@@ -613,6 +677,14 @@
|
|
|
613
677
|
z-index: -1;
|
|
614
678
|
|
|
615
679
|
.ilo--header.ilo--subnav--open & {
|
|
680
|
+
border-bottom: px-to-rem(3px) solid $color-base-neutrals-light;
|
|
681
|
+
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
682
|
+
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
683
|
+
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08));
|
|
684
|
+
transform: translateY(0);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
&:has(.ilo--subnav--link:focus) {
|
|
616
688
|
transform: translateY(0);
|
|
617
689
|
}
|
|
618
690
|
}
|
|
@@ -779,6 +851,11 @@
|
|
|
779
851
|
.ilo--header.ilo--search--open & {
|
|
780
852
|
transform: translateY(0);
|
|
781
853
|
}
|
|
854
|
+
|
|
855
|
+
&:has(.ilo--input:focus),
|
|
856
|
+
&:has(.ilo--searchfield--button:focus) {
|
|
857
|
+
transform: translateY(0);
|
|
858
|
+
}
|
|
782
859
|
}
|
|
783
860
|
|
|
784
861
|
.ilo--header--inner {
|
|
@@ -810,7 +887,7 @@
|
|
|
810
887
|
background-color: transparent;
|
|
811
888
|
background-position: center;
|
|
812
889
|
background-repeat: no-repeat;
|
|
813
|
-
background-size:
|
|
890
|
+
background-size: 32px 32px;
|
|
814
891
|
border: none;
|
|
815
892
|
border-radius: 0;
|
|
816
893
|
cursor: pointer;
|
|
@@ -830,7 +907,7 @@
|
|
|
830
907
|
background-color: $brand-ilo-white;
|
|
831
908
|
background-position: center;
|
|
832
909
|
background-repeat: no-repeat;
|
|
833
|
-
background-size:
|
|
910
|
+
background-size: 32px 32px;
|
|
834
911
|
|
|
835
912
|
&:hover,
|
|
836
913
|
&:focus {
|
|
@@ -840,3 +917,20 @@
|
|
|
840
917
|
}
|
|
841
918
|
}
|
|
842
919
|
}
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
.ilo--menu--open {
|
|
923
|
+
height: 100%;
|
|
924
|
+
overflow: hidden;
|
|
925
|
+
width: 100%;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
#anchor--components-navigation--navigation .docs-story {
|
|
929
|
+
& > div:first-child {
|
|
930
|
+
padding-top: 0;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.sb-show-main.sb-main-padded {
|
|
935
|
+
padding-top: 0;
|
|
936
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
|
+
@use "../animations" as *;
|
|
3
4
|
@import "../mixins";
|
|
4
5
|
|
|
5
6
|
.ilo--tooltip {
|
|
@@ -16,12 +17,13 @@
|
|
|
16
17
|
opacity: 0;
|
|
17
18
|
padding: px-to-rem($spacing-padding-1) px-to-rem($spacing-padding-1-5);
|
|
18
19
|
position: absolute;
|
|
19
|
-
transition: opacity 150ms ease-out;
|
|
20
20
|
visibility: hidden;
|
|
21
21
|
width: auto;
|
|
22
|
+
@include globaltransition("opacity");
|
|
22
23
|
|
|
23
24
|
&--fade {
|
|
24
25
|
opacity: 1;
|
|
26
|
+
@include globaltransition("opacity");
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
&--visible {
|
|
@@ -191,3 +193,7 @@
|
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
}
|
|
196
|
+
|
|
197
|
+
.docs-story div[height] {
|
|
198
|
+
min-height: 150px;
|
|
199
|
+
}
|