From f5397b8aecd7372cddb30bb691736183cd67ec5c Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 15 Sep 2022 12:57:01 +0300 Subject: [PATCH] simplify hover highlight to an underline --- manage/manage-newui.css | 7 ++++--- manage/manage.css | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/manage/manage-newui.css b/manage/manage-newui.css index 69e60578..d56e6e85 100644 --- a/manage/manage-newui.css +++ b/manage/manage-newui.css @@ -64,14 +64,15 @@ max-width: none; flex-grow: 1; } -.checkmate { +.entry .checkmate { flex-shrink: 0; } .style-name-link { width: 100%; + word-break: break-word; } -.entry .style-name:hover { - background: linear-gradient(to right, hsla(180, 50%, 30%, 0.2), hsla(180, 20%, 10%, 0.05) 50%, transparent); +.style-name:hover .style-name-link { + text-decoration: underline; } .entry.enabled .style-name:hover .style-name-link { color: var(--accent-1); diff --git a/manage/manage.css b/manage/manage.css index 028c8072..49b1913b 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -164,7 +164,7 @@ a:hover { margin-top: .25em; overflow-wrap: break-word; } -.style-name a, .style-edit-link { +.entry a:not(:hover) { text-decoration: none; } .style-name span,