@primer/brand-css 0.0.0-20250212132611

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.
Files changed (75) hide show
  1. package/components/Accordion/Accordion.css +305 -0
  2. package/components/ActionMenu/ActionMenu.css +187 -0
  3. package/components/AnchorNav/AnchorNav.css +427 -0
  4. package/components/Avatar/Avatar.css +115 -0
  5. package/components/Bento/Bento.css +2157 -0
  6. package/components/Box/Box.css +2795 -0
  7. package/components/Box/Box.features.css +48 -0
  8. package/components/Breadcrumbs/Breadcrumbs.css +81 -0
  9. package/components/BreakoutBanner/BreakoutBanner.css +109 -0
  10. package/components/Button/Button.css +207 -0
  11. package/components/ButtonGroup/ButtonGroup.css +10 -0
  12. package/components/CTABanner/CTABanner.css +104 -0
  13. package/components/CTAForm/CTAForm.css +48 -0
  14. package/components/Card/Card.css +183 -0
  15. package/components/ComparisonTable/ComparisonTable.css +290 -0
  16. package/components/ExpandableArrow/ExpandableArrow.css +26 -0
  17. package/components/EyebrowBanner/EyebrowBanner.css +320 -0
  18. package/components/FAQ/FAQ.css +51 -0
  19. package/components/FAQ/FAQGroup.css +51 -0
  20. package/components/Footnotes/Footnotes.css +35 -0
  21. package/components/FrostedGlassVFX/FrostedGlassVFX.css +50 -0
  22. package/components/Grid/Grid.css +741 -0
  23. package/components/Heading/Heading.css +284 -0
  24. package/components/Hero/Hero.css +87 -0
  25. package/components/IDE/IDE.css +392 -0
  26. package/components/Icon/Icon.css +121 -0
  27. package/components/Image/Image.css +54 -0
  28. package/components/InlineLink/InlineLink.css +30 -0
  29. package/components/Label/Label.css +167 -0
  30. package/components/Link/Link.css +84 -0
  31. package/components/LogoSuite/LogoSuite.css +165 -0
  32. package/components/MinimalFooter/MinimalFooter.css +116 -0
  33. package/components/MonaSans/MonaSans.css +4 -0
  34. package/components/Pagination/Pagination.css +117 -0
  35. package/components/Pillar/Pillar.css +106 -0
  36. package/components/PricingOptions/PricingOptions.css +357 -0
  37. package/components/Prose/Prose.css +332 -0
  38. package/components/Section/Section.css +156 -0
  39. package/components/Section/Section.features.css +33 -0
  40. package/components/SectionIntro/SectionIntro.css +48 -0
  41. package/components/Stack/Stack.css +793 -0
  42. package/components/Statistic/Statistic.css +91 -0
  43. package/components/SubNav/SubNav.css +678 -0
  44. package/components/SubdomainNavBar/SubdomainNavBar.css +728 -0
  45. package/components/Testimonial/Testimonial.css +228 -0
  46. package/components/Text/Text.css +195 -0
  47. package/components/Timeline/Timeline.css +79 -0
  48. package/components/Tooltip/Tooltip.css +170 -0
  49. package/components/VideoPlayer/VideoPlayer.css +348 -0
  50. package/components/VideoPlayer/components/Captions/Captions.css +17 -0
  51. package/components/VideoPlayer/components/VolumeControl/VolumeControl.css +3 -0
  52. package/components/animation/Animation.css +192 -0
  53. package/components/animation/TextRevealAnimation/TextRevealAnimation.css +38 -0
  54. package/components/forms/Checkbox/Checkbox.css +88 -0
  55. package/components/forms/ControlGroup/ControlGroup.css +59 -0
  56. package/components/forms/FormControl/FormControl.css +113 -0
  57. package/components/forms/Radio/Radio.css +111 -0
  58. package/components/forms/Select/Select.css +143 -0
  59. package/components/forms/TextInput/TextInput.css +266 -0
  60. package/components/forms/Textarea/Textarea.css +129 -0
  61. package/components/list/ListItem/ListItem.css +29 -0
  62. package/components/list/OrderedList/OrderedList.css +3 -0
  63. package/components/list/list-shared.css +10 -0
  64. package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.css +204 -0
  65. package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.css +57 -0
  66. package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.css +3 -0
  67. package/components/recipes/SolutionTemplates/CategoryPage/CategoryPage.css +83 -0
  68. package/components/recipes/SolutionTemplates/SolutionPage/SolutionPage.css +119 -0
  69. package/components/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.css +35 -0
  70. package/components/recipes/SolutionTemplates/parallax.css +165 -0
  71. package/components/recipes/seo/Article/Article.css +289 -0
  72. package/components/recipes/seo/Category/CategoryPage.css +43 -0
  73. package/components/river/RiverStoryScroll/RiverStoryScroll.css +470 -0
  74. package/components/river/river-shared.css +205 -0
  75. package/package.json +42 -0
@@ -0,0 +1,728 @@
1
+ /*
2
+ * Main styles for the subdomain navigation bar.
3
+ */
4
+ .SubdomainNavBar {
5
+ position: relative;
6
+ z-index: 90;
7
+ font-weight: 550;
8
+ background: var(--brand-SubdomainNavBar-canvas-default);
9
+ -webkit-backdrop-filter: blur(16px);
10
+ backdrop-filter: blur(16px);
11
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
12
+ transition: background-color var(--brand-animation-duration-fast) var(--brand-animation-easing-default),
13
+ border-color var(--brand-animation-duration-fast) var(--brand-animation-easing-default);
14
+ height: 75px;
15
+ }
16
+
17
+ /*
18
+ * Outer container
19
+ */
20
+ .SubdomainNavBar-outer-container {
21
+ z-index: 90;
22
+ }
23
+
24
+ .SubdomainNavBar-outer-container--fixed {
25
+ position: fixed;
26
+ top: 0;
27
+ right: 0;
28
+ left: 0;
29
+ }
30
+
31
+ /*
32
+ * Inner container
33
+ */
34
+ .SubdomainNavBar-inner-container {
35
+ display: flex;
36
+ padding: 4px 28px;
37
+ }
38
+
39
+ .SubdomainNavBar-inner-container--centered {
40
+ max-width: 1280px;
41
+ margin: 0 auto;
42
+ }
43
+
44
+ @media screen and (min-width: 48rem) {
45
+ .SubdomainNavBar-inner-container {
46
+ padding: 4px 32px;
47
+ }
48
+ }
49
+
50
+ .SubdomainNavBar-inner-container--search-open {
51
+ animation: fade-out 150ms;
52
+ }
53
+
54
+ /*
55
+ * Logo and title area
56
+ */
57
+ .SubdomainNavBar-title-area {
58
+ display: inline-flex;
59
+ list-style-type: none;
60
+ align-items: center;
61
+ gap: var(--base-size-8);
62
+ padding: 0;
63
+ margin: 0;
64
+ max-width: 340px;
65
+ color: var(--brand-color-text-default);
66
+ padding: var(--base-size-16) 0;
67
+ }
68
+
69
+ @media screen and (min-width: 63.25rem) {
70
+ .SubdomainNavBar-title-area {
71
+ gap: var(--base-size-16);
72
+ }
73
+ }
74
+
75
+ .SubdomainNavBar-logo-mark {
76
+ color: var(--brand-color-text-default);
77
+ position: relative;
78
+ }
79
+
80
+ .SubdomainNavBar-back-arrow {
81
+ position: absolute;
82
+ left: calc(-32px + 5px);
83
+ opacity: 0;
84
+ transition: opacity var(--brand-animation-duration-fast), transform var(--brand-animation-duration-fast) ease;
85
+ transform: translateX(5px);
86
+ color: var(--brand-color-text-muted);
87
+ }
88
+
89
+ .SubdomainNavBar-logo-mark:hover .SubdomainNavBar-back-arrow {
90
+ opacity: 1;
91
+ transform: translateX(0);
92
+ }
93
+
94
+ .SubdomainNavBar-title-separator {
95
+ color: var(--brand-color-text-muted);
96
+ font-weight: var(--base-text-weight-semibold);
97
+ font-size: var(--base-size-32);
98
+ line-height: 29px;
99
+ }
100
+
101
+ .SubdomainNavBar-logo-mark svg {
102
+ width: 32px;
103
+ height: 32px;
104
+ }
105
+
106
+ .SubdomainNavBar-title {
107
+ line-height: var(--base-size-32);
108
+ text-decoration: none;
109
+ padding-right: var(--base-size-16);
110
+ white-space: nowrap;
111
+ }
112
+
113
+ .SubdomainNavBar-title:hover {
114
+ text-decoration: none;
115
+ }
116
+
117
+ /*
118
+ * Primary navigation link area
119
+ */
120
+ .SubdomainNavBar-primary-nav {
121
+ display: inline-flex;
122
+ list-style-type: none;
123
+ align-items: center;
124
+ padding: 0;
125
+ margin: 0;
126
+ }
127
+
128
+ .SubdomainNavBar-primary-nav-list {
129
+ list-style-type: none;
130
+ }
131
+
132
+ @media screen and (max-width: 767px) {
133
+ .SubdomainNavBar-primary-nav-list {
134
+ display: none;
135
+ }
136
+
137
+ .SubdomainNavBar-primary-nav-list--invisible {
138
+ display: none;
139
+ }
140
+
141
+ .SubdomainNavBar-primary-nav-list--visible {
142
+ display: block;
143
+ margin: 0;
144
+ padding: 0;
145
+ }
146
+
147
+ .SubdomainNavBar-menu-wrapper {
148
+ display: flex;
149
+ flex-direction: column;
150
+ justify-content: space-between;
151
+ overflow-y: auto;
152
+ position: absolute;
153
+ top: 75px;
154
+ left: 0;
155
+ right: 0;
156
+ bottom: 0;
157
+ z-index: 2;
158
+ background-color: var(--brand-color-canvas-default);
159
+ width: 100vw;
160
+ height: calc(100vh - 75px);
161
+ animation: fade-in-down 500ms;
162
+ animation-timing-function: var(--brand-animation-easing-default);
163
+ }
164
+
165
+ .SubdomainNavBar-menu-wrapper--close {
166
+ display: none;
167
+ }
168
+ }
169
+
170
+ @media screen and (min-width: 48rem) {
171
+ .SubdomainNavBar-primary-nav-list {
172
+ display: flex;
173
+ align-items: center;
174
+ width: 100%;
175
+ max-width: 150px;
176
+ padding: 0;
177
+ margin: 0 24px 0 0;
178
+ /* overflow: hidden; */
179
+ }
180
+ }
181
+
182
+ @media screen and (min-width: 768px) {
183
+ .SubdomainNavBar-primary-nav-list {
184
+ max-width: 100px;
185
+ }
186
+ }
187
+
188
+ @media screen and (min-width: 850px) {
189
+ .SubdomainNavBar-primary-nav-list {
190
+ max-width: 200px;
191
+ }
192
+ }
193
+
194
+ @media screen and (min-width: 1024px) {
195
+ .SubdomainNavBar-primary-nav-list {
196
+ max-width: 300px;
197
+ }
198
+ }
199
+
200
+ @media screen and (min-width: 1280px) {
201
+ .SubdomainNavBar-primary-nav-list {
202
+ max-width: 520px;
203
+ margin-right: 80px;
204
+ }
205
+
206
+ .SubdomainNavBar-outer-container--has-actions .SubdomainNavBar-primary-nav-list {
207
+ max-width: 465px;
208
+ }
209
+ }
210
+
211
+ .SubdomainNavBar-primary-nav-list-item {
212
+ white-space: nowrap;
213
+ }
214
+
215
+ @media screen and (max-width: 767px) {
216
+ .SubdomainNavBar-primary-nav-list-item {
217
+ animation-name: fade-in-down-staggered;
218
+ animation-duration: 500ms;
219
+ animation-delay: calc(var(--animation-order) * 80ms);
220
+ animation-fill-mode: both;
221
+ animation-timing-function: var(--brand-animation-easing-default);
222
+ }
223
+ }
224
+
225
+ @media screen and (min-width: 48rem) {
226
+ .SubdomainNavBar-primary-nav-list-item--visible {
227
+ order: 0;
228
+ visibility: visible;
229
+ opacity: 1;
230
+ }
231
+
232
+ .SubdomainNavBar-primary-nav-list-item--invisible {
233
+ order: 100;
234
+ visibility: hidden;
235
+ pointer-events: none;
236
+ }
237
+
238
+ .SubdomainNavBar-primary-nav-list-item--overflow {
239
+ order: 99;
240
+ position: relative;
241
+ right: 0;
242
+ }
243
+ }
244
+
245
+ .SubdomainNavBar-link {
246
+ position: relative;
247
+ display: flex;
248
+ flex-direction: row;
249
+ align-items: center;
250
+ gap: var(--base-size-8);
251
+ color: var(--brand-color-text-default);
252
+ font-family: var(--brand-heading-fontFamily);
253
+ font-weight: var(--base-text-weight-normal);
254
+ font-size: var(--base-size-20);
255
+ line-height: var(--base-size-20);
256
+ padding: var(--base-size-8) var(--base-size-16) var(--base-size-16) var(--base-size-28);
257
+ text-decoration: none;
258
+ }
259
+
260
+ .SubdomainNavBar-link:hover {
261
+ text-decoration: none;
262
+ }
263
+
264
+ .SubdomainNavBar-link-text {
265
+ position: relative;
266
+ }
267
+
268
+ @media screen and (max-width: 767px) {
269
+ .SubdomainNavBar-link:first-of-type {
270
+ padding-top: var(--base-size-24);
271
+ }
272
+
273
+ .SubdomainNavBar-link--title {
274
+ font-weight: var(--base-text-weight-bold);
275
+ }
276
+ }
277
+
278
+ @media screen and (min-width: 48rem) {
279
+ .SubdomainNavBar-link {
280
+ font-family: var(--brand-heading-fontFamily);
281
+ font-weight: var(--base-text-weight-semibold);
282
+ font-size: var(--base-size-16);
283
+ line-height: var(--base-size-16);
284
+ padding: var(--base-size-16) var(--base-size-16);
285
+ }
286
+
287
+ .SubdomainNavBar-link-text::after {
288
+ content: '';
289
+ position: absolute;
290
+ bottom: -6px;
291
+ left: 0;
292
+ width: 100%;
293
+ height: 2px;
294
+ background-color: var(--brand-SubdomainNavBar-border-nav-default);
295
+ opacity: 0;
296
+ transition: opacity var(--brand-animation-duration-fast), transform var(--brand-animation-duration-fast);
297
+ transform: scale(0);
298
+ transform-origin: center;
299
+ }
300
+
301
+ .SubdomainNavBar-link:hover .SubdomainNavBar-link-text::after,
302
+ .SubdomainNavBar-link:focus .SubdomainNavBar-link-text::after {
303
+ opacity: 1;
304
+ transform: scale(0.75);
305
+ }
306
+
307
+ .SubdomainNavBar-link:active .SubdomainNavBar-link-text::after {
308
+ background-color: var(--brand-SubdomainNavBar-border-nav-pressed);
309
+ transform: scale(0.75);
310
+ }
311
+
312
+ .SubdomainNavBar-overflow-menu-item .SubdomainNavBar-link {
313
+ transition: background-color var(--brand-animation-easing-default) 250ms;
314
+ background-color: var(--brand-SubdomainNavBar-canvas-overflow-default);
315
+ color: var(--brand-SubdomainNavBar-fg-overflow-default);
316
+ }
317
+
318
+ .SubdomainNavBar-overflow-menu-item .SubdomainNavBar-link .SubdomainNavBar-link-text::after {
319
+ display: none;
320
+ }
321
+
322
+ .SubdomainNavBar-overflow-menu-item .SubdomainNavBar-link:hover {
323
+ background-color: var(--brand-SubdomainNavBar-canvas-overflow-hover);
324
+ }
325
+
326
+ .SubdomainNavBar-overflow-menu-item .SubdomainNavBar-link:focus,
327
+ .SubdomainNavBar-overflow-menu-item .SubdomainNavBar-link:focus-visible {
328
+ box-shadow: inset 0px 0px 0px 2px var(--brand-color-focus);
329
+ outline: none;
330
+ }
331
+ }
332
+
333
+ @media screen and (min-width: 63.25rem) {
334
+ .SubdomainNavBar-link {
335
+ padding: var(--base-size-16) var(--base-size-24);
336
+ }
337
+ }
338
+
339
+ .SubdomainNavBar-more-link {
340
+ display: none;
341
+ }
342
+
343
+ .SubdomainNavBar-more-link[aria-expanded='true']:hover::after,
344
+ .SubdomainNavBar-more-link[aria-expanded='true']:focus::after {
345
+ display: none;
346
+ }
347
+
348
+ @media screen and (min-width: 48rem) {
349
+ .SubdomainNavBar-more-link {
350
+ cursor: pointer;
351
+ -webkit-appearance: none;
352
+ -moz-appearance: none;
353
+ appearance: none;
354
+ border: none;
355
+ background-color: transparent;
356
+ display: inline-flex;
357
+ align-items: center;
358
+ gap: var(--base-size-4);
359
+ }
360
+ }
361
+
362
+ .SubdomainNavBar-overflow-menu {
363
+ position: absolute;
364
+ right: 0;
365
+ top: var(--base-size-48);
366
+ background-color: var(--base-color-scale-white-0);
367
+ border-radius: var(--brand-borderRadius-large);
368
+ animation: fade-in-down 0.25s, enlarge-shadow 250ms forwards;
369
+ animation-timing-function: var(--brand-animation-easing-default);
370
+ box-shadow: 0px 8px 24px rgba(1, 4, 9, 0.15);
371
+ overflow: hidden;
372
+ }
373
+
374
+ .SubdomainNavBar-overflow-menu-list {
375
+ display: grid;
376
+ list-style-type: none;
377
+ padding: 0;
378
+ margin: 0;
379
+ width: -moz-max-content;
380
+ width: max-content;
381
+ }
382
+
383
+ /*
384
+ * Toolbar actions area for search and mobile menu
385
+ */
386
+
387
+ .SubdomainNavBar-secondary-nav {
388
+ display: flex;
389
+ align-items: center;
390
+ margin-left: auto;
391
+ min-width: 0;
392
+ }
393
+ .SubdomainNavBar-search-trigger {
394
+ display: flex;
395
+ align-items: center;
396
+ }
397
+
398
+ .SubdomainNavBar-search-button,
399
+ .SubdomainNavBar-menu-button {
400
+ cursor: pointer;
401
+ -webkit-appearance: none;
402
+ -moz-appearance: none;
403
+ appearance: none;
404
+ background-color: transparent;
405
+ border: var(--brand-borderWidth-thick) solid transparent;
406
+ color: var(--brand-color-text-default);
407
+ width: calc(48px - var(--brand-borderWidth-thick));
408
+ height: calc(48px - var(--brand-borderWidth-thick));
409
+ display: flex;
410
+ align-items: center;
411
+ justify-content: center;
412
+ transition: border 250ms var(--brand-animation-easing-default), box-shadow 250ms ease;
413
+ border-radius: var(--brand-borderRadius-medium);
414
+ box-shadow: 0 0 0 2px transparent;
415
+ }
416
+
417
+ .SubdomainNavBar-search-button svg,
418
+ .SubdomainNavBar-menu-button svg {
419
+ width: 24px;
420
+ height: 24px;
421
+ }
422
+
423
+ .SubdomainNavBar-menu-button {
424
+ display: inline-block;
425
+ align-self: center;
426
+ }
427
+
428
+ .SubdomainNavBar-menu-button-bar {
429
+ width: 22px;
430
+ height: 2px;
431
+ background-color: var(--brand-color-text-default);
432
+ margin: var(--base-size-4) auto;
433
+ border-radius: var(--brand-borderRadius-large);
434
+ display: block;
435
+ }
436
+
437
+ @media (prefers-reduced-motion: no-preference) {
438
+ .SubdomainNavBar-menu-button-bar {
439
+ transition-timing-function: var(--brand-animation-easing-default);
440
+ transition-duration: 500ms;
441
+ transition-property: opacity, transform;
442
+ }
443
+ }
444
+
445
+ .SubdomainNavBar-menu-button-bar:nth-of-type(1) {
446
+ transform-origin: bottom right;
447
+ }
448
+
449
+ .SubdomainNavBar-menu-button-bar:nth-of-type(3) {
450
+ transform-origin: top right;
451
+ }
452
+
453
+ .SubdomainNavBar-menu-button--close .SubdomainNavBar-menu-button-bar:nth-of-type(1) {
454
+ transform: rotate(-45deg) translateY(-3px);
455
+ }
456
+
457
+ .SubdomainNavBar-menu-button--close .SubdomainNavBar-menu-button-bar:nth-of-type(2) {
458
+ opacity: 0;
459
+ transform: scale(0);
460
+ }
461
+
462
+ .SubdomainNavBar-menu-button--close .SubdomainNavBar-menu-button-bar:nth-of-type(3) {
463
+ transform: rotate(45deg) translateY(3px);
464
+ }
465
+
466
+ @media screen and (min-width: 48rem) {
467
+ .SubdomainNavBar-search-button:hover,
468
+ .SubdomainNavBar-menu-button:hover {
469
+ border: var(--brand-borderWidth-thick) solid var(--brand-SubdomainNavBar-border-button-hover);
470
+ }
471
+
472
+ .SubdomainNavBar-search-button:active,
473
+ .SubdomainNavBar-menu-button:active {
474
+ box-shadow: 0 0 0 1px var(--brand-SubdomainNavBar-border-button-hover);
475
+ }
476
+
477
+ .SubdomainNavBar-mobile-menu-button {
478
+ display: none;
479
+ }
480
+
481
+ .SubdomainNavBar-search-dialog-control-area .SubdomainNavBar-search-button,
482
+ .SubdomainNavBar-search-dialog-control-area .SubdomainNavBar-menu-button {
483
+ display: inline-flex;
484
+ width: 48px;
485
+ }
486
+
487
+ .SubdomainNavBar-search-button {
488
+ margin: 0 var(--base-size-16) 0 auto;
489
+ }
490
+ }
491
+
492
+ .SubdomainNavBar-button-area {
493
+ display: inline-flex;
494
+ gap: var(--base-size-16);
495
+ align-items: center;
496
+ min-width: 0;
497
+ }
498
+
499
+ .SubdomainNavBar-button-area-inner {
500
+ display: flex;
501
+ gap: var(--base-size-8);
502
+ min-width: 0;
503
+ }
504
+
505
+ @media screen and (max-width: 48rem) {
506
+ .SubdomainNavBar-button-area {
507
+ display: none;
508
+ }
509
+
510
+ .SubdomainNavBar-button-area--visible {
511
+ display: flex;
512
+ left: 0;
513
+ z-index: 99;
514
+ width: 100%;
515
+ height: auto;
516
+ animation-name: fade-in-down-staggered;
517
+ animation-duration: 500ms;
518
+ animation-delay: calc(10 * 80ms);
519
+ animation-fill-mode: both;
520
+ animation-timing-function: var(--brand-animation-easing-default);
521
+ }
522
+
523
+ .SubdomainNavBar-inner-container--search-open .SubdomainNavBar-button-area--visible {
524
+ display: none;
525
+ }
526
+
527
+ .SubdomainNavBar-button-area-inner {
528
+ width: 100%;
529
+ flex-direction: column;
530
+ margin: 24px;
531
+ min-width: 0;
532
+ }
533
+ }
534
+
535
+ .SubdomainNavBar-cta-button {
536
+ white-space: nowrap;
537
+ }
538
+
539
+ @media screen and (min-width: 1024px) {
540
+ .SubdomainNavBar-cta-button--secondary {
541
+ display: inline-flex;
542
+ }
543
+ }
544
+
545
+ /*
546
+ * Search dialog control area
547
+ */
548
+ .SubdomainNavBar-search-form {
549
+ display: flex;
550
+ width: 100%;
551
+ }
552
+
553
+ .SubdomainNavBar-search-dialog {
554
+ position: absolute;
555
+ z-index: 99;
556
+ }
557
+
558
+ @media screen and (max-width: 767px) {
559
+ .SubdomainNavBar-search-dialog {
560
+ top: 0;
561
+ left: 0;
562
+ right: 0;
563
+ background: var(--brand-SubdomainNavBar-canvas-search);
564
+ -webkit-backdrop-filter: blur(100px);
565
+ backdrop-filter: blur(100px);
566
+ height: 100vh;
567
+ width: 100vw;
568
+ animation: fade-in-down var(--brand-animation-duration-fast);
569
+ animation-timing-function: var(--brand-animation-easing-default);
570
+ }
571
+ }
572
+
573
+ @media screen and (min-width: 48rem) {
574
+ .SubdomainNavBar-search-dialog {
575
+ position: absolute;
576
+ top: 0;
577
+ bottom: 1px;
578
+ width: 100vw;
579
+ left: 0;
580
+ right: 0;
581
+ background-color: var(--brand-SubdomainNavBar-canvas-search);
582
+ }
583
+ }
584
+
585
+ .SubdomainNavBar-search-dialog .SubdomainNavBar-search-trigger .SubdomainNavBar-search-button {
586
+ margin-right: 0;
587
+ }
588
+
589
+ .SubdomainNavBar-search-dialog-control-area {
590
+ height: 74px;
591
+ background: var(--brand-SubdomainNavBar-canvas-default);
592
+ -webkit-backdrop-filter: blur(16px);
593
+ backdrop-filter: blur(16px);
594
+ padding: var(--base-size-12) var(--base-size-28);
595
+ display: flex;
596
+ align-items: center;
597
+ animation: fade-in-down 500ms;
598
+ gap: var(--base-size-4);
599
+ }
600
+
601
+ @media screen and (min-width: 48rem) {
602
+ .SubdomainNavBar-search-dialog-control-area {
603
+ max-width: 570px;
604
+ margin: 0 auto;
605
+ }
606
+ }
607
+
608
+ .SubdomainNavBar-search-text-input {
609
+ border-color: transparent;
610
+ }
611
+
612
+ .SubdomainNavBar-search-results-container {
613
+ animation: fade-in-down 500ms;
614
+ padding: var(--base-size-24);
615
+ background-color: var(--base-color-scale-white-0);
616
+ border-radius: var(--brand-borderRadius-large);
617
+ box-shadow: 0px 8px 24px rgba(1, 4, 9, 0.15);
618
+ max-height: 514px;
619
+ height: 70vh;
620
+ max-width: 570px;
621
+ margin: 0 auto;
622
+ width: 80%;
623
+ }
624
+
625
+ .SubdomainNavBar-search-results {
626
+ overflow-y: scroll;
627
+ list-style: none;
628
+ padding: 0 var(--base-size-24) 0 0;
629
+ margin: 0;
630
+ height: 90%;
631
+ }
632
+
633
+ .SubdomainNavBar-search-results-heading {
634
+ display: block;
635
+ font-weight: var(--brand-heading-weight-600);
636
+ font-size: var(--base-size-20);
637
+ line-height: var(--base-size-24);
638
+ margin-bottom: var(--base-size-20);
639
+ padding: 0 var(--base-size-8);
640
+ color: var(--base-color-scale-black-0);
641
+ }
642
+
643
+ .SubdomainNavBar-search-result-item {
644
+ padding: var(--base-size-16) var(--base-size-8);
645
+ border-bottom: solid var(--brand-borderWidth-thin, 1px)
646
+ var(--brand-SubdomainNavBar-search-results-border-default, #b7bfc7);
647
+ }
648
+
649
+ .SubdomainNavBar-search-result-item[aria-selected='true'] a {
650
+ outline: var(--brand-color-focus) auto var(--brand-borderWidth-thick);
651
+ }
652
+
653
+ .SubdomainNavBar-search-result-item-container {
654
+ letter-spacing: var(--brand-heading-letterSpacing-400);
655
+ font-size: var(--brand-text-size-400);
656
+ }
657
+
658
+ .SubdomainNavBar-search-result-item-container a {
659
+ display: block;
660
+ color: var(--base-color-scale-black-0);
661
+ text-decoration: none;
662
+ margin: 0 0 var(--base-size-12);
663
+ font-size: var(--base-size-16);
664
+ font-weight: var(--brand-heading-weight-400);
665
+ font-family: var(--brand-heading-fontFamily);
666
+ line-height: var(--brand-text-lineHeight-400);
667
+ }
668
+
669
+ .SubdomainNavBar-search-result-item-container a:hover {
670
+ text-decoration: none;
671
+ }
672
+
673
+ .SubdomainNavBar-search-result-item-desc {
674
+ color: var(--base-color-scale-black-0);
675
+ }
676
+
677
+ .SubdomainNavBar-skip-to-content {
678
+ position: fixed;
679
+ top: 75px;
680
+ border-radius: 0px;
681
+ width: 100vw;
682
+ z-index: 100;
683
+ }
684
+
685
+ /*
686
+ * Reusable animations
687
+ */
688
+ @keyframes fade-in-down {
689
+ 0% {
690
+ opacity: 0;
691
+ transform: translateY(-20px);
692
+ }
693
+ 100% {
694
+ opacity: 1;
695
+ transform: translateY(0);
696
+ }
697
+ }
698
+
699
+ @keyframes fade-out {
700
+ 0% {
701
+ opacity: 1;
702
+ }
703
+ 100% {
704
+ opacity: 0;
705
+ }
706
+ }
707
+
708
+ @keyframes enlarge-shadow {
709
+ 0% {
710
+ scale: 0.98;
711
+ box-shadow: 0px 8px 0 rgba(1, 4, 9, 0.15);
712
+ }
713
+ 100% {
714
+ scale: 1;
715
+ box-shadow: 0px 8px 24px rgba(1, 4, 9, 0.15);
716
+ }
717
+ }
718
+
719
+ @keyframes fade-in-down-staggered {
720
+ 0% {
721
+ opacity: 0;
722
+ transform: scale(0.6) translateY(-8px);
723
+ }
724
+
725
+ 100% {
726
+ opacity: 1;
727
+ }
728
+ }