From ac941d66976f26c5710b2c4230a5e03ef405e224 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Sun, 17 Jul 2016 19:37:03 +0100 Subject: [PATCH] Removed dropdown text animation --- .../assets/styles/components/components.less | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/resources/assets/styles/components/components.less b/resources/assets/styles/components/components.less index f30c6564..6c81afb0 100644 --- a/resources/assets/styles/components/components.less +++ b/resources/assets/styles/components/components.less @@ -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 { .border-radius(4px); border: 0; @@ -331,13 +321,9 @@ html .dropdown-menu { > li { margin: 0px; - animation: dropdown-link 0.2s; - animation-timing-function: @swift-ease-in-out; - animation-fill-mode: forwards; - opacity: 0; > a { - padding: 14px 16px; + padding: 10px 16px; font-size: 14px; line-height: 18px; &:hover { @@ -350,7 +336,7 @@ html .dropdown-menu { display: block; width: 40px; text-align: center; - padding: 11px 0; + padding: 7px 0; font-size: 10pt; }