mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
39 lines
895 B
SCSS
39 lines
895 B
SCSS
.expandable-navbar-section {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
background-color: var(--ds-expandable-navbar-bg);
|
|
overflow: hidden;
|
|
min-width: 100%;
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
::ng-deep a.nav-link {
|
|
color: var(--ds-expandable-navbar-link-color) !important;
|
|
padding-right: var(--bs-spacer);
|
|
padding-left: var(--bs-spacer);
|
|
white-space: nowrap;
|
|
|
|
&:hover, &:focus {
|
|
color: var(--ds-expandable-navbar-link-color-hover) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/** Mobile menu styling **/
|
|
@media screen and (max-width: map-get($grid-breakpoints, md)) {
|
|
.dropdown-toggle {
|
|
&:after {
|
|
float: right;
|
|
margin-top: calc(var(--bs-spacer) / 2);
|
|
}
|
|
}
|
|
.dropdown-menu {
|
|
border: 0;
|
|
|
|
}
|
|
}
|