Fix menu styles
This commit is contained in:
parent
b85beb06eb
commit
7690cada78
1 changed files with 60 additions and 60 deletions
|
@ -364,77 +364,77 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.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;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
|
color: $text;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
|
&:hover, &:focus {
|
||||||
|
color: $grey-900;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-hide-button {
|
||||||
|
position: fixed;
|
||||||
|
|
||||||
|
&:hover, &:focus {
|
||||||
color: $text;
|
color: $text;
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
&:hover, &:focus {
|
|
||||||
color: $grey-900;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand .menu-show-button {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-overlay {
|
||||||
|
display: none;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
background: rgba(250, 250, 250, 0.8);
|
||||||
|
z-index: 5;
|
||||||
|
opacity: 0;
|
||||||
|
transition: all $transition;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: $tablet) {
|
||||||
.menu-hide-button {
|
.menu-hide-button {
|
||||||
position: fixed;
|
display: block;
|
||||||
|
top: $hamburger-menu-icon-spacing;
|
||||||
&:hover, &:focus {
|
right: $hamburger-menu-icon-spacing;
|
||||||
color: $text;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand .menu-show-button {
|
.menu-show-button {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-left: $hamburger-menu-icon-spacing;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-overlay {
|
.mobile-overlay {
|
||||||
display: none;
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
background: rgba(250, 250, 250, 0.8);
|
|
||||||
z-index: 5;
|
|
||||||
opacity: 0;
|
|
||||||
transition: all $transition;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
|
||||||
.menu-hide-button {
|
|
||||||
display: block;
|
|
||||||
top: $hamburger-menu-icon-spacing;
|
|
||||||
right: $hamburger-menu-icon-spacing;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-show-button {
|
|
||||||
display: block;
|
|
||||||
margin-left: $hamburger-menu-icon-spacing;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-overlay {
|
|
||||||
display: block;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar.is-dark .navbar-brand > .navbar-item {
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.logout-icon {
|
|
||||||
margin-right: 0.85rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-bottom-link {
|
|
||||||
width: 100%;
|
|
||||||
color: $grey-300;
|
|
||||||
text-align: center;
|
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1rem 0;
|
opacity: 1;
|
||||||
font-size: .8rem;
|
}
|
||||||
|
|
||||||
|
.navbar.is-dark .navbar-brand > .navbar-item {
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logout-icon {
|
||||||
|
margin-right: 0.85rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-bottom-link {
|
||||||
|
width: 100%;
|
||||||
|
color: $grey-300;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
margin: 1rem 0;
|
||||||
|
font-size: .8rem;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue