* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+/* === BEGIN allDownloadsViewOverlay.inc.css === */
+
+/*** View and outer controls ***/
+
+
#downloadsRichListBox {
/** The default listbox appearance comes with an unwanted margin. **/
-moz-appearance: none;
border: none;
}
+/*** List items ***/
+
#downloadsRichListBox > richlistitem.download {
- height: 6em;
+ height: var(--downloads-item-height);
padding: 5px 8px;
}
list-style-image: url("chrome://browser/skin/downloads/buttons.png");
}
+/* === END allDownloadsViewOverlay.inc.css === */
+
+/*** List items ***/
+
+:root {
+ --downloads-item-height: 6em;
+}
+
/*** Highlighted list items ***/
richlistitem.download:not([selected]):hover {
/*** Button icons ***/
+.downloadButton.downloadConfirmBlock,
.downloadButton.downloadCancel {
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock,
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock:hover,
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock:active,
richlistitem.download:hover > .downloadButton.downloadCancel,
richlistitem.download:hover > .downloadButton.downloadCancel:hover,
richlistitem.download:hover > .downloadButton.downloadCancel:active {
-moz-image-region: rect(32px, 32px, 48px, 16px);
}
+richlistitem.download[selected] > .downloadButton.downloadConfirmBlock,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock:hover,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock:active,
richlistitem.download[selected] > .downloadButton.downloadCancel,
richlistitem.download[selected]:hover > .downloadButton.downloadCancel,
richlistitem.download[selected]:hover > .downloadButton.downloadCancel:hover,