From f945ac8aecce6f93cb62f9947bc76de3d5713f24 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 7 Aug 2022 02:44:54 +0900 Subject: [PATCH] Fix: Decoration - Remove through when hovering on the label of download panel --- css/leptonChrome.css | 3 +++ css/leptonContent.css | 3 +++ src/decoration/_download_panel.scss | 3 +++ 3 files changed, 9 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 50c75ea..7cef30c 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -2858,6 +2858,9 @@ text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); } + #downloadsListBox .download-state:not([exists], [state="0"]) .downloadTarget:hover { + text-decoration: none; + } #downloadsListBox .download-state:not([exists], [state="0"]) .downloadTypeIcon { filter: grayscale(100%) !important; } diff --git a/css/leptonContent.css b/css/leptonContent.css index be42adb..209a379 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -3396,6 +3396,9 @@ text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); } + #downloadsListBox .download-state:not([exists], [state="0"]) .downloadTarget:hover { + text-decoration: none; + } #downloadsListBox .download-state:not([exists], [state="0"]) .downloadTypeIcon { filter: grayscale(100%) !important; } diff --git a/src/decoration/_download_panel.scss b/src/decoration/_download_panel.scss index 1139ee9..ed6250e 100644 --- a/src/decoration/_download_panel.scss +++ b/src/decoration/_download_panel.scss @@ -11,6 +11,9 @@ .downloadTarget { text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); + &:hover { + text-decoration: none; + } } .downloadTypeIcon { filter: grayscale(100%) !important;