Commit | Line | Data |
---|---|---|
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/. */ | |
f6e0a33f | 4 | |
5 | /* ===== messengercompose.css =========================================== | |
6 | == Styles for the main Messenger Compose window. | |
7 | ======================================================================= */ | |
8 | ||
9 | @import url("chrome://messenger/skin/"); | |
10 | ||
11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
12 | ||
74d14f90 | 13 | /* ::::: primary toolbar buttons ::::: */ |
e68e2f2b | 14 | |
74d14f90 | 15 | #button-send { |
d61a45b2 RK |
16 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
17 | -moz-image-region: rect(231px 25px 252px 0px); | |
f6e0a33f | 18 | } |
19 | ||
74d14f90 | 20 | #button-send[disabled="true"] { |
d61a45b2 | 21 | -moz-image-region: rect(231px 50px 252px 25px); |
e68e2f2b | 22 | } |
74d14f90 | 23 | |
24 | #button-send[offline="true"] { | |
d61a45b2 | 25 | -moz-image-region: rect(273px 25px 294px 0px); |
74d14f90 | 26 | } |
27 | ||
28 | #button-send[offline="true"][disabled="true"] { | |
d61a45b2 | 29 | -moz-image-region: rect(273px 50px 294px 25px); |
74d14f90 | 30 | } |
31 | ||
32 | #button-address { | |
d61a45b2 RK |
33 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
34 | -moz-image-region: rect(189px 25px 210px 0px); | |
74d14f90 | 35 | } |
36 | ||
37 | #button-address[disabled="true"] { | |
d61a45b2 | 38 | -moz-image-region: rect(189px 50px 210px 25px); |
e68e2f2b | 39 | } |
74d14f90 | 40 | |
41 | #button-attach { | |
d61a45b2 RK |
42 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
43 | -moz-image-region: rect(210px 25px 231px 0px); | |
74d14f90 | 44 | } |
45 | ||
46 | #button-attach[disabled="true"] { | |
d61a45b2 | 47 | -moz-image-region: rect(210px 50px 231px 25px); |
e68e2f2b | 48 | } |
74d14f90 | 49 | |
50 | #spellingButton { | |
45a0ce1c RK |
51 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
52 | -moz-image-region: rect(168px 25px 189px 0px); | |
74d14f90 | 53 | } |
54 | ||
55 | #spellingButton[disabled="true"] { | |
45a0ce1c | 56 | -moz-image-region: rect(168px 50px 189px 25px); |
74d14f90 | 57 | } |
58 | ||
59 | #button-save { | |
d61a45b2 RK |
60 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
61 | -moz-image-region: rect(294px 25px 315px 0px); | |
74d14f90 | 62 | } |
63 | ||
64 | #button-save[disabled="true"] { | |
d61a45b2 | 65 | -moz-image-region: rect(294px 50px 315px 25px); |
e68e2f2b | 66 | } |
74d14f90 | 67 | |
8b17a53f RK |
68 | /* ::::: small primary toolbar buttons ::::: */ |
69 | ||
8b17a53f RK |
70 | toolbar[iconsize="small"] > #button-send, |
71 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-send { | |
72 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
45a0ce1c | 73 | -moz-image-region: rect(176px 16px 192px 0); |
8b17a53f RK |
74 | } |
75 | ||
76 | toolbar[iconsize="small"] > #button-send[disabled="true"] { | |
45a0ce1c RK |
77 | -moz-image-region: rect(176px 32px 192px 16px); |
78 | } | |
79 | ||
80 | toolbar[iconsize="small"] > #button-send[offline="true"] { | |
81 | -moz-image-region: rect(208px 16px 224px 0); | |
82 | } | |
83 | ||
84 | toolbar[iconsize="small"] > #button-send[offline="true"][disabled="true"] { | |
85 | -moz-image-region: rect(208px 32px 224px 16px); | |
8b17a53f RK |
86 | } |
87 | ||
88 | toolbar[iconsize="small"] > #button-address, | |
89 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-address { | |
90 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
45a0ce1c | 91 | -moz-image-region: rect(144px 16px 160px 0); |
8b17a53f RK |
92 | } |
93 | ||
94 | toolbar[iconsize="small"] > #button-address[disabled="true"] { | |
45a0ce1c | 95 | -moz-image-region: rect(144px 32px 160px 16px); |
8b17a53f RK |
96 | } |
97 | ||
98 | toolbar[iconsize="small"] > #button-attach, | |
99 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach { | |
100 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); | |
45a0ce1c | 101 | -moz-image-region: rect(160px 16px 176px 0); |
8b17a53f RK |
102 | } |
103 | ||
104 | toolbar[iconsize="small"] > #button-attach[disabled="true"] { | |
45a0ce1c | 105 | -moz-image-region: rect(160px 32px 176px 16px); |
8b17a53f RK |
106 | } |
107 | ||
108 | toolbar[iconsize="small"] > #spellingButton, | |
109 | toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton { | |
110 | list-style-image: url("chrome://editor/skin/icons/editoricons-small.png"); | |
45a0ce1c | 111 | -moz-image-region: rect(128px 16px 144px 0); |
8b17a53f RK |
112 | } |
113 | ||
114 | toolbar[iconsize="small"] > #spellingButton[disabled="true"] { | |
45a0ce1c | 115 | -moz-image-region: rect(128px 32px 144px 16px); |
74d14f90 | 116 | } |
117 | ||
8b17a53f RK |
118 | toolbar[iconsize="small"] > #button-save, |
119 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-save { | |
45a0ce1c RK |
120 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
121 | -moz-image-region: rect(224px 16px 240px 0); | |
e68e2f2b | 122 | } |
f6e0a33f | 123 | |
8b17a53f | 124 | toolbar[iconsize="small"] > #button-save[disabled="true"] { |
45a0ce1c | 125 | -moz-image-region: rect(224px 32px 140px 16px); |
8b17a53f | 126 | } |
45a0ce1c | 127 | |
6c5a63bb RK |
128 | #MsgHeadersToolbar { |
129 | min-height: 0px; /* this undoes the min-height in toolbar.css */ | |
130 | } | |
131 | ||
74d14f90 | 132 | /* ::::: autocomplete icons ::::: */ |
f6e0a33f | 133 | |
a1f525f0 | 134 | treechildren::-moz-tree-cell-text(default-match) { |
02920d2b RK |
135 | margin-top: 2px; |
136 | margin-bottom: 2px; | |
137 | -moz-margin-start: 15px; | |
138 | -moz-margin-end: -3px; | |
74d14f90 | 139 | border: none; |
140 | } | |
f6e0a33f | 141 | |
a1f525f0 | 142 | treechildren::-moz-tree-image(local-abook) { |
02920d2b RK |
143 | margin-top: 2px; |
144 | margin-bottom: 2px; | |
145 | -moz-margin-start: 4px; | |
146 | -moz-margin-end: -1px; | |
74d14f90 | 147 | list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); |
148 | } | |
f6e0a33f | 149 | |
a1f525f0 | 150 | treechildren::-moz-tree-image(remote-abook) { |
02920d2b RK |
151 | margin: 2px; |
152 | -moz-margin-end: -3px; | |
74d14f90 | 153 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); |
f6e0a33f | 154 | } |
155 | ||
a1f525f0 | 156 | treechildren::-moz-tree-image(remote-err) { |
02920d2b RK |
157 | margin: 2px; |
158 | -moz-margin-end: -3px; | |
74d14f90 | 159 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); |
f6e0a33f | 160 | } |
161 | ||
74d14f90 | 162 | /* ::::: EarlyBlue layout corrections ::::: */ |
163 | ||
164 | #addresses-box, | |
165 | #attachments-box { | |
166 | padding: 1px 5px; | |
f6e0a33f | 167 | } |
168 | ||
d36c7ec4 | 169 | #addresses-box > hbox > label, |
170 | #attachments-box > label { | |
8caa872d | 171 | -moz-margin-start: 0px; |
d36c7ec4 | 172 | } |
173 | ||
73c8e4ae | 174 | #msgIdentity{ |
8caa872d | 175 | -moz-margin-end: 0px; |
f6e0a33f | 176 | } |
177 | ||
73c8e4ae | 178 | #msgSubject { |
8caa872d | 179 | -moz-margin-end: 0px; |
73c8e4ae | 180 | } |
181 | ||
74d14f90 | 182 | #attachmentBucket { |
02920d2b | 183 | margin: 3px 0px 2px; |
f6e0a33f | 184 | } |
185 | ||
74d14f90 | 186 | #compose-toolbar-sizer { |
187 | border-top: none; | |
188 | } | |
fb2b5761 RK |
189 | |
190 | /* ::::: lightweight themes ::::: */ | |
191 | ||
192 | #MsgHeadersToolbar:-moz-lwtheme, | |
193 | #FormatToolbar:-moz-lwtheme, | |
194 | #compose-toolbar-sizer:-moz-lwtheme { | |
195 | text-shadow: none; | |
196 | /* color: -moz-dialogtext; | |
197 | background-color: -moz-dialog; */ | |
198 | } | |
199 | ||
200 | #MsgHeadersToolbar textbox:-moz-lwtheme, | |
201 | #MsgHeadersToolbar menulist:-moz-lwtheme, | |
52af0a75 | 202 | .formatting-button menulist:-moz-lwtheme { |
fb2b5761 RK |
203 | opacity: 1; |
204 | } |