phanpy/src/components/nav-menu.css

27 lines
639 B
CSS
Raw Normal View History

2023-05-20 12:46:58 +03:00
@media (min-width: 23em) {
.nav-menu {
display: flex;
width: auto;
padding: 0;
}
.nav-menu section {
padding: 8px 0;
}
2023-05-20 14:35:58 +03:00
.nav-menu section:last-child {
background-color: var(--bg-faded-color);
background-image: linear-gradient(
to right,
var(--divider-color) 1px,
transparent 1px
),
linear-gradient(to bottom, var(--bg-blur-color), transparent);
box-shadow: inset 0 0 1px var(--bg-color);
}
2023-05-20 12:46:58 +03:00
.nav-menu section:last-child > .szh-menu__divider:first-child {
display: none;
}
2023-05-20 14:35:58 +03:00
.nav-menu section:last-child .szh-menu__item span {
2023-05-20 12:46:58 +03:00
white-space: normal;
}
}