Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
7737b64d
Commit
7737b64d
authored
Nov 06, 2017
by
Aria Givi
Browse files
etwas sauberere Animation, noc nicht ganz perfekt
parent
275bf25b
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/assets/less/metager/sidebar.less
View file @
7737b64d
...
...
@@ -70,10 +70,6 @@
text-align: left;
max-height: 0px;
overflow: hidden;
animation-name: reverse-dropdown-animation;
animation-duration: 0.3s;
animation-timing-function: linear;
animation-fill-mode: forwards;
&>li>a {
display: block;
font-size: 12px;
...
...
@@ -144,6 +140,15 @@
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 {
@keyframes reverse-dropdown-animation {
0% {
max-height:
10
00px;
max-height:
3
00px;
padding: 5px 0;
}
1% {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment