fix a lot of problems and add js for menus

This commit is contained in:
Jean-Baptiste Pasquier
2020-01-20 13:57:03 +01:00
parent 36a045cacb
commit 83e6957934
15 changed files with 169 additions and 117 deletions

View File

@ -56,6 +56,10 @@
}
}
.notLoggedIn {
visibility: hidden;
}
sib-notifications {
@include breakpoint(sm) {
@ -259,6 +263,7 @@
@include breakpoint(sm) {
display: block;
padding-left: 0;
font-size: 26px;
}
}
}

View File

@ -212,19 +212,14 @@ h5 {
.mobile-sidebar-button {
@include breakpoint(sm) {
float: right;
button {
color: $color-233-18-29;
color: $color-233-18-29;
font-size: 1.8rem;
font-weight: bold!important;
&::before {
font-size: 2.2rem;
margin-right: 1.2rem;
}
}
span {
font-size: 1.8rem;
font-weight: bold;
&::before {
font-size: 2.2rem;
font-weight: normal;
margin-right: 1.2rem;
}
}

View File

@ -189,9 +189,17 @@
}
}
&.jsLeftMenu.mobile-opened {
&.jsLeftMenu {
@include breakpoint(sm) {
display: none;
}
}
&.jsLeftMenu[open] {
@include breakpoint(sm) {
display: block;
bottom: 0;
box-shadow: 0 2px 8px 0 rgba(65, 69, 73, 0.5);
min-width: 80%;
@ -201,11 +209,4 @@
z-index: 1;
}
}
&.jsLeftMenu.mobile-closed {
@include breakpoint(sm) {
display: none;
}
}
}