@ilo-org/styles 1.3.4 → 1.5.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/blockquote.css +1 -0
- package/css/components/card.css +1 -1
- package/css/components/datacard.css +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/components/languagetoggle.css +1 -0
- package/css/components/list.css +1 -1
- package/css/components/multilinkcard.css +1 -1
- package/css/components/richtext.css +1 -1
- package/css/components/socialmedia.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 +4 -4
- package/scss/_mixins.scss +176 -11
- package/scss/components/_blockquote.scss +88 -81
- package/scss/components/_card.scss +38 -37
- package/scss/components/_datacard.scss +11 -0
- package/scss/components/_featurecard.scss +19 -29
- package/scss/components/_languagetoggle.scss +96 -0
- package/scss/components/_list.scss +1 -1
- package/scss/components/_multilinkcard.scss +55 -24
- package/scss/components/_richtext.scss +3 -1
- package/scss/components/_socialmedia.scss +24 -0
- package/scss/components/_video.scss +2 -2
- package/scss/components/index.scss +3 -0
- package/scss/components/navigation/_nav-compact.scss +186 -0
- package/scss/components/navigation/_nav-complex.scss +256 -0
- package/scss/components/navigation/_nav-dropdown.scss +44 -0
- package/scss/components/navigation/_nav-grid.scss +31 -0
- package/scss/components/navigation/_nav-menu.scss +91 -0
- package/scss/components/navigation/index.scss +6 -0
- package/scss/components/navigation/mobile/_nav-mobile-drawer.scss +60 -0
- package/scss/components/navigation/mobile/_nav-mobile-menu.scss +36 -0
- package/scss/components/navigation/mobile/_nav-mobile.scss +171 -0
- package/scss/components/navigation/mobile/index.scss +3 -0
- package/scss/theme/_breakpoints.scss +2 -2
- package/scss/theme/_foundation.scss +2 -22
- package/scss/theme/_typography.scss +53 -0
|
@@ -10,40 +10,30 @@
|
|
|
10
10
|
&__feature {
|
|
11
11
|
--max-width: #{px-to-rem(412px)};
|
|
12
12
|
|
|
13
|
-
border-bottom: px-to-rem(3px) solid
|
|
13
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-gray-base);
|
|
14
14
|
display: flex;
|
|
15
15
|
margin-top: 0;
|
|
16
16
|
position: relative;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
&:hover,
|
|
19
|
+
&:focus,
|
|
20
|
+
&:focus-within {
|
|
21
21
|
.ilo--link-list {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
color: $brand-ilo-white;
|
|
26
|
-
@include dataurlicon("chevron_right", $brand-ilo-white);
|
|
22
|
+
&--label {
|
|
23
|
+
color: var(--ilo-color-blue) !important;
|
|
24
|
+
}
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
26
|
+
&--icon {
|
|
27
|
+
background-color: var(--ilo-color-blue);
|
|
31
28
|
}
|
|
32
29
|
}
|
|
30
|
+
}
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
color: $brand-ilo-blue;
|
|
40
|
-
@include dataurlicon("chevron_right", $brand-ilo-blue);
|
|
41
|
-
|
|
42
|
-
[dir="rtl"] & {
|
|
43
|
-
@include dataurlicon("chevron_left", $brand-ilo-blue);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
32
|
+
&#{$self}__theme__dark {
|
|
33
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-red);
|
|
34
|
+
|
|
35
|
+
.ilo--link-list {
|
|
36
|
+
border-top: 2px solid var(--ilo-color-gray-light-semi-transparent);
|
|
47
37
|
}
|
|
48
38
|
}
|
|
49
39
|
|
|
@@ -54,8 +44,8 @@
|
|
|
54
44
|
&:hover,
|
|
55
45
|
&:focus,
|
|
56
46
|
&:focus-within {
|
|
57
|
-
background-color:
|
|
58
|
-
border-bottom: px-to-rem(3px) solid
|
|
47
|
+
background-color: var(--ilo-color-white);
|
|
48
|
+
border-bottom: px-to-rem(3px) solid var(--ilo-color-blue);
|
|
59
49
|
@include card-drop-shadow;
|
|
60
50
|
|
|
61
51
|
picture::before {
|
|
@@ -70,7 +60,7 @@
|
|
|
70
60
|
}
|
|
71
61
|
|
|
72
62
|
.ilo--link-list {
|
|
73
|
-
border-top: px-to-rem(2px) solid
|
|
63
|
+
border-top: px-to-rem(2px) solid var(--ilo-color-gray-light);
|
|
74
64
|
margin-left: px-to-rem(-24px);
|
|
75
65
|
margin-right: px-to-rem(-24px);
|
|
76
66
|
position: relative;
|
|
@@ -158,7 +148,7 @@
|
|
|
158
148
|
position: relative;
|
|
159
149
|
|
|
160
150
|
&::before {
|
|
161
|
-
background-color:
|
|
151
|
+
background-color: var(--ilo-color-blue);
|
|
162
152
|
content: "";
|
|
163
153
|
display: block;
|
|
164
154
|
height: 100%;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@use "../tokens" as *;
|
|
2
|
+
@use "../functions" as *;
|
|
3
|
+
@import "../mixins";
|
|
4
|
+
|
|
5
|
+
.ilo--language-toggle {
|
|
6
|
+
--ilo--language-toggle-color: var(--ilo-color-white);
|
|
7
|
+
--ilo--language-toggle-color-hover: var(--ilo-color-blue);
|
|
8
|
+
--ilo--language-toggle-bg: transparent;
|
|
9
|
+
--ilo--language-toggle-bg-hover: transparent;
|
|
10
|
+
|
|
11
|
+
&__theme {
|
|
12
|
+
&__dark {
|
|
13
|
+
--ilo--language-toggle-color: var(--ilo-color-blue-dark);
|
|
14
|
+
--ilo--language-toggle-color-hover: var(--ilo-color-white);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:hover,
|
|
19
|
+
&__open {
|
|
20
|
+
--ilo--language-toggle-color: var(--ilo--language-toggle-color-hover);
|
|
21
|
+
--ilo--language-toggle-bg: var(--ilo--language-toggle-bg-hover);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
display: inline-block;
|
|
25
|
+
|
|
26
|
+
&--container {
|
|
27
|
+
// Button unsets to perserve accessibility
|
|
28
|
+
background: none;
|
|
29
|
+
border: none;
|
|
30
|
+
padding: 0;
|
|
31
|
+
margin: 0;
|
|
32
|
+
font: inherit;
|
|
33
|
+
color: inherit;
|
|
34
|
+
outline: none;
|
|
35
|
+
box-shadow: none;
|
|
36
|
+
appearance: none;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: px-to-rem(4px);
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
width: fit-content;
|
|
44
|
+
background-color: var(--ilo--language-toggle-bg);
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
background-color: var(--ilo--language-toggle-bg-hover);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&--icon {
|
|
52
|
+
display: block;
|
|
53
|
+
width: px-to-rem(24px);
|
|
54
|
+
height: px-to-rem(24px);
|
|
55
|
+
@include icon("globe", var(--ilo--language-toggle-color));
|
|
56
|
+
margin-top: -3px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--arrow {
|
|
60
|
+
display: block;
|
|
61
|
+
width: px-to-rem(24px);
|
|
62
|
+
height: px-to-rem(24px);
|
|
63
|
+
@include icon("chevron_down", var(--ilo--language-toggle-color));
|
|
64
|
+
margin-top: -3px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&--action {
|
|
68
|
+
color: var(--ilo--language-toggle-color);
|
|
69
|
+
|
|
70
|
+
//move this when the new typography is ready ##896
|
|
71
|
+
font-family: var(--ilo-fonts-display);
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-size: px-to-rem(14px);
|
|
74
|
+
line-height: 135%;
|
|
75
|
+
letter-spacing: -2%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&--context-menu {
|
|
79
|
+
z-index: 5;
|
|
80
|
+
position: absolute;
|
|
81
|
+
margin-top: spacing(2);
|
|
82
|
+
opacity: 0;
|
|
83
|
+
visibility: hidden;
|
|
84
|
+
transform: translateY(-10px);
|
|
85
|
+
transition:
|
|
86
|
+
opacity 0.3s ease,
|
|
87
|
+
visibility 0.3s ease,
|
|
88
|
+
transform 0.3s ease;
|
|
89
|
+
|
|
90
|
+
&__open {
|
|
91
|
+
opacity: 1;
|
|
92
|
+
visibility: visible;
|
|
93
|
+
transform: translateY(0);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
&__type {
|
|
10
10
|
&__multilink {
|
|
11
|
+
--standard-spacing: #{spacing(8)};
|
|
12
|
+
--narrow-spacing: #{spacing(6)};
|
|
11
13
|
// Defaults to standard size
|
|
12
14
|
--max-width: #{px-to-rem(536px)};
|
|
13
15
|
|
|
@@ -15,27 +17,35 @@
|
|
|
15
17
|
|
|
16
18
|
#{$self}--image--wrapper {
|
|
17
19
|
display: none;
|
|
20
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
21
|
+
height: 0;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
padding-top: 56.25%;
|
|
24
|
+
position: relative;
|
|
25
|
+
margin-bottom: var(--standard-spacing);
|
|
26
|
+
position: relative;
|
|
27
|
+
|
|
28
|
+
picture,
|
|
29
|
+
img {
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 50%;
|
|
32
|
+
left: 50%;
|
|
33
|
+
transform: translate(-50%, -50%);
|
|
34
|
+
height: auto;
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
18
37
|
}
|
|
19
38
|
|
|
20
39
|
#{$self}--content {
|
|
21
40
|
#{$self}--image--wrapper {
|
|
22
41
|
display: block;
|
|
23
|
-
margin-bottom: spacing(8);
|
|
24
42
|
}
|
|
25
43
|
}
|
|
26
44
|
|
|
27
|
-
@include breakpoint("md") {
|
|
28
|
-
padding: spacing(10);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@include breakpoint("lg") {
|
|
32
|
-
padding: spacing(14) spacing(12);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
45
|
#{$self}--title {
|
|
36
46
|
@include font-styles("headline-5");
|
|
37
|
-
margin-bottom: spacing
|
|
38
|
-
color:
|
|
47
|
+
margin-bottom: var(--standard-spacing);
|
|
48
|
+
color: var(--ilo-color-gray-charcoal);
|
|
39
49
|
|
|
40
50
|
@include breakpoint("md") {
|
|
41
51
|
@include font-styles("headline-4");
|
|
@@ -44,8 +54,8 @@
|
|
|
44
54
|
|
|
45
55
|
#{$self}--intro {
|
|
46
56
|
@include font-styles("body-small");
|
|
47
|
-
margin-bottom: spacing
|
|
48
|
-
color:
|
|
57
|
+
margin-bottom: var(--standard-spacing);
|
|
58
|
+
color: var(--ilo-color-gray-charcoal);
|
|
49
59
|
|
|
50
60
|
@include breakpoint("md") {
|
|
51
61
|
@include font-styles("base");
|
|
@@ -55,7 +65,6 @@
|
|
|
55
65
|
&#{$self}__size {
|
|
56
66
|
&__standard {
|
|
57
67
|
--max-width: #{px-to-rem(536px)};
|
|
58
|
-
|
|
59
68
|
padding: spacing(12) spacing(10);
|
|
60
69
|
}
|
|
61
70
|
|
|
@@ -70,21 +79,21 @@
|
|
|
70
79
|
#{$self}--content {
|
|
71
80
|
#{$self}--image--wrapper {
|
|
72
81
|
display: block;
|
|
73
|
-
margin-bottom: spacing
|
|
82
|
+
margin-bottom: var(--narrow-spacing);
|
|
74
83
|
}
|
|
75
84
|
}
|
|
76
85
|
|
|
77
86
|
#{$self}--title {
|
|
78
87
|
@include breakpoint("md") {
|
|
79
88
|
@include font-styles("headline-5");
|
|
80
|
-
margin-bottom: spacing
|
|
89
|
+
margin-bottom: var(--narrow-spacing);
|
|
81
90
|
}
|
|
82
91
|
}
|
|
83
92
|
|
|
84
93
|
#{$self}--intro {
|
|
85
94
|
@include breakpoint("md") {
|
|
86
95
|
@include font-styles("body-small");
|
|
87
|
-
margin-bottom: spacing
|
|
96
|
+
margin-bottom: var(--narrow-spacing);
|
|
88
97
|
}
|
|
89
98
|
}
|
|
90
99
|
}
|
|
@@ -104,23 +113,26 @@
|
|
|
104
113
|
|
|
105
114
|
&#{$self}__align__right {
|
|
106
115
|
#{$self}--wrap {
|
|
107
|
-
|
|
116
|
+
grid-template-areas: "content image";
|
|
108
117
|
}
|
|
109
118
|
}
|
|
110
119
|
|
|
111
120
|
#{$self}--wrap {
|
|
112
|
-
display:
|
|
113
|
-
|
|
121
|
+
display: grid;
|
|
122
|
+
grid-template-areas: "image content";
|
|
123
|
+
grid-template-columns: 1fr 1fr;
|
|
124
|
+
gap: px-to-rem(32px);
|
|
114
125
|
}
|
|
115
126
|
|
|
116
127
|
#{$self}--image--wrapper {
|
|
117
|
-
|
|
118
|
-
|
|
128
|
+
grid-area: image;
|
|
129
|
+
display: inline-block;
|
|
130
|
+
margin-bottom: 0;
|
|
131
|
+
width: 100%;
|
|
119
132
|
}
|
|
120
133
|
|
|
121
134
|
#{$self}--content {
|
|
122
|
-
|
|
123
|
-
|
|
135
|
+
grid-area: content;
|
|
124
136
|
#{$self}--image--wrapper {
|
|
125
137
|
display: none;
|
|
126
138
|
}
|
|
@@ -141,6 +153,25 @@
|
|
|
141
153
|
position: relative;
|
|
142
154
|
z-index: 3;
|
|
143
155
|
}
|
|
156
|
+
|
|
157
|
+
@include breakpoint("md") {
|
|
158
|
+
padding: spacing(10);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@include breakpoint("lg") {
|
|
162
|
+
padding: spacing(14) spacing(12);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Make list links white on hover when blue theme is set
|
|
168
|
+
&__theme__soft#{&}__type__multilink {
|
|
169
|
+
.ilo--link-list {
|
|
170
|
+
a {
|
|
171
|
+
&:hover {
|
|
172
|
+
background-color: var(--ilo-color-white);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
144
175
|
}
|
|
145
176
|
}
|
|
146
177
|
}
|
|
@@ -153,6 +153,30 @@
|
|
|
153
153
|
@include get-icon("social_tiktok", "dark");
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
+
|
|
157
|
+
&__bluesky {
|
|
158
|
+
@include get-icon("social_bluesky");
|
|
159
|
+
|
|
160
|
+
#{$c}__theme__dark & {
|
|
161
|
+
@include get-icon("social_bluesky", "dark");
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&__weibo {
|
|
166
|
+
@include get-icon("social_weibo");
|
|
167
|
+
|
|
168
|
+
#{$c}__theme__dark & {
|
|
169
|
+
@include get-icon("social_weibo", "dark");
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&__wechat {
|
|
174
|
+
@include get-icon("social_wechat");
|
|
175
|
+
|
|
176
|
+
#{$c}__theme__dark & {
|
|
177
|
+
@include get-icon("social_wechat", "dark");
|
|
178
|
+
}
|
|
179
|
+
}
|
|
156
180
|
}
|
|
157
181
|
}
|
|
158
182
|
}
|
|
@@ -271,11 +271,11 @@
|
|
|
271
271
|
|
|
272
272
|
// Mute Button
|
|
273
273
|
.vjs-mute-control {
|
|
274
|
-
@include videobutton("
|
|
274
|
+
@include videobutton("sound_on");
|
|
275
275
|
height: px-to-rem(40px);
|
|
276
276
|
|
|
277
277
|
&[title="Unmute"] {
|
|
278
|
-
@include videobutton("
|
|
278
|
+
@include videobutton("sound_off");
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
@use "../../tokens" as *;
|
|
2
|
+
@use "../../functions" as *;
|
|
3
|
+
@import "../../mixins";
|
|
4
|
+
@import "../../config";
|
|
5
|
+
|
|
6
|
+
.ilo--subsite-nav-compact {
|
|
7
|
+
position: relative;
|
|
8
|
+
height: px-to-rem(70px);
|
|
9
|
+
background-color: var(--ilo-color-blue);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
|
|
12
|
+
&__container {
|
|
13
|
+
max-width: px-to-rem(1296px);
|
|
14
|
+
height: inherit;
|
|
15
|
+
margin-left: auto;
|
|
16
|
+
margin-right: auto;
|
|
17
|
+
padding-inline: spacing(4);
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__nav {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: px-to-rem(48px);
|
|
26
|
+
|
|
27
|
+
@include breakpoint("xl", true) {
|
|
28
|
+
gap: px-to-rem(24px);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__branding {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
|
|
37
|
+
&-logo {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
height: px-to-rem(38px);
|
|
41
|
+
padding-inline-end: spacing(4);
|
|
42
|
+
border-right: 1px solid var(--ilo-color-white);
|
|
43
|
+
|
|
44
|
+
[dir="rtl"] & {
|
|
45
|
+
padding-inline-start: spacing(4);
|
|
46
|
+
border-right: none;
|
|
47
|
+
border-left: 1px solid var(--ilo-color-white);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
img {
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-name {
|
|
56
|
+
padding-inline-start: spacing(4);
|
|
57
|
+
color: var(--ilo-color-white);
|
|
58
|
+
@include typography("heading-3");
|
|
59
|
+
font-size: px-to-rem(16px); //Designs have wrong config
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__menu {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: px-to-rem(48px);
|
|
67
|
+
|
|
68
|
+
@include breakpoint("lg", true) {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__widget-bar {
|
|
74
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
75
|
+
height: px-to-rem(48px);
|
|
76
|
+
position: relative;
|
|
77
|
+
display: flex;
|
|
78
|
+
|
|
79
|
+
@include breakpoint("lg", true) {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
content: "";
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 0;
|
|
87
|
+
left: 100%;
|
|
88
|
+
width: 100vw;
|
|
89
|
+
height: 100%;
|
|
90
|
+
background-color: var(--ilo-color-blue-lighter);
|
|
91
|
+
z-index: 1;
|
|
92
|
+
|
|
93
|
+
[dir="rtl"] & {
|
|
94
|
+
left: auto;
|
|
95
|
+
right: 100%;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-corner {
|
|
100
|
+
display: block;
|
|
101
|
+
background-color: var(--ilo-color-blue);
|
|
102
|
+
width: px-to-rem(48px);
|
|
103
|
+
height: px-to-rem(48px);
|
|
104
|
+
@include cornercut(spacing(10), 100%);
|
|
105
|
+
transform: skewY(0.001deg);
|
|
106
|
+
|
|
107
|
+
[dir="rtl"] & {
|
|
108
|
+
@include cornercut(spacing(10), 100%, "left");
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&-content {
|
|
113
|
+
height: inherit;
|
|
114
|
+
width: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
gap: px-to-rem(12px);
|
|
117
|
+
padding-inline: spacing(3);
|
|
118
|
+
align-items: center;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&-link {
|
|
122
|
+
@include typography("highlight-small-bold");
|
|
123
|
+
height: 100%;
|
|
124
|
+
text-decoration: none;
|
|
125
|
+
color: var(--ilo-color-blue-dark);
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
text-wrap: nowrap;
|
|
129
|
+
|
|
130
|
+
&:hover {
|
|
131
|
+
color: var(--ilo-color-blue);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-language {
|
|
136
|
+
.ilo--language-toggle__theme__dark {
|
|
137
|
+
--ilo--language-toggle-color-hover: var(--ilo-color-blue);
|
|
138
|
+
}
|
|
139
|
+
position: relative;
|
|
140
|
+
height: 100%;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&-search {
|
|
146
|
+
--ilo-subsite-nav-widget-bar-search-color: var(--ilo-color-blue-dark);
|
|
147
|
+
height: 100%;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
width: px-to-rem(24px);
|
|
151
|
+
height: px-to-rem(24px);
|
|
152
|
+
|
|
153
|
+
@include icon("search", var(--ilo-subsite-nav-widget-bar-search-color));
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
--ilo-subsite-nav-widget-bar-search-color: var(--ilo-color-blue);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__burger {
|
|
162
|
+
display: none;
|
|
163
|
+
|
|
164
|
+
@include breakpoint("lg", true) {
|
|
165
|
+
display: flex;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
--ilo-subsite-nav-burger-icon: var(--ilo-color-white);
|
|
169
|
+
margin-block: px-to-rem(20px);
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
border: none;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
|
|
175
|
+
&-icon {
|
|
176
|
+
width: px-to-rem(32px);
|
|
177
|
+
height: px-to-rem(32px);
|
|
178
|
+
@include icon("burger", var(--ilo-subsite-nav-burger-icon));
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:hover {
|
|
182
|
+
--ilo-subsite-nav-burger-icon: var(--ilo-color-blue);
|
|
183
|
+
background-color: var(--ilo-color-white);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|