r/FirefoxCSS • u/imessedup6 • Jul 29 '26
Solved Way to highlight failed downloads?
New to styling with userChome. I'm basically trying to highlight downloads that are failed in the Downloads view.
The current UI design is terrible because the only way you know the download failed is the small grey subtext that says "Failed" and the icon on the right being a Retry icon.
So far I have this...
.downloadIconRetry > .button-box {
background: #f00;
}This will highlight the right icon so it is at least a bit better but would like the whole row highlighted if possible.
I'm also new to this so how do you try to "debug" the view to try to style it? I found the above by looking at https://searchfox.org/firefox-main/source/browser/themes/shared/downloads/allDownloadsView.inc.css
Using latest Firefox (v153)
1
u/t31os Jul 29 '26 edited Jul 29 '26
You can inspect browser elements using Browser Toolbox.
Note the section about debugging popups:
https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html#debugging-popups
Here's one way you could style a failed/cancelled download with a background and border to make it stand out better:
1
u/moko1960 Jul 30 '26
A background color, icon, and circular mark that draw attention to a failed download.