diff --git a/css/leptonChrome.css b/css/leptonChrome.css index aaf2aac..e60ca0c 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -2721,7 +2721,6 @@ #downloadsListBox .download-state[exists] .downloadDetails { color: var(--button-primary-bgcolor); } - #downloadsListBox .download-state[exists] .downloadDetails.downloadDetailsHover { color: var(--button-primary-hover-bgcolor); } @@ -2731,7 +2730,6 @@ text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); } - #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 9274b5d..1139ee9 100644 --- a/src/decoration/_download_panel.scss +++ b/src/decoration/_download_panel.scss @@ -1,16 +1,18 @@ /* Accent Color for downloaded item */ #downloadsListBox .download-state[exists] .downloadDetails { color: var(--button-primary-bgcolor); -} -#downloadsListBox .download-state[exists] .downloadDetails.downloadDetailsHover { - color: var(--button-primary-hover-bgcolor); + &.downloadDetailsHover { + color: var(--button-primary-hover-bgcolor); + } } /* File moved or missing */ -#downloadsListBox .download-state:not([exists], [state="0"]) .downloadTarget { - text-decoration: line-through; - text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); -} -#downloadsListBox .download-state:not([exists], [state="0"]) .downloadTypeIcon { - filter: grayscale(100%) !important; +#downloadsListBox .download-state:not([exists], [state="0"]) { + .downloadTarget { + text-decoration: line-through; + text-decoration-color: color-mix(in srgb, currentColor 65%, transparent); + } + .downloadTypeIcon { + filter: grayscale(100%) !important; + } }