Skip to content
Snippets Groups Projects
Commit 7737b64d authored by Aria Givi's avatar Aria Givi
Browse files

etwas sauberere Animation, noc nicht ganz perfekt

parent 275bf25b
Branches
No related tags found
4 merge requests!1262WIP: Resolve "Spendenseite Texte anpassen",!1207WIP: Resolve "Rechtschreibfehler",!1198Meta ger redesign,!1131Meta ger redesign
...@@ -70,10 +70,6 @@ ...@@ -70,10 +70,6 @@
text-align: left; text-align: left;
max-height: 0px; max-height: 0px;
overflow: hidden; overflow: hidden;
animation-name: reverse-dropdown-animation;
animation-duration: 0.3s;
animation-timing-function: linear;
animation-fill-mode: forwards;
&>li>a { &>li>a {
display: block; display: block;
font-size: 12px; font-size: 12px;
...@@ -144,6 +140,15 @@ ...@@ -144,6 +140,15 @@
transition:border-top .1s, border-bottom .1s .1s; transition:border-top .1s, border-bottom .1s .1s;
} }
} }
&:not(:checked) {
& ~.metager-dropdown-menu {
animation-name: reverse-dropdown-animation;
animation-duration: 0.3s;
animation-timing-function: ease-in;
animation-fill-mode: forwards;
}
}
} }
} }
...@@ -201,7 +206,7 @@ input#nav0:checked { ...@@ -201,7 +206,7 @@ input#nav0:checked {
@keyframes reverse-dropdown-animation { @keyframes reverse-dropdown-animation {
0% { 0% {
max-height: 1000px; max-height: 300px;
padding: 5px 0; padding: 5px 0;
} }
1% { 1% {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment