This commit is contained in:
2019-08-31 14:13:18 +02:00
parent c9a0c7c055
commit 45ba71266b
5 changed files with 126 additions and 314 deletions

View File

@@ -19,66 +19,6 @@ header{
margin: auto;
}
}
&.dropmenu{
a{
padding: 10px;
}
& > ul{
@include inlineflex();
flex-wrap: nowrap;
& > li{
text-align: center;
max-width: 241px;
&>a{
white-space: nowrap;
line-height: 6rem;
border-top: 1px solid $light-blue;
border-bottom: 3px solid $green;
}
padding: 0 20px;
& > ul{
display: none;
margin-top: -1.5rem;
li{
background-color: white;
text-align: center;
a{
display: block;
padding: 10px;
position: relative;
&:before{
content: "";
position: absolute;
width: 100%;
height: 3px;
bottom: 0;
left: 0;
background-color: $green;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
transition: all 0.3s ease-in-out 0s;
}
}
}
}
&:hover{
& > ul{
display: block;
li:hover{
a:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
}
}
}
}
}
}
.reso{
@include inlineflex;
flex-wrap: nowrap;