test different rules for mac detection
[themes.git] / LCARStrek / communicator / downloads / downloadmanager.css
CommitLineData
9099c61d
RK
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/. */
5d14042c
RK
4
5@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
7/* Note to themers:
8 On rows and all cells, those properties for download states are available:
9 active, inactive, resumable, paused, downloading, finished, failed, canceled, blocked
10*/
11
b78a2332
RK
12treechildren::-moz-tree-image(Name) {
13 -moz-margin-end: 2px;
14}
15
8dcc05d2
RK
16#pauseButton,
17treechildren::-moz-tree-image(ActionPlay, downloading, resumable) {
5d14042c
RK
18 /* pause */
19 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
20 -moz-image-region: rect(0px, 48px, 16px, 32px);
21}
22
8dcc05d2
RK
23#ActionPlay,
24#resumeButton,
25treechildren::-moz-tree-image(ActionPlay, paused, resumable) {
5d14042c
RK
26 /* resume */
27 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
28 -moz-image-region: rect(0px, 16px, 16px, 0px);
29}
30
8dcc05d2 31#retryButton,
5d14042c 32treechildren::-moz-tree-image(ActionPlay, failed),
8dcc05d2 33treechildren::-moz-tree-image(ActionPlay, canceled) {
5d14042c
RK
34 /* retry */
35 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
36 -moz-image-region: rect(0px, 64px, 16px, 48px);
37}
38
8dcc05d2
RK
39#ActionStop,
40#cancelButton,
41treechildren::-moz-tree-image(ActionStop, active) {
5d14042c
RK
42 /* cancel */
43 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
44 -moz-image-region: rect(0px, 32px, 16px, 16px);
45}
46
47treechildren::-moz-tree-image(ActionStop, inactive) {
48 /* remove */
49 list-style-image: url("chrome://communicator/skin/downloads/dl-remove.png");
50 -moz-image-region: auto;
51}
52
8e02e65e
RK
53#search-box, #clearListButton {
54 margin-top: 0px;
55 margin-bottom: 0px;
56}
57
5d14042c
RK
58/* progress dialogs */
59
8dcc05d2
RK
60#dlProgressWindow {
61 /* match dialog.css */
62 padding: 3px;
63}
64
65/* label with dropdown, actually done as a button type=menu */
5d14042c 66#fileName, #fileSource {
c149dba9 67 margin: 0px;
8dcc05d2
RK
68 border: 0px;
69 min-width: 0px;
70 min-height: 0px;
5d14042c 71}
8dcc05d2
RK
72
73#fileName > .button-box,
74#fileSource > .button-box {
75 -moz-appearance: none;
76 padding: 0px;
5d14042c
RK
77}
78
79#fileName {
80 font-weight: bold;
81}
82
83.mini-button {
84 -moz-appearance: none;
85 background-color: transparent;
86 border: none;
87 padding: 0;
88 margin: 0;
89 min-width: 0;
90 min-height: 0;
91}
92
93.mini-button > .button-box {
94 -moz-appearance: none;
95 padding: 0 !important;
96}