clone of olivero for island lives
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.

63 lines
1.3 KiB

1 year ago
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Styles for menu placed in sidebar region.
*/
.menu--sidebar {
1 year ago
list-style: none;
1 year ago
}
.menu--sidebar .menu {
1 year ago
list-style: none;
1 year ago
}
1 year ago
.menu--sidebar .menu--level-1 {
margin: 0;
1 year ago
}
.menu--sidebar .menu__link {
1 year ago
position: relative;
display: block;
padding-block: var(--sp0-75);
padding-inline-start: 0;
padding-inline-end: 0;
font-family: var(--font-serif);
font-size: 1.125rem;
1 year ago
1 year ago
/* Bottom divider line. */
1 year ago
}
1 year ago
.menu--sidebar .menu__link::after {
1 year ago
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
width: var(--sp4);
height: 0;
content: "";
border-block-start: solid 2px var(--color--gray-95);
}
1 year ago
1 year ago
.menu--sidebar .menu__link--link {
1 year ago
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color-text-neutral-loud);
font-weight: 600;
}
1 year ago
.menu--sidebar .menu__link--link:hover {
1 year ago
color: var(--color--primary-50);
}
1 year ago
1 year ago
/* No bottom divider line for last menu item. */
1 year ago
1 year ago
:is(.menu--sidebar .menu__item--level-1:last-child > .menu__link:last-child, .menu--sidebar .menu__item--level-1:last-child > .menu__item--level-2:last-child > .menu__link:last-child)::after {
content: none;
1 year ago
}