diff options
Diffstat (limited to 'comm/suite/themes/classic/communicator/downloads/downloadmanager.css')
-rw-r--r-- | comm/suite/themes/classic/communicator/downloads/downloadmanager.css | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/comm/suite/themes/classic/communicator/downloads/downloadmanager.css b/comm/suite/themes/classic/communicator/downloads/downloadmanager.css new file mode 100644 index 0000000000..db3e1e2a82 --- /dev/null +++ b/comm/suite/themes/classic/communicator/downloads/downloadmanager.css @@ -0,0 +1,95 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* Note to themers: + On rows and all cells, those properties for download states are available: + active, inactive, resumable, paused, downloading, finished, failed, canceled, blocked +*/ + +treechildren::-moz-tree-image(Name) { + margin-inline-end: 2px; +} + +#pauseButton, +treechildren::-moz-tree-image(ActionPlay, downloading, resumable) { + /* pause */ + list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png"); + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +#ActionPlay, +#resumeButton, +treechildren::-moz-tree-image(ActionPlay, paused, resumable) { + /* resume */ + list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#retryButton, +treechildren::-moz-tree-image(ActionPlay, failed), +treechildren::-moz-tree-image(ActionPlay, canceled) { + /* retry */ + list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png"); + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#ActionStop, +#cancelButton, +treechildren::-moz-tree-image(ActionStop, active) { + /* cancel */ + list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(ActionStop, inactive) { + /* remove */ + list-style-image: url("chrome://communicator/skin/downloads/dl-remove.png"); + -moz-image-region: auto; +} + +/* progress dialogs */ +#dlProgressWindow { + /* match dialog.css */ + padding-top: 8px; + padding-bottom: 10px; + padding-inline-start: 8px; + padding-inline-end: 10px; +} + +/* label with dropdown, actually done as a button type=menu */ +#fileName, #fileSource { + -moz-appearance: none; + background-color: transparent; + margin: 0px 5px; + border: 0px; + min-width: 0px; + min-height: 0px; +} + +#fileName > .button-box, +#fileSource > .button-box { + -moz-appearance: none; + padding: 0px; +} + +#fileName { + font-weight: bold; +} + +.mini-button { + -moz-appearance: none; + background-color: transparent; + border: none; + padding: 0; + margin: 0; + min-width: 0; + min-height: 0; +} + +.mini-button > .button-box { + -moz-appearance: none; + padding: 0 !important; +} |