@ilo-org/styles 1.8.5 → 1.10.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/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 +4 -2
- package/css/index.css.map +1 -1
- package/css/monorepo.css +4 -2
- package/css/monorepo.css.map +1 -1
- package/package.json +3 -3
- package/scss/_animations.scss +25 -1
- package/scss/_mixins.scss +16 -18
- package/scss/_typography.scss +28 -12
- package/scss/components/_accordion.scss +57 -25
- package/scss/components/_blockquote.scss +20 -20
- package/scss/components/_breadcrumb.scss +1 -1
- package/scss/components/_button.scss +3 -3
- package/scss/components/_card.scss +1 -0
- package/scss/components/_checkbox.scss +63 -25
- package/scss/components/_contextmenu.scss +1 -4
- package/scss/components/_datacard.scss +23 -0
- package/scss/components/_detailcard.scss +95 -1
- package/scss/components/_dropdown.scss +66 -138
- package/scss/components/_factlistcard.scss +10 -0
- package/scss/components/_featurecard.scss +24 -2
- package/scss/components/_fieldset.scss +2 -2
- package/scss/components/_file-upload.scss +2 -2
- package/scss/components/_footer.scss +30 -68
- package/scss/components/_formcontrol.scss +4 -23
- package/scss/components/_hero.scss +0 -4
- package/scss/components/_herocard.scss +9 -19
- package/scss/components/_image.scss +72 -27
- package/scss/components/_input.scss +1 -1
- package/scss/components/_languagetoggle.scss +8 -2
- package/scss/components/_linklist.scss +3 -3
- package/scss/components/_multilinkcard.scss +63 -7
- package/scss/components/_navigation.scss +12 -27
- package/scss/components/_notification.scss +3 -3
- package/scss/components/_pagination.scss +1 -1
- package/scss/components/_promocard.scss +28 -0
- package/scss/components/_readmore.scss +1 -1
- package/scss/components/_richtext.scss +15 -63
- package/scss/components/_scorecard.scss +23 -0
- package/scss/components/_socialmedia.scss +44 -36
- package/scss/components/_statcard.scss +27 -3
- package/scss/components/_table.scss +4 -5
- package/scss/components/_tableofcontents.scss +5 -47
- package/scss/components/_textarea.scss +1 -1
- package/scss/components/_textcard.scss +19 -0
- package/scss/components/_textinput.scss +1 -1
- package/scss/components/_tooltip.scss +1 -1
- package/scss/components/_video.scss +4 -19
- package/scss/components/index.scss +0 -2
- 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/theme/_typography.scss +2 -4
- package/css/components/credit.css +0 -1
- package/css/components/heading.css +0 -1
- package/scss/components/_credit.scss +0 -112
- package/scss/components/_heading.scss +0 -74
- /package/scss/components/navigation/{mobile → internal/mobile}/index.scss +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@use "../../../../tokens" as *;
|
|
2
|
+
@use "../../../../functions" as *;
|
|
3
|
+
@import "../../../../mixins";
|
|
4
|
+
@import "../../../../config";
|
|
5
5
|
|
|
6
6
|
.ilo--nav-mobile {
|
|
7
7
|
&__branding {
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&__widgets {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
margin: px-to-rem(2px);
|
|
26
|
+
|
|
23
27
|
&-search {
|
|
24
28
|
padding: spacing(4) 0;
|
|
25
29
|
display: flex;
|
|
@@ -43,6 +47,23 @@
|
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
|
|
50
|
+
&-search-input {
|
|
51
|
+
// Form control overrides can be deleted when form control hides label conditionally
|
|
52
|
+
.ilo--fieldset {
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ilo--form-control {
|
|
57
|
+
width: 100%;
|
|
58
|
+
display: inline;
|
|
59
|
+
}
|
|
60
|
+
.ilo--form-control--label {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
padding-block: spacing(5);
|
|
65
|
+
}
|
|
66
|
+
|
|
46
67
|
&-link {
|
|
47
68
|
@include typography("highlight-medium");
|
|
48
69
|
padding: spacing(4) 0;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Display Font Families
|
|
3
3
|
--ilo-fonts-display: Overpass, Noto Sans, sans-serif;
|
|
4
|
-
|
|
5
|
-
// Chinese and Japanese system fonts
|
|
4
|
+
--ilo-fonts-display-ar: Vazirmatn, sans-serif;
|
|
6
5
|
--ilo-fonts-display-zh: PingFang SC, Microsoft YaHei, 微软雅黑, sans-serif;
|
|
7
6
|
--ilo-fonts-display-jp: Noto Sans CJK JP, Yu Gothic, Hiragino Sans,
|
|
8
7
|
TakaoPGothic, sans-serif;
|
|
9
8
|
|
|
10
9
|
// Copy font families
|
|
11
10
|
--ilo-fonts-copy: Noto Sans, sans-serif;
|
|
12
|
-
|
|
13
|
-
// Chinese and Japanese system fonts
|
|
11
|
+
--ilo-fonts-copy-ar: Vazirmatn, sans-serif;
|
|
14
12
|
--ilo-fonts-copy-zh: PingFang SC, Microsoft YaHei, 微软雅黑, sans-serif;
|
|
15
13
|
--ilo-fonts-copy-jp: Noto Sans CJK JP, Yu Gothic, Hiragino Sans, TakaoPGothic,
|
|
16
14
|
sans-serif;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes emptygradient{0%{opacity:1}to{opacity:0}}@keyframes spin{to{-moz-transform:rotate(1turn);-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ilo--credit{color:#fff;display:inline-block;font-size:11.94px;height:1.2861736334rem;letter-spacing:-.02em;line-height:16.24px;padding:0;position:relative}.ilo--credit--label{background-color:#2d2d2d;padding:4px 8px 4px 12px}.ilo--credit:after{background-position:100% 0;background-repeat:no-repeat;background-size:contain;content:"";height:1.2861736334rem;left:100%;position:absolute;top:-.2143622722rem;width:1.2861736334rem}@media screen and (max-width:1023px){.ilo--credit{width:75%}.ilo--credit--label{bottom:calc(100% + 1px);display:none;left:0;margin-bottom:.6430868167rem;position:absolute}.ilo--credit--label:after{background-position:0 0;background-size:contain;bottom:-.6430868167rem;height:.6430868167rem;left:.32154rem;width:.6430868167rem}.ilo--credit--label:after,.ilo--credit:before{background-repeat:no-repeat;content:"";position:absolute}.ilo--credit:before{background-color:#2d2d2d;background-position:calc(100% - 4px);background-size:.6430868167rem .6430868167rem;height:1.2861736334rem;left:0;top:0;width:1.5541264737rem}.ilo--credit:after{left:1.5541264737rem;top:0}.ilo--credit:hover .ilo--credit--label{display:inline-block}}[dir=rtl] .ilo--credit:after{background-position:0 0;left:auto;right:100%;transform:scaleX(-1)}@media screen and (max-width:1023px){[dir=rtl] .ilo--credit--label{left:auto;right:0}[dir=rtl] .ilo--credit--label:after{background-position:100% 0;left:auto;right:.32154rem}[dir=rtl] .ilo--credit:before{background-position:4px;left:auto;right:0}[dir=rtl] .ilo--credit:after{left:auto;right:1.5541264737rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ilo--h1,.ilo--h2,.ilo--h3,.ilo--h4,.ilo--h5,.ilo--h6{color:inherit;font-family:var(--ilo-fonts-display);font-weight:700}.ilo--h1--default,.ilo--h2--default,.ilo--h3--default,.ilo--h4--default,.ilo--h5--default,.ilo--h6--default{color:#2d2d2d}.ilo--h1--actionable,.ilo--h2--actionable,.ilo--h3--actionable,.ilo--h4--actionable,.ilo--h5--actionable,.ilo--h6--actionable{color:#960a55}.ilo--h1--light,.ilo--h2--light,.ilo--h3--light,.ilo--h4--light,.ilo--h5--light,.ilo--h6--light{color:#fff}.ilo--h1{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}@media screen and (min-width:610px){.ilo--h1{font-size:56.95px;letter-spacing:-.035em;line-height:65.49px}}.ilo--h2{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}@media screen and (min-width:610px){.ilo--h2{font-size:45.56px;letter-spacing:-.035em;line-height:52.39px}}.ilo--h3{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}@media screen and (min-width:610px){.ilo--h3{font-size:36.45px;letter-spacing:-.035em;line-height:43.74px}}.ilo--h4{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}@media screen and (min-width:610px){.ilo--h4{font-size:29.16px;letter-spacing:-.035em;line-height:36.45px}}.ilo--h5{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h5{font-size:23.32px;letter-spacing:-.035em;line-height:29.15px}}.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}@media screen and (min-width:610px){.ilo--h6{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px}}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
|
-
@import "../functions";
|
|
3
|
-
@import "../mixins";
|
|
4
|
-
@import "../animations";
|
|
5
|
-
|
|
6
|
-
.ilo--credit {
|
|
7
|
-
color: #ffffff;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
height: px-to-rem($spacing-ux-credit-height);
|
|
10
|
-
padding: 0;
|
|
11
|
-
position: relative;
|
|
12
|
-
@include font-styles("image-credit");
|
|
13
|
-
|
|
14
|
-
&--label {
|
|
15
|
-
background-color: $color-ux-credit-background;
|
|
16
|
-
@include boxpadding("credit", "large");
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&:after {
|
|
20
|
-
background-position: top right;
|
|
21
|
-
background-repeat: no-repeat;
|
|
22
|
-
background-size: contain;
|
|
23
|
-
content: "";
|
|
24
|
-
height: px-to-rem($spacing-ux-credit-height);
|
|
25
|
-
position: absolute;
|
|
26
|
-
left: 100%;
|
|
27
|
-
top: -#{px-to-rem(map-get($spacing, "padding-0-5"))};
|
|
28
|
-
width: px-to-rem($spacing-ux-credit-height);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@include breakpoint("lg", true) {
|
|
32
|
-
width: 75%;
|
|
33
|
-
|
|
34
|
-
&--label {
|
|
35
|
-
bottom: calc(100% + 1px);
|
|
36
|
-
display: none;
|
|
37
|
-
left: 0;
|
|
38
|
-
margin-bottom: px-to-rem(map-get($spacing, "padding-1-5"));
|
|
39
|
-
position: absolute;
|
|
40
|
-
|
|
41
|
-
&:after {
|
|
42
|
-
background-position: top left;
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
background-size: contain;
|
|
45
|
-
content: "";
|
|
46
|
-
height: px-to-rem(map-get($spacing, "padding-1-5"));
|
|
47
|
-
position: absolute;
|
|
48
|
-
left: calc(#{px-to-rem(map-get($spacing, "padding-1-5"))} / 2);
|
|
49
|
-
bottom: -#{px-to-rem(map-get($spacing, "padding-1-5"))};
|
|
50
|
-
width: px-to-rem(map-get($spacing, "padding-1-5"));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:before {
|
|
55
|
-
background-color: $color-base-neutrals-dark;
|
|
56
|
-
background-position: calc(100% - 4px) center;
|
|
57
|
-
background-repeat: no-repeat;
|
|
58
|
-
background-size: px-to-rem(map-get($spacing, "padding-1-5"))
|
|
59
|
-
px-to-rem(map-get($spacing, "padding-1-5"));
|
|
60
|
-
content: "";
|
|
61
|
-
height: px-to-rem(map-get($spacing, "padding-3"));
|
|
62
|
-
position: absolute;
|
|
63
|
-
left: 0;
|
|
64
|
-
top: 0;
|
|
65
|
-
width: px-to-rem(29px);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:after {
|
|
69
|
-
left: px-to-rem(29px);
|
|
70
|
-
top: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&:hover {
|
|
74
|
-
.ilo--credit--label {
|
|
75
|
-
display: inline-block;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
[dir="rtl"] & {
|
|
81
|
-
&:after {
|
|
82
|
-
background-position: top left;
|
|
83
|
-
left: auto;
|
|
84
|
-
right: 100%;
|
|
85
|
-
transform: scaleX(-1);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@include breakpoint("lg", true) {
|
|
89
|
-
&--label {
|
|
90
|
-
left: auto;
|
|
91
|
-
right: 0;
|
|
92
|
-
|
|
93
|
-
&:after {
|
|
94
|
-
background-position: top right;
|
|
95
|
-
left: auto;
|
|
96
|
-
right: calc(#{px-to-rem(map-get($spacing, "padding-1-5"))} / 2);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&:before {
|
|
101
|
-
background-position: 4px center;
|
|
102
|
-
left: auto;
|
|
103
|
-
right: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&:after {
|
|
107
|
-
left: auto;
|
|
108
|
-
right: px-to-rem(29px);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@use "../tokens" as *;
|
|
2
|
-
@use "../functions" as *;
|
|
3
|
-
@import "../mixins";
|
|
4
|
-
|
|
5
|
-
.ilo--h1,
|
|
6
|
-
.ilo--h2,
|
|
7
|
-
.ilo--h3,
|
|
8
|
-
.ilo--h4,
|
|
9
|
-
.ilo--h5,
|
|
10
|
-
.ilo--h6 {
|
|
11
|
-
color: inherit;
|
|
12
|
-
font-family: var(--ilo-fonts-display);
|
|
13
|
-
font-weight: 700;
|
|
14
|
-
|
|
15
|
-
&--default {
|
|
16
|
-
color: $color-font-base;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&--actionable {
|
|
20
|
-
color: $color-base-purple-medium;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&--light {
|
|
24
|
-
color: $color-base-neutrals-white;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ilo--h1 {
|
|
29
|
-
@include font-styles("headline-2");
|
|
30
|
-
|
|
31
|
-
@include breakpoint("md") {
|
|
32
|
-
@include font-styles("headline-1");
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ilo--h2 {
|
|
37
|
-
@include font-styles("headline-3");
|
|
38
|
-
|
|
39
|
-
@include breakpoint("md") {
|
|
40
|
-
@include font-styles("headline-2");
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ilo--h3 {
|
|
45
|
-
@include font-styles("headline-4");
|
|
46
|
-
|
|
47
|
-
@include breakpoint("md") {
|
|
48
|
-
@include font-styles("headline-3");
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ilo--h4 {
|
|
53
|
-
@include font-styles("headline-5");
|
|
54
|
-
|
|
55
|
-
@include breakpoint("md") {
|
|
56
|
-
@include font-styles("headline-4");
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ilo--h5 {
|
|
61
|
-
@include font-styles("headline-6");
|
|
62
|
-
|
|
63
|
-
@include breakpoint("md") {
|
|
64
|
-
@include font-styles("headline-5");
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ilo--h6 {
|
|
69
|
-
@include font-styles("headline-6");
|
|
70
|
-
|
|
71
|
-
@include breakpoint("md") {
|
|
72
|
-
@include font-styles("headline-6");
|
|
73
|
-
}
|
|
74
|
-
}
|
|
File without changes
|