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