Clean: refactoring decoration/download_panel

This commit is contained in:
alstjr7375 2022-05-10 16:35:39 +09:00
parent e14aef7736
commit 0c2148882c
2 changed files with 11 additions and 11 deletions

View file

@ -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;
}

View file

@ -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;
}
}