tweaks for making devtools look nicer
[themes.git] / LCARStrek / communicator / communicator.css
CommitLineData
9099c61d
RK
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/. */
351107c9 4
2b722888 5@import url("chrome://global/skin/");
80916bc4 6@import url("chrome://communicator/content/communicator.css");
2b722888 7@import url("chrome://communicator/skin/brand.css");
8@import url("chrome://communicator/skin/button.css");
2b722888 9@import url("chrome://communicator/skin/toolbar.css");
351107c9 10
11@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
351107c9 12
b1eaa419 13/* ==== communicator.css ====================================================
14 == Styles shared everywhere throughout the Communicator suite.
15 ========================================================================== */
16
dd676468
RK
17toolbar {
18 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar");
19}
20
507ac708
RK
21menubar,
22toolbar[type="menubar"] {
dd676468
RK
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar");
24}
25
dc8e1207 26.toolbar-primary {
dd676468
RK
27 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary");
28}
29
30toolbar[xpfe="false"] {
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
32}
33
34menubar[xpfe="false"] {
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
dc8e1207 36}
37
c79d2bbe
RK
38/* ::::: autocomplete ::::: */
39
40.autocomplete-history-popup {
41 max-height: 25em;
42}
43
44/* ::::: online/offline icons ::::: */
45
b1eaa419 46#offline-status[offline="true"] {
47 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
48}
351107c9 49
b1eaa419 50#offline-status {
51 list-style-image: url("chrome://communicator/skin/icons/online.gif");
52}
6046f027 53
020a0978 54/* ::::: spell checker ::::: */
55
56.spell-suggestion {
57 font-weight: bold;
58}
59
b1eaa419 60/* ::::: directional button icons ::::: */
61
351107c9 62.up {
f8fa984b 63 list-style-image:url("chrome://global/skin/arrow/arrow-up-hover.gif");
351107c9 64 min-width: 0px;
65}
66
67.up[disabled="true"] {
351107c9 68}
69
70.down {
71 min-width: 0px;
f8fa984b 72 list-style-image:url("chrome://global/skin/arrow/arrow-down-hover.gif");
351107c9 73}
74
75.down[disabled="true"] {
b1eaa419 76}
77
78.sidebarTree {
79 border: none;
80 margin: 0px !important;
351107c9 81}
7aa65558 82
8b17a53f
RK
83/* ::::: iconic menus and menuitems ::::: */
84
85menu.menu-iconic > .menu-iconic-left,
86menuitem.menuitem-iconic > .menu-iconic-left {
87 display: -moz-box;
88}
ff5bd775 89
0c5f9076
RK
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
ff5bd775 100/******* lightweight themes *******/
ff5bd775 101
fb2b5761
RK
102toolbar button:-moz-lwtheme,
103toolbar menulist:-moz-lwtheme:not([open="true"]),
104toolbar textbox:-moz-lwtheme:not([focused="true"]) {
105 opacity: .8;
ff5bd775 106}
0c8f119a
RK
107
108treecols:-moz-lwtheme {
109 text-shadow: none;
110 color: #000000;
111 background-color: #9C9CFF;
112}
d16df6f2
RK
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
130toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
131toolbar[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
136toolbar[iconsize="small"] > #print-button[disabled="true"] {
137 -moz-image-region: rect(0 32px 16px 16px) !important;
138}
139
140toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
141toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
142 -moz-image-region: rect(0 48px 16px 32px);
143}
82ad4ab2
RK
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}
c3c5761b
RK
183
184.messageImage[value="blocked-badware-page"] {
185 list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
186}
9b1c3cf9
RK
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}