You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
581 B
31 lines
581 B
12 months ago
|
/**
|
||
|
* @file
|
||
|
* Secondary menu region layout styling.
|
||
|
*/
|
||
|
|
||
|
@import "../base/media-queries.pcss.css";
|
||
|
|
||
|
.region--secondary-menu {
|
||
|
display: flex;
|
||
|
margin-block-start: var(--sp2);
|
||
|
margin-block-end: var(--sp2);
|
||
|
|
||
|
& > * {
|
||
|
margin-block-end: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
body:not(.is-always-mobile-nav) {
|
||
|
@media (--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. */
|
||
|
&:first-child .secondary-nav::before {
|
||
|
content: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|