silverstripe-webpack/app/client/src/scss/layout/navigation.scss

92 lines
1.4 KiB
SCSS
Raw Normal View History

2022-06-13 13:13:18 +02:00
#Header {
.element--nav {
padding: 0;
}
}
2021-06-19 22:22:44 +02:00
#Navigation {
2022-06-13 13:15:28 +02:00
padding: 0;
2022-06-13 13:13:18 +02:00
.navbar-nav {
width: 100%;
2022-06-24 00:08:30 +02:00
padding: 0;
2022-06-13 13:13:18 +02:00
align-items: stretch;
justify-content: stretch;
}
.nav {
&-item {
flex: 1 1;
}
&-link {
2022-06-24 00:08:30 +02:00
width: 100%;
2022-06-13 13:34:15 +02:00
background: none;
2022-06-24 00:08:30 +02:00
2022-06-13 13:34:15 +02:00
align-items: center;
2022-06-13 22:13:19 +02:00
justify-content: center;
2022-06-24 00:08:30 +02:00
&.active {
}
2022-06-13 13:34:15 +02:00
2022-06-24 00:08:30 +02:00
&.section {
}
2022-06-13 13:34:15 +02:00
2022-06-13 22:13:19 +02:00
&[aria-expanded="true"],
2022-06-13 13:34:15 +02:00
&:hover,
2022-06-24 00:08:30 +02:00
&:focus {
}
}
}
.dropdown-toggle {
&:after {
display: none;
}
}
@media (min-width: $full-body-min-width) {
.dropdown-toggle-touch {
display: none !important;
}
.dropdown-toggle-notouch {
display: flex !important;
}
}
.dropdown-menu {
top: 100%;
min-width: 18em;
border: 0;
.dropdown-menu {
top: 0;
}
}
.dropdown-item {
&.active,
&:active {
}
.nav {
&-item {
&[aria-expanded="true"],
&:hover,
&:focus {
}
}
&-link {
justify-content: flex-start;
}
2022-06-13 13:13:18 +02:00
}
}
2021-06-19 22:22:44 +02:00
}
#PageBreadcumbs {
2022-06-24 00:08:30 +02:00
position: relative;
z-index: 2;
2021-06-19 22:22:44 +02:00
}