/* 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) { -moz-margin-end: 2px; } #pauseButton, treechildren::-moz-tree-image(ActionPlay, downloading, resumable) { /* pause */ list-style-image: url("chrome://mozapps/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://mozapps/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://mozapps/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://mozapps/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; } #search-box, #clearListButton { margin-top: 0px; margin-bottom: 0px; } /* progress dialogs */ #dlProgressWindow { /* match dialog.css */ padding: 3px; } /* label with dropdown, actually done as a button type=menu */ #fileName, #fileSource { margin: 0px; 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; }