mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 05:27:59 +01:00
Removed dropdown text animation
This commit is contained in:
parent
ea7345992e
commit
ac941d6697
1 changed files with 2 additions and 16 deletions
|
@ -309,16 +309,6 @@ html body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@iterations: 10;
|
|
||||||
.link-loop (@i) when (@i > 0) {
|
|
||||||
@time: ((@i - 1) / 20);
|
|
||||||
html .dropdown-menu > li:nth-child(@{i}) {
|
|
||||||
animation-delay: ~"@{time}s";
|
|
||||||
}
|
|
||||||
.link-loop(@i - 1);
|
|
||||||
}
|
|
||||||
.link-loop (@iterations);
|
|
||||||
|
|
||||||
html .dropdown-menu {
|
html .dropdown-menu {
|
||||||
.border-radius(4px);
|
.border-radius(4px);
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -331,13 +321,9 @@ html .dropdown-menu {
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
animation: dropdown-link 0.2s;
|
|
||||||
animation-timing-function: @swift-ease-in-out;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
opacity: 0;
|
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
padding: 14px 16px;
|
padding: 10px 16px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -350,7 +336,7 @@ html .dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 11px 0;
|
padding: 7px 0;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue