Browse Source

info change

master
rdrew 1 year ago
parent
commit
84449eb750
  1. BIN
      .bs.js.swp
  2. 14
      bs.js
  3. BIN
      css/base/.base.pcss.css.swp
  4. 74
      css/base/base.css
  5. 2
      css/base/base.pcss.css
  6. 86
      css/base/fonts.css
  7. 166
      css/base/variables.css
  8. 46
      css/components/action-links.css
  9. 76
      css/components/ajax-progress.module.css
  10. 30
      css/components/autocomplete-loading.module.css
  11. 16
      css/components/block.css
  12. 189
      css/components/book.css
  13. 202
      css/components/breadcrumb.css
  14. 108
      css/components/button.css
  15. 1
      css/components/cke-dialog.css
  16. 306
      css/components/comments.css
  17. 6
      css/components/container-inline.module.css
  18. 140
      css/components/content-moderation.css
  19. 90
      css/components/details.css
  20. 85
      css/components/dropbutton.css
  21. 203
      css/components/embedded-media.css
  22. 27
      css/components/feed.css
  23. 39
      css/components/field.css
  24. 156
      css/components/fieldset.css
  25. 46
      css/components/footer.css
  26. 71
      css/components/form-boolean.css
  27. 70
      css/components/form-select.css
  28. 66
      css/components/form-text.css
  29. 13
      css/components/form-textarea.css
  30. 89
      css/components/form.css
  31. 13
      css/components/forum.css
  32. 33
      css/components/header-buttons-mobile.css
  33. 155
      css/components/header-navigation.css
  34. 178
      css/components/header-search-narrow.css
  35. 226
      css/components/header-search-wide.css
  36. 129
      css/components/header-site-branding.css
  37. 28
      css/components/header-sticky-toggle.css
  38. 53
      css/components/hero.css
  39. 64
      css/components/links.css
  40. 19
      css/components/maintenance-page.css
  41. 178
      css/components/messages.css
  42. 59
      css/components/navigation/menu-sidebar.css
  43. 99
      css/components/navigation/nav-button-mobile.css
  44. 66
      css/components/navigation/nav-primary-button.css
  45. 136
      css/components/navigation/nav-primary-no-js.css
  46. 179
      css/components/navigation/nav-primary-wide.css
  47. 227
      css/components/navigation/nav-primary.css
  48. 111
      css/components/navigation/nav-secondary.css
  49. 66
      css/components/navigation/wide-nav-expand.css
  50. 55
      css/components/node-preview-container.css
  51. 128
      css/components/node-teaser.css
  52. 40
      css/components/node.css
  53. 13
      css/components/page-title.css
  54. 52
      css/components/pager.css
  55. 30
      css/components/powered-by-block.css
  56. 21
      css/components/progress.css
  57. 92
      css/components/search-results.css
  58. 40
      css/components/site-header.css
  59. 44
      css/components/skip-link.css
  60. 145
      css/components/table.css
  61. 42
      css/components/tabledrag.css
  62. 212
      css/components/tabs.css
  63. 137
      css/components/tags.css
  64. 181
      css/components/text-content.css
  65. 19
      css/components/ui-dialog.css
  66. 102
      css/components/vertical-tabs.css
  67. 84
      css/components/wide-image.css
  68. 34
      css/layout/grid.css
  69. 71
      css/layout/layout-builder-fourcol-section.css
  70. 46
      css/layout/layout-builder-threecol-section.css
  71. 120
      css/layout/layout-builder-twocol-section.css
  72. 41
      css/layout/layout-content-medium.css
  73. 139
      css/layout/layout-content-narrow.css
  74. 21
      css/layout/layout-discovery-section-layout.css
  75. 43
      css/layout/layout-footer.css
  76. 48
      css/layout/layout-sidebar.css
  77. 21
      css/layout/layout-views-grid.css
  78. 38
      css/layout/layout.css
  79. 58
      css/layout/region-content-below.css
  80. 21
      css/layout/region-content.css
  81. 15
      css/layout/region-hero.css
  82. 21
      css/layout/region-secondary-menu.css
  83. 21
      css/layout/region.css
  84. 121
      css/layout/social-bar.css
  85. 20
      css/layout/views.css
  86. 39
      css/theme/filter.theme.css
  87. 7
      package.json
  88. 820
      yarn.lock

BIN
.bs.js.swp

Binary file not shown.

14
bs.js

@ -0,0 +1,14 @@
var browserSync = require('browser-sync');
browserSync({
proxy: 'http://137.149.200.93',
files: 'css/**/*.css',
plugins: ['bs-rewrite-rules'],
serveStatic: ['css'],
rewriteRules: [
{
match: 'themes/custom/islandlives/css',
replace: 'yahoo'
}
]
});

BIN
css/base/.base.pcss.css.swp

Binary file not shown.

74
css/base/base.css

