tweaks for making devtools look nicer
[themes.git] / LCARStrek / 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 @import url("chrome://global/skin/");
6 @import url("chrome://communicator/content/communicator.css");
7 @import url("chrome://communicator/skin/brand.css");
8 @import url("chrome://communicator/skin/button.css");
9 @import url("chrome://communicator/skin/toolbar.css");
10
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
12
13 /* ==== communicator.css ====================================================
14    == Styles shared everywhere throughout the Communicator suite.
15    ========================================================================== */
16
17 toolbar {
18   -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar");
19 }
20
21 menubar,
22 toolbar[type="menubar"] {
23   -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar");
24 }
25
26 .toolbar-primary {
27   -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary");
28 }
29
30 toolbar[xpfe="false"] {
31   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
32 }
33
34 menubar[xpfe="false"] {
35   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
36 }
37
38 /* ::::: autocomplete ::::: */
39
40 .autocomplete-history-popup {
41   max-height: 25em;
42 }
43
44 /* ::::: online/offline icons ::::: */
45
46 #offline-status[offline="true"] {
47   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
48 }
49
50 #offline-status {
51   list-style-image: url("chrome://communicator/skin/icons/online.gif");
52 }
53
54 /* ::::: spell checker ::::: */
55
56 .spell-suggestion {
57   font-weight: bold;
58 }
59
60 /* ::::: directional button icons ::::: */
61
62 .up {
63   list-style-image:url("chrome://global/skin/arrow/arrow-up-hover.gif");
64   min-width: 0px;
65 }
66
67 .up[disabled="true"] {
68 }
69
70 .down {
71   min-width: 0px;
72   list-style-image:url("chrome://global/skin/arrow/arrow-down-hover.gif");
73 }
74
75 .down[disabled="true"] {
76 }
77
78 .sidebarTree {
79   border: none;
80   margin: 0px !important;
81 }
82
83 /* ::::: iconic menus and menuitems ::::: */
84
85 menu.menu-iconic > .menu-iconic-left,
86 menuitem.menuitem-iconic > .menu-iconic-left {
87   display: -moz-box;
88 }
89
90 /* ::::: sync notification ::::: */
91
92 #sync-notifications > notification {
93   margin-top: 3px;
94 }
95
96 #sync-notifications > notification > .notification-inner > hbox > button {
97   margin: 0;
98 }
99
100 /******* lightweight themes *******/
101
102 toolbar button:-moz-lwtheme,
103 toolbar menulist:-moz-lwtheme:not([open="true"]),
104 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
105   opacity: .8;
106 }
107
108 treecols:-moz-lwtheme {
109   text-shadow: none;
110   color: #000000;
111   background-color: #9C9CFF;
112 }
113
114 /* ::::: toolbar print button ::::: */
115 #print-button {
116   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
117   -moz-image-region: rect(0px 25px 21px 0px);
118 }
119
120 #print-button[disabled="true"] {
121   -moz-image-region: rect(0px 50px 21px 25px);
122 }
123
124 #print-button:not([disabled="true"]):hover,
125 #print-button:not([disabled="true"]):hover:active,
126 #print-button[open="true"] {
127   -moz-image-region: rect(0px 75px 21px 50px);
128 }
129
130 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
131 toolbar[iconsize="small"] > #print-button {
132   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
133   -moz-image-region: rect(0 16px 16px 0);
134 }
135
136 toolbar[iconsize="small"] > #print-button[disabled="true"] {
137   -moz-image-region: rect(0 32px 16px 16px) !important;
138 }
139
140 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
141 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
142   -moz-image-region: rect(0 48px 16px 32px);
143 }
144
145 /* ::::: notification bars ::::: */
146
147 .messageImage[value="refresh-blocked"] {
148   list-style-image: url("chrome://communicator/skin/icons/application.png");
149 }
150
151 .messageImage[value="blocked-plugins"],
152 .messageImage[value="carbon-failure-plugins"],
153 .messageImage[value="missing-plugins"],
154 .messageImage[value="outdated-plugins"],
155 .messageImage[value="click-to-play-plugins"],
156 .messageImage[value="plugin-crashed"] {
157   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
158 }
159
160 .messageImage[value="geolocation"] {
161   list-style-image: url("chrome://communicator/skin/icons/geo.png");
162 }
163
164 .messageImage[value="indexedDB-permissions-prompt"],
165 .messageImage[value="indexedDB-quota-prompt"] {
166   list-style-image: url("chrome://global/skin/icons/question-16.png");
167 }
168
169 .messageImage[value="addon-install-blocked"],
170 .messageImage[value="addon-install-cancelled"],
171 .messageImage[value="addon-install-complete"],
172 .messageImage[value="addon-install-disabled"],
173 .messageImage[value="addon-install-failed"],
174 .messageImage[value="addon-install-started"],
175 .messageImage[value="lwtheme-install-request"],
176 .messageImage[value="lwtheme-install-notification"] {
177   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
178 }
179
180 .messageImage[value="popup-blocked"] {
181   list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
182 }
183
184 .messageImage[value="blocked-badware-page"] {
185   list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
186 }
187
188 .messageImage[value="EnterInsecureMessage"] {
189   list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
190 }
191
192 .messageImage[value="EnterSecureMessage"],
193 .messageImage[value="BlockedActiveContentMessage"],
194 .messageImage[value="BlockedDisplayContentMessage"] {
195   list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png");
196 }
197
198 .messageImage[value="MixedContentMessage"],
199 .messageImage[value="MixedActiveContentMessage"],
200 .messageImage[value="MixedDisplayContentMessage"] {
201   list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
202 }