0d9a3d52a6b1a300cbb8facc23d4a9e0b47ce595
[themes.git] / EarlyBlue / communicator / communicator.css
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/. */
4
5 /* ==== communicator.css ====================================================
6    == Styles shared everywhere throughout the Communicator suite.
7    ========================================================================== */
8
9 @import url("chrome://global/skin/");
10 @import url("chrome://communicator/content/communicator.css");
11 @import url("chrome://communicator/skin/brand.css");
12 @import url("chrome://communicator/skin/button.css");
13 @import url("chrome://communicator/skin/toolbar.css");
14
15 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
16
17 .toolbar-primary {
18   -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary");
19 }
20
21 /* ::::: autocomplete ::::: */
22
23 .autocomplete-history-popup {
24   max-height: 25em;
25 }
26
27 /* ::::: online/offline icons ::::: */
28
29 #offline-status[offline="true"] {
30   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
31 }
32
33 #offline-status {
34   list-style-image: url("chrome://communicator/skin/icons/online.gif");
35 }
36
37 /* ::::: spell checker ::::: */
38
39 .spell-suggestion {
40   font-weight: bold;
41 }
42
43 /* ::::: directional button icons ::::: */
44
45 .up {
46   list-style-image:url("chrome://global/skin/arrow/arrow-up.gif");
47   min-width: 0px;
48 }
49
50 .up[disabled="true"] {
51   list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif");
52 }
53
54 .down {
55   min-width: 0px;
56   list-style-image:url("chrome://global/skin/arrow/arrow-down.gif");
57 }
58
59 .down[disabled="true"] {
60   list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif");
61 }
62
63 .sidebarTree {
64   border: none;
65   margin: 0px !important;
66 }
67
68 /* ::::: iconic menu and menuitems ::::: */
69
70 menu.menu-iconic > .menu-iconic-left,
71 menuitem.menuitem-iconic > .menu-iconic-left {
72   display: -moz-box;
73 }
74
75 /******* lightweight themes *******/
76
77 toolbar button:-moz-lwtheme,
78 toolbar menulist:-moz-lwtheme:not([open="true"]),
79 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
80   opacity: .8;
81 }
82
83 treecols:-moz-lwtheme {
84   text-shadow: none;
85   color: #000000;
86   background-color: #CCD0DD;
87 }
88
89 /* ::::: toolbar print button ::::: */
90 #print-button {
91   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
92   -moz-image-region: rect(0px 25px 21px 0px);
93 }
94
95 #print-button[disabled="true"] {
96   -moz-image-region: rect(0px 50px 21px 25px);
97 }
98
99 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
100 toolbar[iconsize="small"] > #print-button {
101   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
102   -moz-image-region: rect(0 16px 16px 0);
103 }
104
105 toolbar[iconsize="small"] > #print-button[disabled="true"] {
106   -moz-image-region: rect(0 32px 16px 16px) !important;
107 }