@ -10,6 +10,19 @@
* Generic base elements.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
*,
*::before,
*::after {
@ -18,6 +31,8 @@
html {
font-family: var(--font-sans);
/*font-size: 100%;*/
/*font-size: 100%;*/
font-size: 100%;
font-weight: normal;
font-style: normal;
@ -29,7 +44,7 @@ body {
color: var(--color-text-neutral-medium);
background-color: var(--color--gray-100);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='84' viewBox='0 0 50 84'%3e %3cpath opacity='0.05' fill='%230e6ba6' d='M25,61.7C25,68.5,19.4,74,12.5,74S0,68.5,0,61.7c0-5.7,3.9-9.6,7.4-12.9c2.3-2.2,4.5-4.4,5.1-6.8c0.7,2.4,2.8,4.6,5.1,6.8C21.1,52.2,25,56,25,61.7z M42.6,6.8c-2.3-2.2-4.5-4.4-5.1-6.8c-0.7,2.4-2.9,4.6-5.1,6.8C28.9,10.2,25,14,25,19.7C25,26.5,30.6,32,37.5,32S50,26.5,50,19.7C50,14,46.1,10.2,42.6,6.8z'/%3e%3c/svg%3e");
background-position: top left; /* LTR */
background-position: top left /* LTR */
}
body.is-fixed {
@ -43,7 +58,7 @@ body.is-fixed {
}
a {
color: var(--color-text-primary-medium);
color: var(--color-text-primary-medium)
}
a:hover {
@ -74,38 +89,41 @@ audio {
h1 {
letter-spacing: -0.01em;
font-size: 1.75rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
@media (min-width: 43.75rem) {
h1 {
font-size: 3.75rem;
line-height: var(--sp4);
line-height: var(--sp4)
}
}
h2 {
letter-spacing: -0.01em;
font-size: 1.5rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
@media (min-width: 43.75rem) {
h2 {
font-size: 2.25rem;
line-height: var(--sp3);
line-height: var(--sp3)
}
}
h3 {
font-size: 1.25rem;
line-height: var(--sp1-5);
line-height: var(--sp1-5)
}
@media (min-width: 43.75rem) {
h3 {
font-size: 1.5rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
}
@ -130,29 +148,53 @@ h3,
h4,
h5,
h6 {
margin-block: var(--sp);
margin-top: var(--sp);
margin-bottom: var(--sp);
color: var(--color-text-neutral-loud);
font-family: var(--font-sans);
font-weight: bold;
font-weight: bold
}
@media (min-width: 43.75rem) {
h1,
h2,
h3,
h4,
h5,
h6 {
margin-block: var(--sp2);
margin-top: var(--sp2);
margin-bottom: var(--sp2)
}
}
[dir="ltr"] ul {
margin-left: 1.5em;
}
[dir="rtl"] ul {
margin-right: 1.5em;
}
[dir="ltr"] ul {
margin-right: 0;
}
[dir="rtl"] ul {
margin-left: 0;
}
[dir="ltr"] ul {
padding-left: 0;
}
[dir="rtl"] ul {
padding-right: 0;
}
ul {
margin-block-start: 0.25em;
margin-block-end: 0.25em;
margin-inline-start: 1.5em;
margin-inline-end: 0;
padding-inline-start: 0;
margin-top: 0.25em;
margin-bottom: 0.25em;
list-style-type: disc;
list-style-image: none;
}

2
css/base/base.pcss.css

@ -13,6 +13,8 @@
html {
font-family: var(--font-sans);
/*font-size: 100%;*/
/*font-size: 100%;*/
font-size: 100%;
font-weight: normal;
font-style: normal;

86
css/base/fonts.css

@ -10,6 +10,77 @@
* Base Fonts.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@font-face {
font-family: 'Libre Bodoni';
src: url('../../fonts/LibreBodoni-Bold.woff2') format('woff2'),
url('../../fonts/LibreBodoni-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Libre Bodoni';
src: url('../../fonts/LibreBodoni-Italic.woff2') format('woff2'),
url('../../fonts/LibreBodoni-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Libre Bodoni';
src: url('../../fonts/LibreBodoni-Regular.woff2') format('woff2'),
url('../../fonts/LibreBodoni-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Source Sans 3';
src: url('../../fonts/SourceSans3-Bold.woff2') format('woff2'),
url('../../fonts/SourceSans3-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Source Sans 3';
src: url('../../fonts/SourceSans3-Regular.woff2') format('woff2'),
url('../../fonts/SourceSans3-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Source Sans 3';
src: url('../../fonts/SourceSans3-Italic.woff2') format('woff2'),
url('../../fonts/SourceSans3-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
/*
*old stuff
*/
@font-face {
font-family: metropolis;
src: url("../../fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
@ -38,7 +109,10 @@
@font-face {
font-family: Lora;
src: local("Lora Regular"), local("Lora-Regular"), url("../../fonts/lora/lora-v14-latin-regular.woff2") format("woff2");
src:
local("Lora Regular"),
local("Lora-Regular"),
url("../../fonts/lora/lora-v14-latin-regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
@ -48,7 +122,10 @@
@font-face {
font-family: Lora;
src: local("Lora Italic"), local("Lora-Italic"), url("../../fonts/lora/lora-v14-latin-italic.woff2") format("woff2");
src:
local("Lora Italic"),
local("Lora-Italic"),
url("../../fonts/lora/lora-v14-latin-italic.woff2") format("woff2");
font-weight: 400;
font-style: italic;
font-display: swap;
@ -58,7 +135,10 @@
@font-face {
font-family: Lora;
src: local("Lora Bold"), local("Lora-Bold"), url("../../fonts/lora/lora-v14-latin-700.woff2") format("woff2");
src:
local("Lora Bold"),
local("Lora-Bold"),
url("../../fonts/lora/lora-v14-latin-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;

166
css/base/variables.css

@ -9,157 +9,101 @@
Global CSS custom properties.
*/
/* stylelint-disable */
:root {
--font-sans: "metropolis", sans-serif;
--font-serif: "Lora", "georgia", serif;
/* Typography helpers. */
--font-size-base: 1rem;
--font-size-l: 1.125rem;
--font-size-s: 0.875rem;
--font-size-xs: 0.8125rem;
--font-size-xxs: 0.75rem;
--line-height-base: 1.6875rem;
--line-height-s: 1.125rem;
/* Layout helpers. */
--max-width: 84.375rem;
--max-bg-color: 98.125rem; /* Width to which the background color extends to. */
--sp: 1.125rem;
--content-left: 5.625rem;
--site-header-height-wide: var(--sp10);
--container-padding: var(--sp);
/**
* Grid helpers.
*
* These variables help authors apply widths and negative margins to break items out of
* the grid, while still conforming to the larger grid system.
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
--scrollbar-width: 0px; /* Unit must be specified here for calc() to work properly.*/
--grid-col-count: 6;
--grid-gap: var(--sp);
--grid-gap-count: calc(var(--grid-col-count) - 1); /* Count of grid-gaps. */
--grid-full-width: calc(100vw - var(--sp2) - var(--scrollbar-width)); /* Width of the entire grid. */
--grid-col-width: calc((var(--grid-full-width) - (var(--grid-gap-count) * var(--grid-gap))) / var(--grid-col-count));
/* Layout helpers */
--sp0-25: calc(0.25 * var(--sp));
--sp0-5: calc(0.5 * var(--sp));
--sp0-75: calc(0.75 * var(--sp));
--sp1: calc(1 * var(--sp));
--sp1-5: calc(1.5 * var(--sp));
--sp2: calc(2 * var(--sp));
--sp2-5: calc(2.5 * var(--sp));
--sp3: calc(3 * var(--sp));
--sp4: calc(4 * var(--sp));
--sp5: calc(5 * var(--sp));
--sp6: calc(6 * var(--sp));
--sp7: calc(7 * var(--sp));
--sp8: calc(8 * var(--sp));
--sp9: calc(9 * var(--sp));
--sp10: calc(10 * var(--sp));
--sp11: calc(11 * var(--sp));
--sp12: calc(12 * var(--sp));
/* Navigation related breakpoints */
/**
* Gray colors.
*
* Color number roughly corresponds to its luminosity.
*/
--color--gray-hue: 201;
--color--gray-saturation: 15%;
--color--gray-5: hsl(var(--color--gray-hue), var(--color--gray-saturation), 5%); /* Black */
--color--gray-10: hsl(var(--color--gray-hue), var(--color--gray-saturation), 11%);
--color--gray-20: hsl(var(--color--gray-hue), var(--color--gray-saturation), 20%); /* Black 2 */
--color--gray-45: hsl(var(--color--gray-hue), var(--color--gray-saturation), 44%); /* Gray Dark */
--color--gray-60: hsl(var(--color--gray-hue), var(--color--gray-saturation), 57%); /* Gray medium */
--color--gray-65: hsl(var(--color--gray-hue), var(--color--gray-saturation), 63%); /* Black 4 */
--color--gray-70: hsl(var(--color--gray-hue), var(--color--gray-saturation), 72%); /* Gray medium 2 */
--color--gray-90: hsl(var(--color--gray-hue), var(--color--gray-saturation), 88%); /* Gray light */
--color--gray-95: hsl(var(--color--gray-hue), var(--color--gray-saturation), 93%); /* Gray light 1 */
--color--gray-100: hsl(var(--color--gray-hue), var(--color--gray-saturation), 97%);
/* Grid related breakpoints */
/**
* Primary colors.
*
* Color number roughly corresponds to its luminosity.
*/
--color--primary-hue: 202;
--color--primary-saturation: 79%;
--color--primary-lightness: 50;
--color--primary-30: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) - (0.36 * var(--color--primary-lightness)))));
--color--primary-40: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) - (0.24 * var(--color--primary-lightness))))); /* Blue dark */
--color--primary-50: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * var(--color--primary-lightness))); /* Blue medium */
--color--primary-60: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) + (0.24 * (100 - var(--color--primary-lightness)))))); /* Blue bright */
--color--primary-80: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) + (0.85 * (100 - var(--color--primary-lightness))))));
/**
* Variables specific to text.
*/
--color-text-neutral-soft: var(--color--gray-45);
--color-text-neutral-medium: var(--color--gray-20);
--color-text-neutral-loud: var(--color--gray-5);
/* Grid shifts from 6 to 14 columns. */
--color-text-primary-medium: var(--color--primary-40);
--color-text-primary-loud: var(--color--primary-30);
/* Width of the entire grid maxes out. */
/**
* Named Colors.
*/
--color--black: #000; /* Black */
--color--white: #fff; /* White */
--color--red: #e33f1e; /* Red */
--color--gold: #fdca40; /* Gold */
--color--green: #3fa21c;
/* stylelint-disable */
/* Header */
--header-height-wide-when-fixed: calc(6 * var(--sp));
:root {
/* Width of slide out navigation */
--mobile-nav-width: 31.25rem;
/* Typography helpers. */
/* Border radius */
--border-radius: 0.1875rem; /* Inline padding on .container elements. */
/* Layout helpers. */ /* Width to which the background color extends to. */ /* Inline padding on .container elements. */
}
@media (min-width: 75rem) {
:root {
--container-padding: var(--sp2);
}
}
/* Green */
:root {
/* Width of a grid column. */
/**
* Grid helpers.
*
* These variables help authors apply widths and negative margins to break items out of
* the grid, while still conforming to the larger grid system.
*/ /* Unit must be specified here for calc() to work properly.*/ /* Count of grid-gaps. */ /* Width of the entire grid. */ /* Width of a grid column. */
}
@media (min-width: 43.75rem) {
:root {
--grid-col-count: 14;
--grid-gap: var(--sp2);
}
}
/* Blue very bright */
@media (min-width: 62.5rem) {
:root {
--scrollbar-width: 0.9375rem; /* Approximate width of a scrollbar. Doesn't have to be perfect. */
}
}
/* Gray light 2 */
@media (min-width: 75rem) {
:root {
--grid-full-width: calc(100vw - var(--scrollbar-width) - var(--content-left) - var(--sp4));
}
}
@media (min-width: 90rem) {
:root {
--grid-full-width: calc(var(--max-width) - var(--sp4));
}
}
:root {
/* Layout helpers */
/**
* Gray colors.
*
* Color number roughly corresponds to its luminosity.
*/ /* Black */ /* Black 2 */ /* Gray Dark */ /* Gray medium */ /* Black 4 */ /* Gray medium 2 */ /* Gray light */ /* Gray light 1 */ /* Gray light 2 */
/**
* Primary colors.
*
* Color number roughly corresponds to its luminosity.
*/ /* Blue dark */ /* Blue medium */ /* Blue bright */ /* Blue very bright */
/**
* Variables specific to text.
*/
/**
* Named Colors.
*/ /* Black */ /* White */ /* Red */ /* Gold */ /* Green */
/* Header */
/* Width of slide out navigation */
/* Border radius */
}

46
css/components/action-links.css

@ -8,17 +8,47 @@
* @file
* Styles for action links.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .action-links {
margin-left: 0
}
[dir="rtl"] .action-links {
margin-right: 0
}
[dir="ltr"] .action-links {
margin-right: 0
}
[dir="rtl"] .action-links {
margin-left: 0
}
[dir="ltr"] .action-links {
padding-left: 0
}
[dir="rtl"] .action-links {
padding-right: 0
}
[dir="ltr"] .action-links {
padding-right: 0
}
[dir="rtl"] .action-links {
padding-left: 0
}
.action-links {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
list-style: none;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
list-style: none
}
.action-links li {
display: inline-block;
display: inline-block
}
.action-links li a {
color: var(--color-text-primary-medium);

76
css/components/ajax-progress.module.css

@ -10,6 +10,19 @@
* Visual styles for ajax-progress throbber.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.ajax-progress {
display: inline-block;
}
@ -18,15 +31,29 @@
* Throbber.
*/
[dir="ltr"] .ajax-progress-throbber {
margin-left: var(--sp0-5);
}
[dir="rtl"] .ajax-progress-throbber {
margin-right: var(--sp0-5);
}
[dir="ltr"] .ajax-progress-throbber {
margin-right: var(--sp0-5);
}
[dir="rtl"] .ajax-progress-throbber {
margin-left: var(--sp0-5);
}
.ajax-progress-throbber {
position: relative;
display: inline-flex;
align-content: center;
height: 1.125rem;
margin-block-start: -0.1875rem;
margin-block-end: 0;
margin-inline-start: var(--sp0-5);
margin-inline-end: var(--sp0-5);
margin-top: -0.1875rem;
margin-bottom: 0;
vertical-align: middle;
white-space: nowrap;
line-height: 1.125rem;
@ -39,9 +66,16 @@
border-color: var(--color--primary-50) transparent var(--color--primary-50) var(--color--primary-50);
}
[dir="ltr"] .ajax-progress-throbber .message {
padding-left: var(--sp0-5);
}
[dir="rtl"] .ajax-progress-throbber .message {
padding-right: var(--sp0-5);
}
.ajax-progress-throbber .message {
display: inline-block;
padding-inline-start: var(--sp0-5);
font-size: var(--font-size-s);
font-weight: 400;
}
@ -50,24 +84,38 @@
* Full screen throbber.
*/
[dir="ltr"] .ajax-progress-fullscreen {
left: 50%;
}
[dir="rtl"] .ajax-progress-fullscreen {
right: 50%;
}
.ajax-progress-fullscreen {
position: fixed;
z-index: 1000;
inset-block-start: 50%;
inset-inline-start: 50%;
top: 50%;
width: 3.5rem;
height: 3.5rem;
margin: -1.75rem;
border: 1px solid var(--color--gray-70);
border-radius: 3.5rem;
background-color: var(--color--white);
box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1); /* LTR */
box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1) /* LTR */
}
[dir="ltr"] .ajax-progress-fullscreen::before {
left: 50%;
}
[dir="rtl"] .ajax-progress-fullscreen::before {
right: 50%;
}
.ajax-progress-fullscreen::before {
position: absolute;
inset-block-start: 50%;
inset-inline-start: 50%;
top: 50%;
width: 1.75rem;
height: 1.75rem;
margin: -0.875rem;
@ -96,8 +144,12 @@
* have a large margin set.
*/
html.js .button:not(.js-hide) + .ajax-progress-throbber {
margin-inline-start: 0;
html[dir="ltr"].js .button:not(.js-hide) + .ajax-progress-throbber {
margin-left: 0;
}
html[dir="rtl"].js .button:not(.js-hide) + .ajax-progress-throbber {
margin-right: 0;
}
@keyframes olivera-throbber {

30
css/components/autocomplete-loading.module.css

@ -10,22 +10,42 @@
* Visual styles for autocomplete input field.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] [type].form-autocomplete {
padding-right: var(--sp3);
}
[dir="rtl"] [type].form-autocomplete {
padding-left: var(--sp3);
}
[type].form-autocomplete {
padding-inline-end: var(--sp3);
background-color: var(--color--white);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18.8' viewBox='0 0 18 18.8'%3e %3cpath fill='%237e96a7' d='M17.8,17.4l-3.6-3.6c1.4-1.5,2.2-3.4,2.2-5.6c0-4.5-3.7-8.2-8.2-8.2S0,3.7,0,8.2s3.7,8.2,8.2,8.2c1.8,0,3.4-0.6,4.7-1.5l3.7,3.7c0.3,0.3,0.8,0.3,1.2,0C18.1,18.3,18.1,17.7,17.8,17.4z M8.2,14.7c-3.6,0-6.5-2.9-6.5-6.5s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5S11.8,14.7,8.2,14.7z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right var(--sp1) center; /* LTR */
background-position: right var(--sp1) center /* LTR */
}
.form-autocomplete[type]:disabled {
[type].form-autocomplete:disabled {
background-color: var(--color--gray-100);
}
.form-autocomplete.ui-autocomplete-loading[type] {
[type].form-autocomplete.ui-autocomplete-loading {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 10 10'%3e %3cstyle type='text/css'%3e%40keyframes s%7b0%25%7btransform:rotate(0deg) translate(-50%25,-50%25)%7d50%25%7btransform:rotate(430deg) translate(-50%25,-50%25);stroke-dashoffset:20%7d100%25%7btransform:rotate(720deg) translate(-50%25,-50%25)%7d%7dellipse%7banimation:s 1s linear infinite%7d%3c/style%3e %3cg transform='translate(5 5)'%3e %3cellipse fill='none' ry='4' rx='4' cy='5' cx='5' stroke='%237e96a7' stroke-width='1' stroke-dashoffset='6.125' stroke-dasharray='25' transform='translate(-5 -5)'/%3e %3c/g%3e%3c/svg%3e");
}
[dir="rtl"] .form-autocomplete[type] {
[dir="rtl"] [type].form-autocomplete {
background-position: left var(--sp1) center;
}

16
css/components/block.css

@ -10,8 +10,22 @@
* Block styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.block__title {
margin-block: 0 var(--sp);
margin-top: 0;
margin-bottom: var(--sp);
letter-spacing: 0.02em;
color: var(--color-text-neutral-soft);
font-size: var(--font-size-s);

189
css/components/book.css

@ -10,46 +10,101 @@
* Book module styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .book-pager {
margin-left: 0;
}
[dir="rtl"] .book-pager {
margin-right: 0;
}
[dir="ltr"] .book-pager {
margin-right: 0;
}
[dir="rtl"] .book-pager {
margin-left: 0;
}
[dir="ltr"] .book-pager {
padding-left: 0;
}
[dir="rtl"] .book-pager {
padding-right: 0;
}
[dir="ltr"] .book-pager {
padding-right: 0;
}
[dir="rtl"] .book-pager {
padding-left: 0;
}
.book-pager {
display: flex;
flex-wrap: wrap;
margin-block-start: 0 var(--sp);
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0 var(--sp);
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0 var(--sp);
padding-top: 0;
padding-bottom: var(--sp);
list-style: none;
border-block-end: solid 1px var(--color--primary-40);
border-bottom: solid 1px var(--color--primary-40);
}
.book-pager__item {
display: inline-block;
display: inline-block
}
@media (min-width: 31.25rem) {
.book-pager__item {
flex: 0 0 33.33%;
flex: 0 0 33.33%
}
}
@media (min-width: 31.25rem) {
.book-pager__item--center {
text-align: center;
text-align: center
}
}
@media (min-width: 31.25rem) {
.book-pager__item--next {
margin-inline-start: auto;
text-align: end;
[dir="ltr"] .book-pager__item--next {
margin-left: auto;
}
[dir="rtl"] .book-pager__item--next {
margin-right: auto;
}
[dir="ltr"] .book-pager__item--next {
text-align: right;
}
[dir="rtl"] .book-pager__item--next {
text-align: left;
}
}
.book-pager__link {
display: inline-flex;
align-items: center;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-primary-medium);
font-family: var(--font-serif);
@ -57,43 +112,117 @@
font-weight: 600;
}
[dir="ltr"] .book-pager__link--previous::before {
margin-right: 0.25em;
}
[dir="rtl"] .book-pager__link--previous::before {
margin-left: 0.25em;
}
[dir="ltr"] .book-pager__link--previous::before {
border-left: solid 3px currentColor;
}
[dir="rtl"] .book-pager__link--previous::before {
border-right: solid 3px currentColor;
}
.book-pager__link--previous::before {
display: block;
width: var(--sp0-5);
height: var(--sp0-5);
margin-inline-end: 0.25em;
content: "";
transform: rotate(-45deg);
border-block-start: solid 0.1875rem currentColor;
border-inline-start: solid 0.1875rem currentColor;
border-top: solid 3px currentColor;
}
[dir="ltr"] .book-pager__link--next::after {
margin-left: 0.25em;
}
[dir="rtl"] .book-pager__link--next::after {
margin-right: 0.25em;
}
[dir="ltr"] .book-pager__link--next::after {
border-left: solid 3px currentColor;
}
[dir="rtl"] .book-pager__link--next::after {
border-right: solid 3px currentColor;
}
.book-pager__link--next::after {
display: block;
width: var(--sp0-5);
height: var(--sp0-5);
margin-inline-start: 0.25em;
content: "";
transform: rotate(135deg);
border-block-start: solid 0.1875rem currentColor;
border-inline-start: solid 0.1875rem currentColor;
border-top: solid 3px currentColor;
}
[dir="ltr"] .book-navigation__menu {
margin-left: 0;
}
[dir="rtl"] .book-navigation__menu {
margin-right: 0;
}
[dir="ltr"] .book-navigation__menu {
margin-right: 0;
}
[dir="rtl"] .book-navigation__menu {
margin-left: 0;
}
[dir="ltr"] .book-navigation__menu {
padding-left: 0;
}
[dir="rtl"] .book-navigation__menu {
padding-right: 0;
}
[dir="ltr"] .book-navigation__menu {
padding-right: 0;
}
[dir="rtl"] .book-navigation__menu {
padding-left: 0;
}
.book-navigation__menu {
margin-block: var(--sp2);
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: var(--sp2);
margin-bottom: var(--sp2);
padding-top: 0;
padding-bottom: 0;
list-style: none;
}
[dir="ltr"] .book-navigation__item {
padding-left: 0;
}
[dir="rtl"] .book-navigation__item {
padding-right: 0;
}
[dir="ltr"] .book-navigation__item {
padding-right: 0;
}
[dir="rtl"] .book-navigation__item {
padding-left: 0;
}
.book-navigation__item {
margin-block: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
list-style: none;
}

202
css/components/breadcrumb.css

@ -10,34 +10,56 @@
* Breadcrumb region.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.breadcrumb {
position: relative;
font-size: 0.875rem;
font-weight: bold;
line-height: var(--sp1);
line-height: var(--sp1)
/* Shadow on the right side of breadcrumbs for narrow screens. */
}
[dir="ltr"] .breadcrumb::after {
right: calc(var(--sp1)*-1)
}
[dir="rtl"] .breadcrumb::after {
left: calc(var(--sp1)*-1)
}
.breadcrumb::after {
position: absolute;
inset-block-start: 0;
inset-inline-end: calc(var(--sp1) * -1);
top: 0;
width: var(--sp3);
height: var(--sp2);
content: "";
background: linear-gradient(to left, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%); /* LTR */
background: linear-gradient(to left, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%) /* LTR */
}
@media (min-width: 62.5rem) {
.breadcrumb::after {
content: none;
content: none
}
}
@media (min-width: 62.5rem) {
.breadcrumb {
position: static;
position: static
}
}
@ -45,70 +67,174 @@
background: linear-gradient(to right, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%);
}
[dir="ltr"] .breadcrumb__content {
margin-left: calc(var(--sp0-5)*-1)
}
[dir="rtl"] .breadcrumb__content {
margin-right: calc(var(--sp0-5)*-1)
}
[dir="ltr"] .breadcrumb__content {
margin-right: calc(var(--sp1)*-1)
}
[dir="rtl"] .breadcrumb__content {
margin-left: calc(var(--sp1)*-1)
}
[dir="ltr"] .breadcrumb__content {
padding-left: var(--sp0-5)
}
[dir="rtl"] .breadcrumb__content {
padding-right: var(--sp0-5)
}
.breadcrumb__content {
overflow: auto;
margin-block-start: calc(var(--sp0-5) * -1);
margin-block-end: calc(var(--sp0-5) * -1);
margin-inline-start: calc(var(--sp0-5) * -1);
margin-inline-end: calc(var(--sp1) * -1);
padding-block-start: var(--sp0-5);
padding-block-end: var(--sp0-5);
padding-inline-start: var(--sp0-5);
-webkit-overflow-scrolling: touch;
margin-top: calc(var(--sp0-5)*-1);
margin-bottom: calc(var(--sp0-5)*-1);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
-webkit-overflow-scrolling: touch
}
@media (min-width: 62.5rem) {
.breadcrumb__content {
margin-inline-end: 0;
[dir="ltr"] .breadcrumb__content {
margin-right: 0
}
[dir="rtl"] .breadcrumb__content {
margin-left: 0
}
}
[dir="ltr"] .breadcrumb__list {
margin-left: calc(var(--sp1)*-1)
}
[dir="rtl"] .breadcrumb__list {
margin-right: calc(var(--sp1)*-1)
}
[dir="ltr"] .breadcrumb__list {
margin-right: calc(var(--sp1)*-1)
}
[dir="rtl"] .breadcrumb__list {
margin-left: calc(var(--sp1)*-1)
}
[dir="ltr"] .breadcrumb__list {
padding-left: var(--sp1)
}
[dir="rtl"] .breadcrumb__list {
padding-right: var(--sp1)
}
[dir="ltr"] .breadcrumb__list {
padding-right: 0
}
[dir="rtl"] .breadcrumb__list {
padding-left: 0
}
.breadcrumb__list {
overflow-x: auto;
width: -webkit-max-content;
width: max-content;
margin-block: 0;
margin-inline-start: calc(var(--sp1) * -1);
margin-inline-end: calc(var(--sp1) * -1);
padding-block: 0 var(--sp1);
padding-inline-start: var(--sp1);
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: var(--sp1);
list-style: none;
white-space: nowrap;
white-space: nowrap
}
@media (min-width: 62.5rem) {
[dir="ltr"] .breadcrumb__list {
margin-left: 0
}
[dir="rtl"] .breadcrumb__list {
margin-right: 0
}
[dir="ltr"] .breadcrumb__list {
margin-right: 0
}
[dir="rtl"] .breadcrumb__list {
margin-left: 0
}
[dir="ltr"] .breadcrumb__list {
padding-left: 0
}
[dir="rtl"] .breadcrumb__list {
padding-right: 0
}
.breadcrumb__list {
overflow: visible;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block-end: 0;
padding-inline-start: 0;
white-space: normal;
padding-bottom: 0;
white-space: normal
}
}
.breadcrumb__item {
display: inline-block;
display: inline-block
}
[dir="ltr"] .breadcrumb__item:nth-child(n+2)::before {
margin-left: 1rem;
margin-right: 1.25rem
}
[dir="rtl"] .breadcrumb__item:nth-child(n+2)::before {
margin-right: 1rem;
margin-left: 1.25rem
}
[dir="ltr"] .breadcrumb__item:nth-child(n+2)::before {
border-right: 2px solid var(--color--gray-45)
}
[dir="rtl"] .breadcrumb__item:nth-child(n+2)::before {
border-left: 2px solid var(--color--gray-45)
}
.breadcrumb__item:nth-child(n+2)::before {
display: inline-block;
width: 0.5rem;
height: 0.5rem;
margin-inline: 1rem 1.25rem;
content: "";
transform: rotate(45deg); /* LTR */
border-block-start: 2px solid var(--color--gray-45);
border-inline-end: 2px solid var(--color--gray-45);
border-top: 2px solid var(--color--gray-45);
}
.breadcrumb__item:last-child {
margin-inline-end: var(--sp3);
[dir="ltr"] .breadcrumb__item:last-child {
margin-right: var(--sp3)
}
[dir="rtl"] .breadcrumb__item:last-child {
margin-left: var(--sp3)
}
@media (min-width: 62.5rem) {
.breadcrumb__item:last-child {
margin-inline-end: 0;
[dir="ltr"] .breadcrumb__item:last-child {
margin-right: 0
}
[dir="rtl"] .breadcrumb__item:last-child {
margin-left: 0
}
}
@ -117,13 +243,11 @@
}
.breadcrumb__link {
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-primary-medium);
color: var(--color-text-primary-medium)
}
.breadcrumb__link:hover,
.breadcrumb__link:focus {
-webkit-text-decoration: underline;
text-decoration: underline;
}

108
css/components/button.css

@ -10,17 +10,46 @@
* Buttons.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .button {
margin-left: 0
}
[dir="rtl"] .button {
margin-right: 0
}
[dir="ltr"] .button {
margin-right: var(--sp1)
}
[dir="rtl"] .button {
margin-left: var(--sp1)
}
.button {
display: inline-block;
height: var(--sp3);
margin-block: var(--sp1);
margin-inline-start: 0;
margin-inline-end: var(--sp1);
padding-block: calc((var(--sp3) - var(--line-height-s)) / 2);
padding-inline: var(--sp1-5);
margin-top: var(--sp1);
margin-bottom: var(--sp1);
padding-top: calc(var(--sp3)/2 - var(--line-height-s)/2);
padding-bottom: calc(var(--sp3)/2 - var(--line-height-s)/2);
padding-left: var(--sp1-5);
padding-right: var(--sp1-5);
cursor: pointer;
text-align: center;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-primary-medium);
border: solid 2px currentColor;
@ -30,13 +59,13 @@
font-size: var(--font-size-l);
font-weight: 700;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased
}
.button:hover,
.button:focus {
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-primary-loud);
border: solid 2px currentColor;
@ -61,35 +90,58 @@
border-color: var(--color--gray-90);
}
.button {
/*
IE11 doesn't work properly on button elements so we only do
inline-flex on modern browsers.
*/
}
@supports (display: inline-flex) {
.button {
display: inline-flex;
align-items: center;
/* Top padding accounts for font not being vertically centered within line-height. */
padding-block: 1px 0;
padding-inline: var(--sp1-5);
line-height: var(--line-height-s);
padding-top: 1px;
padding-bottom: 0;
padding-left: var(--sp1-5);
padding-right: var(--sp1-5);
line-height: var(--line-height-s)
}
}
/* No margin if is part of a menu. */
[dir="ltr"] .menu .button {
margin-left: 0
}
[dir="rtl"] .menu .button {
margin-right: 0
}
[dir="ltr"] .menu .button {
margin-right: 0
}
[dir="rtl"] .menu .button {
margin-left: 0
}
.menu .button {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
}
.button--small {
height: var(--sp2-5);
padding-block: calc((var(--sp2-5) - var(--line-height-s)) / 2);
padding-inline: var(--sp);
padding-top: calc(var(--sp2-5)/2 - var(--line-height-s)/2);
padding-bottom: calc(var(--sp2-5)/2 - var(--line-height-s)/2);
padding-left: var(--sp);
padding-right: var(--sp);
font-size: var(--font-size-base);
line-height: normal;
}
@ -97,7 +149,7 @@
.button--primary {
color: var(--color--white);
border-color: var(--color--primary-40);
background-color: var(--color--primary-40);
background-color: var(--color--primary-40)
}
.button--primary:hover,
@ -120,18 +172,32 @@
.button--icon-back {
display: inline-flex;
align-items: center;
align-items: center
}
[dir="ltr"] .button--icon-back::before {
margin-right: 0.5em
}
[dir="rtl"] .button--icon-back::before {
margin-left: 0.5em
}
[dir="ltr"] .button--icon-back::before {
border-left: solid 2px currentColor
}
[dir="rtl"] .button--icon-back::before {
border-right: solid 2px currentColor
}
.button--icon-back::before {
display: block;
width: 0.5em;
height: 0.5em;
margin-inline-end: 0.5em;
content: "";
transform: rotate(45deg); /* LTR */
border-block-end: solid 2px currentColor;
border-inline-start: solid 2px currentColor;
border-bottom: solid 2px currentColor;
}
[dir="rtl"] .button--icon-back::before {

1
css/components/cke-dialog.css

@ -12,5 +12,6 @@
select.cke_dialog_ui_input_select {
-webkit-appearance: menulist;
-moz-appearance: menulist;
appearance: menulist;
}

306
css/components/comments.css

@ -10,77 +10,144 @@
* Comment section and individual comments.
*/
:root {
--comment-indentation: var(--sp2);
--comment-indentation--md: var(--sp4);
}
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.comment--level-1 {
border-block-start: 2px solid var(--color--gray-95);
border-top: 2px solid var(--color--gray-95)
}
.comment--level-1 ~ .comment--level-1 {
margin-block-start: var(--sp2);
margin-top: var(--sp2);
}
.comments__title {
display: flex;
align-items: center;
margin-block-start: 0;
margin-top: 0;
}
[dir="ltr"] .comments__count {
margin-left: var(--sp)
}
[dir="rtl"] .comments__count {
margin-right: var(--sp)
}
[dir="ltr"] .comments__count {
margin-right: var(--sp)
}
[dir="rtl"] .comments__count {
margin-left: var(--sp)
}
[dir="ltr"] .comments__count {
padding-left: 0.3125rem
}
[dir="rtl"] .comments__count {
padding-right: 0.3125rem
}
[dir="ltr"] .comments__count {
padding-right: 0.3125rem
}
[dir="rtl"] .comments__count {
padding-left: 0.3125rem
}
.comments__count {
position: relative;
display: inline-block;
min-width: 2.125rem;
margin-block-start: 0;
margin-block-end: var(--sp0-5);
margin-inline-start: var(--sp);
margin-inline-end: var(--sp);
padding-block: 0;
padding-inline-start: 0.3125rem;
padding-inline-end: 0.3125rem;
margin-top: 0;
margin-bottom: var(--sp0-5);
padding-top: 0;
padding-bottom: 0;
text-align: center;
color: var(--color--white);
border-radius: 2px;
background-color: var(--color--primary-40);
font-size: 0.6875rem;
line-height: 1.3125rem;
line-height: 1.3125rem
}
[dir="ltr"] .comments__count::after {
left: 0.5rem
}
[dir="rtl"] .comments__count::after {
right: 0.5rem
}
[dir="ltr"] .comments__count::after {
border-right: 8px solid transparent
}
[dir="rtl"] .comments__count::after {
border-left: 8px solid transparent
}
.comments__count::after {
position: absolute;
inset-block-end: -0.4375rem;
inset-inline-start: 0.5rem;
bottom: -0.4375rem;
width: 0;
height: 0;
content: "";
border-block-start: 0.4375rem solid var(--color--primary-40);
border-inline-end: 0.5rem solid transparent;
border-top: 7px solid var(--color--primary-40);
}
.comment-form {
padding-block-end: var(--sp2);
padding-bottom: var(--sp2);
}
[dir="ltr"] .add-comment__form {
padding-left: 0
}
[dir="rtl"] .add-comment__form {
padding-right: 0
}
[dir="ltr"] .comment {
padding-left: var(--sp3)
}
.add-comment__form {
padding-inline-start: 0;
[dir="rtl"] .comment {
padding-right: var(--sp3)
}
.comment {
position: relative;
padding-block-start: var(--sp2);
padding-inline-start: var(--sp3);
padding-top: var(--sp2)
}
@media (min-width: 43.75rem) {
.comment {
padding-inline-start: 0;
[dir="ltr"] .comment {
padding-left: 0
}
[dir="rtl"] .comment {
padding-right: 0
}
}
.comment__text-content {
font-size: 1rem;
font-size: 1rem
}
.comment__text-content blockquote {
@ -88,63 +155,73 @@
line-height: var(--sp2);
}
.comment__text-content {
/* Override for .field:not(:last-child) */
}
.comment__text-content:not(:last-child) {
margin-block-end: 0;
margin-bottom: 0;
}
.comment__links {
margin-block: var(--sp) 0;
margin-top: var(--sp);
margin-bottom: 0;
}
.comment__links-link {
-webkit-text-decoration: none;
text-decoration: none;
font-size: 0.875rem;
font-weight: bold;
line-height: var(--sp);
line-height: var(--sp)
}
.comment__links-link:hover {
-webkit-text-decoration: underline;
text-decoration: underline;
}
.add-comment__picture-wrapper {
inset-block-start: calc(var(--line-height-base) + var(--sp0-5));
top: calc(var(--line-height-base) + var(--sp0-5));
}
[dir="ltr"] .add-comment__picture,[dir="ltr"]
.comment__picture {
left: 0
}
[dir="rtl"] .add-comment__picture,[dir="rtl"]
.comment__picture {
right: 0
}
.add-comment__picture,
.comment__picture {
position: absolute;
inset-inline-start: 0;
overflow: hidden;
width: var(--sp2);
height: var(--sp2);
border-radius: 50%;
background-color: var(--color--gray-95);
background-color: var(--color--gray-95)
}
.add-comment__picture *:not(img),
.comment__picture *:not(img) {
.add-comment__picture *:not(img), .comment__picture *:not(img) {
display: inherit;
width: inherit;
height: inherit;
}
.add-comment__picture img,
.comment__picture img {
.add-comment__picture img, .comment__picture img {
width: 100%;
height: 100%;
object-fit: cover;
-o-object-fit: cover;
object-fit: cover
/* @TODO: create image-style for profile's avatar to have image squared by default. */
}
@media all and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.add-comment__picture img,
.comment__picture img {
.add-comment__picture img, .comment__picture img {
position: absolute;
/* stylelint-disable csstools/use-logical */
top: 50%;
@ -152,24 +229,42 @@
/* stylelint-enable csstools/use-logical */
width: 100%;
height: auto;
transform: translate(-50%, -50%);
transform: translate(-50%, -50%)
}
}
@media (min-width: 43.75rem) {
[dir="ltr"] .add-comment__picture,[dir="ltr"]
.comment__picture {
left: calc(var(--sp5)*-1)
}
[dir="rtl"] .add-comment__picture,[dir="rtl"]
.comment__picture {
right: calc(var(--sp5)*-1)
}
.add-comment__picture,
.comment__picture {
inset-inline-start: calc(-1 * var(--sp5));
width: var(--sp3);
height: var(--sp3);
height: var(--sp3)
}
}
@media (min-width: 43.75rem) {
[dir="ltr"] .indented .comment__picture {
left: calc(var(--sp4)*-1)
}
[dir="rtl"] .indented .comment__picture {
right: calc(var(--sp4)*-1)
}
.indented .comment__picture {
inset-inline-start: calc(-1 * var(--sp4));
width: var(--sp2);
height: var(--sp2);
height: var(--sp2)
}
}
@ -177,16 +272,22 @@
display: inline;
}
[dir="ltr"] .comment__author {
margin-right: var(--sp)
}
[dir="rtl"] .comment__author {
margin-left: var(--sp)
}
.comment__author {
margin-inline-end: var(--sp);
font-family: var(--font-sans);
font-size: 1rem;
font-weight: 700;
line-height: var(--sp);
line-height: var(--sp)
}
.comment__author a {
-webkit-text-decoration: none;
text-decoration: none;
}
@ -198,40 +299,97 @@
line-height: var(--sp);
}
.indented {
margin-inline-start: var(--comment-indentation);
[dir="ltr"] .indented {
margin-left: var(--sp2)
}
[dir="rtl"] .indented {
margin-right: var(--sp2)
}
[dir="ltr"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
left: calc(var(--sp2)*-1 - var(--sp))
}
[dir="rtl"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
right: calc(var(--sp2)*-1 - var(--sp))
}
[dir="ltr"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
border-left: solid 1px var(--color--gray-95)
}
[dir="rtl"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
border-right: solid 1px var(--color--gray-95)
}
.indented > .comment:not(:last-of-type, .has-children)::before {
.indented > .comment:not(:last-of-type):not(.has-children)::before {
position: absolute;
inset-block-start: var(--sp2);
inset-inline-start: calc(-1 * var(--comment-indentation) - var(--sp)); /* Comment's padding-top */
top: var(--sp2); /* Comment's padding-top */
width: 0;
height: 100%;
content: "";
border-inline-start: solid 1px var(--color--gray-95);
content: ""
}
@media (min-width: 43.75rem) {
.indented > .comment:not(:last-of-type, .has-children)::before {
inset-inline-start: calc(-1 * var(--comment-indentation--md) + var(--sp));
[dir="ltr"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
left: calc(var(--sp4)*-1 + var(--sp))
}
[dir="rtl"] .indented > .comment:not(:last-of-type):not(.has-children)::before {
right: calc(var(--sp4)*-1 + var(--sp))
}
}
@media (min-width: 43.75rem) {
.indented {
margin-inline-start: var(--comment-indentation--md);
[dir="ltr"] .indented {
margin-left: var(--sp4)
}
[dir="rtl"] .indented {
margin-right: var(--sp4)
}
}
[dir="ltr"] .show-hide-btn {
margin-left: var(--sp3)
}
[dir="rtl"] .show-hide-btn {
margin-right: var(--sp3)
}
[dir="ltr"] .show-hide-btn {
margin-right: 0
}
[dir="rtl"] .show-hide-btn {
margin-left: 0
}
[dir="ltr"] .show-hide-btn {
padding-left: 0
}
[dir="rtl"] .show-hide-btn {
padding-right: 0
}
[dir="ltr"] .show-hide-btn {
padding-right: 0
}
[dir="rtl"] .show-hide-btn {
padding-left: 0
}
.show-hide-btn {
margin-block-start: var(--sp2);
margin-block-end: 0;
margin-inline-start: var(--sp3);
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: var(--sp2);
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
color: var(--color-text-neutral-medium);
border: 0;
@ -240,7 +398,8 @@
font-weight: 600;
line-height: 1.125rem;
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
.show-hide-btn[aria-expanded="true"]::after {
@ -252,7 +411,12 @@
}
@media (min-width: 43.75rem) {
.show-hide-btn {
margin-inline-start: 0;
[dir="ltr"] .show-hide-btn {
margin-left: 0
}
[dir="rtl"] .show-hide-btn {
margin-right: 0
}
}

6
css/components/container-inline.module.css

@ -16,10 +16,12 @@
}
.form-items-inline {
margin-block: -0.125em; /* 2px */
margin-top: -0.125em;
margin-bottom: -0.125em; /* 2px */
}
.form-items-inline > .form-item {
display: inline-block;
margin-block: 0.125em;
margin-top: 0.125em;
margin-bottom: 0.125em;
}

140
css/components/content-moderation.css

@ -10,12 +10,39 @@
* Styles for content moderation toolbar.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .entity-moderation-form {
padding-left: var(--sp)
}
[dir="rtl"] .entity-moderation-form {
padding-right: var(--sp)
}
[dir="ltr"] .entity-moderation-form {
padding-right: var(--sp)
}
[dir="rtl"] .entity-moderation-form {
padding-left: var(--sp)
}
.entity-moderation-form {
flex-direction: column;
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
border: 1px solid var(--color--gray-95);
background-color: var(--color--gray-100);
background-color: var(--color--gray-100)
}
.entity-moderation-form select,
@ -24,71 +51,106 @@
}
@media (min-width: 43.75rem) {
.entity-moderation-form {
flex-direction: row;
flex-direction: row
}
}
[dir="ltr"] .entity-moderation-form__item {
margin-right: var(--sp)
}
[dir="rtl"] .entity-moderation-form__item {
margin-left: var(--sp)
}
.entity-moderation-form__item {
flex-basis: 0;
margin-inline-end: var(--sp);
flex-basis: 0
}
[dir="ltr"] .entity-moderation-form__item:last-child {
margin-right: 0
}
[dir="rtl"] .entity-moderation-form__item:last-child {
margin-left: 0
}
.entity-moderation-form__item:last-child {
align-self: flex-start;
margin-inline-end: 0;
align-self: flex-start
}
@media (min-width: 43.75rem) {
.entity-moderation-form__item:last-child {
align-self: flex-end;
align-self: flex-end
}
}
.layout--content-narrow .entity-moderation-form,
.layout--pass--content-narrow > * .entity-moderation-form,
.layout--content-medium .entity-moderation-form,
.layout--pass--content-medium > * .entity-moderation-form {
width: 100%;
margin-inline-start: 0;
[dir="ltr"] .layout--content-narrow .entity-moderation-form,[dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="ltr"] .layout--content-medium .entity-moderation-form,[dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
margin-left: 0
}
@supports (width: max-content) {
.layout--content-narrow .entity-moderation-form,
.layout--pass--content-narrow > * .entity-moderation-form,
.layout--content-medium .entity-moderation-form,
.layout--pass--content-medium > * .entity-moderation-form {
width: max-content;
[dir="rtl"] .layout--content-narrow .entity-moderation-form,[dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="rtl"] .layout--content-medium .entity-moderation-form,[dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
margin-right: 0
}
.layout--content-narrow .entity-moderation-form, .layout--pass--content-narrow > * .entity-moderation-form, .layout--content-medium .entity-moderation-form, .layout--pass--content-medium > * .entity-moderation-form {
width: 100%
}
@supports ((width: -webkit-max-content) or (width: max-content)) {
.layout--content-narrow .entity-moderation-form, .layout--pass--content-narrow > * .entity-moderation-form, .layout--content-medium .entity-moderation-form, .layout--pass--content-medium > * .entity-moderation-form {
width: -webkit-max-content;
width: max-content
}
}
@media (min-width: 43.75rem) {
.layout--content-narrow .entity-moderation-form,
.layout--pass--content-narrow > * .entity-moderation-form,
.layout--content-medium .entity-moderation-form,
.layout--pass--content-medium > * .entity-moderation-form {
[dir="ltr"] .layout--content-narrow .entity-moderation-form,[dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="ltr"] .layout--content-medium .entity-moderation-form,[dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
margin-left: calc(var(--grid-col-width)*-2 + var(--grid-gap)*-2)
}
[dir="rtl"] .layout--content-narrow .entity-moderation-form,[dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="rtl"] .layout--content-medium .entity-moderation-form,[dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
margin-right: calc(var(--grid-col-width)*-2 + var(--grid-gap)*-2)
}
.layout--content-narrow .entity-moderation-form, .layout--pass--content-narrow > * .entity-moderation-form, .layout--content-medium .entity-moderation-form, .layout--pass--content-medium > * .entity-moderation-form {
width: calc(var(--grid-col-count)*var(--grid-col-width) + var(--grid-gap-count)*var(--grid-gap));
margin-block: var(--sp2) var(--sp4);
margin-inline-start: calc(-2 * (var(--grid-col-width) + var(--grid-gap)));
margin-top: var(--sp2);
margin-bottom: var(--sp4)
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow .entity-moderation-form,
.layout--pass--content-narrow > * .entity-moderation-form,
.layout--content-medium .entity-moderation-form,
.layout--pass--content-medium > * .entity-moderation-form {
width: calc(12 * var(--grid-col-width) + 11 * var(--grid-gap));
margin-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
[dir="ltr"] .layout--content-narrow .entity-moderation-form,[dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="ltr"] .layout--content-medium .entity-moderation-form,[dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .layout--content-narrow .entity-moderation-form,[dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="rtl"] .layout--content-medium .entity-moderation-form,[dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
.layout--content-narrow .entity-moderation-form, .layout--pass--content-narrow > * .entity-moderation-form, .layout--content-medium .entity-moderation-form, .layout--pass--content-medium > * .entity-moderation-form {
width: calc(var(--grid-col-width)*12 + var(--grid-gap)*11)
}
}
@media (min-width: 90rem) {
.layout--content-narrow .entity-moderation-form,
.layout--pass--content-narrow > * .entity-moderation-form,
.layout--content-medium .entity-moderation-form,
.layout--pass--content-medium > * .entity-moderation-form {
width: calc(10 * var(--grid-col-width) + 11 * var(--grid-gap));
margin-inline-start: 0;
[dir="ltr"] .layout--content-narrow .entity-moderation-form,[dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="ltr"] .layout--content-medium .entity-moderation-form,[dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
margin-left: 0
}
[dir="rtl"] .layout--content-narrow .entity-moderation-form,[dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,[dir="rtl"] .layout--content-medium .entity-moderation-form,[dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
margin-right: 0
}
.layout--content-narrow .entity-moderation-form, .layout--pass--content-narrow > * .entity-moderation-form, .layout--content-medium .entity-moderation-form, .layout--pass--content-medium > * .entity-moderation-form {
width: calc(var(--grid-col-width)*10 + var(--grid-gap)*11)
}
}

90
css/components/details.css

@ -10,32 +10,57 @@
* Collapsible details.
*/
:root {
--details-border-width: 1px;
--details-summary-transition: background-color 0.12s ease-in-out;
}
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.olivera-details {
display: block;
margin-block: var(--sp1);
margin-top: var(--sp1);
margin-bottom: var(--sp1);
color: inherit;
border: var(--details-border-width) solid var(--color--gray-95);
border: 1px solid var(--color--gray-95);
border-radius: var(--border-radius);
box-shadow: 0 1px 4px var(--color--gray-90);
}
/* Details summary styles */
[dir="ltr"] .olivera-details__summary {
padding-left: var(--sp2);
}
[dir="rtl"] .olivera-details__summary {
padding-right: var(--sp2);
}
[dir="ltr"] .olivera-details__summary {
padding-right: var(--sp1);
}
[dir="rtl"] .olivera-details__summary {
padding-left: var(--sp1);
}
.olivera-details__summary {
position: relative;
padding-block: var(--sp1);
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp1);
padding-top: var(--sp1);
padding-bottom: var(--sp1);
list-style: none;
cursor: pointer;
transition: var(--details-summary-transition);
transition: background-color 0.12s ease-in-out;
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
color: inherit;
background-color: var(--color--gray-100);
@ -46,10 +71,17 @@
/* Arrow icon */
[dir="ltr"] .olivera-details__summary::before {
left: var(--sp0-75);
}
[dir="rtl"] .olivera-details__summary::before {
right: var(--sp0-75);
}
.olivera-details__summary::before {
position: absolute;
inset-block-start: 50%;
inset-inline-start: var(--sp0-75);
top: 50%;
display: block;
width: 0.625rem;
height: 0.625rem;
@ -67,7 +99,10 @@
.olivera-details__summary::after {
position: absolute;
inset: calc(var(--details-border-width) * -1);
top: -1px;
right: -1px;
bottom: -1px;
left: -1px;
content: "";
pointer-events: none;
opacity: 0;
@ -104,29 +139,44 @@
/* Rotate arrow icon of the details summary, when details expanded */
.olivera-details[open] > .olivera-details__summary::before {
margin-block-start: -2px;
margin-top: -2px;
transform: translateY(-50%) rotate(135deg);
}
/* Details content wrapper */
.olivera-details__wrapper {
margin: var(--sp1);
margin: var(--sp1)
}
@media (min-width: 62.5rem) {
[dir="ltr"] .olivera-details__wrapper {
margin-left: var(--sp2);
}
[dir="rtl"] .olivera-details__wrapper {
margin-right: var(--sp2);
}
[dir="ltr"] .olivera-details__wrapper {
margin-right: var(--sp2);
}
[dir="rtl"] .olivera-details__wrapper {
margin-left: var(--sp2);
}
.olivera-details__wrapper {
margin-block-start: var(--sp1-5);
margin-block-end: var(--sp1-5);
margin-inline-start: var(--sp2);
margin-inline-end: var(--sp2);
margin-top: var(--sp1-5);
margin-bottom: var(--sp1-5)
}
}
/* Description */
.olivera-details__description {
margin-block-end: var(--sp1);
margin-bottom: var(--sp1);
color: var(--color-text-neutral-medium);
font-size: var(--font-size-xs);
line-height: var(--line-height-s);

85
css/components/dropbutton.css

@ -18,7 +18,7 @@
--dropbutton--border-radius: var(--border-radius);
--dropbutton--font-size: var(--font-size-s);
--dropbutton--text-color: var(--color-text-neutral-medium); /* Minimum 4.5:1 contrast ratio against --dropbutton--active-bg-color and --dropbutton--secondary-bg-color. */
--dropbutton--text-hover-color: var(--color-text-primary-medium); /* Minimum 4.5:1 contrast ratio against --dropbutton--active-bg-color and --dropbutton--secondary-bg-color. */
--dropbutton--text-hover-color: var(--color-text-primary-medium) /* Minimum 4.5:1 contrast ratio against --dropbutton--active-bg-color and --dropbutton--secondary-bg-color. */
}
.dropbutton-wrapper.open {
@ -27,37 +27,71 @@
filter: drop-shadow(0 2px 2px var(--dropbutton--active-bg-color));
}
[dir="ltr"] .dropbutton-widget {
padding-right: var(--dropbutton--height);
}
[dir="rtl"] .dropbutton-widget {
padding-left: var(--dropbutton--height);
}
.dropbutton-widget {
position: relative;
width: -webkit-max-content;
width: max-content;
height: var(--dropbutton--height);
padding-inline-end: var(--dropbutton--height);
border-radius: var(--dropbutton--border-radius);
border-radius: var(--dropbutton--border-radius)
}
.dropbutton-single .dropbutton-widget {
padding-inline-end: 0;
[dir="ltr"] .dropbutton-single .dropbutton-widget {
padding-right: 0;
}
[dir="rtl"] .dropbutton-single .dropbutton-widget {
padding-left: 0;
}
.dropbutton-wrapper.open .dropbutton-widget {
border-radius: var(--dropbutton--border-radius) var(--dropbutton--border-radius) 0 0;
border-radius: var(--dropbutton--border-radius) var(--dropbutton--border-radius) 0 0
}
[dir="ltr"] .dropbutton {
margin-left: 0;
}
[dir="rtl"] .dropbutton {
margin-right: 0;
}
[dir="ltr"] .dropbutton {
padding-left: 0;
}
[dir="rtl"] .dropbutton {
padding-right: 0;
}
.dropbutton {
height: var(--dropbutton--height);
margin-block: 0;
margin-inline-start: 0;
padding-inline-start: 0;
margin-top: 0;
margin-bottom: 0;
list-style: none;
font-size: var(--dropbutton--font-size);
}
/* This is the button that expands/collapses the secondary options. */
[dir="ltr"] .dropbutton-toggle button {
right: 0;
}
[dir="rtl"] .dropbutton-toggle button {
left: 0;
}
.dropbutton-toggle button {
position: absolute;
top: 0;
inset-inline-end: 0;
display: flex;
align-items: center;
justify-content: center;
@ -67,7 +101,7 @@
cursor: pointer;
border-color: transparent;
border-radius: 0 var(--border-radius) var(--border-radius) 0; /* LTR */
background: var(--dropbutton--active-bg-color);
background: var(--dropbutton--active-bg-color)
}
.dropbutton-toggle button:focus {
@ -82,11 +116,11 @@
content: "";
transform: translateY(-25%) rotate(45deg);
border-right: solid 2px var(--dropbutton--outline-color);
border-bottom: solid 2px var(--dropbutton--outline-color);
border-bottom: solid 2px var(--dropbutton--outline-color)
}
.dropbutton-wrapper.open :is(.dropbutton-toggle button::before) {
transform: translateY(25%) rotate(225deg);
.dropbutton-wrapper.open .dropbutton-toggle button::before {
transform: translateY(25%) rotate(225deg)
}
[dir="rtl"] .dropbutton-toggle button {
@ -95,11 +129,18 @@
/* This is the first <li> element in the list of actions. */
[dir="ltr"] .dropbutton-action:first-child {
margin-right: 2px;
}
[dir="rtl"] .dropbutton-action:first-child {
margin-left: 2px;
}
.dropbutton-action:first-child {
margin-inline-end: 2px;
border: solid 1px transparent;
border-radius: var(--dropbutton--border-radius) 0 0 var(--dropbutton--border-radius); /* LTR */
background: var(--dropbutton--active-bg-color);
background: var(--dropbutton--active-bg-color)
}
[dir="rtl"] .dropbutton-action:first-child {
@ -112,10 +153,9 @@
align-items: center;
margin-bottom: -2px; /* Account for borders. */
padding: 0 0.5625rem;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--dropbutton--text-color);
font-weight: 600;
font-weight: 600
}
.dropbutton-action a:hover {
@ -127,11 +167,14 @@
outline-offset: -1px; /* Overlap parent container by 1px. */
}
.dropbutton-action {
/* Special rules if there is only one action. */
}
.dropbutton-single .dropbutton-action:first-child {
border-right: solid 1px transparent; /* LTR */
border-radius: var(--dropbutton--border-radius);
border-radius: var(--dropbutton--border-radius)
}
[dir="rtl"] .dropbutton-single .dropbutton-action:first-child {
@ -149,7 +192,7 @@
width: calc(100% + var(--dropbutton--height));
border-right: 1px solid var(--dropbutton--active-bg-color);
border-left: 1px solid var(--dropbutton--active-bg-color);
background: var(--dropbutton--secondary-bg-color);
background: var(--dropbutton--secondary-bg-color)
}
.secondary-action:last-child {
@ -161,5 +204,5 @@
}
.dropbutton-wrapper.open .secondary-action {
visibility: visible;
visibility: visible
}

203
css/components/embedded-media.css

@ -10,46 +10,120 @@
* Embedded Media.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
figure {
background: var(--color--gray-100);
}
[dir="ltr"] figcaption {
padding-left: var(--sp0-5);
}
[dir="rtl"] figcaption {
padding-right: var(--sp0-5);
}
[dir="ltr"] figcaption {
padding-right: var(--sp0-5);
}
[dir="rtl"] figcaption {
padding-left: var(--sp0-5);
}
figcaption {
padding-block: var(--sp0-5);
padding-inline-start: var(--sp0-5);
padding-inline-end: var(--sp0-5);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
color: var(--color-text-neutral-medium);
background: var(--color--gray-100);
font-family: var(--font-serif);
font-size: 0.875rem;
font-style: italic;
line-height: var(--sp);
line-height: var(--sp)
}
@media (min-width: 31.25rem) {
[dir="ltr"] figcaption {
padding-left: var(--sp);
}
[dir="rtl"] figcaption {
padding-right: var(--sp);
}
[dir="ltr"] figcaption {
padding-right: var(--sp);
}
[dir="rtl"] figcaption {
padding-left: var(--sp);
}
figcaption {
padding-block: var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
padding-top: var(--sp);
padding-bottom: var(--sp)
}
}
[dir="ltr"] .align-right {
margin-left: 0;
}
[dir="rtl"] .align-right {
margin-right: 0;
}
[dir="ltr"] .align-right {
margin-right: 0;
}
[dir="rtl"] .align-right {
margin-left: 0;
}
.align-right {
float: none; /* Override core's align.module.css. */
max-width: 100%;
margin-block: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
@media (min-width: 43.75rem) {
[dir="ltr"] .align-right {
margin-left: var(--sp);
}
[dir="rtl"] .align-right {
margin-right: var(--sp);
}
[dir="ltr"] .align-right {
margin-right: 0;
}
[dir="rtl"] .align-right {
margin-left: 0;
}
.align-right {
float: right; /* LTR */
max-width: 50%;
margin-block-start: var(--sp);
margin-block-end: var(--sp);
margin-inline-start: var(--sp);
margin-inline-end: 0;
margin-top: var(--sp);
margin-bottom: var(--sp)
/**
* Chromium and Webkit do not yet support flow relative logical properties,
@ -67,53 +141,109 @@ figcaption {
/* Pull out of grid if nested in content narrow layout. */
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
/* @todo this can be simplified. */
}
@media (min-width: 43.75rem) {
.layout--content-narrow .align-right,
[dir="ltr"] .layout--content-narrow .align-right,[dir="ltr"]
.layout--pass--content-narrow > * .align-right {
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1);
}
[dir="rtl"] .layout--content-narrow .align-right,[dir="rtl"]
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1);
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow .align-right,
[dir="ltr"] .layout--content-narrow .align-right,[dir="ltr"]
.layout--pass--content-narrow > * .align-right {
margin-right: calc(var(--grid-col-width)*-2 + var(--grid-gap)*-2);
}
[dir="rtl"] .layout--content-narrow .align-right,[dir="rtl"]
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-2 * ((var(--grid-col-width) + var(--grid-gap))));
margin-left: calc(var(--grid-col-width)*-2 + var(--grid-gap)*-2);
}
}
@media (min-width: 75rem) {
.layout--content-narrow .align-right,
[dir="ltr"] .layout--content-narrow .align-right,[dir="ltr"]
.layout--pass--content-narrow > * .align-right {
margin-right: calc(var(--grid-col-width)*-3 + var(--grid-gap)*-3);
}
[dir="rtl"] .layout--content-narrow .align-right,[dir="rtl"]
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
margin-left: calc(var(--grid-col-width)*-3 + var(--grid-gap)*-3);
}
}
@media (min-width: 90rem) {
.layout--content-narrow .align-right,
[dir="ltr"] .layout--content-narrow .align-right,[dir="ltr"]
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
margin-right: calc(var(--grid-col-width)*-3 + var(--grid-gap)*-3);
}
[dir="rtl"] .layout--content-narrow .align-right,[dir="rtl"]
.layout--pass--content-narrow > * .align-right {
margin-left: calc(var(--grid-col-width)*-3 + var(--grid-gap)*-3);
}
}
[dir="ltr"] .align-left {
margin-left: 0;
}
[dir="rtl"] .align-left {
margin-right: 0;
}
[dir="ltr"] .align-left {
margin-right: 0;
}
[dir="rtl"] .align-left {
margin-left: 0;
}
.align-left {
float: none; /* Override core's align.module.css. */
max-width: 100%;
margin-block-start: var(--sp3);
margin-block-end: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
@media (min-width: 43.75rem) {
[dir="ltr"] .align-left {
margin-left: 0;
}
[dir="rtl"] .align-left {
margin-right: 0;
}
[dir="ltr"] .align-left {
margin-right: var(--sp2);
}
[dir="rtl"] .align-left {
margin-left: var(--sp2);
}
.align-left {
float: left; /* LTR */
max-width: 50%;
margin-block-start: var(--sp);
margin-block-end: var(--sp);
margin-inline-start: 0;
margin-inline-end: var(--sp2); /* Extra right margins in case of aligning next to lists. */
margin-top: var(--sp);
margin-bottom: var(--sp) /* Extra right margins in case of aligning next to lists. */
/**
* Chromium and Webkit do not yet support flow relative logical properties,
@ -132,16 +262,23 @@ figcaption {
/* Pull out of grid if nested in content narrow layout. */
@media (min-width: 43.75rem) {
.layout--content-narrow .align-left,
[dir="ltr"] .layout--content-narrow .align-left,[dir="ltr"]
.layout--pass--content-narrow > * .align-left {
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1);
}
[dir="rtl"] .layout--content-narrow .align-left,[dir="rtl"]
.layout--pass--content-narrow > * .align-left {
margin-inline-start: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1);
}
}
.align-center img,
.align-center video,
.align-center audio {
margin-inline: auto;
margin-left: auto;
margin-right: auto;
}
.media-oembed-content {

27
css/components/feed.css

@ -10,12 +10,24 @@
* RSS feed.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.feed-icon {
display: flex;
align-items: center;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-soft);
color: var(--color-text-neutral-soft)
}
.feed-icon:hover {
@ -29,6 +41,14 @@
font-weight: 600;
}
[dir="ltr"] .feed-icon__icon {
margin-left: var(--sp0-5)
}
[dir="rtl"] .feed-icon__icon {
margin-right: var(--sp0-5)
}
.feed-icon__icon {
display: flex;
flex-shrink: 0;
@ -36,9 +56,8 @@
justify-content: center;
width: var(--sp1-5);
height: var(--sp1-5);
margin-inline-start: var(--sp0-5);
color: var(--color--white);
background-color: var(--color--primary-50);
background-color: var(--color--primary-50)
}
.feed-icon__icon svg {

39
css/components/field.css

@ -10,21 +10,35 @@
* Visual styles for fields.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.field:not(:last-child) {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2);
}
.node--view-mode-teaser .field {
margin-block-end: var(--sp);
margin-bottom: var(--sp)
}
.node--view-mode-teaser .field:last-child {
margin-block-end: 0;
margin-bottom: 0;
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser .field {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
}
@ -34,7 +48,7 @@
.field--label-inline .field__label,
.field--label-inline .field__items {
float: left; /* LTR */
float: left /* LTR */
/**
* Chromium and Webkit do not yet support flow relative logical properties,
@ -46,15 +60,20 @@
*/
}
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
[dir="rtl"] .field--label-inline .field__label,[dir="rtl"] .field--label-inline .field__items {
float: right;
}
.field--label-inline .field__label,
.field--label-inline > .field__item,
[dir="ltr"] .field--label-inline .field__label,[dir="ltr"]
.field--label-inline > .field__item,[dir="ltr"]
.field--label-inline .field__items {
padding-right: 0.5em;
}
[dir="rtl"] .field--label-inline .field__label,[dir="rtl"]
.field--label-inline > .field__item,[dir="rtl"]
.field--label-inline .field__items {
padding-inline-end: 0.5em;
padding-left: 0.5em;
}
.field--label-inline .field__label::after {

156
css/components/fieldset.css

@ -10,14 +10,57 @@
* Fieldset.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .fieldset {
margin-left: 0;
}
[dir="rtl"] .fieldset {
margin-right: 0;
}
[dir="ltr"] .fieldset {
margin-right: 0;
}
[dir="rtl"] .fieldset {
margin-left: 0;
}
[dir="ltr"] .fieldset {
padding-left: 0;
}
[dir="rtl"] .fieldset {
padding-right: 0;
}
[dir="ltr"] .fieldset {
padding-right: 0;
}
[dir="rtl"] .fieldset {
padding-left: 0;
}
.fieldset {
min-width: 0;
margin-block: var(--sp1);
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: var(--sp1);
margin-bottom: var(--sp1);
padding-top: 0;
padding-bottom: 0;
color: inherit;
border: solid 2px var(--color--gray-45);
border-radius: var(--border-radius);
@ -42,7 +85,7 @@
background-color: var(--color--gray-45);
font-size: var(--font-size-l);
font-weight: 700;
line-height: var(--line-height-base);
line-height: var(--line-height-base)
}
.fieldset__legend + * {
@ -54,7 +97,7 @@
}
.fieldset__legend--composite {
margin-block-start: 2px;
margin-top: 2px;
color: inherit;
}
@ -66,11 +109,26 @@
color: inherit;
}
[dir="ltr"] .fieldset__label {
padding-left: var(--sp1);
}
[dir="rtl"] .fieldset__label {
padding-right: var(--sp1);
}
[dir="ltr"] .fieldset__label {
padding-right: var(--sp1);
}
[dir="rtl"] .fieldset__label {
padding-left: var(--sp1);
}
.fieldset__label {
display: block;
padding-block: var(--sp0-5);
padding-inline-start: var(--sp1);
padding-inline-end: var(--sp1);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
color: var(--color--white);
line-height: var(--line-height-s);
}
@ -80,7 +138,8 @@
}
.fieldset__description {
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
font-size: var(--font-size-xs);
line-height: var(--line-height-s);
}
@ -89,21 +148,30 @@
color: var(--input--disabled-fg-color);
}
[dir="ltr"] .fieldset__error-message {
padding-left: var(--sp1-5);
}
[dir="rtl"] .fieldset__error-message {
padding-right: var(--sp1-5);
}
.fieldset__error-message {
margin-block: var(--sp0-5);
padding-inline-start: var(--sp1-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
color: var(--color--red);
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E33F1E' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: left top; /* LTR */
background-size: var(--sp1) var(--sp1);
font-size: var(--font-size-s);
line-height: var(--line-height-s);
line-height: var(--line-height-s)
}
@media screen and (-ms-high-contrast: active) {
.fieldset__error-message {
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E");
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E")
}
}
@ -111,10 +179,18 @@
background-position: left top;
}
[dir="ltr"] .fieldset__wrapper {
padding-left: var(--sp);
}
[dir="rtl"] .fieldset__wrapper {
padding-right: var(--sp);
}
.fieldset__wrapper {
margin-block-start: 0;
padding-block: var(--sp);
padding-inline-start: var(--sp);
margin-top: 0;
padding-top: var(--sp);
padding-bottom: var(--sp);
}
.fieldset--group .fieldset__legend--visible ~ .fieldset__wrapper {
@ -123,14 +199,44 @@
border-bottom-left-radius: var(--border-radius);
}
[dir="ltr"] .fieldset__wrapper--group {
margin-left: 0;
}
[dir="rtl"] .fieldset__wrapper--group {
margin-right: 0;
}
[dir="ltr"] .fieldset__wrapper--group {
margin-right: 0;
}
[dir="rtl"] .fieldset__wrapper--group {
margin-left: 0;
}
.fieldset__wrapper--group {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
}
[dir="ltr"] .fieldset__wrapper > .container-inline {
padding-left: 0;
}
[dir="rtl"] .fieldset__wrapper > .container-inline {
padding-right: 0;
}
[dir="ltr"] .fieldset__wrapper > .container-inline {
padding-right: 0;
}
[dir="rtl"] .fieldset__wrapper > .container-inline {
padding-left: 0;
}
.fieldset__wrapper > .container-inline {
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
}

46
css/components/footer.css

@ -10,36 +10,62 @@
* Footer regions.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.site-footer {
position: relative; /* stack above left social bar */
color: var(--color--gray-65);
background: linear-gradient(180deg, var(--color--gray-5) 0%, var(--color--gray-10) 100%);
background: linear-gradient(180deg, var(--color--gray-5) 0%, var(--color--gray-10) 100%)
}
[dir="ltr"] .site-footer .menu {
margin-left: 0
}
[dir="rtl"] .site-footer .menu {
margin-right: 0
}
.site-footer .menu {
margin-inline-start: 0;
list-style: none;
list-style: none
}
.site-footer .menu ul {
margin-inline-start: var(--sp);
[dir="ltr"] .site-footer .menu ul {
margin-left: var(--sp)
}
[dir="rtl"] .site-footer .menu ul {
margin-right: var(--sp)
}
.site-footer .menu li {
margin-block-end: var(--sp0-5);
margin-bottom: var(--sp0-5);
}
.site-footer a {
color: inherit;
color: inherit
}
.site-footer a:hover {
-webkit-text-decoration: none;
text-decoration: none;
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .site-footer {
border-inline-start: solid var(--content-left) var(--color--black);
[dir="ltr"] body:not(.is-always-mobile-nav) .site-footer {
border-left: solid var(--content-left) var(--color--black)
}
[dir="rtl"] body:not(.is-always-mobile-nav) .site-footer {
border-right: solid var(--content-left) var(--color--black)
}
}

71
css/components/form-boolean.css

@ -10,6 +10,19 @@
* Checkbox and radio input elements.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
input[type="checkbox"],
input[type="radio"] {
display: inline-block;
@ -24,65 +37,64 @@ input[type="radio"] {
background-position: 50% 50%;
background-size: var(--sp1) var(--sp1);
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
input[type="checkbox"]:focus, input[type="radio"]:focus {
border: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50)
}
@supports (outline-style: double) {
input[type="checkbox"]:focus,
input[type="radio"]:focus {
input[type="checkbox"]:focus, input[type="radio"]:focus {
border-width: 1px;
outline-width: 6px;
outline-style: double;
outline-offset: -1px;
outline-offset: -1px
}
}
input[type="checkbox"]:hover,
input[type="radio"]:hover {
input[type="checkbox"]:hover, input[type="radio"]:hover {
border-color: var(--color--primary-60);
}
input[type="checkbox"][disabled],
input[type="radio"][disabled] {
background-color: var(--color--gray-100);
input[type="checkbox"][disabled], input[type="radio"][disabled] {
background-color: var(--color--gray-100)
}
input[type="checkbox"][disabled]:hover,
input[type="radio"][disabled]:hover {
input[type="checkbox"][disabled]:hover, input[type="radio"][disabled]:hover {
border-color: var(--color--gray-60);
}
input[type="checkbox"][disabled]:checked,
input[type="radio"][disabled]:checked {
input[type="checkbox"][disabled]:checked, input[type="radio"][disabled]:checked {
border-width: 1px;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
input[type="checkbox"]:checked, input[type="radio"]:checked {
border-width: 2px;
}
input.error[type="checkbox"],
input.error[type="radio"] {
border: solid 2px var(--color--red);
input[type="checkbox"].error, input[type="radio"].error {
border: solid 2px var(--color--red)
}
input.error[type="checkbox"]:focus,
input.error[type="radio"]:focus {
input[type="checkbox"].error:focus, input[type="radio"].error:focus {
outline-color: var(--color--red);
outline-offset: -2px;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
[dir="ltr"] input[type="checkbox"] + label,[dir="ltr"] input[type="radio"] + label {
padding-left: var(--sp0-5)
}
[dir="rtl"] input[type="checkbox"] + label,[dir="rtl"] input[type="radio"] + label {
padding-right: var(--sp0-5)
}
input[type="checkbox"] + label, input[type="radio"] + label {
display: inline-block;
padding-inline-start: var(--sp0-5);
}
input[type="checkbox"]:checked {
@ -90,7 +102,7 @@ input[type="checkbox"]:checked {
}
input[type="radio"] {
border-radius: 50%;
border-radius: 50%
}
input[type="radio"]:checked {
@ -105,11 +117,12 @@ input[type="radio"]:focus {
box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color--primary-50);
}
input.error[type="radio"]:focus {
input[type="radio"].error:focus {
outline-color: transparent;
box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color--red);
}
.form-type-boolean {
margin-block: var(--sp1);
margin-top: var(--sp1);
margin-bottom: var(--sp1);
}

70
css/components/form-select.css

@ -10,40 +10,66 @@
* Select input elements.
*/
:root {
--form-element-select-icon: url("data:image/svg+xml,%3csvg width='18' height='11' viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 1.49699C18 1.35271 17.9279 1.19038 17.8196 1.08216L16.9178 0.18036C16.8096 0.0721439 16.6473 0 16.503 0C16.3587 0 16.1964 0.0721439 16.0882 0.18036L9 7.26854L1.91182 0.18036C1.80361 0.0721439 1.64128 0 1.49699 0C1.33467 0 1.19038 0.0721439 1.08216 0.18036L0.180361 1.08216C0.0721442 1.19038 0 1.35271 0 1.49699C0 1.64128 0.0721442 1.80361 0.180361 1.91182L8.58517 10.3166C8.69339 10.4248 8.85571 10.497 9 10.497C9.14429 10.497 9.30661 10.4248 9.41483 10.3166L17.8196 1.91182C17.9279 1.80361 18 1.64128 18 1.49699Z' fill='%235D7585'/%3e%3c/svg%3e");
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] select {
padding-left: var(--sp)
}
[dir="rtl"] select {
padding-right: var(--sp)
}
[dir="ltr"] select {
padding-right: var(--sp3)
}
[dir="rtl"] select {
padding-left: var(--sp3)
}
select {
max-width: 100%;
height: var(--sp3);
padding-block: 0;
padding-inline-start: var(--sp);
padding-inline-end: var(--sp3);
padding-top: 0;
padding-bottom: 0;
color: var(--color-text-neutral-loud);
border: 1px solid var(--color--gray-60);
border-radius: var(--border-radius);
background-color: var(--color--white);
background-image: var(--form-element-select-icon);
background-image: url("data:image/svg+xml,%3csvg width='18' height='11' viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 1.49699C18 1.35271 17.9279 1.19038 17.8196 1.08216L16.9178 0.18036C16.8096 0.0721439 16.6473 0 16.503 0C16.3587 0 16.1964 0.0721439 16.0882 0.18036L9 7.26854L1.91182 0.18036C1.80361 0.0721439 1.64128 0 1.49699 0C1.33467 0 1.19038 0.0721439 1.08216 0.18036L0.180361 1.08216C0.0721442 1.19038 0 1.35271 0 1.49699C0 1.64128 0.0721442 1.80361 0.180361 1.91182L8.58517 10.3166C8.69339 10.4248 8.85571 10.497 9 10.497C9.14429 10.497 9.30661 10.4248 9.41483 10.3166L17.8196 1.91182C17.9279 1.80361 18 1.64128 18 1.49699Z' fill='%235D7585'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right var(--sp) center; /* LTR */
font-family: inherit;
font-size: inherit;
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
select:focus {
border: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50)
}
@supports (outline-style: double) {
select:focus {
border-width: 1px;
outline-width: 6px;
outline-style: double;
outline-offset: -1px;
outline-offset: -1px
}
}
@ -53,7 +79,7 @@ select[disabled] {
}
select.error {
border: solid 2px var(--color--red);
border: solid 2px var(--color--red)
}
select.error:focus {
@ -64,7 +90,7 @@ select[multiple] {
height: auto;
padding: var(--sp0-5);
background-image: none;
line-height: 1; /* Needed by non-Chromium based MS Edge browsers. */
line-height: 1 /* Needed by non-Chromium based MS Edge browsers. */
}
select[multiple] option {
@ -75,21 +101,35 @@ select.form-element--small {
height: var(--sp2-5);
}
select {
/* Necessary to show chevron in forced colors mode in modern browsers. */
}
@media (forced-colors: active) {
[dir="ltr"] select {
padding-right: var(--sp)
}
[dir="rtl"] select {
padding-left: var(--sp)
}
select {
padding-inline-end: var(--sp);
background-image: none;
-webkit-appearance: listbox;
appearance: listbox; /* Default <select> appearance value for modern browsers. */
-moz-appearance: listbox;
appearance: listbox /* Default <select> appearance value for modern browsers. */
/* Lets browser set <select> appearance to whatever the browser's default is. */
}
@supports ((-webkit-appearance: revert) or (appearance: revert)) {
@supports ((-webkit-appearance: revert) or (-moz-appearance: revert) or (appearance: revert)) {
select {
-webkit-appearance: revert;
appearance: revert;
-moz-appearance: revert;
appearance: revert
}
}
}

66
css/components/form-text.css

@ -10,6 +10,19 @@
* Text input elements.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[type="color"],
[type="date"],
[type="datetime-local"],
@ -36,46 +49,49 @@ textarea {
font-family: inherit;
font-size: inherit;
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus {
[type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="email"]:focus, [type="file"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, textarea:focus {
border: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50);
outline: solid 2px var(--color--primary-50)
}
@supports (outline-style: double) {
:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus {
[type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="email"]:focus, [type="file"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, textarea:focus {
border-width: 1px;
outline-width: 6px;
outline-style: double;
outline-offset: -1px;
outline-offset: -1px
}
}
[disabled]:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) {
[type="color"][disabled], [type="date"][disabled], [type="datetime-local"][disabled], [type="email"][disabled], [type="file"][disabled], [type="month"][disabled], [type="number"][disabled], [type="password"][disabled], [type="search"][disabled], [type="tel"][disabled], [type="text"][disabled], [type="time"][disabled], [type="url"][disabled], [type="week"][disabled], textarea[disabled] {
color: var(--color--gray-60);
background-color: var(--color--gray-100);
}
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) {
border: solid 2px var(--color--red);
[type="color"].error, [type="date"].error, [type="datetime-local"].error, [type="email"].error, [type="file"].error, [type="month"].error, [type="number"].error, [type="password"].error, [type="search"].error, [type="tel"].error, [type="text"].error, [type="time"].error, [type="url"].error, [type="week"].error, textarea.error {
border: solid 2px var(--color--red)
}
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus {
[type="color"].error:focus, [type="date"].error:focus, [type="datetime-local"].error:focus, [type="email"].error:focus, [type="file"].error:focus, [type="month"].error:focus, [type="number"].error:focus, [type="password"].error:focus, [type="search"].error:focus, [type="tel"].error:focus, [type="text"].error:focus, [type="time"].error:focus, [type="url"].error:focus, [type="week"].error:focus, textarea.error:focus {
outline-color: var(--color--red);
outline-offset: -2px;
}
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) + .ck-editor > .ck-editor__main {
[type="color"].error + .ck-editor > .ck-editor__main, [type="date"].error + .ck-editor > .ck-editor__main, [type="datetime-local"].error + .ck-editor > .ck-editor__main, [type="email"].error + .ck-editor > .ck-editor__main, [type="file"].error + .ck-editor > .ck-editor__main, [type="month"].error + .ck-editor > .ck-editor__main, [type="number"].error + .ck-editor > .ck-editor__main, [type="password"].error + .ck-editor > .ck-editor__main, [type="search"].error + .ck-editor > .ck-editor__main, [type="tel"].error + .ck-editor > .ck-editor__main, [type="text"].error + .ck-editor > .ck-editor__main, [type="time"].error + .ck-editor > .ck-editor__main, [type="url"].error + .ck-editor > .ck-editor__main, [type="week"].error + .ck-editor > .ck-editor__main, textarea.error + .ck-editor > .ck-editor__main {
border: solid 2px var(--color--red);
}
.form-element--small:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) {
[type="color"].form-element--small, [type="date"].form-element--small, [type="datetime-local"].form-element--small, [type="email"].form-element--small, [type="file"].form-element--small, [type="month"].form-element--small, [type="number"].form-element--small, [type="password"].form-element--small, [type="search"].form-element--small, [type="tel"].form-element--small, [type="text"].form-element--small, [type="time"].form-element--small, [type="url"].form-element--small, [type="week"].form-element--small, textarea.form-element--small {
min-height: var(--sp2-5);
}
@media (min-width: 31.25rem) {
[type="color"],
[type="date"],
[type="datetime-local"],
@ -91,21 +107,39 @@ textarea {
[type="url"],
[type="week"],
textarea {
width: auto;
width: auto
}
}
[type="date"] {
/* Ensure that date field isn't larger than other fields. */
}
[dir="ltr"] [type="date"]::-webkit-datetime-edit-fields-wrapper {
padding-left: 0
}
[dir="rtl"] [type="date"]::-webkit-datetime-edit-fields-wrapper {
padding-right: 0
}
[dir="ltr"] [type="date"]::-webkit-datetime-edit-fields-wrapper {
padding-right: 0
}
[dir="rtl"] [type="date"]::-webkit-datetime-edit-fields-wrapper {
padding-left: 0
}
[type="date"]::-webkit-datetime-edit-fields-wrapper {
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
}
[type="file"] {
height: auto;
padding-block: var(--sp0-75);
padding-top: var(--sp0-75);
padding-bottom: var(--sp0-75);
}
[type="color"] {

13
css/components/form-textarea.css

@ -10,6 +10,19 @@
* Textarea.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
textarea {
display: block;
width: 100%;

89
css/components/form.css

@ -10,6 +10,23 @@
* Main form and form item styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
:-ms-input-placeholder {
color: var(--color--gray-60);
}
::placeholder {
color: var(--color--gray-60);
}
@ -19,11 +36,13 @@
*/
.form-item {
margin-block: var(--sp1);
margin-top: var(--sp1);
margin-bottom: var(--sp1);
}
.form-item__label--multiple-value-form {
margin-block: 0;
margin-top: 0;
margin-bottom: 0;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
@ -37,7 +56,8 @@
tr .form-item,
.container-inline .form-item {
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
}
/**
@ -46,15 +66,21 @@ tr .form-item,
.form-item__label {
display: block;
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
}
.container-inline .form-item__label {
margin-inline-end: 1em;
[dir="ltr"] .container-inline .form-item__label {
margin-right: 1em;
}
[dir="rtl"] .container-inline .form-item__label {
margin-left: 1em;
}
.form-item__label--multiple-value-form {
margin-block: 0;
margin-top: 0;
margin-bottom: 0;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
@ -84,20 +110,22 @@ tr .form-item,
display: inline-block;
width: 0.5rem;
height: 0.5rem;
margin-inline: 0.3em;
margin-left: 0.3em;
margin-right: 0.3em;
content: "";
vertical-align: text-top;
/* Use a background image to prevent screen readers from announcing the text. */
background-image: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 7.562 1.114-3.438c2.565.906 4.43 1.688 5.59 2.35-.306-2.921-.467-4.93-.484-6.027h3.511c-.05 1.597-.234 3.6-.558 6.003 1.664-.838 3.566-1.613 5.714-2.325l1.113 3.437c-2.05.678-4.06 1.131-6.028 1.356.984.856 2.372 2.381 4.166 4.575l-2.906 2.059c-.935-1.274-2.041-3.009-3.316-5.206-1.194 2.275-2.244 4.013-3.147 5.206l-2.856-2.059c1.872-2.307 3.211-3.832 4.017-4.575-2.081-.402-4.058-.856-5.93-1.356' fill='%232494DB'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-size: 0.5rem 0.5rem;
background-size: 0.5rem 0.5rem
}
@media screen and (-ms-high-contrast: active) {
.form-item__label.form-required::after,
.fieldset__label.form-required::after,
.required-mark::after {
background-image: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 7.562 1.114-3.438c2.565.906 4.43 1.688 5.59 2.35-.306-2.921-.467-4.93-.484-6.027h3.511c-.05 1.597-.234 3.6-.558 6.003 1.664-.838 3.566-1.613 5.714-2.325l1.113 3.437c-2.05.678-4.06 1.131-6.028 1.356.984.856 2.372 2.381 4.166 4.575l-2.906 2.059c-.935-1.274-2.041-3.009-3.316-5.206-1.194 2.275-2.244 4.013-3.147 5.206l-2.856-2.059c1.872-2.307 3.211-3.832 4.017-4.575-2.081-.402-4.058-.856-5.93-1.356' fill='%23ffffff'/%3E%3C/svg%3E%0A");
background-image: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 7.562 1.114-3.438c2.565.906 4.43 1.688 5.59 2.35-.306-2.921-.467-4.93-.484-6.027h3.511c-.05 1.597-.234 3.6-.558 6.003 1.664-.838 3.566-1.613 5.714-2.325l1.113 3.437c-2.05.678-4.06 1.131-6.028 1.356.984.856 2.372 2.381 4.166 4.575l-2.906 2.059c-.935-1.274-2.041-3.009-3.316-5.206-1.194 2.275-2.244 4.013-3.147 5.206l-2.856-2.059c1.872-2.307 3.211-3.832 4.017-4.575-2.081-.402-4.058-.856-5.93-1.356' fill='%23ffffff'/%3E%3C/svg%3E%0A")
}
}
@ -106,35 +134,45 @@ tr .form-item,
*/
.form-item__description {
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
max-width: 60ch;
font-size: var(--font-size-s);
line-height: var(--line-height-s);
}
.field-multiple-table + .form-item__description {
margin-block-start: 0;
margin-top: 0;
}
/**
* Error message (Inline form errors).
*/
[dir="ltr"] .form-item--error-message {
padding-left: var(--sp1-5);
}
[dir="rtl"] .form-item--error-message {
padding-right: var(--sp1-5);
}
.form-item--error-message {
margin-block: var(--sp0-5);
padding-inline-start: var(--sp1-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
color: var(--color--red);
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E33F1E' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: left top; /* LTR */
background-size: var(--sp1) var(--sp1);
font-size: var(--font-size-s);
line-height: var(--line-height-s);
line-height: var(--line-height-s)
}
@media screen and (-ms-high-contrast: active) {
.form-item--error-message {
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E");
background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M9 0C4.03125 0 0 4.03125 0 9C0 13.9688 4.03125 18 9 18C13.9687 18 18 13.9688 18 9C18 4.03125 13.9687 0 9 0ZM10.5 14.6133C10.5 14.8242 10.3359 15 10.1367 15H7.88672C7.67578 15 7.5 14.8242 7.5 14.6133V12.3867C7.5 12.1758 7.67578 12 7.88672 12H10.1367C10.3359 12 10.5 12.1758 10.5 12.3867V14.6133ZM10.4766 10.582C10.4648 10.7461 10.2891 10.875 10.0781 10.875H7.91016C7.6875 10.875 7.51172 10.7461 7.51172 10.582L7.3125 3.30469C7.3125 3.22266 7.34766 3.14063 7.42969 3.09375C7.5 3.03516 7.60547 3 7.71094 3H10.2891C10.3945 3 10.5 3.03516 10.5703 3.09375C10.6523 3.14063 10.6875 3.22266 10.6875 3.30469L10.4766 10.582Z'/%3E%3C/svg%3E")
}
}
@ -150,15 +188,18 @@ tr .form-item,
display: flex;
flex-wrap: wrap;
align-items: flex-start;
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
}
.form-actions .button,
.form-actions .action-link {
margin-block: var(--sp0-5);
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
}
.form-actions .ajax-progress--throbber {
-ms-grid-row-align: center;
align-self: center;
}
@ -180,10 +221,16 @@ tr .form-item,
min-width: 1px;
}
.form-item--editor-format .form-item__label,
.form-item--editor-format .form-item__prefix,
[dir="ltr"] .form-item--editor-format .form-item__label,[dir="ltr"]
.form-item--editor-format .form-item__prefix,[dir="ltr"]
.form-item--editor-format .form-item__suffix {
margin-right: var(--sp0-5);
}
[dir="rtl"] .form-item--editor-format .form-item__label,[dir="rtl"]
.form-item--editor-format .form-item__prefix,[dir="rtl"]
.form-item--editor-format .form-item__suffix {
margin-inline-end: var(--sp0-5);
margin-left: var(--sp0-5);
}
.form-item--editor-format .form-item__description,

13
css/components/forum.css

@ -10,6 +10,19 @@
* Forum specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.forum table {
width: 100%;
}

33
css/components/header-buttons-mobile.css

@ -10,26 +10,49 @@
* Header Mobile Buttons.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .mobile-buttons {
margin-left: auto
}
[dir="rtl"] .mobile-buttons {
margin-right: auto
}
.mobile-buttons {
margin-block-start: var(--sp0-5);
margin-inline-start: auto;
margin-top: var(--sp0-5)
}
@media (min-width: 31.25rem) {
.mobile-buttons {
margin-block-start: var(--sp2);
margin-top: var(--sp2)
}
}
@media (min-width: 43.75rem) {
.mobile-buttons {
margin-block-start: var(--sp4);
margin-top: var(--sp4)
}
}
@media (min-width: 75rem) {
.mobile-buttons {
margin-block-start: var(--sp6);
margin-top: var(--sp6)
}
}

155
css/components/header-navigation.css

@ -10,11 +10,47 @@
* Navigation in header.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .header-nav {
left: 100%
}
[dir="rtl"] .header-nav {
right: 100%
}
[dir="ltr"] .header-nav {
padding-left: var(--sp)
}
[dir="rtl"] .header-nav {
padding-right: var(--sp)
}
[dir="ltr"] .header-nav {
padding-right: var(--sp)
}
[dir="rtl"] .header-nav {
padding-left: var(--sp)
}
.header-nav {
position: fixed;
z-index: 501; /* Appear above overlay and contextual links in header. */
inset-block-start: 0;
inset-inline-start: 100%;
top: 0;
visibility: hidden;
overflow: auto;
/* Ensure that header nav not use additional space and force system branding
@ -23,54 +59,69 @@
width: 100%;
max-width: var(--mobile-nav-width);
height: 100%;
padding-block: 0 var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
padding-top: 0;
padding-bottom: var(--sp);
/* Create room for the "close" button. We cannot use margin because the
* mobile navigation needs to slide beneath the button, but we also cannot
* use padding because that would enable the button to scroll out of the
* viewport on short screens. */
border-block-start: solid var(--color--white) calc(var(--sp3) + var(--drupal-displace-offset-top, 0px));
border-top: solid var(--color--white) calc(var(--sp3));
background-color: var(--color--white);
box-shadow: 0 0 72px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 72px rgba(0, 0, 0, 0.1)
}
.header-nav.is-active {
visibility: visible;
transform: translateX(calc(-100% - var(--drupal-displace-offset-right, 0px))); /* LTR */
transform: translateX(-100%) /* LTR */
}
[dir="rtl"] .header-nav.is-active {
transform: translateX(calc(100% + var(--drupal-displace-offset-left, 0px)));
transform: translateX(100%);
}
@media (min-width: 31.25rem) {
.header-nav {
border-top-width: calc(var(--sp5) + var(--drupal-displace-offset-top, 0px));
border-top-width: calc(var(--sp5))
}
}
@media (min-width: 43.75rem) {
[dir="ltr"] .header-nav {
padding-left: var(--sp3)
}
[dir="rtl"] .header-nav {
padding-right: var(--sp3)
}
.header-nav {
padding-block-end: var(--sp3);
padding-inline-start: var(--sp3);
border-top-width: calc(var(--sp7) + var(--drupal-displace-offset-top, 0px));
padding-bottom: var(--sp3);
border-top-width: calc(var(--sp7))
}
}
@media (min-width: 62.5rem) {
.header-nav {
grid-column: 5 / 14;
-ms-grid-column: 5;
-ms-grid-column-span: 9;
grid-column: 5 / 14
}
}
.header-nav {
/*
* Ensure top border has the same color as the background when in forced colors.
*/
}
@media (forced-colors: active) {
.header-nav {
border-top-color: canvas;
border-top-color: canvas
}
}
@ -84,62 +135,104 @@ html.js .header-nav {
}
@media (min-width: 75rem) {
[dir="ltr"] body:not(.is-always-mobile-nav) .header-nav {
padding-left: 0
}
[dir="rtl"] body:not(.is-always-mobile-nav) .header-nav {
padding-right: 0
}
[dir="ltr"] body:not(.is-always-mobile-nav) .header-nav {
padding-right: 0
}
[dir="rtl"] body:not(.is-always-mobile-nav) .header-nav {
padding-left: 0
}
body:not(.is-always-mobile-nav) .header-nav {
position: static;
display: flex;
visibility: visible;
overflow: visible;
-ms-grid-column: 5;
-ms-grid-column-span: 10;
grid-column: 5 / 15;
align-items: center;
justify-content: flex-end;
max-width: none;
height: var(--header-height-wide-when-fixed);
margin-block-start: auto;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: auto;
padding-top: 0;
padding-bottom: 0;
transition: transform 0.2s;
transform: none;
border-block-start: 0;
box-shadow: none;
border-top: 0;
box-shadow: none
}
}
@media (min-width: 75rem) {
[dir="ltr"] body.is-always-mobile-nav .header-nav {
padding-right: var(--sp)
}
[dir="rtl"] body.is-always-mobile-nav .header-nav {
padding-left: var(--sp)
}
body.is-always-mobile-nav .header-nav {
overflow: auto;
max-width: calc((7 * (var(--grid-col-width) + var(--grid-gap))));
padding-inline-end: var(--sp);
max-width: calc(var(--grid-col-width)*7 + var(--grid-gap)*7);
transition: transform 0.2s, visibility 0.2s;
border-top-width: calc(var(--drupal-displace-offset-top, 0px) + var(--sp11));
border-top-width: calc(var(--sp11))
}
}
@media (min-width: 90rem) {
[dir="ltr"] body.is-always-mobile-nav .header-nav {
padding-right: calc(100vw - var(--max-width) - var(--content-left) + var(--sp))
}
[dir="rtl"] body.is-always-mobile-nav .header-nav {
padding-left: calc(100vw - var(--max-width) - var(--content-left) + var(--sp))
}
body.is-always-mobile-nav .header-nav {
max-width: calc(100vw - (var(--max-width) + var(--content-left)) + ((7 * (var(--grid-col-width) + var(--grid-gap)))));
padding-inline-end: calc(100vw - (var(--max-width) + var(--content-left) - var(--sp)));
max-width: calc(100vw - var(--max-width) - var(--content-left) + var(--grid-col-width)*7 + var(--grid-gap)*7)
}
}
[dir="ltr"] .header-nav-overlay {
left: 0
}
[dir="rtl"] .header-nav-overlay {
right: 0
}
.header-nav-overlay {
position: fixed;
z-index: 101;
inset-block-start: 0;
inset-inline-start: 0;
top: 0;
display: none;
width: 100%;
height: 100vh;
opacity: 0.2;
background: var(--color--gray-5);
background: var(--color--gray-5)
}
@media (forced-colors: active) {
.header-nav-overlay {
background: canvastext;
background: canvastext
}
}
.is-overlay-active .header-nav-overlay {
display: block;
display: block
}

178
css/components/header-search-narrow.css

@ -10,10 +10,24 @@
* Header Search Narrow Block.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.block-search-narrow {
margin-inline: calc(-1 * var(--sp));
margin-block-end: var(--sp2);
background: var(--color--black);
margin-left: calc(var(--sp)*-1);
margin-right: calc(var(--sp)*-1);
margin-bottom: var(--sp2);
background: var(--color--black)
}
.block-search-narrow .search-block-form {
@ -29,12 +43,27 @@
margin: 0;
}
[dir="ltr"] .block-search-narrow input[type="search"] {
padding-left: var(--sp)
}
[dir="rtl"] .block-search-narrow input[type="search"] {
padding-right: var(--sp)
}
[dir="ltr"] .block-search-narrow input[type="search"] {
padding-right: var(--sp)
}
[dir="rtl"] .block-search-narrow input[type="search"] {
padding-left: var(--sp)
}
.block-search-narrow input[type="search"] {
width: calc(100% + var(--sp2));
height: calc(3 * var(--sp));
padding-block: 0;
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
height: calc(var(--sp)*3);
padding-top: 0;
padding-bottom: 0;
transition: background-size 0.4s;
color: var(--color--white);
border: solid 1px transparent;
@ -46,7 +75,7 @@
box-shadow: none;
font-family: var(--font-serif);
font-size: 1rem;
-webkit-appearance: none;
-webkit-appearance: none
}
.block-search-narrow input[type="search"]:focus {
@ -56,28 +85,74 @@
}
@media (min-width: 43.75rem) {
[dir="ltr"] .block-search-narrow input[type="search"] {
padding-left: var(--sp2)
}
[dir="rtl"] .block-search-narrow input[type="search"] {
padding-right: var(--sp2)
}
[dir="ltr"] .block-search-narrow input[type="search"] {
padding-right: var(--sp2)
}
[dir="rtl"] .block-search-narrow input[type="search"] {
padding-left: var(--sp2)
}
.block-search-narrow input[type="search"] {
height: calc(4 * var(--sp));
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
height: calc(var(--sp)*4)
}
}
[dir="ltr"] .block-search-narrow .search-form__submit {
margin-left: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit {
margin-right: 0
}
[dir="ltr"] .block-search-narrow .search-form__submit {
margin-right: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit {
margin-left: 0
}
[dir="ltr"] .block-search-narrow .search-form__submit {
padding-left: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit {
padding-right: 0
}
[dir="ltr"] .block-search-narrow .search-form__submit {
padding-right: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit {
padding-left: 0
}
.block-search-narrow .search-form__submit {
position: relative;
overflow: hidden;
-ms-grid-row-align: stretch;
align-self: stretch;
width: var(--sp3);
height: auto;
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
border-color: transparent;
background-color: transparent;
background-color: transparent
/*
When in Windows high contrast mode, FF will not output either background
@ -85,10 +160,17 @@
*/
}
[dir="ltr"] .block-search-narrow .search-form__submit .icon--search {
left: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit .icon--search {
right: 0
}
.block-search-narrow .search-form__submit .icon--search {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
top: 0;
display: block;
width: 100%; /* Width of the SVG background image. */
height: 100%;
@ -96,23 +178,31 @@
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='26' height='27.2' viewBox='0 0 26 27.2'%3e %3cpath fill='%23fff' d='M25.8,25.5l-5.3-5.3c2.1-2.1,3.4-5.1,3.4-8.3C23.9,5.3,18.5,0,11.9,0C5.3,0,0,5.3,0,11.9c0,6.6,5.3,11.9,11.9,11.9c2.6,0,5.1-0.9,7-2.3l5.4,5.4c0.4,0.4,1,0.4,1.4,0C26.1,26.6,26.1,25.9,25.8,25.5z M11.9,21.9c-5.5,0-9.9-4.4-9.9-9.9S6.4,2,11.9,2c5.5,0,9.9,4.4,9.9,9.9S17.4,21.9,11.9,21.9z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: center;
background-size: auto;
background-size: auto
}
[dir="ltr"] .block-search-narrow .search-form__submit .icon--search::after {
left: 0
}
[dir="rtl"] .block-search-narrow .search-form__submit .icon--search::after {
right: 0
}
.block-search-narrow .search-form__submit .icon--search::after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
bottom: 0;
width: 100%;
height: 0;
content: "";
transition: transform 0.2s;
transform: scaleX(0);
transform-origin: left; /* LTR */
border-block-start: solid 0.3125rem var(--color--primary-50);
border-top: solid 5px var(--color--primary-50);
}
@media (forced-colors: active) {
.block-search-narrow .search-form__submit .icon--search {
background: buttontext;
-webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='26' height='27.2' viewBox='0 0 26 27.2'%3e %3cpath fill='%23fff' d='M25.8,25.5l-5.3-5.3c2.1-2.1,3.4-5.1,3.4-8.3C23.9,5.3,18.5,0,11.9,0C5.3,0,0,5.3,0,11.9c0,6.6,5.3,11.9,11.9,11.9c2.6,0,5.1-0.9,7-2.3l5.4,5.4c0.4,0.4,1,0.4,1.4,0C26.1,26.6,26.1,25.9,25.8,25.5z M11.9,21.9c-5.5,0-9.9-4.4-9.9-9.9S6.4,2,11.9,2c5.5,0,9.9,4.4,9.9,9.9S17.4,21.9,11.9,21.9z'/%3e%3c/svg%3e");
@ -120,14 +210,14 @@
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
mask-position: center
}
}
.block-search-narrow .search-form__submit:focus {
outline: solid 4px transparent;
outline-offset: -4px;
box-shadow: none;
box-shadow: none
}
.block-search-narrow .search-form__submit:focus span::after {
@ -135,8 +225,9 @@
}
@media screen and (-ms-high-contrast: active) {
.block-search-narrow .search-form__submit:focus {
border-bottom-width: var(--sp0-5);
border-bottom-width: var(--sp0-5)
}
.block-search-narrow .search-form__submit:focus span::after {
@ -145,13 +236,17 @@
}
@media (min-width: 43.75rem) {
.block-search-narrow .search-form__submit {
width: 5rem;
width: 5rem
}
}
@media screen and (-ms-high-contrast: active) {
.block-search-narrow .search-form__submit {
/* IE11's high contrast show will not show the background image, so we show the text. */
}
.block-search-narrow .search-form__submit .visually-hidden {
position: static;
overflow: visible;
@ -161,24 +256,43 @@
text-align: center;
}
.block-search-narrow .search-form__submit {
/* Edge's high contrast does show the background image, so we hide it. */
}
.block-search-narrow .search-form__submit .icon--search {
display: none;
}
}
.block-search-narrow {
/* 500px is the width of the primary nav at mobile. */
}
@media (min-width: 31.25rem) {
.block-search-narrow {
margin-inline-start: 0;
margin-inline-end: 0;
[dir="ltr"] .block-search-narrow {
margin-left: 0
}
[dir="rtl"] .block-search-narrow {
margin-right: 0
}
[dir="ltr"] .block-search-narrow {
margin-right: 0
}
[dir="rtl"] .block-search-narrow {
margin-left: 0
}
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .block-search-narrow {
display: none;
display: none
}
}

226
css/components/header-search-wide.css

@ -10,17 +10,77 @@
* Header Search Wide Block.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
/* Override contextual links so we can position against .site-header. */
.block-search-wide.contextual-region {
position: static;
}
[dir="ltr"] .block-search-wide__wrapper {
left: calc(var(--content-left)*-1);
}
[dir="rtl"] .block-search-wide__wrapper {
right: calc(var(--content-left)*-1);
}
[dir="ltr"] .block-search-wide__wrapper {
margin-left: 0;
}
[dir="rtl"] .block-search-wide__wrapper {
margin-right: 0;
}
[dir="ltr"] .block-search-wide__wrapper {
margin-right: 0;
}
[dir="rtl"] .block-search-wide__wrapper {
margin-left: 0;
}
[dir="ltr"] .block-search-wide__wrapper {
padding-left: 0;
}
[dir="rtl"] .block-search-wide__wrapper {
padding-right: 0;
}
[dir="ltr"] .block-search-wide__wrapper {
padding-right: 0;
}
[dir="rtl"] .block-search-wide__wrapper {
padding-left: 0;
}
[dir="ltr"] .block-search-wide__wrapper {
border-left: solid var(--content-left) var(--color--gray-20);
}
[dir="rtl"] .block-search-wide__wrapper {
border-right: solid var(--content-left) var(--color--gray-20);
}
.block-search-wide__wrapper {
position: absolute;
z-index: 1; /* Ensure left border shows above social region in IE11. */
inset-block-start: 100%;
inset-inline-start: calc(-1 * var(--content-left));
top: 100%;
display: none;
visibility: hidden;
overflow: hidden;
@ -28,15 +88,12 @@
max-width: var(--max-bg-color);
height: var(--sp8);
max-height: 0;
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
transition: all 0.2s;
border-inline-start: solid var(--content-left) var(--color--gray-20);
background: var(--color--black);
background: var(--color--black)
}
.block-search-wide__wrapper.is-active {
@ -46,22 +103,39 @@
.block-search-wide__wrapper form {
display: flex;
-ms-grid-column: 1;
-ms-grid-column-span: 13;
grid-column: 1 / 14;
}
[dir="ltr"] .block-search-wide__wrapper input[type="search"] {
padding-left: var(--sp12);
}
[dir="rtl"] .block-search-wide__wrapper input[type="search"] {
padding-right: var(--sp12);
}
[dir="ltr"] .block-search-wide__wrapper input[type="search"] {
padding-right: 0;
}
[dir="rtl"] .block-search-wide__wrapper input[type="search"] {
padding-left: 0;
}
.block-search-wide__wrapper input[type="search"] {
width: calc(100% + var(--sp2));
height: var(--sp8);
padding-block: 0;
padding-inline-start: var(--sp12);
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
transition: background-size 0.4s;
color: var(--color--white);
border: solid 1px transparent;
box-shadow: none;
font-family: var(--font-serif);
font-size: 2rem;
-webkit-appearance: none;
-webkit-appearance: none
}
.block-search-wide__wrapper input[type="search"]:focus {
@ -79,21 +153,52 @@
margin: 0;
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit {
margin-left: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit {
margin-right: 0;
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit {
margin-right: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit {
margin-left: 0;
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit {
padding-left: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit {
padding-right: 0;
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit {
padding-right: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit {
padding-left: 0;
}
.block-search-wide__wrapper .search-form__submit {
position: relative;
overflow: hidden;
-ms-grid-row-align: stretch;
align-self: stretch;
width: 6.25rem;
height: auto;
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
border-color: transparent;
background-color: transparent;
background-color: transparent
/*
When in Windows high contrast mode, FF will not output either background
@ -101,10 +206,17 @@
*/
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit .icon--search {
right: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit .icon--search {
left: 0;
}
.block-search-wide__wrapper .search-form__submit .icon--search {
position: absolute;
inset-block-start: 0;
inset-inline-end: 0;
top: 0;
display: block;
width: 1.5rem; /* Width of the SVG background image. */
height: 100%;
@ -112,26 +224,33 @@
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='26' height='27.2' viewBox='0 0 26 27.2'%3e %3cpath fill='%23fff' d='M25.8,25.5l-5.3-5.3c2.1-2.1,3.4-5.1,3.4-8.3C23.9,5.3,18.5,0,11.9,0C5.3,0,0,5.3,0,11.9c0,6.6,5.3,11.9,11.9,11.9c2.6,0,5.1-0.9,7-2.3l5.4,5.4c0.4,0.4,1,0.4,1.4,0C26.1,26.6,26.1,25.9,25.8,25.5z M11.9,21.9c-5.5,0-9.9-4.4-9.9-9.9S6.4,2,11.9,2c5.5,0,9.9,4.4,9.9,9.9S17.4,21.9,11.9,21.9z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
background-size: contain
}
[dir="ltr"] .block-search-wide__wrapper .search-form__submit .icon--search::after {
left: 0;
}
[dir="rtl"] .block-search-wide__wrapper .search-form__submit .icon--search::after {
right: 0;
}
.block-search-wide__wrapper .search-form__submit .icon--search::after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
bottom: 0;
width: 100%;
height: 0;
content: "";
transition: transform 0.2s;
transform: scaleX(0);
transform-origin: left;
border-block-start: solid var(--sp0-5) var(--color--primary-50);
border-top: solid var(--sp0-5) var(--color--primary-50);
}
.block-search-wide__wrapper .search-form__submit:focus {
outline: solid 4px transparent;
outline-offset: -4px;
box-shadow: none;
box-shadow: none
}
.block-search-wide__wrapper .search-form__submit:focus span::after {
@ -139,8 +258,9 @@
}
@media screen and (-ms-high-contrast: active) {
.block-search-wide__wrapper .search-form__submit:focus {
border-bottom-width: var(--sp0-5);
border-bottom-width: var(--sp0-5)
}
.block-search-wide__wrapper .search-form__submit:focus span::after {
@ -149,19 +269,31 @@
}
@media screen and (-ms-high-contrast: active) {
.block-search-wide__wrapper .search-form__submit {
/* Edge's high contrast does show the background image, so we hide it. */
}
.block-search-wide__wrapper .search-form__submit .icon--search {
display: none;
}
}
[dir="ltr"] .block-search-wide__container {
padding-right: var(--sp2);
}
[dir="rtl"] .block-search-wide__container {
padding-left: var(--sp2);
}
.block-search-wide__container {
max-width: var(--max-width);
padding-inline-end: var(--sp2);
}
.block-search-wide__grid {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[var(--grid-col-count)];
grid-template-columns: repeat(var(--grid-col-count), 1fr);
grid-column-gap: var(--grid-gap);
}
@ -173,6 +305,7 @@
}
.container-inline .block-search-wide__grid {
display: -ms-grid;
display: grid;
}
@ -185,12 +318,12 @@
color: var(--color-text-neutral-loud); /* Affects SVG search icon. */
border: 0;
background: transparent;
-webkit-appearance: none;
-webkit-appearance: none
}
.block-search-wide__button:focus {
position: relative;
outline: 0;
outline: 0
}
.block-search-wide__button:focus::after {
@ -206,7 +339,7 @@
}
.block-search-wide__button[aria-expanded="true"] {
background: var(--color--black);
background: var(--color--black)
}
.block-search-wide__button[aria-expanded="true"]:focus::after {
@ -221,7 +354,7 @@
width: var(--sp1-5);
height: 0;
content: "";
border-block-start: solid 2px var(--color--white);
border-top: solid 2px var(--color--white);
}
.block-search-wide__button[aria-expanded="true"] .block-search-wide__button-close::before {
@ -236,14 +369,26 @@
display: none;
}
.block-search-wide__button svg {
margin-inline-start: auto;
margin-inline-end: auto;
[dir="ltr"] .block-search-wide__button svg {
margin-left: auto;
}
[dir="rtl"] .block-search-wide__button svg {
margin-right: auto;
}
[dir="ltr"] .block-search-wide__button svg {
margin-right: auto;
}
[dir="rtl"] .block-search-wide__button svg {
margin-left: auto;
}
@media (forced-colors: active) {
.block-search-wide__button {
background: ButtonFace;
background: ButtonFace
}
.block-search-wide__button path {
@ -265,7 +410,7 @@ html:not(.js) .search-block-form:focus-within .block-search-wide__wrapper {
background-image: linear-gradient(var(--color--primary-50), var(--color--primary-50)); /* Two values are needed for IE11 support. */
background-repeat: no-repeat;
background-position: bottom left; /* LTR */
background-size: 0% 0.625rem;
background-size: 0% 0.625rem
}
[dir] .block-search-wide__wrapper input[type="search"]:focus {
@ -281,8 +426,9 @@ html:not(.js) .search-block-form:focus-within .block-search-wide__wrapper {
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .block-search-wide__wrapper,
body:not(.is-always-mobile-nav) .block-search-wide__button {
display: block;
display: block
}
}

129
css/components/header-site-branding.css

@ -10,44 +10,93 @@
* Site branding in header.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .site-branding {
margin-left: calc(var(--container-padding)*-1);
margin-right: var(--sp)
}
[dir="rtl"] .site-branding {
margin-right: calc(var(--container-padding)*-1);
margin-left: var(--sp)
}
[dir="ltr"] .site-branding {
padding-left: var(--container-padding)
}
[dir="rtl"] .site-branding {
padding-right: var(--container-padding)
}
[dir="ltr"] .site-branding {
padding-right: var(--container-padding)
}
[dir="rtl"] .site-branding {
padding-left: var(--container-padding)
}
.site-branding {
display: flex;
flex-shrink: 1;
align-items: flex-end;
min-width: calc((2 * var(--grid-col-width)) + (2 * var(--grid-gap)) + var(--container-padding)); /* Span minimum of 2 column widths. */
min-height: var(--sp3);
margin-inline: calc(-1 * var(--container-padding)) var(--sp); /* Negative margin to break out of .container element. */
padding-block: 0 var(--sp0-5);
padding-inline-start: var(--container-padding);
padding-inline-end: var(--container-padding);
background-image: linear-gradient(160deg, var(--color--primary-50) 0%, var(--color--primary-40) 78.66%);
min-width: calc(var(--grid-col-width)*2 + var(--grid-gap)*2 + var(--container-padding)); /* Span minimum of 2 column widths. */
min-height: var(--sp3); /* Negative margin to break out of .container element. */
padding-top: 0;
padding-bottom: var(--sp0-5);
background-image: linear-gradient(160deg, var(--color--primary-50) 0%, var(--color--primary-40) 78.66%)
}
@media (min-width: 31.25rem) {
.site-branding {
min-height: var(--sp4);
min-height: var(--sp4)
}
}
@media (min-width: 43.75rem) {
.site-branding {
min-width: calc((4 * var(--grid-col-width)) + (4 * var(--grid-gap)) + var(--container-padding)); /* Span minimum of 4 column widths. */
min-width: calc(var(--grid-col-width)*4 + var(--grid-gap)*4 + var(--container-padding)); /* Span minimum of 4 column widths. */
min-height: var(--sp6);
padding-block-end: var(--sp);
padding-bottom: var(--sp)
}
}
@media (min-width: 62.5rem) {
.site-branding {
min-width: calc((2 * var(--grid-col-width)) + (2 * var(--grid-gap)) + var(--container-padding)); /* Span minimum of 2 column widths. */
min-width: calc(var(--grid-col-width)*2 + var(--grid-gap)*2 + var(--container-padding)) /* Span minimum of 2 column widths. */
}
}
@media (min-width: 75rem) {
[dir="ltr"] .site-branding {
margin-left: calc(var(--container-padding)*-1)
}
[dir="rtl"] .site-branding {
margin-right: calc(var(--container-padding)*-1)
}
.site-branding {
min-height: var(--site-header-height-wide);
margin-inline-start: calc(-1 * var(--container-padding));
padding-block: 0;
padding-top: 0;
padding-bottom: 0
}
}
@ -65,56 +114,74 @@
.site-branding__inner {
display: flex;
align-items: center;
align-items: center
}
.site-branding__inner a {
-webkit-text-decoration: none;
text-decoration: none;
}
@media (min-width: 75rem) {
[dir="ltr"] .site-branding__inner {
padding-left: 0
}
[dir="rtl"] .site-branding__inner {
padding-right: 0
}
[dir="ltr"] .site-branding__inner {
padding-right: 0
}
[dir="rtl"] .site-branding__inner {
padding-left: 0
}
.site-branding__inner {
height: var(--header-height-wide-when-fixed);
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
}
}
.site-branding__logo {
flex-shrink: 0;
max-width: 100%;
max-width: 100%
}
.site-branding__logo img {
width: auto;
max-width: 100%;
max-height: var(--sp2);
max-height: var(--sp2)
}
@media (min-width: 31.25rem) {
.site-branding__logo img {
max-height: var(--sp3);
max-height: var(--sp3)
}
}
@media (min-width: 43.75rem) {
.site-branding__logo img {
max-height: var(--sp4);
max-height: var(--sp4)
}
}
@media (min-width: 75rem) {
.site-branding__logo img {
max-height: calc(var(--header-height-wide-when-fixed) - var(--sp));
max-height: calc(var(--header-height-wide-when-fixed) - var(--sp))
}
}
.site-branding__text {
color: var(--color--white);
font-size: 1.125rem;
font-weight: bold;
font-weight: bold
}
.site-branding__text a {
@ -122,17 +189,19 @@
}
@media (min-width: 43.75rem) {
.site-branding__text {
font-size: 1.75rem;
line-height: 1.75rem;
line-height: 1.75rem
}
}
@media (min-width: 75rem) {
.site-branding__text {
letter-spacing: 0.02em;
font-size: 2rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
}
@ -141,6 +210,10 @@
color: var(--color--primary-50);
}
.site-branding__logo + .site-branding__text {
margin-inline-start: 0.75rem;
[dir="ltr"] .site-branding__logo + .site-branding__text {
margin-left: 0.75rem
}
[dir="rtl"] .site-branding__logo + .site-branding__text {
margin-right: 0.75rem
}

28
css/components/header-sticky-toggle.css

@ -13,11 +13,25 @@
* toggles fixing the header to the top of the viewport.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.sticky-header-toggle {
display: none;
display: none
}
@media (min-width: 75rem) {
.sticky-header-toggle {
display: flex;
flex-shrink: 0;
@ -29,7 +43,7 @@
opacity: 0;
border: 0;
outline: 0;
background-color: var(--color--primary-50);
background-color: var(--color--primary-50)
}
.sticky-header-toggle:focus {
@ -42,14 +56,16 @@
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .is-fixed .sticky-header-toggle {
visibility: visible;
visibility: visible
}
}
@media (min-width: 75rem) {
body.is-always-mobile-nav .sticky-header-toggle {
visibility: hidden;
visibility: hidden
}
}
@ -61,11 +77,11 @@
flex-direction: column;
justify-content: space-between;
width: var(--sp2);
height: calc((var(--icon-bar-height) * 3) + (var(--icon-bar-space) * 2));
height: calc(var(--icon-bar-height)*3 + var(--icon-bar-space)*2);
/* Height = 3 bars + 2 spaces */
transition: opacity 0.2s;
pointer-events: none;
transform-style: preserve-3d;
transform-style: preserve-3d
}
.sticky-header-toggle__icon > span {

53
css/components/hero.css

@ -10,27 +10,49 @@
* Main Hero.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.hero__content {
grid-column: 1 / 7;
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7
}
@media (min-width: 43.75rem) {
.hero__content {
/* 700px */
grid-column: 3 / 13;
.hero__content { /* 700px */
-ms-grid-column: 3;
-ms-grid-column-span: 10;
grid-column: 3 / 13
}
}
@media (min-width: 62.5rem) {
.hero__content {
grid-column: 3 / 11;
-ms-grid-column: 3;
-ms-grid-column-span: 8;
grid-column: 3 / 11
}
}
.hero__img {
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7;
margin-block-start: var(--sp2);
margin-block-end: var(--sp2);
margin-top: var(--sp2);
margin-bottom: var(--sp2)
}
.hero__img img {
@ -38,22 +60,29 @@
}
@media (min-width: 31.25rem) {
.hero__img {
margin-block-start: var(--sp3);
margin-block-end: var(--sp3);
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
}
@media (min-width: 43.75rem) {
.hero__img {
-ms-grid-column: 1;
-ms-grid-column-span: 14;
grid-column: 1 / 15;
margin-block-start: var(--sp4);
margin-block-end: var(--sp4);
margin-top: var(--sp4);
margin-bottom: var(--sp4)
}
}
@media (min-width: 62.5rem) {
.hero__img {
grid-column: 2 / 14;
-ms-grid-column: 2;
-ms-grid-column-span: 12;
grid-column: 2 / 14
}
}

64
css/components/links.css

@ -10,24 +10,68 @@
* Links component.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .links.inline {
margin-left: 0
}
[dir="rtl"] .links.inline {
margin-right: 0
}
[dir="ltr"] .links.inline {
padding-left: 0
}
[dir="rtl"] .links.inline {
padding-right: 0
}
[dir="ltr"] .links.inline {
padding-right: 0
}
[dir="rtl"] .links.inline {
padding-left: 0
}
.links.inline {
margin-inline-start: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
list-style: none;
padding-top: 0;
padding-bottom: 0;
list-style: none
}
.links.inline > * {
display: inline;
display: inline
}
[dir="ltr"] .links.inline > *:not(:last-child) {
padding-right: 1em
}
.links.inline > *:not(:last-child) {
padding-inline-end: 1em;
[dir="rtl"] .links.inline > *:not(:last-child) {
padding-left: 1em
}
@media (min-width: 43.75rem) {
.node--type-book .links.inline {
text-align: end;
[dir="ltr"] .node--type-book .links.inline {
text-align: right
}
[dir="rtl"] .node--type-book .links.inline {
text-align: left
}
}

19
css/components/maintenance-page.css

@ -10,10 +10,24 @@
* Maintenance page.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@media (min-width: 75rem) {
.maintenance-page .site-header__initial {
flex-shrink: 0;
width: var(--content-left);
width: var(--content-left)
}
}
@ -23,7 +37,8 @@
.maintenance-page-icon {
display: block;
margin-block: var(--sp3);
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
.maintenance-page-icon path {

178
css/components/messages.css

@ -10,94 +10,201 @@
* Messages.
*/
:root {
--messages-icon-size: 2rem;
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .messages-list {
padding-left: 0;
}
[dir="rtl"] .messages-list {
padding-right: 0;
}
[dir="ltr"] .messages-list {
padding-right: 0;
}
[dir="rtl"] .messages-list {
padding-left: 0;
}
.messages-list {
margin-block: var(--sp1);
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: var(--sp1);
margin-bottom: var(--sp1);
padding-top: 0;
padding-bottom: 0;
list-style: none;
}
[dir="ltr"] .messages {
padding-left: var(--sp1-5);
}
[dir="rtl"] .messages {
padding-right: var(--sp1-5);
}
[dir="ltr"] .messages {
padding-right: var(--sp1-5);
}
[dir="rtl"] .messages {
padding-left: var(--sp1-5);
}
.messages {
min-height: calc(var(--messages-icon-size) + 2 * var(--sp1));
padding-block: var(--sp1);
padding-inline-start: var(--sp1-5);
padding-inline-end: var(--sp1-5);
min-height: calc(2rem + var(--sp1)*2);
padding-top: var(--sp1);
padding-bottom: var(--sp1);
color: var(--color--white);
outline: solid 1px transparent;
background-color: var(--color--gray-5);
background-color: var(--color--gray-5)
}
.messages * {
color: inherit;
}
.messages {
/* Additional specificity to override contrib modules. */
}
.messages.messages-list__item {
background-image: none;
}
[dir="ltr"] .messages__list {
margin-left: 0;
}
[dir="rtl"] .messages__list {
margin-right: 0;
}
[dir="ltr"] .messages__list {
margin-right: 0;
}
[dir="rtl"] .messages__list {
margin-left: 0;
}
[dir="ltr"] .messages__list {
padding-left: 0;
}
[dir="rtl"] .messages__list {
padding-right: 0;
}
[dir="ltr"] .messages__list {
padding-right: 0;
}
[dir="rtl"] .messages__list {
padding-left: 0;
}
.messages__list {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
list-style: none;
}
.messages:not(.hidden) ~ .messages {
margin-block-start: var(--sp1);
margin-top: var(--sp1);
}
.messages__item + .messages__item {
margin-block-start: var(--sp0-5);
margin-top: var(--sp0-5);
}
.messages__container {
display: flex;
}
[dir="ltr"] .messages__header {
margin-right: var(--sp1);
}
[dir="rtl"] .messages__header {
margin-left: var(--sp1);
}
.messages__header {
flex-shrink: 0;
margin-inline-end: var(--sp1);
flex-shrink: 0
}
[dir="ltr"] .messages__header.no-icon {
margin-right: 0;
}
.messages__header.no-icon {
margin-inline-end: 0;
[dir="rtl"] .messages__header.no-icon {
margin-left: 0;
}
.messages__content {
overflow: auto; /* Ensure large code blocks can be scrolled to. */
flex: 1;
padding-block-start: 0.1875rem;
padding-top: 0.1875rem;
}
[dir="ltr"] .messages__button {
margin-left: var(--sp1);
}
[dir="rtl"] .messages__button {
margin-right: var(--sp1);
}
.messages__button {
flex-shrink: 0;
margin-inline-start: var(--sp1);
padding-block-start: 0.1875rem;
padding-top: 0.1875rem;
}
[dir="ltr"] .messages__close {
padding-left: 0;
}
[dir="rtl"] .messages__close {
padding-right: 0;
}
[dir="ltr"] .messages__close {
padding-right: 0;
}
[dir="rtl"] .messages__close {
padding-left: 0;
}
.messages__close {
position: relative;
width: 1.5625rem;
height: 1.5625rem;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
vertical-align: top;
border: 0;
background: none;
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
.messages__close::before,
@ -158,7 +265,14 @@
margin: 0;
}
[dir="ltr"] .js-form-managed-file .messages {
border-left: solid 6px var(--color--red);
}
[dir="rtl"] .js-form-managed-file .messages {
border-right: solid 6px var(--color--red);
}
.js-form-managed-file .messages {
margin-block-end: var(--sp1);
border-inline-start: solid 0.375rem var(--color--red);
margin-bottom: var(--sp1);
}

59
css/components/navigation/menu-sidebar.css

@ -10,8 +10,21 @@
* Styles for menu placed in sidebar region.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.menu--sidebar {
list-style: none;
list-style: none
}
.menu--sidebar .menu {
@ -22,41 +35,65 @@
margin: 0;
}
[dir="ltr"] .menu--sidebar .menu__link {
padding-left: 0
}
[dir="rtl"] .menu--sidebar .menu__link {
padding-right: 0
}
[dir="ltr"] .menu--sidebar .menu__link {
padding-right: 0
}
[dir="rtl"] .menu--sidebar .menu__link {
padding-left: 0
}
.menu--sidebar .menu__link {
position: relative;
display: block;
padding-block: var(--sp0-75);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp0-75);
padding-bottom: var(--sp0-75);
font-family: var(--font-serif);
font-size: 1.125rem;
font-size: 1.125rem
/* Bottom divider line. */
}
[dir="ltr"] .menu--sidebar .menu__link::after {
left: 0
}
[dir="rtl"] .menu--sidebar .menu__link::after {
right: 0
}
.menu--sidebar .menu__link::after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
bottom: 0;
width: var(--sp4);
height: 0;
content: "";
border-block-start: solid 2px var(--color--gray-95);
border-top: solid 2px var(--color--gray-95);
}
.menu--sidebar .menu__link--link {
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-loud);
font-weight: 600;
font-weight: 600
}
.menu--sidebar .menu__link--link:hover {
color: var(--color--primary-50);
}
.menu--sidebar {
/* No bottom divider line for last menu item. */
}
:is(.menu--sidebar .menu__item--level-1:last-child > .menu__link:last-child, .menu--sidebar .menu__item--level-1:last-child > .menu__item--level-2:last-child > .menu__link:last-child)::after {
.menu--sidebar .menu__item--level-1:last-child > .menu__link:last-child::after, .menu--sidebar .menu__item--level-1:last-child > .menu__item--level-2:last-child > .menu__link:last-child::after {
content: none;
}

99
css/components/navigation/nav-button-mobile.css

@ -10,24 +10,68 @@
* Nav Button Mobile.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .mobile-nav-button {
margin-left: auto
}
[dir="rtl"] .mobile-nav-button {
margin-right: auto
}
[dir="ltr"] .mobile-nav-button {
margin-right: -0.375rem
}
[dir="rtl"] .mobile-nav-button {
margin-left: -0.375rem
}
[dir="ltr"] .mobile-nav-button {
padding-left: 0.375rem
}
[dir="rtl"] .mobile-nav-button {
padding-right: 0.375rem
}
[dir="ltr"] .mobile-nav-button {
padding-right: 0.375rem
}
[dir="rtl"] .mobile-nav-button {
padding-left: 0.375rem
}
.mobile-nav-button {
position: relative;
z-index: 505; /* Appear above mobile nav. */
display: flex;
align-items: center;
-ms-grid-row-align: center;
align-self: center;
width: var(--sp2);
height: var(--sp2);
margin-inline-start: auto;
margin-inline-end: -0.375rem;
padding-block: 0;
padding-inline-start: 0.375rem;
padding-inline-end: 0.375rem;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
border: none;
background: transparent;
-webkit-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none
}
.mobile-nav-button:focus {
@ -39,10 +83,18 @@
}
@media (min-width: 31.25rem) {
[dir="ltr"] .mobile-nav-button {
padding-left: var(--sp)
}
[dir="rtl"] .mobile-nav-button {
padding-right: var(--sp)
}
.mobile-nav-button {
display: inline-flex;
width: auto;
padding-inline-start: var(--sp);
width: auto
}
}
@ -55,20 +107,28 @@
clip: rect(1px, 1px, 1px, 1px);
width: 1px;
height: 1px;
word-wrap: normal;
word-wrap: normal
}
@media (min-width: 31.25rem) {
[dir="ltr"] .mobile-nav-button__label {
margin-right: 0.75rem
}
[dir="rtl"] .mobile-nav-button__label {
margin-left: 0.75rem
}
.mobile-nav-button__label {
position: static;
overflow: visible;
clip: auto;
width: auto;
height: auto;
margin-inline-end: 0.75rem;
letter-spacing: 0.05em;
font-size: 0.875rem;
font-weight: 600;
font-weight: 600
}
}
@ -77,14 +137,23 @@
display: block;
width: var(--sp2);
height: 0;
border-top: solid 3px var(--color--primary-50);
border-top: solid 3px var(--color--primary-50)
}
[dir="ltr"] .mobile-nav-button__icon::before,[dir="ltr"]
.mobile-nav-button__icon::after {
left: 0
}
[dir="rtl"] .mobile-nav-button__icon::before,[dir="rtl"]
.mobile-nav-button__icon::after {
right: 0
}
.mobile-nav-button__icon::before,
.mobile-nav-button__icon::after {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
top: 0;
width: 100%;
height: 0;
content: "";
@ -101,7 +170,7 @@
}
.mobile-nav-button[aria-expanded="true"] .mobile-nav-button__icon {
border-top-color: transparent;
border-top-color: transparent
}
.mobile-nav-button[aria-expanded="true"] .mobile-nav-button__icon::before {

66
css/components/navigation/nav-primary-button.css

@ -10,20 +10,48 @@
* Button that expands second level nav when clicked.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .primary-nav__button-toggle {
padding-left: 0
}
[dir="rtl"] .primary-nav__button-toggle {
padding-right: 0
}
[dir="ltr"] .primary-nav__button-toggle {
padding-right: 0
}
[dir="rtl"] .primary-nav__button-toggle {
padding-left: 0
}
.primary-nav__button-toggle {
position: relative;
overflow: hidden;
width: var(--sp2);
height: var(--sp2);
margin-block-start: var(--sp0-5); /* Visually align button with menu link text. */
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: var(--sp0-5); /* Visually align button with menu link text. */
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
text-indent: -62.4375rem;
border: 0;
background: transparent;
-webkit-appearance: none;
-webkit-appearance: none
}
.primary-nav__button-toggle:focus {
@ -41,7 +69,7 @@
height: 1rem;
transition: background-color 0.2s;
transform: translate(-50%, -50%);
border-radius: 2px;
border-radius: 2px
}
.primary-nav__button-toggle .icon--menu-toggle::before,
@ -68,27 +96,36 @@
opacity: 0;
}
.primary-nav__button-toggle {
/* aria-hidden attribute is removed by JS. Button is non-functional
until JS is enabled.
*/
}
.primary-nav__button-toggle[aria-hidden="true"] {
pointer-events: none;
}
@media (min-width: 75rem) {
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
margin-right: calc(var(--sp2)*-1)
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
margin-left: calc(var(--sp2)*-1)
}
body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
flex-shrink: 0;
-ms-grid-row-align: stretch;
align-self: stretch;
width: calc(var(--sp2) + 0.5rem);
height: auto;
margin-block-start: 0;
margin-inline-end: calc(-1 * var(--sp2));
margin-top: 0
}
body:not(.is-always-mobile-nav) .primary-nav__button-toggle:focus {
border: 0;
outline: 0;
outline: 0
}
body:not(.is-always-mobile-nav) .primary-nav__button-toggle:focus .icon--menu-toggle {
@ -104,12 +141,19 @@
opacity: 0.8;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
left: 0.1875rem
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
right: 0.1875rem
}
body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
inset-inline-start: 0.1875rem;
width: 1.125rem;
transform: translateY(-50%);
border-radius: 0.25rem;
background-color: var(--color--white);
background-color: var(--color--white)
}
body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle::before {

136
css/components/navigation/nav-primary-no-js.css

@ -10,19 +10,29 @@
* Styles for primary navigation when JavaScript is disabled.
*/
:root {
--no-js-nav-column-width: 18.75rem;
--no-js-nav-column-gap: var(--sp2);
}
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
html:not(.js) {
/**
* Mobile styles for primary navigation when JS is disabled.
*/
}
@media (max-width: 75rem) {
html:not(.js) .primary-nav__menu--level-1 {
column-width: var(--no-js-nav-column-width);
column-gap: var(--no-js-nav-column-gap);
column-width: 18.75rem;
grid-column-gap: var(--sp2);
}
html:not(.js) .primary-nav__menu-item {
@ -38,8 +48,36 @@
display: none;
}
html:not(.js) .header-nav {
border: solid 1px var(--color--gray-95) !important;
html[dir="ltr"]:not(.js) .header-nav {
margin-left: var(--sp2);
}
html[dir="rtl"]:not(.js) .header-nav {
margin-right: var(--sp2);
}
html[dir="ltr"]:not(.js) .header-nav {
margin-right: var(--sp2);
}
html[dir="rtl"]:not(.js) .header-nav {
margin-left: var(--sp2);
}
html[dir="ltr"]:not(.js) .header-nav {
padding-left: var(--sp2);
}
html[dir="rtl"]:not(.js) .header-nav {
padding-right: var(--sp2);
}
html[dir="ltr"]:not(.js) .header-nav {
padding-right: var(--sp2);
}
html[dir="rtl"]:not(.js) .header-nav {
padding-left: var(--sp2);
}
html:not(.js) .header-nav {
@ -48,18 +86,21 @@
flex-basis: 100%;
width: 100%;
max-width: none;
margin-block: var(--sp2) 0;
margin-inline-start: var(--sp2);
margin-inline-end: var(--sp2);
padding-block: var(--sp2) 0;
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
margin-top: var(--sp2);
margin-bottom: 0;
padding-top: var(--sp2);
padding-bottom: 0;
transform: none;
border: solid 1px var(--color--gray-95) !important;
box-shadow: 0 0 36px var(--color--gray-90);
}
html:not(.js) .primary-nav__menu--level-2 {
border-inline-start: 0;
html[dir="ltr"]:not(.js) .primary-nav__menu--level-2 {
border-left: 0;
}
html[dir="rtl"]:not(.js) .primary-nav__menu--level-2 {
border-right: 0;
}
html:not(.js) .primary-nav__button-toggle {
@ -72,12 +113,15 @@
}
@media (min-width: 75rem) {
html:not(.js) {
/**
* Styles for 'always on mobile navigation' when JS is disabled.
*/
}
html:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-1 {
column-width: var(--no-js-nav-column-width);
column-gap: var(--no-js-nav-column-gap);
column-width: 18.75rem;
grid-column-gap: var(--sp2);
}
html:not(.js) body.is-always-mobile-nav .primary-nav__menu-item {
@ -93,8 +137,36 @@
display: none;
}
html:not(.js) body.is-always-mobile-nav .header-nav {
border: solid 1px var(--color--gray-95) !important;
html[dir="ltr"]:not(.js) body.is-always-mobile-nav .header-nav {
margin-left: var(--sp2);
}
html[dir="rtl"]:not(.js) body.is-always-mobile-nav .header-nav {
margin-right: var(--sp2);
}
html[dir="ltr"]:not(.js) body.is-always-mobile-nav .header-nav {
margin-right: var(--sp2);
}
html[dir="rtl"]:not(.js) body.is-always-mobile-nav .header-nav {
margin-left: var(--sp2);
}
html[dir="ltr"]:not(.js) body.is-always-mobile-nav .header-nav {
padding-left: var(--sp2);
}
html[dir="rtl"]:not(.js) body.is-always-mobile-nav .header-nav {
padding-right: var(--sp2);
}
html[dir="ltr"]:not(.js) body.is-always-mobile-nav .header-nav {
padding-right: var(--sp2);
}
html[dir="rtl"]:not(.js) body.is-always-mobile-nav .header-nav {
padding-left: var(--sp2);
}
html:not(.js) body.is-always-mobile-nav .header-nav {
@ -103,18 +175,21 @@
flex-basis: 100%;
width: 100%;
max-width: none;
margin-block: var(--sp2) 0;
margin-inline-start: var(--sp2);
margin-inline-end: var(--sp2);
padding-block: var(--sp2) 0;
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
margin-top: var(--sp2);
margin-bottom: 0;
padding-top: var(--sp2);
padding-bottom: 0;
transform: none;
border: solid 1px var(--color--gray-95) !important;
box-shadow: 0 0 36px var(--color--gray-90);
}
html:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-2 {
border-inline-start: 0;
html[dir="ltr"]:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-2 {
border-left: 0;
}
html[dir="rtl"]:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-2 {
border-right: 0;
}
html:not(.js) body.is-always-mobile-nav .primary-nav__button-toggle {
@ -125,20 +200,25 @@
content: none;
}
html:not(.js) {
/**
* Styles for traditional dropdown primary navigation when JS is disabled.
*/
}
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:hover .primary-nav__menu--level-2,
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:hover .primary-nav__menu-🥕 {
visibility: visible;
transform: translate(-50%, 0);
opacity: 1;
}
html:not(.js) body:not(.is-always-mobile-nav) {
/*
* Cannot combine the focus-within pseudo selector with other selectors,
* because it will break IE11 and earlier versions of MS Edge.
*/
}
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:focus-within .primary-nav__menu--level-2,
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:focus-within .primary-nav__menu-🥕 {
visibility: visible;

179
css/components/navigation/nav-primary-wide.css

@ -10,16 +10,32 @@
* Nav Primary (wide widths).
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .primary-nav__menu-item {
flex-wrap: nowrap; /* Ensure that sub navigation toggle button doesn't wrap underneath link. */
flex-wrap: nowrap /* Ensure that sub navigation toggle button doesn't wrap underneath link. */
}
body:not(.is-always-mobile-nav) .primary-nav__menu-item.primary-nav__menu-item--has-children .primary-nav__menu-link--link,
body:not(.is-always-mobile-nav) .primary-nav__menu-item.primary-nav__menu-item--has-children .primary-nav__menu-link--nolink {
flex-basis: auto;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-item.primary-nav__menu-item--has-children {
/* Remove hover state if submenu exists. */
}
body:not(.is-always-mobile-nav) .primary-nav__menu-item.primary-nav__menu-item--has-children .primary-nav__menu-link--level-1 .primary-nav__menu-link-inner::after {
content: none;
}
@ -27,12 +43,12 @@
body:not(.is-always-mobile-nav) .primary-nav__menu-link {
letter-spacing: 0.02em;
font-size: 1rem;
line-height: var(--sp1-5);
line-height: var(--sp1-5)
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link:focus {
position: relative;
outline: 0;
outline: 0
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link:focus::before {
@ -46,9 +62,14 @@
border: solid 2px var(--color--primary-50);
border-radius: 0.25rem;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
padding-right: 0.5625rem;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
padding-left: 0.5625rem;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
overflow: visible; /* Necessary to view icon in IE11 */
padding-inline-end: 0.5625rem;
overflow: visible /* Necessary to view icon in IE11 */
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children:focus::before {
@ -59,15 +80,22 @@
body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::before {
content: none;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
/* Chevron icon for desktop navigation. */
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
left: calc(100% - 0.1875rem);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
right: calc(100% - 0.1875rem);
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
position: absolute;
inset-block-start: 50%;
inset-inline-start: calc(100% - 0.1875rem);
top: 50%;
width: 0.5rem;
height: 0.5rem;
margin-block-start: -2px;
margin-top: -2px;
transform: translateY(-50%) rotate(45deg);
/* Intentionally not using CSS logical properties. */
border-top: 0;
@ -79,10 +107,25 @@
opacity: 1;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner {
padding-left: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner {
padding-left: 0;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner {
padding-block: var(--sp2);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp2);
padding-bottom: var(--sp2)
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner::after {
@ -90,43 +133,92 @@
border-top-width: var(--sp0-5);
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-1 {
margin-right: var(--sp);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-1 {
margin-left: var(--sp);
}
body:not(.is-always-mobile-nav) .primary-nav__menu--level-1 {
display: flex;
align-items: stretch;
margin-inline-end: var(--sp);
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1 {
margin-left: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1 {
margin-right: 0;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1 {
margin-right: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1 {
margin-left: 0;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1 {
position: relative; /* Anchor secondary menu */
display: flex;
align-items: center;
width: -webkit-max-content;
width: max-content;
max-width: 12.5rem;
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:not(:last-child) {
margin-right: var(--sp2);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:not(:last-child) {
margin-left: var(--sp2);
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
margin-left: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
margin-right: 0;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
padding-left: var(--sp2);
}
body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:not(:last-child) {
margin-inline-end: var(--sp2);
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
padding-right: var(--sp2);
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
padding-right: var(--sp2);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
padding-left: var(--sp2);
}
body:not(.is-always-mobile-nav) .primary-nav__menu--level-2 {
position: absolute;
z-index: 105; /* Appear above search container. */
top: calc(100% - (0.5 * var(--sp)));
top: calc(100% - var(--sp)*0.5);
left: 50%;
visibility: hidden;
overflow: auto;
width: 15.625rem;
/* Ensure that long level-2 menus will never overflow viewport (focused
* elements should always be in viewport per accessibility guidelines). */
max-height: calc(100vh - var(--site-header-height-wide) - var(--drupal-displace-offset-top, 0px) - var(--drupal-displace-offset-bottom, 0px) - var(--sp));
margin-block-start: 0;
margin-inline-start: 0;
padding-block: calc(3 * var(--sp));
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
max-height: calc(100vh - var(--site-header-height-wide) - var(--sp));
margin-top: 0;
padding-top: calc(var(--sp)*3);
padding-bottom: calc(var(--sp)*3);
transition: none;
transform: translate(-50%, -1.25rem);
opacity: 0;
@ -137,18 +229,18 @@
border-left: solid 1px transparent;
border-radius: 0 0 2px 2px;
background: var(--color--white);
box-shadow: 0 1px 36px rgba(0, 0, 0, 0.08);
box-shadow: 0 1px 36px rgba(0, 0, 0, 0.08)
}
body:not(.is-always-mobile-nav) .primary-nav__menu--level-2.is-active-menu-parent {
visibility: visible;
margin-block-start: 0;
margin-top: 0;
transform: translate(-50%, 0);
opacity: 1;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 {
display: block;
display: block
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2:focus::before {
@ -158,25 +250,43 @@
transform: none;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner {
padding-left: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner {
padding-left: 0;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner {
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner::after {
transform-origin: left; /* LTR */
border-top-width: 3px;
border-top-width: 3px
}
[dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__menu-link--level-2 .primary-nav__menu-link-inner::after {
transform-origin: right;
}
body:not(.is-always-mobile-nav) {
/**
* Arrow is placed outside of submenu because the submenu has the
* `overflow: hidden` CSS rule applied.
*/
}
body:not(.is-always-mobile-nav) .primary-nav__menu-🥕 {
position: absolute;
z-index: 105; /* Match level 2 menus. */
@ -190,7 +300,7 @@
/* Intentionally not using CSS logical properties. */
border-right: solid 10px transparent;
border-bottom: solid 10px var(--color--primary-50);
border-left: solid 10px transparent;
border-left: solid 10px transparent
}
body:not(.is-always-mobile-nav) .primary-nav__menu-🥕.is-active-menu-parent {
@ -199,12 +309,15 @@
opacity: 1;
}
body:not(.is-always-mobile-nav) {
/**
* When ensuring that long menus don't overflow viewport, we can give a
* little extra room when the toolbar is fixed (and is shorter).
*/
}
body:not(.is-always-mobile-nav) .is-fixed .primary-nav__menu--level-2 {
max-height: calc(100vh - var(--site-header-height-wide) - var(--drupal-displace-offset-top, 0px) - var(--drupal-displace-offset-bottom, 0px) - var(--sp) + var(--sp4));
max-height: calc(100vh - var(--site-header-height-wide) - var(--sp) + var(--sp4));
}
}

227
css/components/navigation/nav-primary.css

@ -10,23 +10,36 @@
* Nav Primary.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.primary-nav__menu {
flex-wrap: wrap;
list-style: none;
}
.primary-nav__menu-item {
margin-block-end: var(--sp0-5);
margin-bottom: var(--sp0-5)
}
.primary-nav__menu-item:last-child {
margin-block-end: 0;
margin-bottom: 0;
}
.primary-nav__menu-item.primary-nav__menu-item--has-children {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
justify-content: space-between
}
.primary-nav__menu-item.primary-nav__menu-item--has-children .primary-nav__menu-link--link,
@ -37,12 +50,11 @@
.primary-nav__menu-link {
flex-grow: 1;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-loud);
font-size: 1.75rem;
font-weight: bold;
line-height: var(--sp2);
line-height: var(--sp2)
}
.primary-nav__menu-link:hover {
@ -54,36 +66,89 @@
outline-offset: 2px;
}
[dir="ltr"] .primary-nav__menu-link--nolink {
padding-left: 0;
}
[dir="rtl"] .primary-nav__menu-link--nolink {
padding-right: 0;
}
[dir="ltr"] .primary-nav__menu-link--nolink {
padding-right: 0;
}
[dir="rtl"] .primary-nav__menu-link--nolink {
padding-left: 0;
}
.primary-nav__menu-link--nolink {
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
color: var(--color-text-neutral-soft);
font-weight: normal;
}
[dir="ltr"] .primary-nav__menu-link--button {
padding-left: 0;
}
[dir="rtl"] .primary-nav__menu-link--button {
padding-right: 0;
}
[dir="ltr"] .primary-nav__menu-link--button {
padding-right: 0;
}
[dir="rtl"] .primary-nav__menu-link--button {
padding-left: 0;
}
[dir="ltr"] .primary-nav__menu-link--button {
text-align: left;
}
[dir="rtl"] .primary-nav__menu-link--button {
text-align: right;
}
.primary-nav__menu-link--button {
position: relative;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
cursor: pointer;
text-align: start;
border: 0;
background: transparent;
background: transparent
/* Plus icon for mobile navigation. */
}
.primary-nav__menu-link--button.primary-nav__menu-link--has-children {
padding-inline-end: var(--sp3); /* Ensure text does not overlap icon. */
[dir="ltr"] .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
padding-right: var(--sp3);
}
[dir="rtl"] .primary-nav__menu-link--button.primary-nav__menu-link--has-children {
padding-left: var(--sp3);
}
.primary-nav__menu-link--button.primary-nav__menu-link--has-children { /* Ensure text does not overlap icon. */
}
[dir="ltr"] .primary-nav__menu-link--button.primary-nav__menu-link--has-children::before,[dir="ltr"]
.primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
right: 0.5625rem;
}
[dir="rtl"] .primary-nav__menu-link--button.primary-nav__menu-link--has-children::before,[dir="rtl"]
.primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
left: 0.5625rem;
}
.primary-nav__menu-link--button.primary-nav__menu-link--has-children::before,
.primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
position: absolute;
inset-inline-end: 0.5625rem;
inset-block-start: calc(var(--sp0-5) + 1.0625rem); /* Visually align button with menu link text. */
top: calc(var(--sp0-5) + 1.0625rem); /* Visually align button with menu link text. */
width: 1.125rem;
height: 0;
content: "";
@ -100,19 +165,41 @@
opacity: 0;
}
[dir="ltr"] .primary-nav__menu-link-inner {
padding-left: 0;
}
[dir="rtl"] .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="ltr"] .primary-nav__menu-link-inner {
padding-right: 0;
}
[dir="rtl"] .primary-nav__menu-link-inner {
padding-left: 0;
}
.primary-nav__menu-link-inner {
position: relative;
display: inline-flex;
align-items: center;
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
}
[dir="ltr"] .primary-nav__menu-link-inner::after {
left: 0;
}
[dir="rtl"] .primary-nav__menu-link-inner::after {
right: 0;
}
.primary-nav__menu-link-inner::after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
bottom: 0;
width: 100%;
height: 0;
content: "";
@ -124,20 +211,50 @@
}
.primary-nav__menu-link:hover .primary-nav__menu-link-inner::after {
transform: scaleX(1);
transform: scaleX(1)
}
/*
Top level specific styles.
*/
[dir="ltr"] .primary-nav__menu--level-1 {
margin-left: 0;
}
[dir="rtl"] .primary-nav__menu--level-1 {
margin-right: 0;
}
[dir="ltr"] .primary-nav__menu--level-1 {
margin-right: 0;
}
[dir="rtl"] .primary-nav__menu--level-1 {
margin-left: 0;
}
[dir="ltr"] .primary-nav__menu--level-1 {
padding-left: 0;
}
[dir="rtl"] .primary-nav__menu--level-1 {
padding-right: 0;
}
[dir="ltr"] .primary-nav__menu--level-1 {
padding-right: 0;
}
[dir="rtl"] .primary-nav__menu--level-1 {
padding-left: 0;
}
.primary-nav__menu--level-1 {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
.primary-nav__menu-link--level-1 {
@ -150,30 +267,64 @@
Secondary menu specific styles.
*/
[dir="ltr"] .primary-nav__menu--level-2 {
margin-left: calc(var(--sp)*-1);
}
[dir="rtl"] .primary-nav__menu--level-2 {
margin-right: calc(var(--sp)*-1);
}
[dir="ltr"] .primary-nav__menu--level-2 {
padding-left: var(--sp2-5);
}
[dir="rtl"] .primary-nav__menu--level-2 {
padding-right: var(--sp2-5);
}
[dir="ltr"] .primary-nav__menu--level-2 {
border-left: solid var(--sp) var(--color--primary-50);
}
[dir="rtl"] .primary-nav__menu--level-2 {
border-right: solid var(--sp) var(--color--primary-50);
}
.primary-nav__menu--level-2 {
visibility: hidden;
overflow: hidden;
flex-basis: 100%;
max-height: 0;
margin-block: 0;
margin-inline-start: calc(-1 * var(--sp));
padding-inline-start: var(--sp2-5);
margin-top: 0;
margin-bottom: 0;
transition: opacity 0.2s, visibility 0.2s, max-height 0.2s;
opacity: 0;
border-inline-start: solid var(--sp) var(--color--primary-50);
opacity: 0
}
.primary-nav__menu--level-2.is-active-menu-parent {
visibility: visible;
max-height: none;
margin-block-start: var(--sp1-5);
margin-top: var(--sp1-5);
opacity: 1;
}
@media (min-width: 43.75rem) {
.primary-nav__menu--level-2 {
margin-inline-start: calc(-1 * var(--sp3));
padding-inline-start: var(--sp3);
[dir="ltr"] .primary-nav__menu--level-2 {
margin-left: calc(var(--sp3)*-1);
}
[dir="rtl"] .primary-nav__menu--level-2 {
margin-right: calc(var(--sp3)*-1);
}
[dir="ltr"] .primary-nav__menu--level-2 {
padding-left: var(--sp3);
}
[dir="rtl"] .primary-nav__menu--level-2 {
padding-right: var(--sp3);
}
}

111
css/components/navigation/nav-secondary.css

@ -10,36 +10,85 @@
* Secondary navigation styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.secondary-nav {
letter-spacing: 0.02em;
font-size: var(--font-size-s);
font-weight: 600;
}
[dir="ltr"] .secondary-nav__menu {
margin-left: 0;
}
[dir="rtl"] .secondary-nav__menu {
margin-right: 0;
}
[dir="ltr"] .secondary-nav__menu {
margin-right: 0;
}
[dir="rtl"] .secondary-nav__menu {
margin-left: 0;
}
[dir="ltr"] .secondary-nav__menu {
padding-left: 0;
}
[dir="rtl"] .secondary-nav__menu {
padding-right: 0;
}
[dir="ltr"] .secondary-nav__menu {
padding-right: 0;
}
[dir="rtl"] .secondary-nav__menu {
padding-left: 0;
}
.secondary-nav__menu {
display: flex;
align-items: center;
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
list-style: none;
}
.secondary-nav__menu-item {
/* @todo should this be scoped to desktop nav? */
width: max-content;
max-width: 12.5rem;
/* Parent element is set to flex-basis: 0. We
* don't want text to wrap unless it goes over a
* certain arbitrary width.
*/
/* @todo should this be scoped to desktop nav? */
width: -webkit-max-content;
width: max-content;
max-width: 12.5rem
}
.secondary-nav__menu-item:not(:last-child) {
margin-inline-end: var(--sp1-5);
[dir="ltr"] .secondary-nav__menu-item:not(:last-child) {
margin-right: var(--sp1-5);
}
[dir="rtl"] .secondary-nav__menu-item:not(:last-child) {
margin-left: var(--sp1-5);
}
.secondary-nav__menu-link {
@ -47,9 +96,8 @@
display: inline-flex;
align-items: center;
height: var(--sp2);
-webkit-text-decoration: none;
text-decoration: none;
color: inherit;
color: inherit
}
.secondary-nav__menu-link::after {
@ -72,17 +120,34 @@
}
@media (min-width: 75rem) {
[dir="ltr"] body:not(.is-always-mobile-nav) .secondary-nav {
margin-left: var(--sp);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .secondary-nav {
margin-right: var(--sp);
}
[dir="ltr"] body:not(.is-always-mobile-nav) .secondary-nav {
padding-left: var(--sp2);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .secondary-nav {
padding-right: var(--sp2);
}
body:not(.is-always-mobile-nav) .secondary-nav {
position: relative;
display: flex;
margin-inline-start: var(--sp);
padding-inline-start: var(--sp2);
display: flex
}
[dir="ltr"] body:not(.is-always-mobile-nav) .secondary-nav::before {
left: 0;
}
[dir="rtl"] body:not(.is-always-mobile-nav) .secondary-nav::before {
right: 0;
}
body:not(.is-always-mobile-nav) .secondary-nav::before {
position: absolute;
inset-block-start: 50%;
inset-inline-start: 0;
top: 50%;
width: 2px;
height: var(--sp2);
content: "";
@ -90,12 +155,16 @@
background-color: var(--color--gray-90);
}
body:not(.is-always-mobile-nav) .secondary-nav__menu-item:not(:last-child) {
margin-inline-end: var(--sp2);
[dir="ltr"] body:not(.is-always-mobile-nav) .secondary-nav__menu-item:not(:last-child) {
margin-right: var(--sp2);
}
[dir="rtl"] body:not(.is-always-mobile-nav) .secondary-nav__menu-item:not(:last-child) {
margin-left: var(--sp2);
}
body:not(.is-always-mobile-nav) .secondary-nav__menu-link:focus {
position: relative;
outline: 0;
outline: 0
}
body:not(.is-always-mobile-nav) .secondary-nav__menu-link:focus::before {

66
css/components/navigation/wide-nav-expand.css

@ -10,11 +10,25 @@
* Button which expands the navigation at wide viewport widths.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.wide-nav-expand {
display: none;
display: none
}
@media (min-width: 75rem) {
.wide-nav-expand {
display: flex;
visibility: hidden;
@ -27,7 +41,7 @@
pointer-events: auto;
color: var(--color--white);
border: 0;
background-color: var(--color--primary-50);
background-color: var(--color--primary-50)
}
.wide-nav-expand:focus {
@ -37,14 +51,16 @@
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .is-fixed .wide-nav-expand {
visibility: visible;
visibility: visible
}
}
@media (min-width: 75rem) {
body.is-always-mobile-nav .wide-nav-expand {
visibility: hidden;
visibility: hidden
}
}
@ -55,40 +71,62 @@
transition: opacity 0.2s;
pointer-events: none;
opacity: 0;
transform-style: preserve-3d;
transform-style: preserve-3d
}
.wide-nav-expand__icon > span {
display: block;
height: 0;
/* Intentionally not using CSS logical properties. */
border-top: solid 3px currentColor;
border-top: solid 3px currentColor
}
[dir="ltr"] .wide-nav-expand__icon > span:nth-child(1) {
left: 0
}
[dir="rtl"] .wide-nav-expand__icon > span:nth-child(1) {
right: 0
}
.wide-nav-expand__icon > span:nth-child(1) {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
top: 0;
width: 100%;
height: 0;
transition: transform 0.2s;
background-color: currentColor;
}
[dir="ltr"] .wide-nav-expand__icon > span:nth-child(2) {
left: 0
}
[dir="rtl"] .wide-nav-expand__icon > span:nth-child(2) {
right: 0
}
.wide-nav-expand__icon > span:nth-child(2) {
position: absolute;
inset-block-start: 0.5625rem;
inset-inline-start: 0;
top: 0.5625rem;
width: 100%;
height: 0;
transition: opacity 0.2s;
background-color: currentColor;
}
[dir="ltr"] .wide-nav-expand__icon > span:nth-child(3) {
left: 0
}
[dir="rtl"] .wide-nav-expand__icon > span:nth-child(3) {
right: 0
}
.wide-nav-expand__icon > span:nth-child(3) {
position: absolute;
inset-block: auto 0;
inset-inline-start: 0;
top: auto;
bottom: 0;
width: 100%;
height: 0;
transition: transform 0.2s;
@ -100,7 +138,7 @@
}
[aria-expanded="true"] .wide-nav-expand__icon > span:nth-child(1) {
inset-block-start: 0.5625rem;
top: 0.5625rem;
transform: rotate(-45deg);
}
@ -109,6 +147,6 @@
}
[aria-expanded="true"] .wide-nav-expand__icon > span:nth-child(3) {
inset-block-start: 0.5625rem;
top: 0.5625rem;
transform: rotate(45deg);
}

55
css/components/node-preview-container.css

@ -10,10 +10,38 @@
* Node preview container styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .node-preview-container {
padding-left: var(--sp0-5);
}
[dir="rtl"] .node-preview-container {
padding-right: var(--sp0-5);
}
[dir="ltr"] .node-preview-container {
padding-right: var(--sp0-5);
}
[dir="rtl"] .node-preview-container {
padding-left: var(--sp0-5);
}
.node-preview-container {
padding-block: 0;
padding-inline-start: var(--sp0-5);
padding-inline-end: var(--sp0-5);
padding-top: 0;
padding-bottom: 0;
background: var(--color--white);
box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08); /* LTR */
}
@ -32,8 +60,23 @@
align-items: center;
}
[dir="ltr"] .node-preview-backlink {
margin-left: 0;
}
[dir="rtl"] .node-preview-backlink {
margin-right: 0;
}
[dir="ltr"] .node-preview-backlink {
margin-right: auto;
}
[dir="rtl"] .node-preview-backlink {
margin-left: auto;
}
.node-preview-backlink {
margin-block: var(--sp0-5);
margin-inline-start: 0;
margin-inline-end: auto;
margin-top: var(--sp0-5);
margin-bottom: var(--sp0-5);
}

128
css/components/node-teaser.css

@ -10,14 +10,27 @@
* Node Teaser specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.node--view-mode-teaser {
position: relative; /* Anchor after pseudo-element. */
margin-block-end: var(--sp1-5);
margin-bottom: var(--sp1-5)
}
.node--view-mode-teaser::after {
position: absolute;
inset-block-end: 0;
bottom: 0;
width: var(--sp3);
height: 0;
content: "";
@ -26,7 +39,7 @@
}
.node--view-mode-teaser .node__meta {
margin-block-end: var(--sp);
margin-bottom: var(--sp)
}
.node--view-mode-teaser .node__meta a {
@ -38,31 +51,40 @@
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0;
margin: 0
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser .node__top-wrapper {
position: relative; /* Anchor the image */
position: relative /* Anchor the image */
}
}
[dir="ltr"] .node--view-mode-teaser .primary-image {
margin-right: var(--sp1)
}
[dir="rtl"] .node--view-mode-teaser .primary-image {
margin-left: var(--sp1)
}
.node--view-mode-teaser .primary-image {
flex-shrink: 0;
margin: 0;
margin-block-end: var(--sp1);
margin-inline-end: var(--sp1);
margin-bottom: var(--sp1)
/* Ensure title does not wrap under image until necessary. */
}
:is(.node--view-mode-teaser .primary-image) + .node__title {
flex-basis: calc(100% - calc(4.5 * var(--sp)));
.node--view-mode-teaser .primary-image + .node__title {
flex-basis: calc(100% - var(--sp)*4.5)
}
@media (min-width: 62.5rem) {
:is(.node--view-mode-teaser .primary-image) + .node__title {
flex-basis: auto;
.node--view-mode-teaser .primary-image + .node__title {
flex-basis: auto
}
}
@ -71,66 +93,108 @@
}
.node--view-mode-teaser .primary-image img {
width: calc(3.5 * var(--sp));
height: calc(3.5 * var(--sp));
width: calc(var(--sp)*3.5);
height: calc(var(--sp)*3.5);
-o-object-fit: cover;
object-fit: cover;
border-radius: 50%;
border-radius: 50%
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser .primary-image img {
width: var(--grid-col-width);
height: var(--grid-col-width);
height: var(--grid-col-width)
}
}
@media (min-width: 62.5rem) {
[dir="ltr"] .node--view-mode-teaser .primary-image {
left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .node--view-mode-teaser .primary-image {
right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
.node--view-mode-teaser .primary-image {
position: absolute;
inset-block-start: 0;
inset-inline-start: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
margin: 0;
top: 0;
margin: 0
}
}
.node--view-mode-teaser .node__title {
margin: 0;
margin-block-end: var(--sp1);
margin-bottom: var(--sp1);
color: var(--color-text-neutral-loud);
font-size: 1.5rem;
line-height: var(--line-height-base);
line-height: var(--line-height-base)
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser .node__title {
font-size: var(--sp2);
line-height: var(--sp3);
line-height: var(--sp3)
}
}
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
margin-left: 0
}
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
margin-right: 0
}
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
margin-right: 0
}
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
margin-left: 0
}
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
padding-left: 0
}
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
padding-right: 0
}
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
padding-right: 0
}
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
padding-left: 0
}
.node--view-mode-teaser .field--tag-ref {
margin-block-start: var(--sp1);
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
background-color: transparent;
margin-top: var(--sp1);
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
background-color: transparent
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser .field--tag-ref {
margin-block-start: var(--sp2);
margin-top: var(--sp2)
}
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}
.views-row:last-child .node--view-mode-teaser {
margin-block-end: 0;
margin-bottom: 0;
}

40
css/components/node.css

@ -10,13 +10,26 @@
* Node specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.node__meta {
display: flex;
align-items: center;
margin-block-end: var(--sp1);
margin-bottom: var(--sp1);
color: var(--color-text-neutral-soft);
font-size: 0.875rem;
line-height: var(--sp);
line-height: var(--sp)
}
.node__meta a {
@ -24,30 +37,38 @@
}
@media (min-width: 31.25rem) {
.node__meta {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
}
[dir="ltr"] .node__author-image img {
margin-right: var(--sp0-5)
}
[dir="rtl"] .node__author-image img {
margin-left: var(--sp0-5)
}
.node__author-image img {
width: var(--sp2-5);
height: var(--sp2-5);
margin-inline-end: var(--sp0-5);
-o-object-fit: cover;
object-fit: cover;
border-radius: 50%;
}
.node__title a {
padding-block-end: 0.1875rem;
padding-bottom: 0.1875rem;
transition: background-size 0.2s, color 0.2s;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-loud);
background-color: transparent;
background-image: linear-gradient(var(--color--primary-50), var(--color--primary-50)); /* Two values are needed for IE11 support. */
background-repeat: no-repeat;
background-position: bottom left; /* LTR */
background-size: 0 0.1875rem;
background-size: 0 0.1875rem
}
.node__title a:hover,
@ -60,12 +81,13 @@
}
.node__content {
padding-block-end: var(--sp1-5);
padding-bottom: var(--sp1-5)
}
@media (min-width: 62.5rem) {
.node__content {
padding-block-end: var(--sp3);
padding-bottom: var(--sp3)
}
}

13
css/components/page-title.css

@ -10,6 +10,19 @@
* Page title.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.page-title {
/*
Necessary to properly display the star icon from core's shortcut

52
css/components/pager.css

@ -10,15 +10,51 @@
* Styles for pagination.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .pager__items {
margin-left: 0;
}
[dir="rtl"] .pager__items {
margin-right: 0;
}
[dir="ltr"] .pager__items {
padding-left: 0;
}
[dir="rtl"] .pager__items {
padding-right: 0;
}
[dir="ltr"] .pager__items {
padding-right: 0;
}
[dir="rtl"] .pager__items {
padding-left: 0;
}
.pager__items {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
margin-block: 0;
margin-inline-start: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
list-style: none;
font-weight: bold;
}
@ -31,13 +67,14 @@
height: var(--sp2-5);
cursor: default;
color: var(--color-text-neutral-soft);
background-color: var(--color--white);
background-color: var(--color--white)
}
@media (min-width: 31.25rem) {
.pager__item {
width: var(--sp3);
height: var(--sp3);
height: var(--sp3)
}
}
@ -62,7 +99,6 @@
justify-content: center;
width: 100%;
height: 100%;
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-soft);
}

30
css/components/powered-by-block.css

@ -10,27 +10,45 @@
* Powered by block specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.block-system-powered-by-block {
letter-spacing: 0.02em;
font-size: 0.875rem;
line-height: var(--sp);
line-height: var(--sp)
}
.block-system-powered-by-block a {
-webkit-text-decoration: underline;
text-decoration: underline;
text-decoration: underline
}
.block-system-powered-by-block a:hover,
.block-system-powered-by-block a:focus {
-webkit-text-decoration: none;
text-decoration: none;
}
[dir="ltr"] .block-system-powered-by-block .drupal-logo {
margin-left: calc(var(--sp)/4)
}
[dir="rtl"] .block-system-powered-by-block .drupal-logo {
margin-right: calc(var(--sp)/4)
}
.block-system-powered-by-block .drupal-logo {
display: inline-block;
margin-block-start: calc(-1 * var(--sp) / 4);
margin-inline-start: calc(var(--sp) / 4);
margin-top: calc(var(--sp)*-1/4);
}
.block-system-powered-by-block svg {

21
css/components/progress.css

@ -10,6 +10,19 @@
* Progress bar specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.progress__track {
overflow: hidden;
height: var(--sp);
@ -22,6 +35,10 @@
background-color: var(--color--primary-40);
}
.progress__percentage {
margin-inline-start: 1rem;
[dir="ltr"] .progress__percentage {
margin-left: 1rem;
}
[dir="rtl"] .progress__percentage {
margin-right: 1rem;
}

92
css/components/search-results.css

@ -10,39 +10,82 @@
* Search results specific styles.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .search-results {
padding-left: 0
}
[dir="rtl"] .search-results {
padding-right: 0
}
[dir="ltr"] .search-results {
padding-right: 0
}
[dir="rtl"] .search-results {
padding-left: 0
}
.search-results {
margin-block-end: var(--sp2);
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
list-style: none;
margin-bottom: var(--sp2);
padding-top: 0;
padding-bottom: 0;
list-style: none
}
@media (min-width: 43.75rem) {
.search-results {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}
[dir="ltr"] .search-result__title {
margin-left: 0
}
[dir="rtl"] .search-result__title {
margin-right: 0
}
[dir="ltr"] .search-result__title {
margin-right: 0
}
[dir="rtl"] .search-result__title {
margin-left: 0
}
.search-result__title {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: 0;
margin-bottom: 0;
color: var(--color-text-neutral-loud);
font-size: 1.25rem;
line-height: var(--line-height-base);
line-height: var(--line-height-base)
}
.search-result__title a {
padding-block-end: 0.1875rem;
padding-bottom: 0.1875rem;
transition: background-size 0.2s, color 0.2s;
-webkit-text-decoration: none;
text-decoration: none;
background-color: transparent;
background-image: linear-gradient(var(--color--primary-50), var(--color--primary-50)); /* Two values are needed for IE11 support. */
background-repeat: no-repeat;
background-position: bottom left; /* LTR */
background-size: 0 0.1875rem;
background-size: 0 0.1875rem
}
.search-result__title a:hover {
@ -50,10 +93,11 @@
}
@media (min-width: 62.5rem) {
.search-result__title {
margin-block-end: var(--sp1);
margin-bottom: var(--sp1);
font-size: 1.875rem;
line-height: var(--sp3);
line-height: var(--sp3)
}
}
@ -62,22 +106,23 @@
}
.search-result__snippet {
padding-block-end: calc(var(--sp1-5) - 2px);
padding-bottom: calc(var(--sp1-5) - 2px)
}
@media (min-width: 62.5rem) {
.search-result__snippet {
padding-block-end: var(--sp3);
padding-bottom: var(--sp3)
}
}
.search-result__meta {
display: flex;
align-items: center;
margin-block-end: var(--sp1);
margin-bottom: var(--sp1);
color: var(--color-text-neutral-soft);
font-size: 0.875rem;
line-height: var(--sp);
line-height: var(--sp)
}
.search-result__meta a {
@ -87,12 +132,12 @@
.search-results__item {
position: relative; /* Anchor after pseudo-element. */
margin-block-end: var(--sp1-5);
margin-bottom: var(--sp1-5)
}
.search-results__item::after {
position: absolute;
inset-block-end: 0;
bottom: 0;
width: var(--sp3);
height: 0;
content: "";
@ -101,11 +146,12 @@
}
.search-results__item:last-child {
margin-block-end: 0;
margin-bottom: 0;
}
@media (min-width: 62.5rem) {
.search-results__item {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}

40
css/components/site-header.css

@ -10,20 +10,34 @@
* Site header.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.site-header {
position: relative;
/**
* Ensure mobile site header is always above other elements including
* contextual links, and Tour.
*/
z-index: 101;
z-index: 101
}
@media (min-width: 75rem) {
.site-header {
/* Necessary to keep the content from jumping up when header transitions to fixed. */
min-height: var(--site-header-height-wide);
border-block-end: solid 1px transparent; /* Will show in Windows high contrast mode. */
border-bottom: solid 1px transparent /* Will show in Windows high contrast mode. */
}
}
@ -32,6 +46,7 @@
z-index: 102;
display: flex;
align-items: flex-end;
-ms-grid-row-align: stretch;
align-self: stretch;
background-color: var(--color--primary-50);
}
@ -39,7 +54,7 @@
.site-header__fixable {
display: flex;
align-items: flex-end;
transition: all 0.5s;
transition: all 0.5s
}
@media (min-width: 75rem) {
@ -52,7 +67,7 @@
body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed {
position: fixed;
z-index: 102; /* Appear above body content that is position: relative */
inset-block-start: calc(var(--drupal-displace-offset-top, 0px) - var(--sp4));
top: calc(0px - var(--sp4));
max-width: var(--max-bg-color);
}
}
@ -61,7 +76,7 @@
position: relative;
z-index: 1; /* Appear in front of Drupal's tabs. */
flex-grow: 1;
width: calc(100vw - var(--content-left) - var(--drupal-displace-offset-left, 0px) - var(--drupal-displace-offset-right, 0px));
width: calc(100vw - var(--content-left));
background: var(--color--white);
}
@ -71,35 +86,40 @@
*/
@media (min-width: 75rem) {
html.js body:not(.is-always-mobile-nav) .site-header__inner {
transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s
}
}
@media (min-width: 75rem) {
.site-header__fixable.is-expanded .site-header__inner {
box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08); /* LTR */
box-shadow: -36px 1px 36px rgba(0, 0, 0, 0.08) /* LTR */
}
}
@media (min-width: 75rem) {
[dir="rtl"] .site-header__fixable.is-expanded .site-header__inner {
box-shadow: 36px 1px 36px rgba(0, 0, 0, 0.08);
box-shadow: 36px 1px 36px rgba(0, 0, 0, 0.08)
}
}
/* Hide the desktop nav when it's fixed and not active. */
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed:not(.is-expanded) .site-header__inner {
transform: translateX(-101%); /* LTR */
opacity: 0;
opacity: 0
}
}
@media (min-width: 75rem) {
[dir="rtl"] body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed:not(.is-expanded) .site-header__inner {
transform: translateX(101%);
transform: translateX(101%)
}
}

44
css/components/skip-link.css

@ -12,22 +12,48 @@
* Allows keyboard users to quickly skip to the main content of the page.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .skip-link {
padding-left: var(--sp)
}
[dir="rtl"] .skip-link {
padding-right: var(--sp)
}
[dir="ltr"] .skip-link {
padding-right: var(--sp)
}
[dir="rtl"] .skip-link {
padding-left: var(--sp)
}
.skip-link {
display: block;
width: 100%;
max-width: var(--max-bg-color);
padding-block: var(--sp0-5);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
-webkit-text-decoration: none;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
text-decoration: none;
color: var(--color--white);
outline: 0;
background-color: var(--color--gray-5);
background-color: var(--color--gray-5)
}
.skip-link:hover {
-webkit-text-decoration: underline;
text-decoration: underline;
color: var(--color--white);
}
@ -37,11 +63,7 @@
}
.skip-link.focusable:focus {
position: absolute !important;
}
.skip-link.focusable:focus {
/* Override position from module file. */
position: absolute !important; /* Override position from module file. */
z-index: 503;
width: 100%;
height: 2.5rem;

145
css/components/table.css

@ -10,24 +10,44 @@
* User generated tables.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.forum table,
.text-content table,
.views-table,
.draggable-table {
margin-block-start: var(--sp2);
margin-block-end: var(--sp2);
margin-top: var(--sp2);
margin-bottom: var(--sp2);
border-spacing: 0;
color: var(--color-text-neutral-medium);
border: 0;
border-collapse: collapse;
font-family: var(--font-sans);
font-size: 1rem;
line-height: var(--sp1-5);
line-height: var(--sp1-5)
}
[dir="ltr"] .forum table caption,[dir="ltr"] .text-content table caption,[dir="ltr"] .views-table caption,[dir="ltr"] .draggable-table caption {
text-align: left
}
[dir="rtl"] .forum table caption,[dir="rtl"] .text-content table caption,[dir="rtl"] .views-table caption,[dir="rtl"] .draggable-table caption {
text-align: right
}
:is(.forum table, .text-content table, .views-table, .draggable-table) caption {
margin-block-end: var(--sp1);
text-align: start;
.forum table caption, .text-content table caption, .views-table caption, .draggable-table caption {
margin-bottom: var(--sp1);
color: var(--color-text-neutral-medium);
font-family: var(--font-serif);
font-size: 0.875rem;
@ -35,38 +55,115 @@
line-height: var(--sp);
}
:is(.forum table, .text-content table, .views-table, .draggable-table) tr:last-child td {
border-block-end: 0;
.forum table tr:last-child td, .text-content table tr:last-child td, .views-table tr:last-child td, .draggable-table tr:last-child td {
border-bottom: 0;
}
[dir="ltr"] .forum table td,[dir="ltr"]
.forum table th,[dir="ltr"]
.text-content table td,[dir="ltr"]
.text-content table th,[dir="ltr"]
.views-table td,[dir="ltr"]
.views-table th,[dir="ltr"]
.draggable-table td,[dir="ltr"]
.draggable-table th {
padding-left: 0
}
[dir="rtl"] .forum table td,[dir="rtl"]
.forum table th,[dir="rtl"]
.text-content table td,[dir="rtl"]
.text-content table th,[dir="rtl"]
.views-table td,[dir="rtl"]
.views-table th,[dir="rtl"]
.draggable-table td,[dir="rtl"]
.draggable-table th {
padding-right: 0
}
[dir="ltr"] .forum table td,[dir="ltr"]
.forum table th,[dir="ltr"]
.text-content table td,[dir="ltr"]
.text-content table th,[dir="ltr"]
.views-table td,[dir="ltr"]
.views-table th,[dir="ltr"]
.draggable-table td,[dir="ltr"]
.draggable-table th {
padding-right: var(--sp1)
}
[dir="rtl"] .forum table td,[dir="rtl"]
.forum table th,[dir="rtl"]
.text-content table td,[dir="rtl"]
.text-content table th,[dir="rtl"]
.views-table td,[dir="rtl"]
.views-table th,[dir="rtl"]
.draggable-table td,[dir="rtl"]
.draggable-table th {
padding-left: var(--sp1)
}
:is(.forum table, .text-content table, .views-table, .draggable-table) td,
:is(.forum table, .text-content table, .views-table, .draggable-table) th {
padding-block: var(--sp1);
padding-inline-start: 0;
padding-inline-end: var(--sp1);
.forum table td,
.forum table th,
.text-content table td,
.text-content table th,
.views-table td,
.views-table th,
.draggable-table td,
.draggable-table th {
padding-top: var(--sp1);
padding-bottom: var(--sp1);
vertical-align: top;
}
:is(.forum table, .text-content table, .views-table, .draggable-table) th {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
text-align: start;
[dir="ltr"] .forum table th,[dir="ltr"] .text-content table th,[dir="ltr"] .views-table th,[dir="ltr"] .draggable-table th {
margin-left: 0
}
[dir="rtl"] .forum table th,[dir="rtl"] .text-content table th,[dir="rtl"] .views-table th,[dir="rtl"] .draggable-table th {
margin-right: 0
}
[dir="ltr"] .forum table th,[dir="ltr"] .text-content table th,[dir="ltr"] .views-table th,[dir="ltr"] .draggable-table th {
margin-right: 0
}
[dir="rtl"] .forum table th,[dir="rtl"] .text-content table th,[dir="rtl"] .views-table th,[dir="rtl"] .draggable-table th {
margin-left: 0
}
[dir="ltr"] .forum table th,[dir="ltr"] .text-content table th,[dir="ltr"] .views-table th,[dir="ltr"] .draggable-table th {
text-align: left
}
[dir="rtl"] .forum table th,[dir="rtl"] .text-content table th,[dir="rtl"] .views-table th,[dir="rtl"] .draggable-table th {
text-align: right
}
.forum table th, .text-content table th, .views-table th, .draggable-table th {
margin-top: 0;
margin-bottom: 0;
letter-spacing: 0.02em;
color: var(--color-text-neutral-loud);
border-block-end: 2px solid var(--color--primary-50);
border-bottom: 2px solid var(--color--primary-50);
font-family: var(--font-sans);
font-size: 0.875rem;
line-height: var(--sp);
}
:is(.forum table, .text-content table, .views-table, .draggable-table) td {
.forum table td, .text-content table td, .views-table td, .draggable-table td {
white-space: normal;
border-block-end: 2px solid var(--color--gray-65);
border-bottom: 2px solid var(--color--gray-65);
}
:is(.forum table, .text-content table, .views-table, .draggable-table) th.checkbox,
:is(.forum table, .text-content table, .views-table, .draggable-table) td.checkbox {
.forum table th.checkbox,
.forum table td.checkbox,
.text-content table th.checkbox,
.text-content table td.checkbox,
.views-table th.checkbox,
.views-table td.checkbox,
.draggable-table th.checkbox,
.draggable-table td.checkbox {
text-align: center;
}
@ -85,7 +182,7 @@
.sticky-header {
z-index: 0;
margin: 0;
border-block-end: 0.25rem solid var(--color--primary-50);
border-bottom: 4px solid var(--color--primary-50);
}
/* Properly align VBO checkboxes. */

42
css/components/tabledrag.css

@ -10,6 +10,19 @@
* Styles for tabledrag.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.draggable:hover {
background-color: var(--color--gray-100);
}
@ -32,8 +45,12 @@ a.tabledrag-handle,
height: 2.25rem;
}
.draggable a.tabledrag-handle {
margin-inline-start: 0;
[dir="ltr"] .draggable a.tabledrag-handle {
margin-left: 0;
}
[dir="rtl"] .draggable a.tabledrag-handle {
margin-right: 0;
}
a.tabledrag-handle .handle {
@ -48,10 +65,25 @@ a.tabledrag-handle .handle {
background-position: 50% 5px;
}
[dir="ltr"] .touchevents .draggable td {
padding-left: 0;
}
[dir="rtl"] .touchevents .draggable td {
padding-right: 0;
}
[dir="ltr"] .touchevents .draggable td {
padding-right: var(--sp0-5);
}
[dir="rtl"] .touchevents .draggable td {
padding-left: var(--sp0-5);
}
.touchevents .draggable td {
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: var(--sp0-5);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
}
.touchevents .draggable .menu-item__link {

212
css/components/tabs.css

@ -4,7 +4,30 @@
* https://www.drupal.org/node/3084859
* @preserve
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
/* Breakpoint where tabs switch between vertical and horizontal layouts. */
[dir="ltr"] .tabs {
margin-left: 0
}
[dir="rtl"] .tabs {
margin-right: 0
}
.tabs {
--tabs-height: var(--sp3);
--tabs-padding-inline: var(--sp1-5);
@ -23,169 +46,270 @@
display: flex;
flex-direction: column;
width: 100%;
margin: 0;
margin-inline-start: 0; /* Override [dir] attribute in base <ul> in compiled CSS. */
margin: 0; /* Override [dir] attribute in base <ul> in compiled CSS. */
padding: 0;
list-style: none;
list-style: none
}
@media (min-width: 43.75rem) {
.tabs {
flex-direction: row;
flex-wrap: wrap;
flex-wrap: wrap
}
}
.tabs__tab {
display: none;
margin: 0;
margin-block-end: calc(-1 * var(--tabs-border-width));
margin-bottom: calc(var(--tabs-border-width)*-1)
}
.tabs__tab.is-active {
display: flex;
}
@media (min-width: 43.75rem) {
[dir="ltr"] .tabs__tab {
margin-left: calc(var(--tabs-border-width)*-1)
}
[dir="rtl"] .tabs__tab {
margin-right: calc(var(--tabs-border-width)*-1)
}
.tabs__tab {
display: flex;
margin-block-end: 0;
margin-inline-start: calc(-1 * var(--tabs-border-width));
margin-bottom: 0
}
}
.tabs__tab {
/* Show tabs when JavaScript disabled. */
}
html:not(.js) .tabs__tab {
display: flex;
display: flex
}
.tabs__tab {
/* Show tabs when tabs-expanded class is present. */
}
.tabs.is-expanded .tabs__tab {
display: flex;
display: flex
}
.tabs__tab {
/* Secondary tabs will always be expanded. */
}
.tabs--secondary .tabs__tab {
display: block;
display: block
}
@media (min-width: 43.75rem) {
.tabs--secondary .tabs__tab {
display: flex;
display: flex
}
}
.tabs__link {
display: flex;
flex-grow: 1;
align-items: center;
height: var(--tabs-height);
padding-block: 0;
padding-inline: var(--tabs-padding-inline);
padding-top: 0;
padding-bottom: 0;
padding-left: var(--tabs-padding-inline);
padding-right: var(--tabs-padding-inline);
transition: background-color var(--tabs-transition-duration);
-webkit-text-decoration: none;
text-decoration: none;
letter-spacing: var(--tabs-letter-spacing);
color: var(--tabs-text-color);
border: var(--tabs-border-width) solid var(--tabs-border-color);
background-color: var(--tabs-background-color);
font-size: var(--tabs-font-size);
font-size: var(--tabs-font-size)
}
.tabs__link:hover {
color: var(--tabs-text-color-active);
background-color: var(--tabs-background-color-hover);
}
.tabs__link:focus {
position: relative;
outline: solid 3px var(--tabs-highlight-color);
outline-offset: -3px;
}
.tabs__link.is-active {
position: relative; /* Anchor ::after pseudo-element. */
color: var(--tabs-text-color-active);
font-weight: 600;
font-weight: 600
/*
* We use ::after pseudo-element in place of border so edges do not appear
* diagonally cut off due to other edges with transparent borders.
*/
}
[dir="ltr"] .tabs__link.is-active::after {
left: calc(var(--tabs-border-width)*-1)
}
[dir="rtl"] .tabs__link.is-active::after {
right: calc(var(--tabs-border-width)*-1)
}
[dir="ltr"] .tabs__link.is-active::after {
border-left: var(--tabs-active-border-size) solid var(--tabs-highlight-color)
}
[dir="rtl"] .tabs__link.is-active::after {
border-right: var(--tabs-active-border-size) solid var(--tabs-highlight-color)
}
.tabs__link.is-active::after {
position: absolute;
inset-block-start: calc(-1 * var(--tabs-border-width));
inset-inline-start: calc(-1 * var(--tabs-border-width));
top: calc(var(--tabs-border-width)*-1);
height: calc(100% + var(--tabs-border-width)*2);
content: "";
border-inline-start: var(--tabs-active-border-size) solid var(--tabs-highlight-color);
content: ""
}
@media (min-width: 43.75rem) {
[dir="ltr"] .tabs__link.is-active::after {
border-left: 0
}
[dir="rtl"] .tabs__link.is-active::after {
border-right: 0
}
.tabs__link.is-active::after {
inset-block: auto calc(-1 * var(--tabs-border-width));
width: calc(100% + 2 * var(--tabs-border-width));
top: auto;
bottom: calc(var(--tabs-border-width)*-1);
width: calc(100% + var(--tabs-border-width)*2);
height: 0;
border-block-start: var(--tabs-active-border-size) solid var(--tabs-highlight-color);
border-inline-start: 0;
border-top: var(--tabs-active-border-size) solid var(--tabs-highlight-color)
}
}
.tabs__link {
/* No regular borders or background color for secondary tab links. */
}
@media (min-width: 43.75rem) {
.tabs--secondary .tabs__link {
border-color: transparent;
background-color: transparent;
background-color: transparent
}
}
/* Button that opens and closes primary tabs at narrow viewports. */
[dir="ltr"] .tabs__trigger {
margin-left: calc(var(--tabs-border-width)*-1);
margin-right: 0
}
[dir="rtl"] .tabs__trigger {
margin-right: calc(var(--tabs-border-width)*-1);
margin-left: 0
}
.tabs__trigger {
display: flex;
align-items: center;
justify-content: center;
width: var(--tabs-height);
margin-block: 0;
margin-inline: calc(-1 * var(--tabs-border-width)) 0;
margin-top: 0;
margin-bottom: 0;
cursor: pointer;
border: solid var(--tabs-border-width) var(--tabs-border-color);
background-color: var(--tabs-background-color);
background-color: var(--tabs-background-color)
}
.tabs__trigger:hover {
background-color: var(--tabs-background-color-hover);
}
.tabs__trigger:focus {
position: relative;
border-color: var(--tabs-highlight-color);
outline: none;
}
.tabs__trigger {
/* Button will not work when JavaScript is disabled, so we hide it. */
}
html:not(.js) .tabs__trigger {
display: none;
display: none
}
@media (min-width: 43.75rem) {
.tabs__trigger {
display: none;
display: none
}
}
.tabs__trigger-icon {
position: relative;
display: block;
width: var(--sp);
height: 0.625rem;
margin-block-start: calc(-2 * var(--tabs-border-width));
margin-top: calc(var(--tabs-border-width)*-2)
}
[dir="ltr"] .tabs__trigger-icon > span {
left: 0
}
[dir="rtl"] .tabs__trigger-icon > span {
right: 0
}
.tabs__trigger-icon > span {
position: absolute;
inset-inline-start: 0;
display: block;
width: 100%;
transition: transform var(--tabs-transition-duration), opacity var(--tabs-transition-duration), top var(--tabs-transition-duration);
border-block-start: solid 2px var(--tabs-highlight-color);
border-top: solid 2px var(--tabs-highlight-color)
}
.tabs__trigger-icon > span:nth-child(1) {
inset-block-start: 0;
top: 0
}
.tabs__trigger[aria-expanded="true"] :is(.tabs__trigger-icon > span:nth-child(1)) {
inset-block-start: calc(50% + 1px);
transform: rotate(45deg);
.tabs__trigger[aria-expanded="true"] .tabs__trigger-icon > span:nth-child(1) {
top: calc(50% + 1px);
transform: rotate(45deg)
}
.tabs__trigger-icon > span:nth-child(2) {
inset-block-start: calc(50% + 1px);
top: calc(50% + 1px)
}
.tabs__trigger[aria-expanded="true"] :is(.tabs__trigger-icon > span:nth-child(2)) {
opacity: 0;
.tabs__trigger[aria-expanded="true"] .tabs__trigger-icon > span:nth-child(2) {
opacity: 0
}
.tabs__trigger-icon > span:nth-child(3) {
inset-block-start: calc(100% + 2px);
top: calc(100% + 2px)
}
.tabs__trigger[aria-expanded="true"] :is(.tabs__trigger-icon > span:nth-child(3)) {
inset-block-start: calc(50% + 1px);
transform: rotate(-45deg);
.tabs__trigger[aria-expanded="true"] .tabs__trigger-icon > span:nth-child(3) {
top: calc(50% + 1px);
transform: rotate(-45deg)
}

137
css/components/tags.css

@ -10,19 +10,39 @@
* Tags field styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.field--tags {
display: flex;
font-family: var(--font-sans);
}
[dir="ltr"] .field--tags__label {
margin-right: calc(var(--sp1-5) - var(--sp0-5)/2);
}
[dir="rtl"] .field--tags__label {
margin-left: calc(var(--sp1-5) - var(--sp0-5)/2);
}
.field--tags__label {
margin: 0;
margin-inline-end: calc(var(--sp1-5) - (var(--sp0-5) / 2));
letter-spacing: 0.02em;
color: var(--color-text-neutral-soft);
font-size: var(--font-size-s);
font-weight: 600;
line-height: 1.6;
line-height: 1.6
}
.field--tags__label::after {
@ -30,34 +50,95 @@
}
@media (min-width: 43.75rem) {
.field--tags__label {
line-height: 2;
line-height: 2
}
}
[dir="ltr"] .field--label-inline .field--tags__label {
padding-left: 0;
}
[dir="rtl"] .field--label-inline .field--tags__label {
padding-right: 0;
}
[dir="ltr"] .field--label-inline .field--tags__label {
padding-right: 0;
}
[dir="rtl"] .field--label-inline .field--tags__label {
padding-left: 0;
}
.field--label-inline .field--tags__label {
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: 0;
padding-bottom: 0;
}
[dir="ltr"] .field--tags__items {
margin-left: calc(var(--sp0-5)/2*-1);
}
[dir="rtl"] .field--tags__items {
margin-right: calc(var(--sp0-5)/2*-1);
}
[dir="ltr"] .field--tags__items {
margin-right: calc(var(--sp0-5)/2*-1);
}
[dir="rtl"] .field--tags__items {
margin-left: calc(var(--sp0-5)/2*-1);
}
[dir="ltr"] .field--tags__items {
padding-left: 0;
}
[dir="rtl"] .field--tags__items {
padding-right: 0;
}
[dir="ltr"] .field--tags__items {
padding-right: 0;
}
[dir="rtl"] .field--tags__items {
padding-left: 0;
}
.field--tags__items {
display: flex;
flex-wrap: wrap;
margin-block: calc((var(--sp0-5) / 2) * -1);
margin-inline-start: calc((var(--sp0-5) / 2) * -1);
margin-inline-end: calc((var(--sp0-5) / 2) * -1);
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
margin-top: calc(var(--sp0-5)/2*-1);
margin-bottom: calc(var(--sp0-5)/2*-1);
padding-top: 0;
padding-bottom: 0;
list-style: none;
}
[dir="ltr"] .field--tags__item {
margin-left: calc(var(--sp0-5)/2);
}
[dir="rtl"] .field--tags__item {
margin-right: calc(var(--sp0-5)/2);
}
[dir="ltr"] .field--tags__item {
margin-right: calc(var(--sp0-5)/2);
}
[dir="rtl"] .field--tags__item {
margin-left: calc(var(--sp0-5)/2);
}
.field--tags__item {
display: flex;
margin-block: calc(var(--sp0-5) / 2);
margin-inline-start: calc(var(--sp0-5) / 2);
margin-inline-end: calc(var(--sp0-5) / 2);
margin-top: calc(var(--sp0-5)/2);
margin-bottom: calc(var(--sp0-5)/2);
}
.field--tags__item:nth-last-child(n+2)::after {
@ -70,7 +151,6 @@
position: relative;
display: flex;
align-items: center;
-webkit-text-decoration: none;
text-decoration: none;
letter-spacing: 0.02em;
color: var(--color-text-primary-medium);
@ -79,11 +159,26 @@
line-height: 1.5;
}
[dir="ltr"] .node--view-mode-full .field--tags {
padding-left: var(--sp2);
}
[dir="rtl"] .node--view-mode-full .field--tags {
padding-right: var(--sp2);
}
[dir="ltr"] .node--view-mode-full .field--tags {
padding-right: var(--sp2);
}
[dir="rtl"] .node--view-mode-full .field--tags {
padding-left: var(--sp2);
}
.node--view-mode-full .field--tags {
margin-block-start: var(--sp4);
margin-block-end: var(--sp4);
padding-block: var(--sp1-5);
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
margin-top: var(--sp4);
margin-bottom: var(--sp4);
padding-top: var(--sp1-5);
padding-bottom: var(--sp1-5);
background-color: var(--color--gray-100);
}

181
css/components/text-content.css

@ -10,11 +10,24 @@
* Text Content.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.text-content,
.cke_editable {
color: var(--color-text-neutral-medium);
font-family: var(--font-serif);
line-height: var(--sp1-5);
line-height: var(--sp1-5)
/*
@todo
@ -26,128 +39,177 @@
*/
}
.text-content a:where(:not(.button)),
.cke_editable a:where(:not(.button)) {
.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) {
color: var(--color-text-primary-medium);
-webkit-text-decoration-color: currentColor;
text-decoration-color: currentColor;
text-decoration-thickness: 2px;
overflow-wrap: break-word;
word-wrap: break-word
}
@supports (box-shadow: none) {
.text-content a:where(:not(.button)),
.cke_editable a:where(:not(.button)) {
.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) {
transition: box-shadow 0.3s cubic-bezier(0.55, 0.085, 0, 0.99);
-webkit-text-decoration: none;
text-decoration: none;
box-shadow: inset 0 -2px 0 0 var(--color--primary-50);
box-shadow: inset 0 -2px 0 0 var(--color--primary-50)
}
.text-content a:where(:not(.button)):hover,
.cke_editable a:where(:not(.button)):hover {
-webkit-text-decoration: underline;
.text-content a:where(:not(.button)):hover, .cke_editable a:where(:not(.button)):hover {
text-decoration: underline;
color: var(--color--black);
box-shadow: inset 0 -2em 0 0 var(--color--primary-80);
-webkit-text-decoration-color: var(--color--primary-80);
text-decoration-color: var(--color--primary-80);
}
}
.text-content p,
.cke_editable p {
margin-block-start: var(--sp);
margin-block-end: var(--sp);
.text-content p, .cke_editable p {
margin-top: var(--sp);
margin-bottom: var(--sp)
}
.text-content p:first-child,
.cke_editable p:first-child {
margin-block-start: 0;
.text-content p:first-child, .cke_editable p:first-child {
margin-top: 0;
}
.text-content p:last-child,
.cke_editable p:last-child {
margin-block-end: 0;
.text-content p:last-child, .cke_editable p:last-child {
margin-bottom: 0;
}
@media (min-width: 43.75rem) {
.text-content p,
.cke_editable p {
margin-block-start: var(--sp2);
margin-block-end: var(--sp2);
.text-content p, .cke_editable p {
margin-top: var(--sp2);
margin-bottom: var(--sp2)
}
}
.text-content code,
.cke_editable code {
.text-content code, .cke_editable code {
background-color: var(--color--gray-100);
}
.text-content pre code,
.cke_editable pre code {
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code {
padding-left: var(--sp)
}
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code {
padding-right: var(--sp)
}
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code {
padding-right: var(--sp)
}
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code {
padding-left: var(--sp)
}
.text-content pre code, .cke_editable pre code {
display: block;
overflow: auto;
padding-block: var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
padding-top: var(--sp);
padding-bottom: var(--sp);
color: var(--color-text-neutral-soft);
}
.text-content blockquote,
.cke_editable blockquote {
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote {
margin-left: 0
}
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote {
margin-right: 0
}
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote {
margin-right: 0
}
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote {
margin-left: 0
}
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote {
padding-left: var(--sp2)
}
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote {
padding-right: var(--sp2)
}
.text-content blockquote, .cke_editable blockquote {
position: relative;
margin-block: var(--sp2);
margin-inline-start: 0;
margin-inline-end: 0;
padding-inline-start: var(--sp2);
margin-top: var(--sp2);
margin-bottom: var(--sp2);
letter-spacing: -0.01em;
font-family: var(--font-serif);
font-size: 1.3125rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
[dir="ltr"] .text-content blockquote::before,[dir="ltr"] .cke_editable blockquote::before {
left: 0
}
[dir="rtl"] .text-content blockquote::before,[dir="rtl"] .cke_editable blockquote::before {
right: 0
}
.text-content blockquote::before,
.cke_editable blockquote::before {
.text-content blockquote::before, .cke_editable blockquote::before {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
top: 0;
content: "\201C";
color: var(--color--primary-60);
font-size: 3.375rem;
}
.text-content blockquote::after,
.cke_editable blockquote::after {
[dir="ltr"] .text-content blockquote::after,[dir="ltr"] .cke_editable blockquote::after {
left: 0
}
[dir="rtl"] .text-content blockquote::after,[dir="rtl"] .cke_editable blockquote::after {
right: 0
}
[dir="ltr"] .text-content blockquote::after,[dir="ltr"] .cke_editable blockquote::after {
margin-left: 0.25rem
}
[dir="rtl"] .text-content blockquote::after,[dir="rtl"] .cke_editable blockquote::after {
margin-right: 0.25rem
}
.text-content blockquote::after, .cke_editable blockquote::after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
bottom: 0;
width: var(--sp0-5);
height: calc(100% - 1.875rem);
margin-inline-start: 0.25rem;
content: "";
background: var(--color--gray-100);
}
@media (min-width: 43.75rem) {
.text-content blockquote,
.cke_editable blockquote {
.text-content blockquote, .cke_editable blockquote {
font-size: 2rem;
line-height: var(--sp3);
line-height: var(--sp3)
}
}
@media (min-width: 62.5rem) {
.text-content blockquote,
.cke_editable blockquote {
.text-content blockquote, .cke_editable blockquote {
font-size: 2.5rem;
line-height: calc(3.5 * var(--sp));
line-height: calc(var(--sp)*3.5)
}
}
@media (min-width: 43.75rem) {
.text-content,
.cke_editable {
font-size: 1.125rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
}
@ -156,7 +218,7 @@
*/
.site-footer .text-content {
color: inherit;
color: inherit
}
.site-footer .text-content * {
@ -164,14 +226,12 @@
}
.site-footer .text-content a {
-webkit-text-decoration: underline;
text-decoration: underline;
color: var(--color--white);
box-shadow: none;
box-shadow: none
}
.site-footer .text-content a:hover {
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color--white);
box-shadow: none;
@ -182,8 +242,9 @@
*/
@media (min-width: 62.5rem) {
.region--sidebar .text-content blockquote {
font-size: 1.5rem;
line-height: var(--sp2);
line-height: var(--sp2)
}
}

19
css/components/ui-dialog.css

@ -10,16 +10,27 @@
* Styles for jQuery UI dialog.
*/
.ui-dialog .ui-dialog-buttonpane {
padding-inline-start: 0.2em;
padding-inline-end: 0.2em;
[dir="ltr"] .ui-dialog .ui-dialog-buttonpane {
padding-left: 0.2em;
}
[dir="rtl"] .ui-dialog .ui-dialog-buttonpane {
padding-right: 0.2em;
}
[dir="ltr"] .ui-dialog .ui-dialog-buttonpane {
padding-right: 0.2em;
}
[dir="rtl"] .ui-dialog .ui-dialog-buttonpane {
padding-left: 0.2em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
display: flex;
float: none;
flex-wrap: wrap;
gap: 0.3125rem;
grid-gap: 0.3125rem;
}
.ui-dialog .ui-dialog-buttonpane button {

102
css/components/vertical-tabs.css

@ -10,50 +10,76 @@
* Vertical Tabs.
*/
:root {
--vertical-tabs-menu-width: 15rem;
--vertical-tabs-menu-border-width: 1px;
}
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@media (min-width: 62.5rem) {
.vertical-tabs {
display: flex;
display: flex
}
}
[dir="ltr"] .vertical-tabs__menu {
margin-left: 0
}
[dir="rtl"] .vertical-tabs__menu {
margin-right: 0
}
[dir="ltr"] .vertical-tabs__menu {
margin-right: 0
}
[dir="rtl"] .vertical-tabs__menu {
margin-left: 0
}
.vertical-tabs__menu {
position: relative;
align-self: flex-start;
margin: 0;
margin-inline-start: 0;
margin-inline-end: 0;
list-style: none;
border-width: var(--vertical-tabs-menu-border-width);
border-width: 1px;
border-style: solid;
border-color: var(--color--gray-95);
border-color: var(--color--gray-95)
}
@media (min-width: 62.5rem) {
.vertical-tabs__menu {
width: var(--vertical-tabs-menu-width);
border-width: var(--vertical-tabs-menu-border-width) 0 var(--vertical-tabs-menu-border-width) var(--vertical-tabs-menu-border-width);
width: 15rem;
border-width: 1px 0 1px 1px
}
}
.vertical-tabs__panes {
margin-block-start: calc(var(--vertical-tabs-menu-border-width) * -1);
margin-top: -1px
}
@media (min-width: 62.5rem) {
.vertical-tabs__panes {
width: calc(100% - var(--vertical-tabs-menu-width));
margin-block-start: 0;
width: calc(100% - 15rem);
margin-top: 0
}
}
@media (min-width: 62.5rem) {
.vertical-tabs__pane {
min-height: 100%;
min-height: 100%
}
}
@ -68,18 +94,32 @@
}
.vertical-tabs__menu-item:nth-child(n+2) {
border-block-start: var(--vertical-tabs-menu-border-width) solid var(--color--gray-95);
border-top: 1px solid var(--color--gray-95);
}
[dir="ltr"] .vertical-tabs__menu-item a {
padding-left: var(--sp0-75)
}
[dir="rtl"] .vertical-tabs__menu-item a {
padding-right: var(--sp0-75)
}
[dir="ltr"] .vertical-tabs__menu-item a {
padding-right: var(--sp0-75)
}
[dir="rtl"] .vertical-tabs__menu-item a {
padding-left: var(--sp0-75)
}
.vertical-tabs__menu-item a {
display: block;
padding-block: var(--sp0-5);
padding-inline-start: var(--sp0-75);
padding-inline-end: var(--sp0-75);
-webkit-text-decoration: none;
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
text-decoration: none;
color: var(--color-text-primary-loud);
background-color: var(--color--gray-95);
background-color: var(--color--gray-95)
}
.vertical-tabs__menu-item a:focus,
@ -89,13 +129,25 @@
}
.vertical-tabs__menu-item.is-selected {
background-color: var(--color--white);
background-color: var(--color--white)
}
@media (min-width: 62.5rem) {
.vertical-tabs__menu-item.is-selected {
margin-inline-end: calc(var(--vertical-tabs-menu-border-width) * -1);
padding-inline-end: var(--vertical-tabs-menu-border-width);
[dir="ltr"] .vertical-tabs__menu-item.is-selected {
margin-right: -1px
}
[dir="rtl"] .vertical-tabs__menu-item.is-selected {
margin-left: -1px
}
[dir="ltr"] .vertical-tabs__menu-item.is-selected {
padding-right: 1px
}
[dir="rtl"] .vertical-tabs__menu-item.is-selected {
padding-left: 1px
}
}

84
css/components/wide-image.css

@ -10,46 +10,106 @@
* Wide image component.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .wide-image {
margin-left: 0
}
[dir="rtl"] .wide-image {
margin-right: 0
}
[dir="ltr"] .wide-image {
margin-right: 0
}
[dir="rtl"] .wide-image {
margin-left: 0
}
.wide-image {
margin-block-start: var(--sp0-5);
margin-block-end: var(--sp2);
margin-inline-start: 0;
margin-inline-end: 0;
margin-top: var(--sp0-5);
margin-bottom: var(--sp2)
}
@media (min-width: 43.75rem) {
[dir="ltr"] .wide-image {
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .wide-image {
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
.wide-image {
width: calc(var(--grid-col-count)*var(--grid-col-width) + var(--grid-gap-count)*var(--grid-gap));
margin-block: var(--sp2) var(--sp4);
margin-inline-start: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
margin-top: var(--sp2);
margin-bottom: var(--sp4)
}
}
@media (min-width: 62.5rem) {
[dir="ltr"] .wide-image {
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .wide-image {
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
.wide-image {
width: calc(12 * var(--grid-col-width) + 11 * var(--grid-gap));
margin-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
width: calc(var(--grid-col-width)*12 + var(--grid-gap)*11)
}
}
/* Ensure that image doesn't overlap sidebar. */
@media (min-width: 62.5rem) {
.sidebar-grid .wide-image {
width: calc(9 * var(--grid-col-width) + 8 * var(--grid-gap));
width: calc(var(--grid-col-width)*9 + var(--grid-gap)*8)
}
}
@media (min-width: 81.25rem) {
.sidebar-grid .wide-image {
width: calc(10 * var(--grid-col-width) + 9 * var(--grid-gap));
width: calc(var(--grid-col-width)*10 + var(--grid-gap)*9)
}
}
/* Ensure that image doesn't overlap layout builder sections when editing layouts. */
[dir="ltr"] .layout-builder .wide-image {
margin-left: 0
}
[dir="rtl"] .layout-builder .wide-image {
margin-right: 0
}
[dir="ltr"] .layout-builder .wide-image {
margin-right: 0
}
[dir="rtl"] .layout-builder .wide-image {
margin-left: 0
}
.layout-builder .wide-image {
max-width: 100%;
margin-inline-start: 0;
margin-inline-end: 0;
}

34
css/layout/grid.css

@ -10,11 +10,27 @@
* Grid system.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.grid-full {
display: -ms-grid;
display: grid;
-ms-grid-rows: 1fr;
grid-template-rows: 1fr;
-ms-grid-columns: (minmax(0, 1fr))[var(--grid-col-count)];
grid-template-columns: repeat(var(--grid-col-count), minmax(0, 1fr));
grid-column-gap: var(--grid-gap);
grid-column-gap: var(--grid-gap)
/* .grid-full classes nested 3 or more deep go full width. */
}
@ -30,16 +46,20 @@
*/
@media (min-width: 43.75rem) {
.layout--content-narrow .grid-full,
.layout--pass--content-narrow > * .grid-full {
grid-template-columns: repeat(calc(var(--grid-col-count) - 2), minmax(0, 1fr));
-ms-grid-columns: (minmax(0, 1fr))[calc(var(--grid-col-count) - 2)];
grid-template-columns: repeat(calc(var(--grid-col-count) - 2), minmax(0, 1fr))
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow .grid-full,
.layout--pass--content-narrow > * .grid-full {
grid-template-columns: repeat(calc(var(--grid-col-count) - 6), minmax(0, 1fr));
-ms-grid-columns: (minmax(0, 1fr))[calc(var(--grid-col-count) - 6)];
grid-template-columns: repeat(calc(var(--grid-col-count) - 6), minmax(0, 1fr))
}
}
@ -50,15 +70,19 @@
*/
@media (min-width: 43.75rem) {
.layout--content-medium .grid-full,
.layout--pass--content-medium > * .grid-full {
grid-template-columns: repeat(calc(var(--grid-col-count) - 2), minmax(0, 1fr));
-ms-grid-columns: (minmax(0, 1fr))[calc(var(--grid-col-count) - 2)];
grid-template-columns: repeat(calc(var(--grid-col-count) - 2), minmax(0, 1fr))
}
}
@media (min-width: 62.5rem) {
.layout--content-medium .grid-full,
.layout--pass--content-medium > * .grid-full {
grid-template-columns: repeat(calc(var(--grid-col-count) - 4), minmax(0, 1fr));
-ms-grid-columns: (minmax(0, 1fr))[calc(var(--grid-col-count) - 4)];
grid-template-columns: repeat(calc(var(--grid-col-count) - 4), minmax(0, 1fr))
}
}

71
css/layout/layout-builder-fourcol-section.css

@ -10,66 +10,105 @@
* Provides the layout styles for four-column layout section.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout--fourcol-section {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap
}
.layout--fourcol-section > .layout__region {
flex: 1 0 100%;
margin-block-end: var(--grid-gap);
margin-bottom: var(--grid-gap)
}
@media (min-width: 43.75rem) {
.layout--fourcol-section > .layout__region {
flex-basis: calc(50% - (var(--grid-gap) * 0.5));
flex-basis: calc(50% - var(--grid-gap)*0.5);
flex-grow: 0;
flex-shrink: 0;
margin-block-end: 0;
margin-bottom: 0
}
}
.layout--fourcol-section {
/* Two column layout. */
}
@media (min-width: 43.75rem) {
.layout--fourcol-section > .layout__region--first,
.layout--fourcol-section > .layout__region--second {
margin-block-end: var(--grid-gap);
margin-bottom: var(--grid-gap);
}
.layout--fourcol-section > .layout__region--first,
[dir="ltr"] .layout--fourcol-section > .layout__region--first,[dir="ltr"]
.layout--fourcol-section > .layout__region--third {
margin-inline-end: calc(var(--grid-gap) * 0.5);
margin-right: calc(var(--grid-gap)*0.5)
}
.layout--fourcol-section > .layout__region--second,
[dir="rtl"] .layout--fourcol-section > .layout__region--first,[dir="rtl"]
.layout--fourcol-section > .layout__region--third {
margin-left: calc(var(--grid-gap)*0.5)
}
[dir="ltr"] .layout--fourcol-section > .layout__region--second,[dir="ltr"]
.layout--fourcol-section > .layout__region--fourth {
margin-inline-start: calc(var(--grid-gap) * 0.5);
margin-left: calc(var(--grid-gap)*0.5)
}
[dir="rtl"] .layout--fourcol-section > .layout__region--second,[dir="rtl"]
.layout--fourcol-section > .layout__region--fourth {
margin-right: calc(var(--grid-gap)*0.5)
}
}
.layout--fourcol-section {
/* Four column layout. */
}
@media (min-width: 62.5rem) {
.layout--fourcol-section > .layout__region {
flex-basis: calc(25% - (var(--grid-gap) * 0.75));
flex-basis: calc(25% - var(--grid-gap)*0.75);
}
.layout--fourcol-section > .layout__region--first,
.layout--fourcol-section > .layout__region--second {
margin-block-end: 0;
margin-bottom: 0;
}
[dir="ltr"] .layout--fourcol-section > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.5)
}
.layout--fourcol-section > .layout__region--first {
margin-inline-end: calc(var(--grid-gap) * 0.5);
[dir="rtl"] .layout--fourcol-section > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.5)
}
.layout--fourcol-section > .layout__region--second,
.layout--fourcol-section > .layout__region--third {
margin-inline: calc(var(--grid-gap) * 0.5);
margin-left: calc(var(--grid-gap)*0.5);
margin-right: calc(var(--grid-gap)*0.5);
}
.layout--fourcol-section > .layout__region--fourth {
margin-inline-start: calc(var(--grid-gap) * 0.5);
[dir="ltr"] .layout--fourcol-section > .layout__region--fourth {
margin-left: calc(var(--grid-gap)*0.5)
}
[dir="rtl"] .layout--fourcol-section > .layout__region--fourth {
margin-right: calc(var(--grid-gap)*0.5)
}
}

46
css/layout/layout-builder-threecol-section.css

@ -10,39 +10,61 @@
* Provides the layout styles for three-column layout section.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout--threecol-section {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap
}
.layout--threecol-section > .layout__region {
flex: 1 0 100%;
margin-block-end: var(--grid-gap);
margin-bottom: var(--grid-gap)
}
@media (min-width: 62.5rem) {
.layout--threecol-section > .layout__region {
flex-grow: 0;
flex-shrink: 0;
margin-block-end: 0;
margin-bottom: 0
}
}
@media (min-width: 62.5rem) {
.layout--threecol-section > .layout__region--first {
margin-inline-end: calc(var(--grid-gap) * 0.5);
[dir="ltr"] .layout--threecol-section > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.5)
}
[dir="rtl"] .layout--threecol-section > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.5)
}
.layout--threecol-section > .layout__region--second {
margin-inline: calc(var(--grid-gap) * 0.5);
margin-left: calc(var(--grid-gap)*0.5);
margin-right: calc(var(--grid-gap)*0.5);
}
[dir="ltr"] .layout--threecol-section > .layout__region--third {
margin-left: calc(var(--grid-gap)*0.5)
}
.layout--threecol-section > .layout__region--third {
margin-inline-start: calc(var(--grid-gap) * 0.5);
[dir="rtl"] .layout--threecol-section > .layout__region--third {
margin-right: calc(var(--grid-gap)*0.5)
}
.layout--threecol-section--25-50-25 > .layout__region--first,
.layout--threecol-section--25-50-25 > .layout__region--third {
flex-basis: calc(25% - (var(--grid-gap) * 0.5));
flex-basis: calc(25% - var(--grid-gap)*0.5);
}
.layout--threecol-section--25-50-25 > .layout__region--second {
@ -50,7 +72,7 @@
}
.layout--threecol-section--25-25-50 > .layout__region--first,
.layout--threecol-section--25-25-50 > .layout__region--second {
flex-basis: calc(25% - (var(--grid-gap) * 0.5));
flex-basis: calc(25% - var(--grid-gap)*0.5);
}
.layout--threecol-section--25-25-50 > .layout__region--third {
@ -62,11 +84,11 @@
.layout--threecol-section--50-25-25 > .layout__region--second,
.layout--threecol-section--50-25-25 > .layout__region--third {
flex-basis: calc(25% - (var(--grid-gap) * 0.5));
flex-basis: calc(25% - var(--grid-gap)*0.5);
}
.layout--threecol-section--33-34-33 > .layout__region--first,
.layout--threecol-section--33-34-33 > .layout__region--second,
.layout--threecol-section--33-34-33 > .layout__region--third {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.667));
flex-basis: calc(33.33% - var(--grid-gap)*0.667);
}
}

120
css/layout/layout-builder-twocol-section.css

@ -10,68 +10,142 @@
* Provides the layout styles for two-column layout section.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout--twocol-section {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap
}
.layout--twocol-section > .layout__region {
flex: 1 0 100%;
margin-block-end: var(--grid-gap);
margin-bottom: var(--grid-gap)
}
@media (min-width: 43.75rem) {
.layout--twocol-section > .layout__region {
flex-grow: 0;
flex-shrink: 0;
margin-block-end: 0;
margin-bottom: 0
}
}
@media (min-width: 43.75rem) {
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.5)
}
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.5)
}
.layout--twocol-section--50-50 > .layout__region--first {
flex-basis: calc(50% - (var(--grid-gap) * 0.5));
margin-inline-end: calc(var(--grid-gap) * 0.5);
flex-basis: calc(50% - var(--grid-gap)*0.5);
}
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--second {
margin-left: calc(var(--grid-gap)*0.5)
}
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--second {
margin-right: calc(var(--grid-gap)*0.5)
}
.layout--twocol-section--50-50 > .layout__region--second {
flex-basis: calc(50% - (var(--grid-gap) * 0.5));
margin-inline-start: calc(var(--grid-gap) * 0.5);
flex-basis: calc(50% - var(--grid-gap)*0.5);
}
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.3333)
}
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.3333)
}
.layout--twocol-section--33-67 > .layout__region--first {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.3333));
margin-inline-end: calc(var(--grid-gap) * 0.3333);
flex-basis: calc(33.33% - var(--grid-gap)*0.3333);
}
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--second {
margin-left: calc(var(--grid-gap)*0.6666)
}
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--second {
margin-right: calc(var(--grid-gap)*0.6666)
}
.layout--twocol-section--33-67 > .layout__region--second {
flex-basis: calc(66.66% - (var(--grid-gap) * 0.6666));
margin-inline-start: calc(var(--grid-gap) * 0.6666);
flex-basis: calc(66.66% - var(--grid-gap)*0.6666);
}
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.6666)
}
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.6666)
}
.layout--twocol-section--67-33 > .layout__region--first {
flex-basis: calc(66.66% - (var(--grid-gap) * 0.6666));
margin-inline-end: calc(var(--grid-gap) * 0.6666);
flex-basis: calc(66.66% - var(--grid-gap)*0.6666);
}
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--second {
margin-left: calc(var(--grid-gap)*0.3333)
}
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--second {
margin-right: calc(var(--grid-gap)*0.3333)
}
.layout--twocol-section--67-33 > .layout__region--second {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.3333));
margin-inline-start: calc(var(--grid-gap) * 0.3333);
flex-basis: calc(33.33% - var(--grid-gap)*0.3333);
}
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.25)
}
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.25)
}
.layout--twocol-section--25-75 > .layout__region--first {
flex-basis: calc(25% - (var(--grid-gap) * 0.25));
margin-inline-end: calc(var(--grid-gap) * 0.25);
flex-basis: calc(25% - var(--grid-gap)*0.25);
}
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--second {
margin-left: calc(var(--grid-gap)*0.75)
}
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--second {
margin-right: calc(var(--grid-gap)*0.75)
}
.layout--twocol-section--25-75 > .layout__region--second {
flex-basis: calc(75% - (var(--grid-gap) * 0.75));
margin-inline-start: calc(var(--grid-gap) * 0.75);
flex-basis: calc(75% - var(--grid-gap)*0.75);
}
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--first {
margin-right: calc(var(--grid-gap)*0.75)
}
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--first {
margin-left: calc(var(--grid-gap)*0.75)
}
.layout--twocol-section--75-25 > .layout__region--first {
flex-basis: calc(75% - (var(--grid-gap) * 0.75));
margin-inline-end: calc(var(--grid-gap) * 0.75);
flex-basis: calc(75% - var(--grid-gap)*0.75);
}
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--second {
margin-left: calc(var(--grid-gap)*0.25)
}
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--second {
margin-right: calc(var(--grid-gap)*0.25)
}
.layout--twocol-section--75-25 > .layout__region--second {
flex-basis: calc(25% - (var(--grid-gap) * 0.25));
margin-inline-start: calc(var(--grid-gap) * 0.25);
flex-basis: calc(25% - var(--grid-gap)*0.25);
}
}

41
css/layout/layout-content-medium.css

@ -10,23 +10,44 @@
* Grid system definition for the content wide layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout--content-medium,
.layout--pass--content-medium > * {
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7;
width: 100%;
width: 100%
}
@media (min-width: 43.75rem) {
.layout--content-medium,
.layout--pass--content-medium > * {
grid-column: 2 / 14;
-ms-grid-column: 2;
-ms-grid-column-span: 12;
grid-column: 2 / 14
}
}
@media (min-width: 62.5rem) {
.layout--content-medium,
.layout--pass--content-medium > * {
grid-column: 3 / 13;
-ms-grid-column: 3;
-ms-grid-column-span: 10;
grid-column: 3 / 13
}
}
@ -37,19 +58,25 @@
*/
@media (min-width: 43.75rem) {
.layout--pass--content-medium > * .layout--content-medium,
.layout--content-medium .layout--content-medium,
.layout--pass--content-medium > * .layout--pass--content-medium > *,
.layout--content-medium .layout--content-medium,
.layout--content-medium .layout--pass--content-medium > * {
grid-column: 1 / 13;
-ms-grid-column: 1;
-ms-grid-column-span: 12;
grid-column: 1 / 13
}
}
@media (min-width: 62.5rem) {
.layout--pass--content-medium > * .layout--content-medium,
.layout--content-medium .layout--content-medium,
.layout--pass--content-medium > * .layout--pass--content-medium > *,
.layout--content-medium .layout--content-medium,
.layout--content-medium .layout--pass--content-medium > * {
grid-column: 1 / 11;
-ms-grid-column: 1;
-ms-grid-column-span: 10;
grid-column: 1 / 11
}
}

139
css/layout/layout-content-narrow.css

@ -10,23 +10,44 @@
* Grid system definition for the content narrow layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout--content-narrow,
.layout--pass--content-narrow > * {
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7;
width: 100%;
width: 100%
}
@media (min-width: 43.75rem) {
.layout--content-narrow,
.layout--pass--content-narrow > * {
grid-column: 2 / 14;
-ms-grid-column: 2;
-ms-grid-column-span: 12;
grid-column: 2 / 14
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow,
.layout--pass--content-narrow > * {
grid-column: 3 / 11;
-ms-grid-column: 3;
-ms-grid-column-span: 8;
grid-column: 3 / 11
}
}
@ -40,28 +61,34 @@
*/
@media (min-width: 43.75rem) {
.layout--content-narrow .layout--content-narrow,
.layout--pass--content-narrow > * .layout--content-narrow,
.layout--content-medium .layout--content-narrow,
.layout--pass--content-medium > * .layout--content-narrow,
.layout--content-narrow .layout--pass--content-narrow > *,
.layout--pass--content-narrow > * .layout--content-narrow,
.layout--pass--content-narrow > * .layout--pass--content-narrow > *,
.layout--content-medium .layout--content-narrow,
.layout--content-medium .layout--pass--content-narrow > *,
.layout--pass--content-medium > * .layout--content-narrow,
.layout--pass--content-medium > * .layout--pass--content-narrow > * {
grid-column: 1 / 13;
-ms-grid-column: 1;
-ms-grid-column-span: 12;
grid-column: 1 / 13
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow .layout--content-narrow,
.layout--pass--content-narrow > * .layout--content-narrow,
.layout--content-medium .layout--content-narrow,
.layout--pass--content-medium > * .layout--content-narrow,
.layout--content-narrow .layout--pass--content-narrow > *,
.layout--pass--content-narrow > * .layout--content-narrow,
.layout--pass--content-narrow > * .layout--pass--content-narrow > *,
.layout--content-medium .layout--content-narrow,
.layout--content-medium .layout--pass--content-narrow > *,
.layout--pass--content-medium > * .layout--content-narrow,
.layout--pass--content-medium > * .layout--pass--content-narrow > * {
grid-column: 1 / 9;
-ms-grid-column: 1;
-ms-grid-column-span: 8;
grid-column: 1 / 9
}
}
@ -71,53 +98,77 @@
*/
@media (min-width: 43.75rem) {
.layout--content-narrow.text-content blockquote::before,
.layout--pass--content-narrow > *.text-content blockquote::before,
.layout--content-narrow .text-content blockquote::before,
.layout--pass--content-narrow > * .text-content blockquote::before {
inset-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
[dir="ltr"] .layout--content-narrow.text-content blockquote::before,[dir="ltr"] .layout--content-narrow .text-content blockquote::before,[dir="ltr"] .layout--pass--content-narrow > *.text-content blockquote::before,[dir="ltr"] .layout--pass--content-narrow > * .text-content blockquote::before {
left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .layout--content-narrow.text-content blockquote::before,[dir="rtl"] .layout--content-narrow .text-content blockquote::before,[dir="rtl"] .layout--pass--content-narrow > *.text-content blockquote::before,[dir="rtl"] .layout--pass--content-narrow > * .text-content blockquote::before {
right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
}
@media (min-width: 43.75rem) {
.layout--content-narrow.text-content blockquote::after,
.layout--pass--content-narrow > *.text-content blockquote::after,
.layout--content-narrow .text-content blockquote::after,
.layout--pass--content-narrow > * .text-content blockquote::after {
inset-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
[dir="ltr"] .layout--content-narrow.text-content blockquote::after,[dir="ltr"] .layout--content-narrow .text-content blockquote::after,[dir="ltr"] .layout--pass--content-narrow > *.text-content blockquote::after,[dir="ltr"] .layout--pass--content-narrow > * .text-content blockquote::after {
left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .layout--content-narrow.text-content blockquote::after,[dir="rtl"] .layout--content-narrow .text-content blockquote::after,[dir="rtl"] .layout--pass--content-narrow > *.text-content blockquote::after,[dir="rtl"] .layout--pass--content-narrow > * .text-content blockquote::after {
right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="ltr"] .layout--content-narrow.text-content blockquote::after,[dir="ltr"] .layout--content-narrow .text-content blockquote::after,[dir="ltr"] .layout--pass--content-narrow > *.text-content blockquote::after,[dir="ltr"] .layout--pass--content-narrow > * .text-content blockquote::after {
margin-left: 2px
}
[dir="rtl"] .layout--content-narrow.text-content blockquote::after,[dir="rtl"] .layout--content-narrow .text-content blockquote::after,[dir="rtl"] .layout--pass--content-narrow > *.text-content blockquote::after,[dir="rtl"] .layout--pass--content-narrow > * .text-content blockquote::after {
margin-right: 2px
}
.layout--content-narrow.text-content blockquote::after, .layout--content-narrow .text-content blockquote::after, .layout--pass--content-narrow > *.text-content blockquote::after, .layout--pass--content-narrow > * .text-content blockquote::after {
width: var(--sp);
height: calc(100% - 2.8125rem);
margin-inline-start: 2px;
height: calc(100% - 2.8125rem)
}
}
@media (min-width: 43.75rem) {
.layout--content-narrow.text-content blockquote,
.layout--pass--content-narrow > *.text-content blockquote,
.layout--content-narrow .text-content blockquote,
.layout--pass--content-narrow > * .text-content blockquote {
width: calc(10 * var(--grid-col-width) + 9 * var(--grid-gap));
margin-block: var(--sp3);
padding-inline-start: 0;
[dir="ltr"] .layout--content-narrow.text-content blockquote,[dir="ltr"] .layout--content-narrow .text-content blockquote,[dir="ltr"] .layout--pass--content-narrow > *.text-content blockquote,[dir="ltr"] .layout--pass--content-narrow > * .text-content blockquote {
padding-left: 0
}
[dir="rtl"] .layout--content-narrow.text-content blockquote,[dir="rtl"] .layout--content-narrow .text-content blockquote,[dir="rtl"] .layout--pass--content-narrow > *.text-content blockquote,[dir="rtl"] .layout--pass--content-narrow > * .text-content blockquote {
padding-right: 0
}
.layout--content-narrow.text-content blockquote, .layout--content-narrow .text-content blockquote, .layout--pass--content-narrow > *.text-content blockquote, .layout--pass--content-narrow > * .text-content blockquote {
width: calc(var(--grid-col-width)*10 + var(--grid-gap)*9);
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
}
@media (min-width: 43.75rem) {
.layout--content-narrow.text-content pre,
.layout--pass--content-narrow > *.text-content pre,
.layout--content-narrow .text-content pre,
.layout--pass--content-narrow > * .text-content pre {
margin-block: var(--sp3);
.layout--content-narrow.text-content pre, .layout--content-narrow .text-content pre, .layout--pass--content-narrow > *.text-content pre, .layout--pass--content-narrow > * .text-content pre {
margin-top: var(--sp3);
margin-bottom: var(--sp3)
}
}
@media (min-width: 62.5rem) {
.layout--content-narrow.text-content pre,
.layout--pass--content-narrow > *.text-content pre,
.layout--content-narrow .text-content pre,
.layout--pass--content-narrow > * .text-content pre {
width: calc(12 * var(--grid-col-width) + 11 * var(--grid-gap));
margin-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
[dir="ltr"] .layout--content-narrow.text-content pre,[dir="ltr"] .layout--content-narrow .text-content pre,[dir="ltr"] .layout--pass--content-narrow > *.text-content pre,[dir="ltr"] .layout--pass--content-narrow > * .text-content pre {
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
[dir="rtl"] .layout--content-narrow.text-content pre,[dir="rtl"] .layout--content-narrow .text-content pre,[dir="rtl"] .layout--pass--content-narrow > *.text-content pre,[dir="rtl"] .layout--pass--content-narrow > * .text-content pre {
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
}
.layout--content-narrow.text-content pre, .layout--content-narrow .text-content pre, .layout--pass--content-narrow > *.text-content pre, .layout--pass--content-narrow > * .text-content pre {
width: calc(var(--grid-col-width)*12 + var(--grid-gap)*11)
}
}
@ -127,12 +178,12 @@
*/
.sidebar-grid .layout--content-narrow.text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > *.text-content blockquote,
.sidebar-grid .layout--content-narrow.text-content pre,
.sidebar-grid .layout--content-narrow .text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > * .text-content blockquote,
.sidebar-grid .layout--content-narrow .text-content pre,
.sidebar-grid .layout--pass--content-narrow > *.text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > *.text-content pre,
.sidebar-grid .layout--content-narrow .text-content pre,
.sidebar-grid .layout--pass--content-narrow > * .text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > * .text-content pre {
width: auto;
}

21
css/layout/layout-discovery-section-layout.css

@ -10,18 +10,33 @@
* Provides default layout styles for all layout sections.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.layout {
margin-block-end: var(--sp);
margin-bottom: var(--sp)
}
@media (min-width: 43.75rem) {
.layout {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
}
@media (min-width: 62.5rem) {
.layout {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}

43
css/layout/layout-footer.css

@ -10,6 +10,19 @@
* Grid system definition for the footer top and footer bottom layouts.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
/**
* Creates stacking context ensuring that child elements can never appear in
* front of mobile navigation.
@ -21,37 +34,43 @@
}
.site-footer__inner {
padding-block: var(--sp2);
padding-top: var(--sp2);
padding-bottom: var(--sp2)
}
@media (min-width: 75rem) {
.site-footer__inner {
padding-block: var(--sp4) calc(13 * var(--sp));
padding-top: var(--sp4);
padding-bottom: calc(var(--sp)*13)
}
}
.region--footer_top__inner > *,
.region--footer_bottom__inner > * {
margin-block-end: var(--sp2);
.region--footer_top__inner > *, .region--footer_bottom__inner > * {
margin-bottom: var(--sp2)
}
@media (min-width: 43.75rem) {
.region--footer_top__inner > *,
.region--footer_bottom__inner > * {
.region--footer_top__inner > *, .region--footer_bottom__inner > * {
flex: 1;
margin-block-end: 0;
margin-bottom: 0
}
.region--footer_top__inner > *:not(:last-child),
.region--footer_bottom__inner > *:not(:last-child) {
margin-inline-end: var(--sp2);
[dir="ltr"] .region--footer_top__inner > *:not(:last-child),[dir="ltr"] .region--footer_bottom__inner > *:not(:last-child) {
margin-right: var(--sp2);
}
[dir="rtl"] .region--footer_top__inner > *:not(:last-child),[dir="rtl"] .region--footer_bottom__inner > *:not(:last-child) {
margin-left: var(--sp2);
}
}
@media (min-width: 43.75rem) {
.region--footer_top__inner,
.region--footer_bottom__inner {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap
}
}

48
css/layout/layout-sidebar.css

@ -10,27 +10,53 @@
* Special grid system for sidebar.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.sidebar-grid > .site-main {
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7;
align-self: flex-start;
align-self: flex-start
}
@media (min-width: 43.75rem) {
.sidebar-grid > .site-main {
grid-column: 1 / 15;
-ms-grid-column: 1;
-ms-grid-column-span: 14;
grid-column: 1 / 15
}
}
@media (min-width: 62.5rem) {
.sidebar-grid > .site-main {
display: -ms-grid;
display: grid;
-ms-grid-columns: (minmax(0, 1fr))[8];
grid-template-columns: repeat(8, minmax(0, 1fr));
grid-column: 3 / 11;
-ms-grid-column: 3;
-ms-grid-column-span: 8;
grid-column: 3 / 11
}
.sidebar-grid > .site-main > .region--content-above,
.sidebar-grid > .site-main > .region--content {
-ms-grid-columns: (minmax(0, 1fr))[8];
grid-template-columns: repeat(8, minmax(0, 1fr));
-ms-grid-column: 1;
-ms-grid-column-span: 8;
grid-column: 1 / 9;
}
@ -38,22 +64,32 @@
.sidebar-grid > .site-main .layout--pass--content-narrow > *,
.sidebar-grid > .site-main .layout--content-medium,
.sidebar-grid > .site-main .layout--pass--content-medium > * {
-ms-grid-column: 1;
-ms-grid-column-span: 8;
grid-column: 1 / 9;
}
}
.sidebar-grid .region--sidebar {
grid-column: 1 / 7;
-ms-grid-column: 1;
-ms-grid-column-span: 6;
grid-column: 1 / 7
}
@media (min-width: 43.75rem) {
.sidebar-grid .region--sidebar {
grid-column: 3 / 13;
-ms-grid-column: 3;
-ms-grid-column-span: 10;
grid-column: 3 / 13
}
}
@media (min-width: 62.5rem) {
.sidebar-grid .region--sidebar {
grid-column: 12 / 15;
-ms-grid-column: 12;
-ms-grid-column-span: 3;
grid-column: 12 / 15
}
}

21
css/layout/layout-views-grid.css

@ -14,6 +14,19 @@
* they reach the --views-grid-item--min-width value.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.views-view-grid {
--views-grid--layout-gap: var(--sp);
--views-grid--column-count: 4; /* Will be overridden by an inline style. */
@ -28,20 +41,22 @@
--views-grid--total-gap-width: calc(var(--views-grid--gap-count)*var(--views-grid--layout-gap));
--views-grid-item--max-width: calc((100% - var(--views-grid--total-gap-width))/var(--views-grid--column-count));
display: -ms-grid;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(max(var(--views-grid-item--min-width), var(--views-grid-item--max-width)), 1fr));
grid-gap: var(--views-grid--layout-gap);
}
.views-view-grid--vertical {
margin-block-end: calc(-1 * var(--views-grid--layout-gap)); /* Offset the bottom row's padding. */
margin-bottom: calc(var(--views-grid--layout-gap)*-1); /* Offset the bottom row's padding. */
column-width: var(--views-grid-item--min-width);
column-count: var(--views-grid--column-count);
column-gap: var(--views-grid--layout-gap);
grid-column-gap: var(--views-grid--layout-gap)
}
.views-view-grid--vertical .views-view-grid__item > * {
padding-block-end: var(--views-grid--layout-gap);
padding-bottom: var(--views-grid--layout-gap);
page-break-inside: avoid;
break-inside: avoid;
}

38
css/layout/layout.css

@ -10,10 +10,24 @@
* Base Layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.container {
width: 100%;
max-width: var(--max-width);
padding-inline: var(--container-padding);
padding-left: var(--container-padding);
padding-right: var(--container-padding)
/* This fixes an issue where if the toolbar is open in vertical mode, and
* the mobile navigation is open, the "close" button gets pushed outside of
@ -21,7 +35,7 @@
}
body.is-fixed .container {
width: calc(100% - var(--drupal-displace-offset-left, 0px) - var(--drupal-displace-offset-right, 0px));
width: 100%
}
.page-wrapper {
@ -42,26 +56,36 @@ body.is-fixed .container {
/* Contains the social sidebar, and the primary content area. */
@media (min-width: 75rem) {
.layout-main {
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
flex-wrap: wrap
}
}
@media (min-width: 75rem) {
[dir="ltr"] .main-content {
margin-right: auto
}
[dir="rtl"] .main-content {
margin-left: auto
}
.main-content {
width: calc(100% - var(--content-left));
margin-inline-end: auto;
width: calc(100% - var(--content-left))
}
}
.main-content__container {
padding-block-start: var(--sp3);
padding-top: var(--sp3)
}
@media (min-width: 43.75rem) {
.main-content__container {
padding-block-start: var(--sp5);
padding-top: var(--sp5)
}
}

58
css/layout/region-content-below.css

@ -10,37 +10,73 @@
* Content below region layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@media (min-width: 43.75rem) {
.region--content-below {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap
}
[dir="ltr"] .region--content-below > * {
margin-right: var(--grid-gap)
}
[dir="rtl"] .region--content-below > * {
margin-left: var(--grid-gap)
}
.region--content-below > * {
flex-basis: calc(50% - (var(--grid-gap) / 2));
flex-basis: calc(50% - var(--grid-gap)/2);
flex-grow: 1;
flex-shrink: 0;
margin-inline-end: var(--grid-gap);
flex-shrink: 0
}
.region--content-below > *:nth-child(2n),
[dir="ltr"] .region--content-below > *:nth-child(2n),[dir="ltr"]
.region--content-below > *:last-child {
margin-inline-end: 0;
margin-right: 0
}
[dir="rtl"] .region--content-below > *:nth-child(2n),[dir="rtl"]
.region--content-below > *:last-child {
margin-left: 0
}
}
@media (min-width: 43.75rem) {
.region--content-below > * {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.667));
flex-basis: calc(33.33% - var(--grid-gap)*0.667)
}
[dir="ltr"] .region--content-below > *:nth-child(2n),[dir="ltr"]
.region--content-below > *:last-child {
margin-right: var(--grid-gap)
}
[dir="rtl"] .region--content-below > *:nth-child(2n),[dir="rtl"]
.region--content-below > *:last-child {
margin-left: var(--grid-gap)
}
.region--content-below > *:nth-child(2n),
[dir="ltr"] .region--content-below > *:nth-child(3n),[dir="ltr"]
.region--content-below > *:last-child {
margin-inline-end: var(--grid-gap);
margin-right: 0
}
.region--content-below > *:nth-child(3n),
[dir="rtl"] .region--content-below > *:nth-child(3n),[dir="rtl"]
.region--content-below > *:last-child {
margin-inline-end: 0;
margin-left: 0
}
}

21
css/layout/region-content.css

@ -10,18 +10,33 @@
* Content region layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.region--content {
margin-block-end: var(--sp);
margin-bottom: var(--sp)
}
@media (min-width: 43.75rem) {
.region--content {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
}
@media (min-width: 62.5rem) {
.region--content {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}

15
css/layout/region-hero.css

@ -10,6 +10,19 @@
* Region default layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.region--hero > *:last-child {
margin-block-end: 0;
margin-bottom: 0;
}

21
css/layout/region-secondary-menu.css

@ -10,20 +10,33 @@
* Secondary menu region layout styling.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.region--secondary-menu {
display: flex;
margin-block-start: var(--sp2);
margin-block-end: var(--sp2);
margin-top: var(--sp2);
margin-bottom: var(--sp2)
}
.region--secondary-menu > * {
margin-block-end: 0;
margin-bottom: 0;
}
@media (min-width: 75rem) {
body:not(.is-always-mobile-nav) .region--secondary-menu {
justify-content: flex-end;
margin: 0;
margin: 0
/* If the secondary nav is the first item within the header, it does not need left separator. */
}

21
css/layout/region.css

@ -10,18 +10,33 @@
* Region default layout.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.region > * {
margin-block-end: var(--sp);
margin-bottom: var(--sp)
}
@media (min-width: 43.75rem) {
.region > * {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
}
@media (min-width: 62.5rem) {
.region > * {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}

121
css/layout/social-bar.css

@ -11,63 +11,130 @@
.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
@media (min-width: 75rem) {
.social-bar {
flex-shrink: 0;
width: var(--content-left);
background-color: var(--color--gray-100);
background-color: var(--color--gray-100)
}
}
[dir="ltr"] .social-bar__inner {
padding-left: var(--sp)
}
[dir="rtl"] .social-bar__inner {
padding-right: var(--sp)
}
[dir="ltr"] .social-bar__inner {
padding-right: var(--sp)
}
[dir="rtl"] .social-bar__inner {
padding-left: var(--sp)
}
.social-bar__inner {
position: relative;
padding-block: var(--sp0-5);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
}
@media (min-width: 75rem) {
[dir="ltr"] .social-bar__inner {
padding-left: 0
}
[dir="rtl"] .social-bar__inner {
padding-right: 0
}
[dir="ltr"] .social-bar__inner {
padding-right: 0
}
[dir="rtl"] .social-bar__inner {
padding-left: 0
}
.social-bar__inner {
position: relative;
width: var(--content-left);
padding-block: calc(5 * var(--sp));
padding-inline-start: 0;
padding-inline-end: 0;
padding-top: calc(var(--sp)*5);
padding-bottom: calc(var(--sp)*5)
}
[dir="ltr"] .social-bar__inner.is-fixed {
left: 0
}
[dir="rtl"] .social-bar__inner.is-fixed {
right: 0
}
.social-bar__inner.is-fixed {
position: fixed;
inset-block-start: var(--sp6);
inset-inline-start: 0;
height: calc(100vh - 6 * var(--sp));
top: var(--sp6);
height: calc(100vh - var(--sp)*6);
}
}
.rotate > * {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
@media (min-width: 75rem) {
.rotate > * {
display: flex;
align-items: center;
margin-block-end: 0;
margin-bottom: 0
}
[dir="ltr"] .rotate > *:not(:first-child) {
margin-right: var(--sp2)
}
.rotate > *:not(:first-child) {
margin-inline-end: var(--sp2);
[dir="rtl"] .rotate > *:not(:first-child) {
margin-left: var(--sp2)
}
}
@media (min-width: 75rem) {
[dir="ltr"] .rotate .contextual {
left: 100%;
right: auto
}
[dir="rtl"] .rotate .contextual {
right: 100%;
left: auto
}
.rotate .contextual {
inset-inline: 100% auto;
transform: rotate(90deg); /* LTR */
transform-origin: top left; /* LTR */
transform-origin: top left /* LTR */
}
.rotate .contextual .trigger {
float: left; /* LTR */
float: left /* LTR */
/**
* Chromium and Webkit do not yet support flow relative logical properties,
@ -84,19 +151,29 @@
}
@media (min-width: 75rem) {
[dir="ltr"] .rotate {
left: 50%
}
[dir="rtl"] .rotate {
right: 50%
}
.rotate {
position: absolute;
inset-inline-start: 50%;
display: flex;
flex-direction: row-reverse;
width: 100vh;
transform: rotate(-90deg) translateX(-100%); /* LTR */
transform-origin: left; /* LTR */
transform-origin: left /* LTR */
}
@supports (width: max-content) {
@supports ((width: -webkit-max-content) or (width: max-content)) {
.rotate {
width: max-content;
width: -webkit-max-content;
width: max-content
}
}
}
@ -104,7 +181,7 @@
@media (min-width: 75rem) {
[dir="rtl"] .rotate {
transform: rotate(90deg) translateX(100%);
transform-origin: right;
transform-origin: right
}
[dir="rtl"] .rotate .contextual {

20
css/layout/views.css

@ -10,16 +10,30 @@
* Styles for views.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
.view > * {
margin-block-end: var(--sp2);
margin-bottom: var(--sp2)
}
.view > *:last-child {
margin-block-end: 0;
margin-bottom: 0;
}
@media (min-width: 43.75rem) {
.view > * {
margin-block-end: var(--sp3);
margin-bottom: var(--sp3)
}
}

39
css/theme/filter.theme.css

@ -10,12 +10,25 @@
* Styling for the Filter module.
*/
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
/**
* Filter information under field.
*/
.text-full > .form-item {
margin-block-end: 0;
margin-bottom: 0;
}
.form-element--editor-format {
@ -23,7 +36,8 @@
}
.filter-wrapper {
margin-block: var(--sp1) var(--sp0-5);
margin-top: var(--sp1);
margin-bottom: var(--sp0-5);
}
.filter-wrapper .form-item {
@ -32,8 +46,9 @@
.filter-help {
float: right; /* LTR */
padding-block: var(--sp0-5);
font-size: var(--font-size-xxs);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5);
font-size: var(--font-size-xxs)
/**
* Chromium and Webkit do not yet support flow relative logical properties,
@ -56,7 +71,8 @@
*/
.compose-tips__item {
margin-block: var(--sp1-5);
margin-top: var(--sp1-5);
margin-bottom: var(--sp1-5);
}
/**
@ -64,13 +80,14 @@
*/
.filter-guidelines__item {
margin-block-start: var(--sp1);
margin-top: var(--sp1);
font-size: var(--font-size-s);
line-height: var(--line-height-s);
}
.filter-guidelines p {
margin-block: var(--sp0-25) 0;
margin-top: var(--sp0-25);
margin-bottom: 0;
}
/**
@ -81,14 +98,16 @@
*/
.filter-tips--long {
margin-block-end: var(--sp1-5);
margin-bottom: var(--sp1-5);
}
.filter-tips__item,
.filter-tips--long p {
margin-block: var(--sp0-75);
margin-top: var(--sp0-75);
margin-bottom: var(--sp0-75);
}
.filter-tips__item--short {
margin-block: var(--sp0-25) 0;
margin-top: var(--sp0-25);
margin-bottom: 0;
}

7
package.json

@ -95,5 +95,10 @@
"last 1 Samsung version",
"last 1 OperaMini version",
"Firefox ESR"
]
],
"dependencies": {
"browser-sync": "^2.29.3",
"browsersync": "^0.0.1-security",
"bs-rewrite-rules": "^2.1.2"
}
}

820
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save