Bug 1468453 - Fix text color of malware downloads on dark themes. r=jaws
MozReview-Commit-ID: GjycI1bmZcq
--- a/browser/themes/osx/downloads/downloads.css
+++ b/browser/themes/osx/downloads/downloads.css
@@ -20,20 +20,24 @@
--downloads-item-details-opacity: 0.7;
}
.downloadButton:focus > .button-box {
outline: 2px -moz-mac-focusring solid;
outline-offset: -2px;
}
-@item@[verdict="Malware"] {
+@item@[verdict="Malware"]:not(:hover) {
color: #aa1b08;
}
+:root[lwt-popup-brighttext] @item@[verdict="Malware"]:not(:hover) {
+ color: #ff0039;
+}
+
.downloadProgress > .progress-bar {
background-color: #3c9af8;
}
.downloadProgress[paused="true"] > .progress-bar {
background-color: #a6a6a6;
}
--- a/browser/themes/windows/downloads/downloads.css
+++ b/browser/themes/windows/downloads/downloads.css
@@ -23,20 +23,24 @@
--downloads-item-details-opacity: 0.6;
}
@notKeyfocus@ .downloadButton:-moz-focusring {
outline: none;
}
@media (-moz-windows-default-theme) {
- @item@[verdict="Malware"] {
+ @item@[verdict="Malware"]:not(:hover) {
color: #aa1b08;
}
+ :root[lwt-popup-brighttext] @item@[verdict="Malware"]:not(:hover) {
+ color: #ff0039;
+ }
+
/* Use unified color for the progressbar on default theme */
.downloadProgress > .progress-bar {
background-color: #3c9af8;
}
.downloadProgress[paused="true"] > .progress-bar {
background-color: #a6a6a6;
}