| 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 | #button-send[offline="true"] |
| 53 | { |
| 54 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater.gif"); |
| 55 | } |
| 56 | |
| 57 | #button-send[offline="true"][disabled="true"], |
| 58 | #button-send[offline="true"][disabled="true"]:hover, |
| 59 | #button-send[offline="true"][disabled="true"]:hover:active |
| 60 | { |
| 61 | list-style-image : url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif"); |
| 62 | } |
| 63 | |
| 64 | #button-address |
| 65 | { |
| 66 | list-style-image : url("chrome://messenger/skin/messengercompose/address.gif"); |
| 67 | } |
| 68 | |
| 69 | #button-address[disabled="true"], |
| 70 | #button-address[disabled="true"]:hover, |
| 71 | #button-address[disabled="true"]:hover:active |
| 72 | { |
| 73 | list-style-image : url("chrome://messenger/skin/messengercompose/address-disabled.gif"); |
| 74 | } |
| 75 | |
| 76 | #button-attach |
| 77 | { |
| 78 | list-style-image : url("chrome://messenger/skin/messengercompose/attach.gif"); |
| 79 | } |
| 80 | |
| 81 | #button-attach[disabled="true"], |
| 82 | #button-attach[disabled="true"]:hover, |
| 83 | #button-attach[disabled="true"]:hover:active |
| 84 | { |
| 85 | list-style-image : url("chrome://messenger/skin/messengercompose/attach-disabled.gif"); |
| 86 | } |
| 87 | |
| 88 | #button-quote |
| 89 | { |
| 90 | list-style-image : url("chrome://messenger/skin/messengercompose/quote.gif"); |
| 91 | } |
| 92 | |
| 93 | #button-quote[disabled="true"], |
| 94 | #button-quote[disabled="true"]:hover, |
| 95 | #button-quote[disabled="true"]:hover:active |
| 96 | { |
| 97 | list-style-image : url("chrome://messenger/skin/messengercompose/quote-disabled.gif"); |
| 98 | } |
| 99 | |
| 100 | #spellingButton |
| 101 | { |
| 102 | list-style-image : url("chrome://editor/skin/images/spell.gif"); |
| 103 | } |
| 104 | |
| 105 | #spellingButton[disabled="true"], |
| 106 | #spellingButton[disabled="true"]:hover, |
| 107 | #spellingButton[disabled="true"]:hover:active |
| 108 | { |
| 109 | list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); |
| 110 | } |
| 111 | |
| 112 | #button-save |
| 113 | { |
| 114 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg.gif"); |
| 115 | } |
| 116 | |
| 117 | #button-save[disabled="true"], |
| 118 | #button-save[disabled="true"]:hover, |
| 119 | #button-save[disabled="true"]:hover:active |
| 120 | { |
| 121 | list-style-image : url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif"); |
| 122 | } |
| 123 | |
| 124 | #button-stop |
| 125 | { |
| 126 | list-style-image : url("chrome://global/skin/stop.gif"); |
| 127 | } |
| 128 | |
| 129 | #button-stop[disabled="true"], |
| 130 | #button-stop[disabled="true"]:hover, |
| 131 | #button-stop[disabled="true"]:hover:active |
| 132 | { |
| 133 | list-style-image : url("chrome://global/skin/stop-disabled.gif"); |
| 134 | } |
| 135 | |
| 136 | /* addressing widget */ |
| 137 | |
| 138 | #addressingWidgetTree |
| 139 | { |
| 140 | height : 80px; |
| 141 | width : 0px; |
| 142 | -moz-user-focus : none; |
| 143 | background-color : #FFFFFF; |
| 144 | } |
| 145 | |
| 146 | #listcol-addressingWidget |
| 147 | { |
| 148 | width : 9em; |
| 149 | border-right : 1px solid #CCD0DD; |
| 150 | } |
| 151 | |
| 152 | #addressingWidgetTree > treechildren > treeitem > treerow, |
| 153 | #addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { |
| 154 | border : none; |
| 155 | background-color : inherit; |
| 156 | color : inherit; |
| 157 | } |
| 158 | |
| 159 | .treecell-addressingWidget |
| 160 | { |
| 161 | border-bottom : 1px solid #CCD0DD; |
| 162 | padding : 0px !important; |
| 163 | } |
| 164 | |
| 165 | .treecell-addressingWidget:first-child |
| 166 | { |
| 167 | border-bottom : none; |
| 168 | } |
| 169 | |
| 170 | .dummy-row-cell:first-child |
| 171 | { |
| 172 | border-bottom : 1px solid #CCD0DD; |
| 173 | } |
| 174 | |
| 175 | .person-icon |
| 176 | { |
| 177 | list-style-image : url("chrome://messenger/skin/abcard.gif"); |
| 178 | margin : 0px 3px 0px 3px; |
| 179 | } |
| 180 | |
| 181 | outlinerbody:-moz-outliner-cell-text(default-match) |
| 182 | { |
| 183 | margin: 2px -3px 2px 15px; |
| 184 | border: none; |
| 185 | } |
| 186 | |
| 187 | outlinerbody:-moz-outliner-image(local-abook) |
| 188 | { |
| 189 | margin: 2px -1px 2px 4px; |
| 190 | border: none; |
| 191 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
| 192 | } |
| 193 | |
| 194 | outlinerbody:-moz-outliner-image(remote-abook) |
| 195 | { |
| 196 | margin: 2px -3px 2px 2px; |
| 197 | border: none; |
| 198 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook.gif"); |
| 199 | } |
| 200 | |
| 201 | outlinerbody:-moz-outliner-image(remote-err) |
| 202 | { |
| 203 | margin: 2px -3px 2px 2px; |
| 204 | border: none; |
| 205 | list-style-image: url("chrome://messenger/skin/addressbook/remote-abook-down.gif"); |
| 206 | } |
| 207 | |
| 208 | #msgheaderstoolbar-box |
| 209 | { |
| 210 | /* padding-top : 2px; */ |
| 211 | } |
| 212 | |
| 213 | #compose-toolbar-sizer |
| 214 | { |
| 215 | height : 5px; |
| 216 | border-top : 1px solid #CCD0DD; |
| 217 | border-bottom : 1px solid #CCD0DD; |
| 218 | } |
| 219 | |
| 220 | #content-frame |
| 221 | { |
| 222 | border : 1px inset #CCD0DD; |
| 223 | } |
| 224 | |
| 225 | #appcontent |
| 226 | { |
| 227 | border-left : 1px solid ThreeDShadow; |
| 228 | border-right : 1px solid ThreeDHighlight; |
| 229 | border-top : 1px solid ThreeDShadow; |
| 230 | } |
| 231 | |
| 232 | #attachmentbucket-sizer |
| 233 | { |
| 234 | width : 5px; |
| 235 | } |
| 236 | |
| 237 | #msgIdentity, #addressingWidgetTree, #msgSubject |
| 238 | { |
| 239 | margin-right : 3px; |
| 240 | } |
| 241 | |
| 242 | #attachmentBucket |
| 243 | { |
| 244 | margin-left : 3px; |
| 245 | -moz-user-focus : normal !important; |
| 246 | } |
| 247 | |
| 248 | #attachmentBucketText |
| 249 | { |
| 250 | margin-left : 3px; |
| 251 | -moz-user-focus : none; |
| 252 | } |
| 253 | |
| 254 | |
| 255 | /* askSendFormat dialog */ |
| 256 | |
| 257 | #askSendFormat { |
| 258 | width: 40em; |
| 259 | } |
| 260 | |
| 261 | #askImageBox { |
| 262 | -moz-box-align: start; |
| 263 | } |
| 264 | |
| 265 | #convertYes { |
| 266 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 267 | } |
| 268 | |
| 269 | #convertAltering { |
| 270 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 271 | } |
| 272 | |
| 273 | #convertNo { |
| 274 | list-style-image:url("chrome://global/skin/alert-icon.gif"); |
| 275 | } |
| 276 | |
| 277 | #convertDefault { |
| 278 | list-style-image:url("chrome://global/skin/question-icon.gif"); |
| 279 | } /* Workaround for bug 50217. Please remove this rule, when this bug is fixed. */ |
| 280 | |