1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* === BEGIN allDownloadsViewOverlay.inc.css === */
7 /* In the original, this is at the end of the file as a preprocessor-include */
8 @import url("progressmeter.inc.css");
10 /*** View and outer controls ***/
12 #downloadsRichListBox {
13 /** The default listbox appearance comes with an unwanted margin. **/
14 -moz-appearance: none;
21 #downloadsRichListBox > richlistitem.download {
22 height: var(--downloads-item-height);
31 .downloadBlockedBadge {
33 background: url("chrome://browser/skin/downloads/download-blocked.svg") top right / 16px no-repeat;
36 .downloadBlockedBadge:-moz-locale-dir(rtl) {
37 background-position-x: left;
40 richlistitem.download[verdict="PotentiallyUnwanted"] .downloadBlockedBadge {
41 background-image: url("chrome://browser/skin/warning.svg");
44 richlistitem.download[verdict="Uncommon"] .downloadBlockedBadge {
45 background-image: url("chrome://browser/skin/info.svg");
48 richlistitem.download > toolbarseparator {
59 /* Use calc() to keep the height consistent with .downloadTarget, so that the
60 progress bar can be vertically centered. */
61 margin: 4px 0 calc(1em / 0.95 - 1em);
64 .downloadDetailsNormal,
65 .downloadDetailsHover,
67 .downloadShowMoreInfo,
68 .downloadButtonLabels {
73 -moz-box-align: center;
74 background: transparent;
83 .downloadButton > .button-box {
84 -moz-appearance: none;
85 padding: 2px !important;
89 .downloadButton > .button-box > .button-icon {
93 filter: url("chrome://global/skin/filters.svg#fill");
97 .downloadButton > .button-box > .button-text {
101 .downloadButton:hover > .button-box {
102 background-color: #A09090;
106 .downloadButton:hover:active > .button-box {
107 background-color: #FF9F00;
110 richlistitem.download[selected] > .downloadButtonArea > .downloadButton:hover > .button-box {
111 background-color: #FFCF00;
115 richlistitem.download[selected] > .downloadButtonArea > .downloadButton:hover:active > .button-box {
116 background-color: #FF9F00;
120 /*** Button icons ***/
122 .downloadIconCancel > .button-box > .button-icon {
123 list-style-image: url("chrome://browser/skin/panel-icons.svg#cancel");
126 .downloadIconShow > .button-box > .button-icon {
127 list-style-image: url("chrome://browser/skin/panel-icons.svg#folder");
130 .downloadIconRetry > .button-box > .button-icon {
131 list-style-image: url("chrome://browser/skin/panel-icons.svg#retry");
134 /*** Progressmeter ***/
135 /* %include progressmeter.inc.css - this happens as @import at the start of the file */
137 /* === END allDownloadsViewOverlay.inc.css === */
142 --downloads-item-height: 6em;