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 /*** View and outer controls ***/
10 #downloadsRichListBox {
11 /** The default listbox appearance comes with an unwanted margin. **/
12 -moz-appearance: none;
19 #downloadsRichListBox > richlistitem.download {
20 height: var(--downloads-item-height);
26 -moz-margin-start: 8px;
27 /* explicitly size the icon, so size doesn't vary on hidpi systems */
33 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
48 background: transparent;
54 list-style-image: url("chrome://browser/skin/downloads/buttons.png");
57 /* === END allDownloadsViewOverlay.inc.css === */
62 --downloads-item-height: 6em;
65 /*** Highlighted list items ***/
67 richlistitem.download:not([selected]):hover {
69 background-color: #794900;
74 /*** Button icons ***/
76 .downloadButton.downloadIconCancel {
77 -moz-image-region: rect(0px, 16px, 16px, 0px);
80 richlistitem.download:hover > .downloadButton.downloadIconCancel,
81 richlistitem.download:hover > .downloadButton.downloadIconCancel:hover,
82 richlistitem.download:hover > .downloadButton.downloadIconCancel:active {
83 -moz-image-region: rect(0px, 32px, 16px, 16px);
86 .downloadButton.downloadIconShow {
87 -moz-image-region: rect(16px, 16px, 32px, 0px);
90 richlistitem.download:hover > .downloadButton.downloadIconShow,
91 richlistitem.download:hover > .downloadButton.downloadIconShow:hover,
92 richlistitem.download:hover > .downloadButton.downloadIconShow:active {
93 -moz-image-region: rect(16px, 32px, 32px, 16px);
96 .downloadButton.downloadIconRetry {
97 -moz-image-region: rect(32px, 16px, 48px, 0px);
100 richlistitem.download:hover > .downloadButton.downloadIconRetry,
101 richlistitem.download:hover > .downloadButton.downloadIconRetry:hover,
102 richlistitem.download:hover > .downloadButton.downloadIconRetry:active {
103 -moz-image-region: rect(32px, 32px, 48px, 16px);
106 richlistitem.download[selected] > .downloadButton.downloadIconCancel,
107 richlistitem.download[selected]:hover > .downloadButton.downloadIconCancel,
108 richlistitem.download[selected]:hover > .downloadButton.downloadIconCancel:hover,
109 richlistitem.download[selected]:hover > .downloadButton.downloadIconCancel:active {
110 -moz-image-region: rect(0px, 32px, 16px, 16px);
113 richlistitem.download[selected] > .downloadButton.downloadIconShow,
114 richlistitem.download[selected]:hover > .downloadButton.downloadIconShow,
115 richlistitem.download[selected]:hover > .downloadButton.downloadIconShow:hover,
116 richlistitem.download[selected]:hover > .downloadButton.downloadIconShow:active {
117 -moz-image-region: rect(16px, 32px, 32px, 16px);
120 richlistitem.download[selected] > .downloadButton.downloadIconRetry,
121 richlistitem.download[selected]:hover > .downloadButton.downloadIconRetry,
122 richlistitem.download[selected]:hover > .downloadButton.downloadIconRetry:hover,
123 richlistitem.download[selected]:hover > .downloadButton.downloadIconRetry:active {
124 -moz-image-region: rect(32px, 32px, 48px, 16px);