height: calc(100vh - #{$header-height});
padding: 0;
width: $menu-width;
+ z-index: 10000;
}
menu {
- background-color: $menu-background;
+ background-color: var(--menuBackgroundColor);
margin: 0;
padding: 0;
height: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
- z-index: 1000;
- color: $menu-color;
+ color: var(--menuForegroundColor);
display: flex;
flex-direction: column;
+ width: 100%;
&:focus, &:hover {
overflow-y: auto;
.logged-in-username {
font-size: 16px;
font-weight: $font-semibold;
- color: $menu-color;
+ color: var(--menuForegroundColor);
cursor: pointer;
@include disable-default-a-behaviour;
a {
display: flex;
align-items: center;
- padding-left: $menu-left-padding;
- color: $menu-color;
+ padding-left: $menu-lateral-padding;
+ color: var(--menuForegroundColor);
cursor: pointer;
height: 40px;
font-size: 16px;
transition: background-color .1s ease-in-out;
@include disable-default-a-behaviour;
- &:hover {
+ &:hover, &.focus-visible {
background-color: rgba(255, 255, 255, 0.15);
}
.footer {
padding-bottom: 15px;
- padding-left: $menu-left-padding;
+ padding-left: $menu-lateral-padding;
+ padding-right: $menu-lateral-padding;
+ width: $menu-width;
.language, .color-palette {
display: inline-block;
font-weight: $font-semibold;
.icon {
+ @include disable-outline;
@include icon(28px);
opacity: 0.9;
}
}
}
+
+@media screen and (max-width: 400px) {
+ .menu-wrapper {
+ width: 100% !important;
+ }
+
+ .top-menu, .footer {
+ width: 100% !important;
+ }
+}