From 1b914a397e7f7c2aabdfb139a09bf79af7d861f4 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 6 Sep 2022 21:25:13 +0300 Subject: [PATCH] simplify hover animation: 50% less CPU --- manage/manage-newui.css | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/manage/manage-newui.css b/manage/manage-newui.css index ebb81fa2..7bf49044 100644 --- a/manage/manage-newui.css +++ b/manage/manage-newui.css @@ -69,15 +69,8 @@ .style-name-link { width: 100%; } -.entry .style-name:hover::before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; +.entry .style-name:hover { background: linear-gradient(to right, hsla(180, 50%, 30%, 0.2), hsla(180, 20%, 10%, 0.05) 50%, transparent); - pointer-events: none; } .entry.enabled .style-name:hover .style-name-link { color: var(--accent-1);