full header-right responsive hamburger menu ok for logged-in users

This commit is contained in:
2021-03-29 11:57:26 +02:00
parent 5df8c9829a
commit d170979b42
3 changed files with 84 additions and 52 deletions

View File

@@ -219,7 +219,6 @@ header[role="banner"]{
// vue flaglist
#user-flags{
border-left: 1px solid #000;
padding-left: 0.5em;
margin-left: 0.5em;
display: inline-block;
@@ -238,28 +237,35 @@ header[role="banner"]{
ul{
background-color: #fff;
overflow: hidden;
width:11em;
max-height:1px;
padding:0.01em 1em;
// margin:0 0 0 -1em;
box-sizing:content-box;
transition: all 0.4s ease-in-out;
// outline: 1px solid blue;
transition-delay: 2s;
position: absolute;
right:0;
top:1.7em;
box-sizing: content-box;
z-index: 30;
}
@include hover{
ul{
transition-delay: 0s;
max-height:50em;
padding:1em 1em;
box-shadow: 0 0 10px #ccc;
}
}
// folders menu dropdown only for gig screens
@include col-mediaquery-min(3){
border-left: 1px solid #000;
ul{
transition: all 0.4s ease-in-out;
transition-delay: 2s;
z-index: 30;
position: absolute;
right:0;
top:1.7em;
width:11em;
max-height:1px;
padding:0.01em 1em;
}
@include hover{
ul{
transition-delay: 0s;
max-height:50em;
padding:1em 1em;
box-shadow: 0 0 10px #ccc;
}
}
}
li{
width:100%;
// cursor: pointer;
@@ -279,8 +285,6 @@ header[role="banner"]{
font-size: 0.9em;
}
div.actions{
opacity:0;
transition: opacity 0.3s ease-in-out;
padding-left:0.5em;
span.mdi{
@@ -293,12 +297,26 @@ header[role="banner"]{
}
}
}
@include hover{
div.actions{
opacity:1;
}
}
@include col-mediaquery-min(3){
div.actions{
opacity:0;
transition: opacity 0.3s ease-in-out;
}
@include hover{
div.actions{
opacity:1;
}
}
}
// small screens
@include col-mediaquery-max(3){
flex-direction: row-reverse;
div.actions{
padding-left: 0;
padding-right: 0.5em;
}
}
&.create-flag{
margin-top: 0.2em;
input{