Fix menu styles

This commit is contained in:
kolaente 2021-05-30 21:00:03 +02:00
parent b85beb06eb
commit 7690cada78
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -364,8 +364,9 @@
} }
} }
} }
}
.menu-hide-button, .menu-show-button { .menu-hide-button, .menu-show-button {
display: none; display: none;
z-index: 31; z-index: 31;
font-weight: bold; font-weight: bold;
@ -376,21 +377,21 @@
&:hover, &:focus { &:hover, &:focus {
color: $grey-900; color: $grey-900;
} }
} }
.menu-hide-button { .menu-hide-button {
position: fixed; position: fixed;
&:hover, &:focus { &:hover, &:focus {
color: $text; color: $text;
} }
} }
.navbar-brand .menu-show-button { .navbar-brand .menu-show-button {
display: block; display: block;
} }
.mobile-overlay { .mobile-overlay {
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
@ -401,9 +402,9 @@
z-index: 5; z-index: 5;
opacity: 0; opacity: 0;
transition: all $transition; transition: all $transition;
} }
@media screen and (max-width: $tablet) { @media screen and (max-width: $tablet) {
.menu-hide-button { .menu-hide-button {
display: block; display: block;
top: $hamburger-menu-icon-spacing; top: $hamburger-menu-icon-spacing;
@ -423,18 +424,17 @@
.navbar.is-dark .navbar-brand > .navbar-item { .navbar.is-dark .navbar-brand > .navbar-item {
margin: 0 auto; margin: 0 auto;
} }
} }
.logout-icon { .logout-icon {
margin-right: 0.85rem !important; margin-right: 0.85rem !important;
} }
.menu-bottom-link { .menu-bottom-link {
width: 100%; width: 100%;
color: $grey-300; color: $grey-300;
text-align: center; text-align: center;
display: block; display: block;
margin: 1rem 0; margin: 1rem 0;
font-size: .8rem; font-size: .8rem;
}
} }