From 52907b4a2e534d24c5041c7e6fa51730ba2532f9 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 17 Feb 2023 19:11:23 +0200 Subject: [PATCH] remove UI animations --- files/assets/css/main.css | 80 -------------------------- files/assets/css/poor.css | 3 - files/templates/header.html | 4 -- files/templates/settings/advanced.html | 1 - 4 files changed, 88 deletions(-) delete mode 100644 files/assets/css/poor.css diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 49b80daf3..5ed12b5a8 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -999,17 +999,7 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button]. .dropdown-toggle:empty::after { margin-left: 0; } -@keyframes expand -{ - 0% { opacity: 0.0; transform: scaleY(0.7); } - 100% { opacity: 1.0; transform: scaleY(1.0); } -} -.dropdown-menu-right.show -{ - transform-origin: top; - animation: expand .20s 1; -} .dropdown-menu { @@ -3448,76 +3438,6 @@ small, .small { display: inline-block; } -.arrow-up.active-anim -{ - animation: bounce-top .7s 1 0s; - -webkit-animation: bounce-top .7s 1 0s; -} - -.arrow-down.active-anim -{ - animation: bounce-bot .7s 1 0s; - -webkit-animation: bounce-bot .7s 1 0s; -} - -@keyframes bounce-top { - 20% { - transform: translateY(-9px); - animation-timing-function: ease-in; - opacity: 1; - } - 52% { - transform: translateY(-6px); - animation-timing-function: ease-in; - opacity: 1; - } - 69% { - transform: translateY(-3px); - animation-timing-function: ease-in; - opacity: 1; - } - 35%, - 63%, - 79%, - 100% { - transform: translateY(0px); - animation-timing-function: ease-out; - } -} - -@keyframes bounce-bot { - 30% { - transform: translateY(6px); - animation-timing-function: ease-in; - opacity: 1; - } - 52% { - transform: translateY(3px); - animation-timing-function: ease-in; - opacity: 1; - } - 69% { - transform: translateY(2px); - animation-timing-function: ease-in; - opacity: 1; - } - 100% { - transform: translateY(0px); - animation-timing-function: ease-out; - } -} - -.comment-write.collapsed -{ - animation: expand-reply .3s 1; -} - -@keyframes expand-reply -{ - 0% { opacity: .6; padding-top: 0px; height: 0px; overflow: hidden; } - 100% { opacity: 1;padding-top: 0px; height: 182px; overflow: hidden; } -} - .active.arrow-down::before { color: #38B2AC; } diff --git a/files/assets/css/poor.css b/files/assets/css/poor.css deleted file mode 100644 index 60a89d5b5..000000000 --- a/files/assets/css/poor.css +++ /dev/null @@ -1,3 +0,0 @@ -* :not(img[src="/i/hand.webp"] + img, img.golden, img[g], img[glow]) { - animation: unset !important; -} diff --git a/files/templates/header.html b/files/templates/header.html index aac24eca4..39055ae9a 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -337,10 +337,6 @@
{{v|formkey}}
{% endif %} -{% if v and v.poor -%} - -{%- endif %} - diff --git a/files/templates/settings/advanced.html b/files/templates/settings/advanced.html index 01e15a02b..677f0e1c2 100644 --- a/files/templates/settings/advanced.html +++ b/files/templates/settings/advanced.html @@ -22,7 +22,6 @@
  • Disables the effects of cosmetic awards.
  • Hides signatures.
  • Makes emoji search only start when you press Enter.
  • -
  • Disables UI animations.
  • {% if IS_FISTMAS() %}
  • Disables event music.
  • {% endif %}