/* * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/3084859 * @preserve */ /** * @file * 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); padding-top: 0; padding-bottom: 0; cursor: pointer; border: none; background: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none } .mobile-nav-button:focus { outline: solid 2px var(--color--primary-40); } .mobile-nav-button:active { color: inherit; /* Override Safari's default UA styles. */ } @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 } } /* Text that says "menu". */ .mobile-nav-button__label { position: absolute; display: block; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; 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; letter-spacing: 0.05em; font-size: 0.875rem; font-weight: 600 } } .mobile-nav-button__icon { position: relative; display: block; width: var(--sp2); height: 0; 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; top: 0; width: 100%; height: 0; content: ""; transition: transform 0.2s; border-top: solid 3px var(--color--primary-50); } .mobile-nav-button__icon::before { transform: translateY(-0.6875rem); } .mobile-nav-button__icon::after { transform: translateY(0.3125rem); } .mobile-nav-button[aria-expanded="true"] .mobile-nav-button__icon { border-top-color: transparent } .mobile-nav-button[aria-expanded="true"] .mobile-nav-button__icon::before { transform: translateY(-0.1875rem) rotate(-45deg); } .mobile-nav-button[aria-expanded="true"] .mobile-nav-button__icon::after { transform: translateY(-0.1875rem) rotate(45deg); }