86 lines
1.2 KiB
SCSS
86 lines
1.2 KiB
SCSS
.menu-hide-button, .menu-show-button {
|
|
display: none;
|
|
z-index: 31;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
color: $grey-400;
|
|
line-height: 1;
|
|
transition: all $transition;
|
|
|
|
&:hover, &:focus {
|
|
height: 1rem;
|
|
color: $grey-600;
|
|
}
|
|
}
|
|
|
|
.menu-show-button {
|
|
height: .75rem;
|
|
width: 2rem;
|
|
|
|
&:before, &:after {
|
|
display: block;
|
|
content: '';
|
|
border-top: 3px solid $grey-400;
|
|
border-radius: $radius;
|
|
transition: all $transition;
|
|
}
|
|
|
|
&:before {
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
&:after {
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
color: $grey-600;
|
|
|
|
&:before {
|
|
margin-bottom: .75rem;
|
|
}
|
|
|
|
&:after {
|
|
margin-top: .75rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu-hide-button {
|
|
position: fixed;
|
|
|
|
&:hover, &:focus {
|
|
color: $text;
|
|
}
|
|
}
|
|
|
|
.navbar-brand .menu-show-button {
|
|
display: block;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.navbar.is-dark .navbar-brand > .navbar-item {
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
.menu-bottom-link {
|
|
width: 100%;
|
|
color: $grey-300;
|
|
text-align: center;
|
|
display: block;
|
|
margin: 1rem 0;
|
|
font-size: .8rem;
|
|
}
|