From: Sven Date: Wed, 3 May 2017 11:10:39 +0000 (+0200) Subject: Bug 11337: closed X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61eaa9b2aa8b98b49a5960239b915e40a215eeb9;p=ipfire.org.git Bug 11337: closed --- diff --git a/static/css/style.css b/static/css/style.css index ced6ff04..d2de598c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -5045,8 +5045,8 @@ img.img-fluid { position: absolute; left: .75rem; top: -.25rem; - -webkit-animation: scroll 3s infinite; - animation: scroll 3s infinite; } + -webkit-animation: scroll 1.5s ease-in-out infinite; + animation: scroll 1.5s ease-in-out infinite; } @media (max-width: 767px) { .i_arrow_down { width: 2rem !important; @@ -5375,23 +5375,17 @@ footer { padding: 1rem 0; } @-webkit-keyframes scroll { - 0% { + 0%, 100% { -webkit-transform: translateY(30%); transform: translateY(30%); } 50% { -webkit-transform: translateY(50%); - transform: translateY(50%); } - 100% { - -webkit-transform: translateY(30%); - transform: translateY(30%); } } + transform: translateY(50%); } } @keyframes scroll { - 0% { + 0%, 100% { -webkit-transform: translateY(30%); transform: translateY(30%); } 50% { -webkit-transform: translateY(50%); - transform: translateY(50%); } - 100% { - -webkit-transform: translateY(30%); - transform: translateY(30%); } } + transform: translateY(50%); } } diff --git a/static/scss/style.scss b/static/scss/style.scss index 5766bf8e..0a710663 100644 --- a/static/scss/style.scss +++ b/static/scss/style.scss @@ -153,7 +153,7 @@ img { position: absolute; left: .75rem; top: -.25rem; - animation: scroll 3s infinite; + animation: scroll 1.5s ease-in-out infinite; @include media-breakpoint-down(sm) { width: 2rem !important; height: 2rem !important; @@ -478,9 +478,7 @@ footer { } // Animation - @keyframes scroll { - 0% { transform: translateY(30%); } + 0%, 100% { transform: translateY(30%); } 50% { transform: translateY(50%); } - 100% { transform: translateY(30%); } } \ No newline at end of file