From 43469da7a81dd6327b8fce32a5a7d82cca163dc8 Mon Sep 17 00:00:00 2001 From: gravel Date: Sat, 20 May 2023 10:19:10 +0200 Subject: [PATCH] Improve Chromium CSS performance --- output/index.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/output/index.css b/output/index.css index fe12cd3..d54d0d8 100644 --- a/output/index.css +++ b/output/index.css @@ -90,8 +90,12 @@ a, .anchorstyle { cursor: pointer; } -*, *::after, *::before { - transition: color 3s, background-color 2s; +/* Enumerate elements with transitions to improve performance on Chromium. */ +#theming-root, th, tr, .protocol-indicator, .copy_button, +.td_description::after, +#details-modal, #details-modal :is(#details-modal-copy-button, #details-modal-copy-staff-id), +a, .anchorstyle { + transition: color 2.5s linear, background-color 2s linear; } html.js .noscript, .hidden {