From 793ea79cabd32e7b39dbbf43568e3301799270d5 Mon Sep 17 00:00:00 2001 From: DC Date: Fri, 22 Jul 2016 17:52:17 -0700 Subject: [PATCH] Perf: remove DL button animation Turns out this is huge. For some inexplicable reason, it improves hover and scroll in the torrent detail view, for a torrent with 350 files, from ~10FPS to ~60FPS. --- static/main.css | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/static/main.css b/static/main.css index 8a777f1f..d56c9838 100644 --- a/static/main.css +++ b/static/main.css @@ -492,21 +492,7 @@ input[type='text'] { } .torrent .buttons .download.downloading { - animation-name: greenpulse; - animation-duration: 0.8s; - animation-direction: alternate; - animation-iteration-count: infinite; -} - -@keyframes greenpulse { - 0% { - color: #ffffff; - padding-top: 4px; - } - 100% { - color: #44dd44; - padding-top: 6px; - } + color: #44dd44; } .torrent .buttons .download.seeding {