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.
This commit is contained in:
@@ -492,21 +492,7 @@ input[type='text'] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.torrent .buttons .download.downloading {
|
.torrent .buttons .download.downloading {
|
||||||
animation-name: greenpulse;
|
color: #44dd44;
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.torrent .buttons .download.seeding {
|
.torrent .buttons .download.seeding {
|
||||||
|
|||||||
Reference in New Issue
Block a user