region-secondary-menu.css
Same filename in other branches
Secondary menu region layout styling.
File
-
core/
themes/ olivero/ css/ layout/ region-secondary-menu.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Secondary menu region layout styling.
- */
-
- .region--secondary-menu {
- display: flex;
- margin-top: 2.25rem;
- margin-bottom: 2.25rem;
- }
-
- .region--secondary-menu > * {
- margin-bottom: 0;
- }
-
- @media (min-width: 75rem) {
- body:not(.is-always-mobile-nav) .region--secondary-menu {
- justify-content: flex-end;
- margin: 0;
-
- /* If the secondary nav is the first item within the header, it does not need left separator. */
- }
- body:not(.is-always-mobile-nav) .region--secondary-menu:first-child .secondary-nav:before {
- content: none;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.