region-secondary-menu.css

Same filename in other branches
  1. 10 core/themes/olivero/css/layout/region-secondary-menu.css
  2. 11.x 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. .region--secondary-menu {
  12. display: flex;
  13. margin-top: 2.25rem;
  14. margin-bottom: 2.25rem;
  15. }
  16. .region--secondary-menu > * {
  17. margin-bottom: 0;
  18. }
  19. @media (min-width: 75rem) {
  20. body:not(.is-always-mobile-nav) .region--secondary-menu {
  21. justify-content: flex-end;
  22. margin: 0;
  23. /* If the secondary nav is the first item within the header, it does not need left separator. */
  24. }
  25. body:not(.is-always-mobile-nav) .region--secondary-menu:first-child .secondary-nav:before {
  26. content: none;
  27. }
  28. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.