try more mac-specific toolbar adjustments
[themes.git] / LCARStrek / editor / editorPrimaryToolbar.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/. */
351107c9 4
5@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
b1eaa419 7#newButton {
4db0b17b
RK
8 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
9 -moz-image-region: rect(84px 25px 105px 0px);
b1eaa419 10}
11
12#newButton[disabled="true"] {
4db0b17b
RK
13 -moz-image-region: rect(84px 50px 105px 25px);
14}
b1eaa419 15
4db0b17b
RK
16#newButton:not([disabled="true"]):hover,
17#newButton:not([disabled="true"]):hover:active {
18 -moz-image-region: rect(84px 75px 105px 50px)
b1eaa419 19}
351107c9 20
4db0b17b
RK
21#openButton {
22 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
23 -moz-image-region: rect(105px 25px 126px 0px);
24}
b1eaa419 25
26#openButton[disabled="true"] {
4db0b17b
RK
27 -moz-image-region: rect(105px 50px 126px 25px);
28}
b1eaa419 29
4db0b17b
RK
30#openButton:not([disabled="true"]):hover,
31#openButton:not([disabled="true"]):hover:active {
32 -moz-image-region: rect(105px 75px 126px 50px)
b1eaa419 33}
351107c9 34
4db0b17b
RK
35#saveButton {
36 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
37 -moz-image-region: rect(147px 25px 168px 0px);
38}
b1eaa419 39
40#saveButton[disabled="true"] {
4db0b17b 41 -moz-image-region: rect(147px 50px 168px 25px);
b1eaa419 42}
351107c9 43
4db0b17b
RK
44#saveButton:not([disabled="true"]):hover,
45#saveButton:not([disabled="true"]):hover:active {
46 -moz-image-region: rect(147px 75px 168px 50px)
b1eaa419 47}
48
b1eaa419 49#publishButton {
4db0b17b
RK
50 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
51 -moz-image-region: rect(210px 25px 231px 0px);
52}
b1eaa419 53
54#publishButton[disabled="true"] {
4db0b17b 55 -moz-image-region: rect(210px 50px 231px 25px);
b1eaa419 56}
b1eaa419 57
4db0b17b
RK
58#publishButton:not([disabled="true"]):hover,
59#publishButton:not([disabled="true"]):hover:active {
60 -moz-image-region: rect(210px 75px 231px 50px)
3a121502 61}
351107c9 62
4db0b17b
RK
63#previewButton {
64 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
65 -moz-image-region: rect(126px 25px 147px 0px);
66}
b1eaa419 67
68#previewButton[disabled="true"] {
4db0b17b
RK
69 -moz-image-region: rect(126px 50px 147px 25px);
70}
b1eaa419 71
4db0b17b
RK
72#previewButton:not([disabled="true"]):hover,
73#previewButton:not([disabled="true"]):hover:active {
74 -moz-image-region: rect(126px 75px 147px 50px)
b1eaa419 75}
351107c9 76
4db0b17b
RK
77#printButton {
78 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
79 -moz-image-region: rect(0px 25px 21px 0px);
80}
b1eaa419 81
82#printButton[disabled="true"] {
4db0b17b 83 -moz-image-region: rect(0px 50px 21px 25px);
b1eaa419 84}
85
4db0b17b
RK
86#printButton:not([disabled="true"]):hover,
87#printButton:not([disabled="true"]):hover:active {
88 -moz-image-region: rect(0px 75px 21px 50px)
b1eaa419 89}
351107c9 90
4db0b17b
RK
91#findButton {
92 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
93 -moz-image-region: rect(294px 25px 315px 0px);
94}
b1eaa419 95
96#findButton[disabled="true"] {
4db0b17b 97 -moz-image-region: rect(294px 50px 315px 25px);
b1eaa419 98}
b1eaa419 99
4db0b17b
RK
100#findButton:not([disabled="true"]):hover,
101#findButton:not([disabled="true"]):hover:active {
102 -moz-image-region: rect(294px 75px 315px 50px)
b1eaa419 103}
351107c9 104
4db0b17b
RK
105#linkButton {
106 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
107 -moz-image-region: rect(63px 25px 84px 0px);
108}
b1eaa419 109
110#linkButton[disabled="true"] {
4db0b17b
RK
111 -moz-image-region: rect(63px 50px 84px 25px);
112}
b1eaa419 113
4db0b17b
RK
114#linkButton:not([disabled="true"]):hover,
115#linkButton:not([disabled="true"]):hover:active {
116 -moz-image-region: rect(63px 75px 84px 50px)
b1eaa419 117}
351107c9 118
4db0b17b
RK
119#imageButton {
120 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
121 -moz-image-region: rect(42px 25px 63px 0px);
122}
b1eaa419 123
124#imageButton[disabled="true"] {
4db0b17b 125 -moz-image-region: rect(42px 50px 63px 25px);
b1eaa419 126}
127
4db0b17b
RK
128#imageButton:not([disabled="true"]):hover,
129#imageButton:not([disabled="true"]):hover:active {
130 -moz-image-region: rect(42px 75px 63px 50px)
b1eaa419 131}
351107c9 132
4db0b17b
RK
133#namedAnchorButton {
134 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
135 -moz-image-region: rect(0px 25px 21px 0px);
136}
b1eaa419 137
138#namedAnchorButton[disabled="true"] {
4db0b17b
RK
139 -moz-image-region: rect(0px 50px 21px 25px);
140}
b1eaa419 141
4db0b17b
RK
142#namedAnchorButton:not([disabled="true"]):hover,
143#namedAnchorButton:not([disabled="true"]):hover:active {
144 -moz-image-region: rect(0px 75px 21px 50px)
b1eaa419 145}
351107c9 146
4db0b17b
RK
147#hlineButton {
148 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
149 -moz-image-region: rect(21px 25px 42px 0px);
150}
351107c9 151
b1eaa419 152#hlineButton[disabled="true"] {
4db0b17b
RK
153 -moz-image-region: rect(21px 50px 42px 25px);
154}
351107c9 155
4db0b17b
RK
156#hlineButton:not([disabled="true"]):hover,
157#hlineButton:not([disabled="true"]):hover:active {
158 -moz-image-region: rect(21px 75px 42px 50px)
b1eaa419 159}
160
4db0b17b
RK
161#tableButton {
162 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
163 -moz-image-region: rect(189px 25px 210px 0px);
164}
b1eaa419 165
166#tableButton[disabled="true"] {
4db0b17b 167 -moz-image-region: rect(189px 50px 210px 25px);
b1eaa419 168}
169
4db0b17b
RK
170#tableButton:not([disabled="true"]):hover,
171#tableButton:not([disabled="true"]):hover:active {
172 -moz-image-region: rect(189px 75px 210px 50px)
3a121502 173}
174
4db0b17b
RK
175#spellingButton {
176 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
177 -moz-image-region: rect(168px 25px 189px 0px);
b1eaa419 178}
179
180#spellingButton[disabled="true"] {
4db0b17b 181 -moz-image-region: rect(168px 50px 189px 25px);
b1eaa419 182}
4115f43c 183
4db0b17b
RK
184#spellingButton:not([disabled="true"]):hover,
185#spellingButton:not([disabled="true"]):hover:active,
186#spellingButton[open="true"] {
187 -moz-image-region: rect(168px 75px 189px 50px);
4115f43c 188}
189
4db0b17b
RK
190#cutButton {
191 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
192 -moz-image-region: rect(231px 25px 252px 0px);
01fc5c11 193}
194
4115f43c 195#cutButton[disabled="true"] {
4db0b17b 196 -moz-image-region: rect(231px 50px 252px 25px);
4115f43c 197}
198
4db0b17b
RK
199#cutButton:not([disabled="true"]):hover,
200#cutButton:not([disabled="true"]):hover:active {
201 -moz-image-region: rect(231px 75px 251px 50px)
4115f43c 202}
203
4db0b17b
RK
204#copyButton {
205 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
206 -moz-image-region: rect(252px 25px 273px 0px);
01fc5c11 207}
208
4115f43c 209#copyButton[disabled="true"] {
4db0b17b 210 -moz-image-region: rect(252px 50px 273px 25px);
4115f43c 211}
212
4db0b17b
RK
213#copyButton:not([disabled="true"]):hover,
214#copyButton:not([disabled="true"]):hover:active {
215 -moz-image-region: rect(252px 75px 273px 50px)
4115f43c 216}
217
4db0b17b
RK
218#pasteButton {
219 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
220 -moz-image-region: rect(273px 25px 294px 0px);
01fc5c11 221}
222
4115f43c 223#pasteButton[disabled="true"] {
4db0b17b 224 -moz-image-region: rect(273px 50px 294px 25px);
01fc5c11 225}
226
4db0b17b
RK
227#pasteButton:not([disabled="true"]):hover,
228#pasteButton:not([disabled="true"]):hover:active {
229 -moz-image-region: rect(273px 75px 294px 50px)
01fc5c11 230}