| 1 | /* |
| 2 | * The contents of this file are subject to the Netscape Public |
| 3 | * License Version 1.1 (the "License"); you may not use this file |
| 4 | * except in compliance with the License. You may obtain a copy of |
| 5 | * the License at http://www.mozilla.org/NPL/ |
| 6 | * |
| 7 | * Software distributed under the License is distributed on an "AS |
| 8 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 9 | * implied. See the License for the specific language governing |
| 10 | * rights and limitations under the License. |
| 11 | * |
| 12 | * The Original Code is Mozilla Communicator client code, released |
| 13 | * March 31, 1998. |
| 14 | * |
| 15 | * The Initial Developer of the Original Code is Netscape |
| 16 | * Communications Corporation. Portions created by Netscape are |
| 17 | * Copyright (C) 1998-2001 Netscape Communications Corporation. All |
| 18 | * Rights Reserved. |
| 19 | * |
| 20 | * Contributor(s): |
| 21 | * Joe Hewitt (hewitt@netscape.com) |
| 22 | */ |
| 23 | |
| 24 | /* ===== messengercompose.css =========================================== |
| 25 | == Styles for the main Messenger Compose window. |
| 26 | ======================================================================= */ |
| 27 | |
| 28 | @import url("chrome://messenger/skin/"); |
| 29 | |
| 30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 31 | |
| 32 | /* ::::: image precaching ::::: */ |
| 33 | |
| 34 | #resource_bundle_messengercompose { |
| 35 | -moz-binding: url("chrome://messenger/skin/resources.xml#resource_bundle_messengercompose"); |
| 36 | } |
| 37 | |
| 38 | /* ::::: primary toolbar buttons ::::: */ |
| 39 | |
| 40 | #button-send |
| 41 | { |
| 42 | list-style-image : url("chrome://messenger/skin/messengercompose/send.gif"); |
| 43 | } |
| 44 | |
| 45 | #button-send[disabled="true"], |
| 46 | #button-send[disabled="true"]:hover, |
| 47 | #button-send[disabled="true"]:hover:active |
| 48 | { |
| 49 | list-style-image : url("chrome://messenger/skin/messengercompose/send-disabled.gif"); |
| 50 | } |
| 51 | |
| 52 | /* |
| 53 | #button-send:hover |
| 54 | { |
| 55 | list-style-image : url("chrome://messenger/skin/messengercompose/send-hover.gif"); |
| 56 | } |
| 57 | |
| 58 | #button-send:hover:active |
| 59 | { |
| 60 | list-style-image : url("chrome://messenger/skin/messengercompose/send-hover-active.gif"); |
| 61 | } |
| 62 | */ |
| 63 | |
| 64 | #button-send[offline="true"] |
| 65 | { |
| 66 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif"); |
| 67 | } |
| 68 | |
| 69 | #button-send[offline="true"][disabled="true"], |
| 70 | #button-send[offline="true"][disabled="true"]:hover, |
| 71 | #button-send[offline="true"][disabled="true"]:hover:active |
| 72 | { |
| 73 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif"); |
| 74 | } |
| 75 | |
| 76 | /* |
| 77 | #button-send[offline="true"]:hover |
| 78 | { |
| 79 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover.gif"); |
| 80 | } |
| 81 | |
| 82 | #button-send[offline="true"]:hover:active |
| 83 | { |
| 84 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-hover-active.gif"); |
| 85 | } |
| 86 | */ |
| 87 | |
| 88 | #button-address |
| 89 | { |
| 90 | list-style-image : url("chrome://messenger/skin/messengercompose/address.gif"); |
| 91 | } |
| 92 | |
| 93 | #button-address[disabled="true"], |
| 94 | #button-address[disabled="true"]:hover, |
| 95 | #button-address[disabled="true"]:hover:active |
| 96 | { |
| 97 | list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif"); |
| 98 | } |
| 99 | |
| 100 | /* |
| 101 | #button-address:hover |
| 102 | { |
| 103 | list-style-image : url("chrome://messenger/skin/messengercompose/address-hover.gif"); |
| 104 | } |
| 105 | |
| 106 | #button-address:hover:active |
| 107 | { |
| 108 | list-style-image : url("chrome://messenger/skin/messengercompose/address-hover-active.gif"); |
| 109 | } |
| 110 | */ |
| 111 | |
| 112 | #button-attach |
| 113 | { |
| 114 | list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif"); |
| 115 | } |
| 116 | |
| 117 | #button-attach[disabled="true"], |
| 118 | #button-attach[disabled="true"]:hover, |
| 119 | #button-attach[disabled="true"]:hover:active |
| 120 | { |
| 121 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif"); |
| 122 | } |
| 123 | |
| 124 | /* |
| 125 | #button-attach:hover |
| 126 | { |
| 127 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover.gif"); |
| 128 | } |
| 129 | |
| 130 | #button-attach:hover:active |
| 131 | { |
| 132 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-hover-active.gif"); |
| 133 | } |
| 134 | */ |
| 135 | |
| 136 | #button-quote |
| 137 | { |
| 138 | list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif"); |
| 139 | } |
| 140 | |
| 141 | #button-quote[disabled="true"], |
| 142 | #button-quote[disabled="true"]:hover, |
| 143 | #button-quote[disabled="true"]:hover:active |
| 144 | { |
| 145 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif"); |
| 146 | } |
| 147 | |
| 148 | /* |
| 149 | #button-quote:hover |
| 150 | { |
| 151 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover.gif"); |
| 152 | } |
| 153 | |
| 154 | #button-quote:hover:active |
| 155 | { |
| 156 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-hover-active.gif"); |
| 157 | } |
| 158 | */ |
| 159 | |
| 160 | #spellingButton |
| 161 | { |
| 162 | list-style-image : url("chrome://editor/skin/images/spell.gif"); |
| 163 | } |
| 164 | |
| 165 | #spellingButton[disabled="true"], |
| 166 | #spellingButton[disabled="true"]:hover, |
| 167 | #spellingButton[disabled="true"]:hover:active |
| 168 | { |
| 169 | list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); |
| 170 | } |
| 171 | |
| 172 | /* |
| 173 | #spellingButton:hover |
| 174 | { |
| 175 | list-style-image : url("chrome://editor/skin/images/spell-hover.gif"); |
| 176 | } |
| 177 | |
| 178 | #spellingButton:hover:active |
| 179 | { |
| 180 | list-style-image : url("chrome://editor/skin/images/spell-hover-active.gif"); |
| 181 | } |
| 182 | */ |
| 183 | |
| 184 | #button-save |
| 185 | { |
| 186 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif"); |
| 187 | } |
| 188 | |
| 189 | #button-save[disabled="true"], |
| 190 | #button-save[disabled="true"]:hover, |
| 191 | #button-save[disabled="true"]:hover:active |
| 192 | { |
| 193 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif"); |
| 194 | } |
| 195 | |
| 196 | /* |
| 197 | #button-save:hover |
| 198 | { |
| 199 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover.gif"); |
| 200 | } |
| 201 | |
| 202 | #button-save:hover:active |
| 203 | { |
| 204 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-hover-active.gif"); |
| 205 | } |
| 206 | */ |
| 207 | |
| 208 | #button-stop |
| 209 | { |
| 210 | list-style-image : url("chrome://global/skin/stop.gif"); |
| 211 | } |
| 212 | |
| 213 | #button-stop[disabled="true"], |
| 214 | #button-stop[disabled="true"]:hover, |
| 215 | #button-stop[disabled="true"]:hover:active |
| 216 | { |
| 217 | list-style-image : url("chrome://global/skin/stop-disabled.gif"); |
| 218 | } |
| 219 | |
| 220 | /* |
| 221 | #button-stop:hover |
| 222 | { |
| 223 | list-style-image : url("chrome://global/skin/stop-hover.gif"); |
| 224 | } |
| 225 | |
| 226 | #button-stop:hover:active |
| 227 | { |
| 228 | list-style-image : url("chrome://global/skin/stop-hover-active.gif"); |
| 229 | } |
| 230 | */ |
| 231 | |
| 232 | /* addressing widget */ |
| 233 | |
| 234 | #addressingWidgetTree |
| 235 | { |
| 236 | height : 80px; |
| 237 | width : 0px; |
| 238 | -moz-user-focus : none; |
| 239 | background-color : #FFFFFF; |
| 240 | } |
| 241 | |
| 242 | #listcol-addressingWidget |
| 243 | { |
| 244 | width : 9em; |
| 245 | border-right : 1px solid #CCD0DD; |
| 246 | } |
| 247 | |
| 248 | #addressingWidgetTree > treechildren > treeitem > treerow, |
| 249 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
| 250 | border : none; |
| 251 | background-color : inherit; |
| 252 | color : inherit; |
| 253 | } |
| 254 | |
| 255 | .treecell-addressingWidget |
| 256 | { |
| 257 | border-bottom : 1px solid #CCD0DD; |
| 258 | padding : 0px !important; |
| 259 | } |
| 260 | |
| 261 | .treecell-addressingWidget:first-child |
| 262 | { |
| 263 | border-bottom : none; |
| 264 | } |
| 265 | |
| 266 | .dummy-row-cell:first-child |
| 267 | { |
| 268 | border-bottom : 1px solid #CCD0DD; |
| 269 | } |
| 270 | |
| 271 | .person-icon |
| 272 | { |
| 273 | list-style-image : url("chrome://messenger/skin/abcard.gif"); |
| 274 | margin : 0px 3px 0px 3px; |
| 275 | } |
| 276 | |
| 277 | outlinerbody:-moz-outliner-cell-text(default-match) |
| 278 | { |
| 279 | margin: 2px -3px 2px 15px; |
| 280 | border: none; |
| 281 | } |
| 282 | |
| 283 | outlinerbody:-moz-outliner-image(local-abook) |
| 284 | { |
| 285 | margin: 2px -1px 2px 4px; |
| 286 | border: none; |
| 287 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
| 288 | } |
| 289 | |
| 290 | outlinerbody:-moz-outliner-image(remote-abook) |
| 291 | { |
| 292 | margin: 2px -3px 2px 2px; |
| 293 | border: none; |
| 294 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif"); |
| 295 | } |
| 296 | |
| 297 | outlinerbody:-moz-outliner-image(remote-err) |
| 298 | { |
| 299 | margin: 2px -3px 2px 2px; |
| 300 | border: none; |
| 301 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif"); |
| 302 | } |
| 303 | |
| 304 | #msgheaderstoolbar-box |
| 305 | { |
| 306 | /* padding-top : 2px; */ |
| 307 | } |
| 308 | |
| 309 | #compose-toolbar-sizer |
| 310 | { |
| 311 | height : 5px; |
| 312 | border-top : 1px solid #CCD0DD; |
| 313 | border-bottom : 1px solid #CCD0DD; |
| 314 | } |
| 315 | |
| 316 | #content-frame |
| 317 | { |
| 318 | border : 1px inset #CCD0DD; |
| 319 | } |
| 320 | |
| 321 | #appcontent |
| 322 | { |
| 323 | border-left : 1px solid ThreeDShadow; |
| 324 | border-right : 1px solid ThreeDHighlight; |
| 325 | border-top : 1px solid ThreeDShadow; |
| 326 | } |
| 327 | |
| 328 | #attachmentbucket-sizer |
| 329 | { |
| 330 | width : 5px; |
| 331 | } |
| 332 | |
| 333 | #msgIdentity, #addressingWidgetTree, #msgSubject |
| 334 | { |
| 335 | margin-right : 3px; |
| 336 | } |
| 337 | |
| 338 | #attachmentBucket |
| 339 | { |
| 340 | margin-left : 3px; |
| 341 | -moz-user-focus : normal !important; |
| 342 | } |
| 343 | |
| 344 | #attachmentBucketText |
| 345 | { |
| 346 | margin-left : 3px; |
| 347 | -moz-user-focus : none; |
| 348 | } |
| 349 | |
| 350 | |
| 351 | /* askSendFormat dialog */ |
| 352 | |
| 353 | #askSendFormat { |
| 354 | width: 40em; |
| 355 | } |
| 356 | |
| 357 | #askImageBox { |
| 358 | -moz-box-align: start; |
| 359 | } |
| 360 | |
| 361 | #convertYes { |
| 362 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 363 | } |
| 364 | |
| 365 | #convertAltering { |
| 366 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 367 | } |
| 368 | |
| 369 | #convertNo { |
| 370 | list-style-image:url("chrome://global/skin/alert-icon.gif"); |
| 371 | } |
| 372 | |
| 373 | #convertDefault { |
| 374 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 375 | } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */ |
| 376 | |
| 377 | |
| 378 | |
| 379 | |