You are here

region-secondary-menu.css in Drupal 10

Same filename and directory in other branches
  1. 9 core/themes/olivero/css/layout/region-secondary-menu.css

Secondary menu region layout styling.

File

core/themes/olivero/css/layout/region-secondary-menu.css
View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Secondary menu region layout styling.
  10. */
  11. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. .region--secondary-menu {
  20. display: flex;
  21. margin-top: var(--sp2);
  22. margin-bottom: var(--sp2)
  23. }
  24. .region--secondary-menu > * {
  25. margin-bottom: 0;
  26. }
  27. @media (min-width: 75rem) {
  28. body:not(.is-always-mobile-nav) .region--secondary-menu {
  29. justify-content: flex-end;
  30. margin: 0
  31. /* If the secondary nav is the first item within the header, it does not need left separator. */
  32. }
  33. body:not(.is-always-mobile-nav) .region--secondary-menu:first-child .secondary-nav:before {
  34. content: none;
  35. }
  36. }