| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the NPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 39 | |
| 40 | /* ===== primaryToolbar.css ============================================= |
| 41 | == Images for the Mail primary toolbar. |
| 42 | ======================================================================= */ |
| 43 | |
| 44 | /* ::::: primary toolbar buttons ::::: */ |
| 45 | |
| 46 | #button-getmsg { |
| 47 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 48 | -moz-image-region: rect(63px 25px 84px 0px); |
| 49 | } |
| 50 | |
| 51 | #button-getmsg[disabled="true"] { |
| 52 | -moz-image-region: rect(63px 50px 84px 25px); |
| 53 | } |
| 54 | |
| 55 | #button-newmsg { |
| 56 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 57 | -moz-image-region: rect(105px 25px 126px 0px); |
| 58 | } |
| 59 | |
| 60 | #button-newmsg[disabled="true"] { |
| 61 | -moz-image-region: rect(105px 50px 126px 25px); |
| 62 | } |
| 63 | |
| 64 | #button-reply { |
| 65 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 66 | -moz-image-region: rect(147px 25px 168px 0px); |
| 67 | } |
| 68 | |
| 69 | #button-reply[disabled="true"] { |
| 70 | -moz-image-region: rect(147px 50px 168px 25px); |
| 71 | } |
| 72 | |
| 73 | #button-replyall { |
| 74 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 75 | -moz-image-region: rect(168px 25px 189px 0px); |
| 76 | } |
| 77 | |
| 78 | #button-replyall[disabled="true"] { |
| 79 | -moz-image-region: rect(168px 50px 189px 25px); |
| 80 | } |
| 81 | |
| 82 | #button-forward { |
| 83 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 84 | -moz-image-region: rect(42px 25px 63px 0px); |
| 85 | } |
| 86 | |
| 87 | #button-forward[disabled="true"] { |
| 88 | -moz-image-region: rect(42px 50px 63px 25px); |
| 89 | } |
| 90 | |
| 91 | #button-file { |
| 92 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 93 | -moz-image-region: rect(21px 25px 42px 0px); |
| 94 | } |
| 95 | |
| 96 | #button-file[disabled="true"] { |
| 97 | -moz-image-region: rect(21px 50px 42px 25px); |
| 98 | } |
| 99 | |
| 100 | #button-goback { |
| 101 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 102 | -moz-image-region: rect(42px 25px 63px 0px); |
| 103 | } |
| 104 | |
| 105 | #button-goback[disabled="true"] { |
| 106 | -moz-image-region: rect(42px 50px 63px 25px); |
| 107 | } |
| 108 | |
| 109 | #button-goforward { |
| 110 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 111 | -moz-image-region: rect(63px 25px 84px 0px); |
| 112 | } |
| 113 | |
| 114 | #button-goforward[disabled="true"] { |
| 115 | -moz-image-region: rect(63px 50px 84px 25px); |
| 116 | } |
| 117 | |
| 118 | #button-next { |
| 119 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 120 | -moz-image-region: rect(126px 25px 147px 0px); |
| 121 | } |
| 122 | |
| 123 | #button-next[disabled="true"] { |
| 124 | -moz-image-region: rect(126px 50px 147px 25px); |
| 125 | } |
| 126 | |
| 127 | #button-delete { |
| 128 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 129 | -moz-image-region: rect(0px 25px 21px 0px); |
| 130 | } |
| 131 | |
| 132 | #button-delete[disabled="true"] { |
| 133 | -moz-image-region: rect(0px 50px 21px 25px); |
| 134 | } |
| 135 | |
| 136 | toolbarpaletteitem > #button-delete { |
| 137 | display: -moz-box; |
| 138 | } |
| 139 | |
| 140 | #button-mark { |
| 141 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 142 | -moz-image-region: rect(84px 25px 105px 0px); |
| 143 | } |
| 144 | |
| 145 | #button-mark[disabled="true"] { |
| 146 | -moz-image-region: rect(84px 50px 105px 25px); |
| 147 | } |
| 148 | |
| 149 | #button-print { |
| 150 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 151 | -moz-image-region: rect(0px 25px 21px 0px); |
| 152 | } |
| 153 | |
| 154 | #button-print[disabled="true"] { |
| 155 | -moz-image-region: rect(0px 50px 21px 25px); |
| 156 | } |
| 157 | |
| 158 | #button-stop { |
| 159 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 160 | -moz-image-region: rect(21px 25px 42px 0px); |
| 161 | } |
| 162 | |
| 163 | #button-stop[disabled="true"] { |
| 164 | -moz-image-region: rect(21px 50px 42px 25px); |
| 165 | } |
| 166 | |
| 167 | #button-junk { |
| 168 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
| 169 | -moz-image-region: rect(252px 25px 273px 0px); |
| 170 | } |
| 171 | |
| 172 | #button-junk[disabled="true"] { |
| 173 | -moz-image-region: rect(252px 50px 273px 25px); |
| 174 | } |
| 175 | |
| 176 | #sync-button { |
| 177 | list-style-image: url("chrome://communicator/skin/sync/sync-32.png"); |
| 178 | } |
| 179 | |
| 180 | #sync-button[status=active] { |
| 181 | list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png"); |
| 182 | } |
| 183 | |
| 184 | #locationFolders { |
| 185 | width: 22em; |
| 186 | } |
| 187 | |
| 188 | toolbarpaletteitem[place="palette"] > #folder-location-container > #locationFolders { |
| 189 | max-width: 11em; |
| 190 | } |
| 191 | |
| 192 | toolbarpaletteitem[place="palette"] > #search-container > #searchInput { |
| 193 | max-width: 11em; |
| 194 | } |
| 195 | |
| 196 | toolbarpaletteitem[place="palette"] > #mailviews-container > #viewPicker { |
| 197 | max-width: 11em; |
| 198 | } |
| 199 | |
| 200 | #viewPickerPopup > menuitem > .menu-iconic-left, |
| 201 | #viewPickerPopup > menu > menupopup > menuitem > .menu-iconic-left { |
| 202 | display: -moz-box !important; |
| 203 | } |
| 204 | |
| 205 | /* ::::: small primary toolbar buttons ::::: */ |
| 206 | |
| 207 | toolbar[iconsize="small"] > #button-getmsg, |
| 208 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-getmsg { |
| 209 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 210 | -moz-image-region: rect(48px 16px 64px 0); |
| 211 | } |
| 212 | |
| 213 | toolbar[iconsize="small"] > #button-getmsg[disabled="true"] { |
| 214 | -moz-image-region: rect(48px 32px 64px 16px); |
| 215 | } |
| 216 | |
| 217 | toolbar[iconsize="small"] > #button-newmsg, |
| 218 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmsg { |
| 219 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 220 | -moz-image-region: rect(80px 16px 96px 0); |
| 221 | } |
| 222 | |
| 223 | toolbar[iconsize="small"] > #button-newmsg[disabled="true"] { |
| 224 | -moz-image-region: rect(80px 32px 96px 16px); |
| 225 | } |
| 226 | |
| 227 | toolbar[iconsize="small"] > #button-reply, |
| 228 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-reply { |
| 229 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 230 | -moz-image-region: rect(112px 16px 128px 0); |
| 231 | } |
| 232 | |
| 233 | toolbar[iconsize="small"] > #button-reply[disabled="true"] { |
| 234 | -moz-image-region: rect(112px 32px 128px 16px); |
| 235 | } |
| 236 | |
| 237 | toolbar[iconsize="small"] > #button-replyall, |
| 238 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-replyall { |
| 239 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 240 | -moz-image-region: rect(128px 16px 144px 0); |
| 241 | } |
| 242 | |
| 243 | toolbar[iconsize="small"] > #button-replyall[disabled="true"] { |
| 244 | -moz-image-region: rect(128px 32px 144px 16px); |
| 245 | } |
| 246 | |
| 247 | toolbar[iconsize="small"] > #button-forward, |
| 248 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-forward { |
| 249 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 250 | -moz-image-region: rect(32px 16px 48px 0); |
| 251 | } |
| 252 | |
| 253 | toolbar[iconsize="small"] > #button-forward[disabled="true"] { |
| 254 | -moz-image-region: rect(32px 32px 48px 16px); |
| 255 | } |
| 256 | |
| 257 | toolbar[iconsize="small"] > #button-file, |
| 258 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-file { |
| 259 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 260 | -moz-image-region: rect(16px 16px 32px 0); |
| 261 | } |
| 262 | |
| 263 | toolbar[iconsize="small"] > #button-file[disabled="true"] { |
| 264 | -moz-image-region: rect(16px 32px 32px 16px); |
| 265 | } |
| 266 | |
| 267 | toolbar[iconsize="small"] > #button-goback, |
| 268 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-goback { |
| 269 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); |
| 270 | -moz-image-region: rect(32px 16px 48px 0); |
| 271 | } |
| 272 | |
| 273 | toolbar[iconsize="small"] > #button-goback[disabled="true"] { |
| 274 | -moz-image-region: rect(32px 32px 48px 16px); |
| 275 | } |
| 276 | |
| 277 | toolbar[iconsize="small"] > #button-goforward, |
| 278 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-goforward { |
| 279 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); |
| 280 | -moz-image-region: rect(48px 16px 64px 0); |
| 281 | } |
| 282 | |
| 283 | toolbar[iconsize="small"] > #button-goforward[disabled="true"] { |
| 284 | -moz-image-region: rect(48px 32px 64px 16px); |
| 285 | } |
| 286 | |
| 287 | toolbar[iconsize="small"] > #button-next, |
| 288 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-next { |
| 289 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 290 | -moz-image-region: rect(96px 16px 112px 0); |
| 291 | } |
| 292 | |
| 293 | toolbar[iconsize="small"] > #button-next[disabled="true"] { |
| 294 | -moz-image-region: rect(96px 32px 112px 16px); |
| 295 | } |
| 296 | |
| 297 | toolbar[iconsize="small"] > #button-delete, |
| 298 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-delete { |
| 299 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 300 | -moz-image-region: rect(0 16px 16px 0); |
| 301 | } |
| 302 | |
| 303 | toolbar[iconsize="small"] > #button-delete[disabled="true"] { |
| 304 | -moz-image-region: rect(0 32px 16px 16px); |
| 305 | } |
| 306 | |
| 307 | toolbar[iconsize="small"] > #button-mark, |
| 308 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-mark { |
| 309 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 310 | -moz-image-region: rect(64px 16px 80px 0); |
| 311 | } |
| 312 | |
| 313 | toolbar[iconsize="small"] > #button-mark[disabled="true"] { |
| 314 | -moz-image-region: rect(64px 32px 80px 16px); |
| 315 | } |
| 316 | |
| 317 | toolbar[iconsize="small"] > #button-junk, |
| 318 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-junk { |
| 319 | list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); |
| 320 | -moz-image-region: rect(192px 16px 208px 0); |
| 321 | } |
| 322 | |
| 323 | toolbar[iconsize="small"] > #button-junk[disabled="true"] { |
| 324 | -moz-image-region: rect(192px 32px 208px 16px); |
| 325 | } |
| 326 | |
| 327 | toolbar[iconsize="small"] > #button-print, |
| 328 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-print { |
| 329 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); |
| 330 | -moz-image-region: rect(0 16px 16px 0); |
| 331 | } |
| 332 | |
| 333 | toolbar[iconsize="small"] > #button-print[disabled="true"] { |
| 334 | -moz-image-region: rect(0 32px 16px 16px); |
| 335 | } |
| 336 | |
| 337 | toolbar[iconsize="small"] > #button-stop, |
| 338 | toolbar[iconsize="small"] > toolbarpaletteitem > #button-stop { |
| 339 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); |
| 340 | -moz-image-region: rect(16px 16px 32px 0); |
| 341 | } |
| 342 | |
| 343 | toolbar[iconsize="small"] > #button-stop[disabled="true"] { |
| 344 | -moz-image-region: rect(16px 32px 32px 16px); |
| 345 | } |
| 346 | |
| 347 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button, |
| 348 | toolbar[iconsize="small"] > #sync-button { |
| 349 | list-style-image: url("chrome://communicator/skin/sync/sync-16.png"); |
| 350 | } |
| 351 | |
| 352 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active], |
| 353 | toolbar[iconsize="small"] > #sync-button[status=active] { |
| 354 | list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png"); |
| 355 | } |
| 356 | |
| 357 | /* ::::: message notification bar style rules ::::: */ |
| 358 | |
| 359 | .msgNotificationBar { |
| 360 | /* border-bottom: 1px solid #669999; */ |
| 361 | background-color: #9999CC; |
| 362 | color: black; |
| 363 | } |
| 364 | |
| 365 | .msgNotificationBar:-moz-lwtheme { |
| 366 | text-shadow: none; |
| 367 | } |
| 368 | |
| 369 | .msgNotificationBarText { |
| 370 | font-weight: bold; |
| 371 | } |
| 372 | |
| 373 | #junkBarImage { |
| 374 | list-style-image: url("chrome://messenger/skin/toolbar/junk.gif"); |
| 375 | } |
| 376 | |
| 377 | #junkIcon { |
| 378 | -moz-margin-start: 0.5ex; |
| 379 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
| 380 | } |
| 381 | |
| 382 | #remoteContentImage { |
| 383 | list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png"); |
| 384 | padding: 3px; |
| 385 | } |
| 386 | |
| 387 | #mdnBarImage { |
| 388 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 389 | padding: 3px; |
| 390 | } |
| 391 | |
| 392 | #allowRemoteContentForAuthorDesc { |
| 393 | -moz-padding-start: 10px; |
| 394 | } |