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
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
8 On rows and all cells, those properties for download states are available:
9 active, inactive, resumable, paused, downloading, finished, failed, canceled, blocked
12 treechildren::-moz-tree-image(Name) {
13 margin-inline-end: 2px;
17 treechildren::-moz-tree-image(ActionPlay, downloading, resumable) {
19 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
20 -moz-image-region: rect(0px, 48px, 16px, 32px);
25 treechildren::-moz-tree-image(ActionPlay, paused, resumable) {
27 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
28 -moz-image-region: rect(0px, 16px, 16px, 0px);
32 treechildren::-moz-tree-image(ActionPlay, failed),
33 treechildren::-moz-tree-image(ActionPlay, canceled) {
35 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
36 -moz-image-region: rect(0px, 64px, 16px, 48px);
41 treechildren::-moz-tree-image(ActionStop, active) {
43 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
44 -moz-image-region: rect(0px, 32px, 16px, 16px);
47 treechildren::-moz-tree-image(ActionStop, inactive) {
49 list-style-image: url("chrome://communicator/skin/downloads/dl-remove.png");
50 -moz-image-region: auto;
53 /* progress dialogs */
56 /* match dialog.css */
59 padding-inline-start: 8px;
60 padding-inline-end: 10px;
63 /* label with dropdown, actually done as a button type=menu */
64 #fileName, #fileSource {
65 -moz-appearance: none;
66 background-color: transparent;
73 #fileName > .button-box,
74 #fileSource > .button-box {
75 -moz-appearance: none;
84 -moz-appearance: none;
85 background-color: transparent;
93 .mini-button > .button-box {
94 -moz-appearance: none;
95 padding: 0 !important;