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 #downloadsRichListBox {
6 /** The default listbox appearance comes with an unwanted margin. **/
12 #downloadsRichListBox > richlistitem.download {
19 -moz-margin-start: 8px;
20 /* explicitly size the icon, so size doesn't vary on hidpi systems */
26 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
41 background: transparent;
47 list-style-image: url("chrome://browser/skin/downloads/buttons.png");
50 /*** Highlighted list items ***/
52 richlistitem.download:not([selected]):hover {
54 background-color: #794900;
59 /*** Button icons ***/
61 .downloadButton.downloadCancel {
62 -moz-image-region: rect(0px, 16px, 16px, 0px);
65 richlistitem.download:hover > .downloadButton.downloadCancel,
66 richlistitem.download:hover > .downloadButton.downloadCancel:hover,
67 richlistitem.download:hover > .downloadButton.downloadCancel:active {
68 -moz-image-region: rect(0px, 32px, 16px, 16px);
71 .downloadButton.downloadShow {
72 -moz-image-region: rect(16px, 16px, 32px, 0px);
75 richlistitem.download:hover > .downloadButton.downloadShow,
76 richlistitem.download:hover > .downloadButton.downloadShow:hover,
77 richlistitem.download:hover > .downloadButton.downloadShow:active {
78 -moz-image-region: rect(16px, 32px, 32px, 16px);
81 .downloadButton.downloadRetry {
82 -moz-image-region: rect(32px, 16px, 48px, 0px);
85 richlistitem.download:hover > .downloadButton.downloadRetry,
86 richlistitem.download:hover > .downloadButton.downloadRetry:hover,
87 richlistitem.download:hover > .downloadButton.downloadRetry:active {
88 -moz-image-region: rect(32px, 32px, 48px, 16px);
91 richlistitem.download[selected] > .downloadButton.downloadCancel,
92 richlistitem.download[selected]:hover > .downloadButton.downloadCancel,
93 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:hover,
94 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:active {
95 -moz-image-region: rect(0px, 32px, 16px, 16px);
98 richlistitem.download[selected] > .downloadButton.downloadShow,
99 richlistitem.download[selected]:hover > .downloadButton.downloadShow,
100 richlistitem.download[selected]:hover > .downloadButton.downloadShow:hover,
101 richlistitem.download[selected]:hover > .downloadButton.downloadShow:active {
102 -moz-image-region: rect(16px, 32px, 32px, 16px);
105 richlistitem.download[selected] > .downloadButton.downloadRetry,
106 richlistitem.download[selected]:hover > .downloadButton.downloadRetry,
107 richlistitem.download[selected]:hover > .downloadButton.downloadRetry:hover,
108 richlistitem.download[selected]:hover > .downloadButton.downloadRetry:active {
109 -moz-image-region: rect(32px, 32px, 48px, 16px);