@bloom-housing/ui-components 8.0.3 → 8.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/dist/src/actions/ExpandableText.d.ts +1 -0
- package/dist/src/actions/ExpandableText.js +2 -2
- package/dist/src/actions/ExpandableText.js.map +1 -1
- package/dist/src/headers/SiteHeader.d.ts +4 -1
- package/dist/src/headers/SiteHeader.js +43 -38
- package/dist/src/headers/SiteHeader.js.map +1 -1
- package/dist/src/headers/SiteHeader.stories.d.ts +1 -0
- package/dist/src/headers/SiteHeader.stories.js +2 -5
- package/dist/src/headers/SiteHeader.stories.js.map +1 -1
- package/dist/src/lists/PreferencesList.d.ts +1 -0
- package/dist/src/lists/PreferencesList.js +1 -1
- package/dist/src/lists/PreferencesList.js.map +1 -1
- package/dist/src/lists/PreferencesList.stories.js +5 -0
- package/dist/src/lists/PreferencesList.stories.js.map +1 -1
- package/dist/src/page_components/listing/ContentAccordion.d.ts +1 -0
- package/dist/src/page_components/listing/ContentAccordion.js +3 -3
- package/dist/src/page_components/listing/ContentAccordion.js.map +1 -1
- package/dist/src/page_components/listing/ContentAccordion.stories.d.ts +1 -0
- package/dist/src/page_components/listing/ContentAccordion.stories.js +3 -0
- package/dist/src/page_components/listing/ContentAccordion.stories.js.map +1 -1
- package/package.json +1 -1
- package/src/actions/ExpandableText.tsx +7 -2
- package/src/global/accessibility.scss +22 -0
- package/src/global/app-css.scss +1 -0
- package/src/global/print.scss +1 -2
- package/src/headers/SiteHeader.scss +521 -351
- package/src/headers/SiteHeader.stories.tsx +10 -2
- package/src/headers/SiteHeader.tsx +89 -47
- package/src/lists/PreferencesList.stories.tsx +5 -0
- package/src/lists/PreferencesList.tsx +2 -1
- package/src/page_components/listing/ContentAccordion.stories.tsx +11 -0
- package/src/page_components/listing/ContentAccordion.tsx +7 -6
|
@@ -1,403 +1,561 @@
|
|
|
1
|
+
@import "../global/accessibility.scss";
|
|
2
|
+
|
|
1
3
|
.site-header {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
4
|
+
--background-color: var(--bloom-color-white);
|
|
5
|
+
--base-align-items: inherit;
|
|
6
|
+
--base-desktop-padding: inherit;
|
|
7
|
+
--base-desktop-width: inherit;
|
|
8
|
+
--base-height: 75px;
|
|
9
|
+
--base-max-height: 75px;
|
|
10
|
+
--base-mobile-padding: inherit;
|
|
11
|
+
--base-mobile-width: inherit;
|
|
12
|
+
--border-color: var(--bloom-color-gray-450);
|
|
13
|
+
--container-border: none;
|
|
14
|
+
--notice-text-font-size: var(--bloom-font-size-xs);
|
|
15
|
+
--notice-display: block;
|
|
16
|
+
|
|
17
|
+
// Logo
|
|
18
|
+
--logo-background-color: var(--bloom-color-white);
|
|
19
|
+
--logo-box-shadow: none;
|
|
20
|
+
--logo-container-min-width: auto;
|
|
21
|
+
--logo-container-padding-desktop: inherit;
|
|
22
|
+
--logo-container-padding-mobile: inherit;
|
|
23
|
+
--logo-content-align-items: center;
|
|
24
|
+
--logo-content-display: block;
|
|
25
|
+
--logo-content-padding: var(--bloom-s1);
|
|
26
|
+
--logo-desktop-height: 120px;
|
|
27
|
+
--logo-desktop-padding: var(--bloom-s1) var(--bloom-s3) var(--bloom-s1) var(--bloom-s3);
|
|
28
|
+
--logo-image-desktop-display: inline-block;
|
|
29
|
+
--logo-image-desktop-height: auto;
|
|
30
|
+
--logo-image-desktop-margin: var(--bloom-s3) 0 var(--bloom-s2) 0;
|
|
31
|
+
--logo-image-max-height: 1.5rem;
|
|
32
|
+
--logo-image-min-height: auto;
|
|
33
|
+
--logo-image-mobile-display: inline-block;
|
|
34
|
+
--logo-image-mobile-height: auto;
|
|
35
|
+
--logo-image-mobile-margin: var(--bloom-s1) 0;
|
|
36
|
+
--logo-image-desktop-max-height: 2rem;
|
|
37
|
+
--logo-image-desktop-min-height: auto;
|
|
38
|
+
--logo-margin: auto;
|
|
39
|
+
--logo-max-height: auto;
|
|
40
|
+
--logo-max-width: auto;
|
|
41
|
+
--logo-mobile-height: 95%;
|
|
42
|
+
--logo-mobile-padding: auto;
|
|
43
|
+
--logo-subtitle-desktop-font-size: var(--bloom-font-size-sm);
|
|
44
|
+
--logo-subtitle-mobile-font-size: var(--bloom-font-size-sm);
|
|
45
|
+
--logo-title-font-family: var(--bloom-font-alt-sans);
|
|
46
|
+
--logo-title-font-size-desktop: var(--bloom-font-size-sm);
|
|
47
|
+
--logo-title-font-size-mobile: var(--bloom-font-size-xs);
|
|
48
|
+
--logo-title-letter-spacing: 0.05em;
|
|
49
|
+
--logo-title-margin-desktop: 0;
|
|
50
|
+
--logo-title-margin-mobile: 0;
|
|
51
|
+
--logo-title-text-align: center;
|
|
52
|
+
--logo-title-text-color: var(--bloom-color-gray-950);
|
|
53
|
+
--logo-title-text-transform: uppercase;
|
|
54
|
+
--logo-width-wide: 350px;
|
|
55
|
+
--logo-width-med: 255px;
|
|
56
|
+
--logo-width-base: 200px;
|
|
57
|
+
--logo-width-slim: 100px;
|
|
58
|
+
|
|
59
|
+
// Link
|
|
60
|
+
--link-align-items: flex-end;
|
|
61
|
+
--link-bottom-border: 3px solid transparent;
|
|
62
|
+
--link-font-size: var(--bloom-font-size-xs);
|
|
63
|
+
--link-font-weight: 400;
|
|
64
|
+
--link-height: 100%;
|
|
65
|
+
--link-hover-bottom-border: 3px solid var(--bloom-color-primary);
|
|
66
|
+
--link-padding: var(--bloom-s1) var(--bloom-s3) var(--bloom-s4) var(--bloom-s3);
|
|
67
|
+
--link-text-color: var(--bloom-color-gray-750);
|
|
68
|
+
--link-text-hover-color: var(--bloom-color-gray-750);
|
|
69
|
+
--link-text-hover-color: var(--link-text-color);
|
|
70
|
+
--link-text-desktop-color: var(--link-text-color);
|
|
71
|
+
--link-text-transform: uppercase;
|
|
72
|
+
|
|
73
|
+
// Dropdown
|
|
74
|
+
--dropdown-container-border-top: none;
|
|
75
|
+
--dropdown-container-display: inherit;
|
|
76
|
+
--dropdown-container-margin: 38.5px 0 0 -127px;
|
|
77
|
+
--dropdown-container-width: 143px;
|
|
78
|
+
--dropdown-item-flex: inherit;
|
|
79
|
+
--dropdown-item-font-size: var(--bloom-font-size-sm);
|
|
80
|
+
--mobile-dropdown-item-font-size: var(--bloom-font-size-sm);
|
|
81
|
+
--mobile-dropdown-margin: auto;
|
|
82
|
+
--mobile-menu-button-border: 2px var(--bloom-color-primary);
|
|
83
|
+
--mobile-menu-button-display: inline-block;
|
|
84
|
+
--mobile-menu-button-margin: var(--bloom-s4) var(--bloom-s2);
|
|
85
|
+
--mobile-menu-button-padding: 0 var(--bloom-s2);
|
|
86
|
+
--mobile-menu-button-text-display: inline;
|
|
87
|
+
--mobile-menu-font-size: var(--bloom-font-size-xs);
|
|
88
|
+
|
|
89
|
+
// Link menu
|
|
90
|
+
--navbar-menu-desktop-height: 75px;
|
|
91
|
+
--navbar-menu-desktop-margin: inherit;
|
|
92
|
+
--navbar-menu-desktop-padding: inherit;
|
|
93
|
+
--navbar-menu-desktop-width: inherit;
|
|
94
|
+
--navbar-menu-min-width: 110px;
|
|
95
|
+
--navbar-menu-mobile-height: inherit;
|
|
96
|
+
--navbar-menu-mobile-margin: inherit;
|
|
97
|
+
--navbar-menu-mobile-padding: inherit;
|
|
98
|
+
--navbar-menu-mobile-width: inherit;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.site-header__mobile-dropdown-container {
|
|
102
|
+
background-color: var(--background-color);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.site-header__mobile-dropdown {
|
|
106
|
+
border-bottom: 1px solid var(--border-color);
|
|
107
|
+
width: 100%;
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
margin: var(--mobile-dropdown-margin);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.site-header__mobile-dropdown-item {
|
|
114
|
+
width: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
color: var(--link-text-color);
|
|
117
|
+
padding: var(--bloom-s3) var(--bloom-s4) var(--bloom-s3) var(--bloom-s4);
|
|
118
|
+
border-top: 1px solid var(--border-color);
|
|
119
|
+
font-size: var(--mobile-dropdown-item-font-size);
|
|
120
|
+
|
|
121
|
+
&:hover,
|
|
122
|
+
&:focus {
|
|
123
|
+
background-color: var(--bloom-color-gray-400);
|
|
124
|
+
color: var(--link-text-hover-color);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (min-width: $screen-md) {
|
|
128
|
+
color: var(--link-text-desktop-color);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.site-header__mobile-dropdown-item-sublink {
|
|
133
|
+
padding-left: var(--bloom-s8);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.site-header__mobile-drawer-dropdown-container {
|
|
137
|
+
position: fixed;
|
|
138
|
+
top: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
background-color: var(--background-color);
|
|
141
|
+
z-index: 10;
|
|
142
|
+
height: 100%;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.site-header__mobile-drawer-dropdown {
|
|
146
|
+
border-bottom: 1px solid var(--border-color);
|
|
147
|
+
width: 100%;
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.site-header__mobile-drawer-close-row {
|
|
153
|
+
background-color: var(--bloom-color-primary);
|
|
154
|
+
padding: var(--bloom-s3) var(--bloom-s2) var(--bloom-s3) var(--bloom-s2);
|
|
155
|
+
display: flex;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.site-header__mobile-drawer-dropdown-item {
|
|
159
|
+
display: flex;
|
|
160
|
+
color: var(--link-text-color);
|
|
161
|
+
padding: var(--bloom-s3) var(--bloom-s24) var(--bloom-s3) var(--bloom-s4);
|
|
162
|
+
border-top: 1px solid var(--border-color);
|
|
163
|
+
border-left: 1px solid var(--border-color);
|
|
164
|
+
font-size: var(--bloom-font-size-sm);
|
|
165
|
+
width: 100%;
|
|
166
|
+
|
|
167
|
+
&:hover,
|
|
168
|
+
&:focus {
|
|
169
|
+
background-color: var(--bloom-color-gray-400);
|
|
170
|
+
color: var(--link-text-color);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.site-header__mobile-drawer-dropdown-item-sublink {
|
|
175
|
+
padding-left: var(--bloom-s8);
|
|
176
|
+
padding-right: var(--bloom-s2);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.site-header__container {
|
|
180
|
+
display: flex;
|
|
181
|
+
width: 100%;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: center;
|
|
184
|
+
border: var(--container-border);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.site-header__base {
|
|
188
|
+
height: var(--base-height);
|
|
189
|
+
max-height: var(--base-max-height);
|
|
190
|
+
display: flex;
|
|
191
|
+
flex-direction: row;
|
|
192
|
+
justify-content: space-between;
|
|
193
|
+
z-index: 10;
|
|
194
|
+
max-width: 100%;
|
|
195
|
+
align-items: var(--base-align-items);
|
|
196
|
+
padding: var(--base-mobile-padding);
|
|
197
|
+
width: var(--base-mobile-width);
|
|
198
|
+
|
|
199
|
+
@media (min-width: $screen-md) {
|
|
200
|
+
padding: var(--base-desktop-padding);
|
|
201
|
+
width: var(--base-desktop-width);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.site-header__logo-container {
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
justify-content: center;
|
|
209
|
+
flex-grow: 1;
|
|
210
|
+
min-width: var(--logo-container-min-width);
|
|
211
|
+
padding: var(--logo-container-padding-mobile);
|
|
212
|
+
|
|
213
|
+
@media (min-width: $screen-md) {
|
|
214
|
+
padding: var(--logo-container-padding-desktop);
|
|
215
|
+
flex-shrink: 0;
|
|
216
|
+
flex-grow: initial;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.site-header__logo {
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
color: var(--bloom-color-black);
|
|
223
|
+
text-align: center;
|
|
224
|
+
z-index: 10;
|
|
225
|
+
width: 100%;
|
|
226
|
+
height: var(--logo-mobile-height);
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
justify-content: center;
|
|
230
|
+
|
|
231
|
+
margin: var(--logo-margin);
|
|
232
|
+
padding: var(--logo-mobile-padding);
|
|
233
|
+
max-height: var(--logo-max-height);
|
|
234
|
+
max-width: var(--logo-max-width);
|
|
235
|
+
box-shadow: var(--logo-box-shadow);
|
|
236
|
+
|
|
237
|
+
@media (min-width: $screen-md) {
|
|
238
|
+
height: var(--logo-desktop-height);
|
|
239
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
|
|
240
|
+
margin-bottom: -0.75rem;
|
|
241
|
+
margin-top: -2.4rem;
|
|
242
|
+
padding: var(--logo-desktop-padding);
|
|
243
|
+
|
|
244
|
+
&:focus {
|
|
245
|
+
box-shadow: 0 0 3px 4px var(--bloom-color-accent-cool);
|
|
30
246
|
}
|
|
31
247
|
}
|
|
32
248
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
249
|
+
@media (min-width: $screen-print) {
|
|
250
|
+
margin-top: 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
background-color: var(--logo-background-color);
|
|
254
|
+
border-bottom: 0;
|
|
255
|
+
display: flex;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media print {
|
|
259
|
+
.site-header__notice {
|
|
260
|
+
display: none;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.site-header__logo-content {
|
|
265
|
+
padding: var(--logo-content-padding);
|
|
266
|
+
display: var(--logo-content-display);
|
|
267
|
+
align-items: var(--logo-content-align-items);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.site-header__image-only-container {
|
|
271
|
+
padding: 0;
|
|
272
|
+
width: 100%;
|
|
273
|
+
height: 100%;
|
|
274
|
+
|
|
275
|
+
@media (min-width: $screen-md) {
|
|
276
|
+
height: 67px;
|
|
277
|
+
height: 120px;
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
align-items: center;
|
|
281
|
+
img {
|
|
282
|
+
margin: 0;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.site-header__image-only {
|
|
287
|
+
max-height: 90%;
|
|
288
|
+
max-width: 100%;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.site-header__logo-image {
|
|
293
|
+
display: var(--logo-image-mobile-display);
|
|
294
|
+
margin: var(--logo-image-mobile-margin);
|
|
295
|
+
max-height: var(--logo-image-max-height);
|
|
296
|
+
min-height: var(--logo-image-min-height);
|
|
297
|
+
height: var(--logo-image-mobile-height);
|
|
298
|
+
|
|
299
|
+
@media (min-width: $screen-md) {
|
|
300
|
+
margin: var(--logo-image-desktop-margin);
|
|
301
|
+
max-height: var(--logo-image-desktop-max-height);
|
|
302
|
+
min-height: var(--logo-image-desktop-min-height);
|
|
303
|
+
height: var(--logo-image-desktop-height);
|
|
304
|
+
display: var(--logo-image-desktop-display);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.site-header__logo-title {
|
|
309
|
+
text-transform: var(--logo-title-text-transform);
|
|
310
|
+
font-weight: 700;
|
|
311
|
+
color: var(--logo-title-text-color);
|
|
312
|
+
font-family: var(--logo-title-font-family);
|
|
313
|
+
letter-spacing: var(--logo-title-letter-spacing);
|
|
314
|
+
font-size: var(--logo-title-font-size-mobile);
|
|
315
|
+
margin: var(--logo-title-margin-mobile);
|
|
316
|
+
text-align: var(--logo-title-text-align);
|
|
317
|
+
|
|
318
|
+
@media (min-width: $screen-md) {
|
|
319
|
+
font-size: var(--logo-title-font-size-desktop);
|
|
320
|
+
margin: var(--logo-title-margin-desktop);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.site-header__logo__subtitle {
|
|
325
|
+
font-size: var(--logo-subtitle-mobile-font-size);
|
|
326
|
+
font-weight: 400;
|
|
327
|
+
|
|
328
|
+
@media (min-width: $screen-md) {
|
|
329
|
+
font-size: var(--logo-subtitle-desktop-font-size);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.site-header__navbar-menu {
|
|
334
|
+
display: flex;
|
|
335
|
+
justify-content: flex-end;
|
|
336
|
+
|
|
337
|
+
min-width: var(--navbar-menu-min-width);
|
|
338
|
+
height: var(--navbar-menu-mobile-height);
|
|
339
|
+
margin: var(--navbar-menu-mobile-margin);
|
|
340
|
+
width: var(--navbar-menu-mobile-width);
|
|
341
|
+
padding: var(--navbar-menu-mobile-padding);
|
|
342
|
+
|
|
343
|
+
@media (min-width: $screen-md) {
|
|
344
|
+
height: var(--navbar-menu-desktop-height);
|
|
345
|
+
margin: var(--navbar-menu-desktop-margin);
|
|
346
|
+
width: var(--navbar-menu-desktop-width);
|
|
347
|
+
padding: var(--navbar-menu-desktop-padding);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.site-header__mobile-menu-button {
|
|
351
|
+
position: relative;
|
|
352
|
+
border-radius: var(--bloom-s1);
|
|
353
|
+
text-align: center;
|
|
354
|
+
text-transform: uppercase;
|
|
355
|
+
font-family: var(--bloom-font-alt-sans);
|
|
356
|
+
display: var(--mobile-menu-button-display);
|
|
357
|
+
letter-spacing: var(--bloom-letter-spacing-widest);
|
|
358
|
+
font-size: var(--mobile-menu-font-size);
|
|
359
|
+
font-weight: 700;
|
|
360
|
+
line-height: 1.375;
|
|
361
|
+
border: var(--mobile-menu-button-border);
|
|
362
|
+
text-decoration: none;
|
|
363
|
+
margin: var(--mobile-menu-button-margin);
|
|
364
|
+
padding: var(--mobile-menu-button-padding);
|
|
365
|
+
|
|
366
|
+
.site-header__mobile-menu-button-text {
|
|
367
|
+
display: var(--mobile-menu-button-text-display);
|
|
78
368
|
}
|
|
79
369
|
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.site-header__desktop-header-button {
|
|
373
|
+
padding-top: var(--bloom-s7);
|
|
374
|
+
border-bottom: 3px solid transparent;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.site-header__mobile-menu-text-button {
|
|
378
|
+
display: flex;
|
|
379
|
+
flex-direction: row;
|
|
380
|
+
align-items: center;
|
|
381
|
+
justify-content: center;
|
|
382
|
+
}
|
|
80
383
|
|
|
81
|
-
|
|
384
|
+
.site-header__mobile-menu-text-button-content {
|
|
385
|
+
//display - actually i dont think so
|
|
386
|
+
padding-right: var(--bloom-s2);
|
|
387
|
+
font-size: var(--bloom-font-size-sm);
|
|
388
|
+
color: var(--bloom-color-primary);
|
|
389
|
+
text-transform: uppercase;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.site-header__mobile-menu-icon {
|
|
393
|
+
padding-right: var(--bloom-s3);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.site-header__custom-width {
|
|
397
|
+
@media (min-width: $screen-md) {
|
|
82
398
|
display: flex;
|
|
83
|
-
@apply w-full;
|
|
84
399
|
align-items: center;
|
|
85
400
|
justify-content: center;
|
|
401
|
+
flex-direction: column;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
86
404
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
405
|
+
.site-header__dropdown-title {
|
|
406
|
+
flex-shrink: 0;
|
|
407
|
+
}
|
|
90
408
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
409
|
+
.site-header__link {
|
|
410
|
+
text-transform: var(--link-text-transform);
|
|
411
|
+
font-size: var(--link-font-size);
|
|
412
|
+
color: var(--link-text-color);
|
|
413
|
+
height: var(--link-height);
|
|
414
|
+
padding: var(--link-padding);
|
|
415
|
+
display: flex;
|
|
416
|
+
align-items: var(--link-align-items);
|
|
417
|
+
font-weight: var(--link-font-weight);
|
|
418
|
+
border-bottom: var(--link-bottom-border);
|
|
419
|
+
|
|
420
|
+
@media (min-width: 840px) {
|
|
421
|
+
padding-right: var(--bloom-s4);
|
|
422
|
+
padding-left: var(--bloom-s4);
|
|
423
|
+
}
|
|
94
424
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: row;
|
|
100
|
-
justify-content: space-between;
|
|
101
|
-
z-index: 10;
|
|
102
|
-
max-width: 100%;
|
|
103
|
-
|
|
104
|
-
.navbar-logo {
|
|
105
|
-
@apply flex;
|
|
106
|
-
@apply items-center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
flex-grow: 1;
|
|
109
|
-
@screen md {
|
|
110
|
-
flex-shrink: 0;
|
|
111
|
-
flex-grow: initial;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.logo {
|
|
115
|
-
@apply cursor-pointer;
|
|
116
|
-
@apply text-black;
|
|
117
|
-
@apply block;
|
|
118
|
-
@apply text-center;
|
|
119
|
-
@apply z-10;
|
|
120
|
-
width: 100%;
|
|
121
|
-
height: 95%;
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
justify-content: center;
|
|
125
|
-
|
|
126
|
-
.logo-content {
|
|
127
|
-
@apply p-1;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.navbar-image-only-container {
|
|
131
|
-
@apply p-0;
|
|
132
|
-
width: 100%;
|
|
133
|
-
height: 100%;
|
|
134
|
-
// 75px - .5rem of padding from the container around it
|
|
135
|
-
@screen md {
|
|
136
|
-
height: 67px;
|
|
137
|
-
height: 120px;
|
|
138
|
-
display: flex;
|
|
139
|
-
justify-content: center;
|
|
140
|
-
align-items: center;
|
|
141
|
-
img {
|
|
142
|
-
margin: 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
.navbar-image-only {
|
|
146
|
-
max-height: 90%;
|
|
147
|
-
max-width: 100%;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@screen md {
|
|
152
|
-
height: 120px;
|
|
153
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
|
|
154
|
-
margin-bottom: -0.75rem;
|
|
155
|
-
margin-top: -2.4rem;
|
|
156
|
-
@apply pt-1;
|
|
157
|
-
@apply pb-1;
|
|
158
|
-
@apply pl-3;
|
|
159
|
-
@apply pr-3;
|
|
160
|
-
|
|
161
|
-
&:focus {
|
|
162
|
-
box-shadow: 0 0 3px 4px $tailwind-accent-cool;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
@screen print {
|
|
167
|
-
margin-top: 0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@apply bg-white;
|
|
171
|
-
@apply border-b-0;
|
|
172
|
-
|
|
173
|
-
@apply flex;
|
|
174
|
-
|
|
175
|
-
.logo__image {
|
|
176
|
-
@apply inline-block;
|
|
177
|
-
@apply mt-1;
|
|
178
|
-
@apply mb-1;
|
|
179
|
-
max-height: 1.5rem;
|
|
180
|
-
|
|
181
|
-
@screen md {
|
|
182
|
-
@apply mt-3;
|
|
183
|
-
@apply mb-2;
|
|
184
|
-
max-height: 2rem;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.logo__title {
|
|
189
|
-
@apply uppercase;
|
|
190
|
-
@apply font-bold;
|
|
191
|
-
@apply text-gray-950;
|
|
192
|
-
@apply font-alt-sans;
|
|
193
|
-
@apply tracking-wider;
|
|
194
|
-
@apply text-xs;
|
|
195
|
-
|
|
196
|
-
@screen md {
|
|
197
|
-
@apply text-sm;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.navbar-custom-width {
|
|
203
|
-
@screen md {
|
|
204
|
-
@apply flex;
|
|
205
|
-
@apply items-center;
|
|
206
|
-
@apply justify-center;
|
|
207
|
-
@apply flex-col;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.navbar-menu {
|
|
213
|
-
@apply flex;
|
|
214
|
-
justify-content: flex-end;
|
|
215
|
-
min-width: 110px;
|
|
216
|
-
|
|
217
|
-
@screen md {
|
|
218
|
-
height: 75px;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.navbar-mobile-menu-button {
|
|
222
|
-
@apply relative;
|
|
223
|
-
@apply rounded;
|
|
224
|
-
@apply px-2;
|
|
225
|
-
@apply text-xl;
|
|
226
|
-
@apply text-center;
|
|
227
|
-
@apply uppercase;
|
|
228
|
-
@apply font-alt-sans;
|
|
229
|
-
@apply inline-block;
|
|
230
|
-
@apply tracking-widest;
|
|
231
|
-
@apply text-xs;
|
|
232
|
-
@apply font-bold;
|
|
233
|
-
@apply leading-snug;
|
|
234
|
-
@apply border-primary;
|
|
235
|
-
@apply border-2;
|
|
236
|
-
text-decoration: none;
|
|
237
|
-
@apply mx-2;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.navbar-dropdown-title {
|
|
241
|
-
flex-shrink: 0;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.navbar-link {
|
|
245
|
-
text-transform: uppercase;
|
|
246
|
-
@apply text-xs;
|
|
247
|
-
@apply pr-3;
|
|
248
|
-
@apply pl-3;
|
|
249
|
-
@apply text-gray-750;
|
|
250
|
-
@apply h-full;
|
|
251
|
-
@apply pb-4;
|
|
252
|
-
@apply pt-1;
|
|
253
|
-
@apply flex;
|
|
254
|
-
@apply items-end;
|
|
255
|
-
border-bottom: 3px solid transparent;
|
|
256
|
-
|
|
257
|
-
@media (min-width: 840px) {
|
|
258
|
-
@apply pr-4;
|
|
259
|
-
@apply pl-4;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
&:focus {
|
|
263
|
-
box-shadow: 0 0 3px 4px $tailwind-accent-cool;
|
|
264
|
-
outline: none;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
&:hover {
|
|
268
|
-
border-bottom: 3px solid;
|
|
269
|
-
@apply border-primary;
|
|
270
|
-
@apply cursor-pointer;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
div {
|
|
274
|
-
text-align: center;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.desktop-header-button {
|
|
279
|
-
@apply pt-7;
|
|
280
|
-
border-bottom: 3px solid transparent;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.navbar-dropdown-container {
|
|
284
|
-
background-color: white;
|
|
285
|
-
position: absolute;
|
|
286
|
-
margin-left: -127px;
|
|
287
|
-
margin-top: 38.5px;
|
|
288
|
-
@apply border-gray-450;
|
|
289
|
-
@apply border;
|
|
290
|
-
border-top: none;
|
|
291
|
-
width: 143px;
|
|
292
|
-
.navbar-dropdown {
|
|
293
|
-
display: flex;
|
|
294
|
-
flex-direction: column;
|
|
295
|
-
.navbar-dropdown-item {
|
|
296
|
-
@apply flex;
|
|
297
|
-
@apply flex-row;
|
|
298
|
-
@apply items-center;
|
|
299
|
-
justify-content: left;
|
|
300
|
-
@apply text-gray-750;
|
|
301
|
-
@apply pt-3;
|
|
302
|
-
@apply pb-3;
|
|
303
|
-
@apply pl-3;
|
|
304
|
-
@apply pr-3;
|
|
305
|
-
@apply border-t;
|
|
306
|
-
@apply border-gray-450;
|
|
307
|
-
@apply normal-case;
|
|
308
|
-
font-size: 14px;
|
|
309
|
-
text-align: left;
|
|
310
|
-
@apply w-full;
|
|
311
|
-
&:hover,
|
|
312
|
-
&:focus {
|
|
313
|
-
@apply bg-gray-400;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
425
|
+
&:focus {
|
|
426
|
+
box-shadow: 0 0 3px 4px var(--bloom-color-accent-cool);
|
|
427
|
+
outline: none;
|
|
320
428
|
}
|
|
321
429
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
@apply text-right;
|
|
327
|
-
}
|
|
328
|
-
@apply text-left;
|
|
329
|
-
@apply text-white;
|
|
330
|
-
@apply block;
|
|
430
|
+
&:hover {
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
border-bottom: var(--link-hover-bottom-border);
|
|
433
|
+
color: var(--link-text-hover-color);
|
|
331
434
|
}
|
|
332
435
|
|
|
333
|
-
|
|
334
|
-
|
|
436
|
+
div {
|
|
437
|
+
text-align: center;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
335
440
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
441
|
+
.site-header__dropdown-container {
|
|
442
|
+
background-color: var(--bloom-color-white);
|
|
443
|
+
position: absolute;
|
|
444
|
+
margin: var(--dropdown-container-margin);
|
|
445
|
+
border: 1px solid var(--border-color);
|
|
446
|
+
border-top: var(--dropdown-container-border-top);
|
|
447
|
+
width: var(--dropdown-container-width);
|
|
448
|
+
display: var(--dropdown-container-display);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.site-header__dropdown {
|
|
452
|
+
display: flex;
|
|
453
|
+
flex-direction: column;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.site-header__dropdown-item {
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-direction: row;
|
|
459
|
+
align-items: center;
|
|
460
|
+
justify-content: left;
|
|
461
|
+
color: var(--link-text-color);
|
|
462
|
+
padding: var(--bloom-s3);
|
|
463
|
+
border-top: 1px solid var(--border-color);
|
|
464
|
+
text-transform: none;
|
|
465
|
+
font-size: var(--dropdown-item-font-size);
|
|
466
|
+
text-align: left;
|
|
467
|
+
width: 100%;
|
|
468
|
+
flex: var(--dropdown-item-flex);
|
|
469
|
+
|
|
470
|
+
&:hover,
|
|
471
|
+
&:focus {
|
|
472
|
+
background-color: var(--bloom-color-gray-400);
|
|
339
473
|
}
|
|
474
|
+
}
|
|
340
475
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
a,
|
|
349
|
-
a:hover {
|
|
350
|
-
@apply underline;
|
|
351
|
-
color: inherit;
|
|
352
|
-
}
|
|
476
|
+
.site-header__notice {
|
|
477
|
+
width: 100%;
|
|
478
|
+
background-color: var(--bloom-color-primary);
|
|
479
|
+
|
|
480
|
+
@media (min-width: $screen-md) {
|
|
481
|
+
text-align: right;
|
|
353
482
|
}
|
|
483
|
+
text-align: left;
|
|
484
|
+
color: var(--bloom-color-white);
|
|
485
|
+
display: var(--notice-display);
|
|
354
486
|
}
|
|
355
487
|
|
|
356
|
-
.
|
|
488
|
+
.site-header__notice-hide {
|
|
489
|
+
display: none;
|
|
490
|
+
|
|
491
|
+
@media (min-width: $screen-md) {
|
|
492
|
+
display: block;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.site-header__notice-text {
|
|
497
|
+
max-width: 64rem;
|
|
498
|
+
font-size: var(--bloom-font-size-xs);
|
|
499
|
+
font-size: var(--notice-text-font-size);
|
|
500
|
+
padding: var(--bloom-s2) var(--bloom-s3);
|
|
501
|
+
margin: auto;
|
|
502
|
+
|
|
503
|
+
a,
|
|
504
|
+
a:hover {
|
|
505
|
+
text-decoration: underline;
|
|
506
|
+
color: inherit;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.site-header__drawer-transition-enter {
|
|
357
511
|
transition: all 400ms;
|
|
358
512
|
transform: translateX(100%);
|
|
359
513
|
}
|
|
360
|
-
|
|
514
|
+
|
|
515
|
+
.site-header__drawer-transition-enter-active {
|
|
361
516
|
transition: all 400ms;
|
|
362
517
|
transform: translateX(0%);
|
|
363
518
|
}
|
|
364
|
-
|
|
519
|
+
|
|
520
|
+
.site-header__drawer-transition-exit {
|
|
365
521
|
transition: all 500ms;
|
|
366
522
|
transform: translateX(100%);
|
|
367
523
|
}
|
|
368
|
-
|
|
524
|
+
|
|
525
|
+
.site-header__drawer-transition-exit-active {
|
|
369
526
|
transform: translateX(100%);
|
|
370
527
|
transition: all 500ms;
|
|
371
528
|
}
|
|
372
529
|
|
|
373
|
-
.
|
|
374
|
-
@screen
|
|
375
|
-
width:
|
|
530
|
+
.site-header__logo-width-slim {
|
|
531
|
+
@media (min-width: $screen-md) {
|
|
532
|
+
width: var(--logo-width-slim);
|
|
376
533
|
}
|
|
377
534
|
}
|
|
378
535
|
|
|
379
|
-
.
|
|
380
|
-
@screen
|
|
381
|
-
width:
|
|
536
|
+
.site-header__logo-width-base {
|
|
537
|
+
@media (min-width: $screen-md) {
|
|
538
|
+
width: var(--logo-width-base);
|
|
382
539
|
}
|
|
383
540
|
}
|
|
384
541
|
|
|
385
|
-
.
|
|
386
|
-
@screen
|
|
387
|
-
width:
|
|
542
|
+
.site-header__logo-width-med {
|
|
543
|
+
@media (min-width: $screen-md) {
|
|
544
|
+
width: var(--logo-width-med);
|
|
388
545
|
}
|
|
389
546
|
}
|
|
390
547
|
|
|
391
|
-
.
|
|
392
|
-
@screen
|
|
393
|
-
width:
|
|
548
|
+
.site-header__logo-width-wide {
|
|
549
|
+
@media (min-width: $screen-md) {
|
|
550
|
+
width: var(--logo-width-wide);
|
|
394
551
|
}
|
|
395
552
|
}
|
|
396
553
|
|
|
397
|
-
.
|
|
398
|
-
@
|
|
554
|
+
.site-header__skip-link {
|
|
555
|
+
@extend .sr-only;
|
|
556
|
+
|
|
399
557
|
&:focus {
|
|
400
|
-
@
|
|
558
|
+
@extend .not-sr-only;
|
|
401
559
|
position: absolute;
|
|
402
560
|
z-index: 20;
|
|
403
561
|
padding: var(--bloom-s2) var(--bloom-s4);
|
|
@@ -407,3 +565,15 @@
|
|
|
407
565
|
background-color: var(--bloom-color-white);
|
|
408
566
|
}
|
|
409
567
|
}
|
|
568
|
+
|
|
569
|
+
.site-header__icon-spacing {
|
|
570
|
+
padding-left: var(--bloom-s2);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.side-header__width-base {
|
|
574
|
+
width: 1025px;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.site-header__width-wide {
|
|
578
|
+
width: 1230px;
|
|
579
|
+
}
|