tweaks for making devtools look nicer
[themes.git] / LCARStrek / chatzilla / chatzilla.css
CommitLineData
10d7e614
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/. */
731b0901 4
cc7585ee 5@import url("chrome://communicator/skin/");
731b0901 6
7window {
8 width: 640px;
9 height: 480px;
10}
11
12#menu-view-none {
13 display: none;
14}
15
16#tabpanels-contents-box {
cc7585ee 17 margin: 3px 0;
731b0901 18}
19
20#header-url:hover {
21 text-decoration: underline;
22}
23
24#outer-box {
cc7585ee 25 margin: 5px;
731b0901 26}
27
cc7585ee
RK
28.toolbarbutton-menu-dropmarker {
29 margin-left: 0.5em;
731b0901 30}
31
32#input-widget,
33#input-widget-multiline {
569543b3 34 border-radius: 5px;
731b0901 35 border: 1px solid #9C9CFF;
36}
37
cc7585ee
RK
38#button-multiline-expand {
39 list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
731b0901 40}
41
cc7585ee
RK
42#button-multiline-contract {
43 list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
731b0901 44}
45
cc7585ee
RK
46#button-input {
47 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
731b0901 48}
49
cc7585ee
RK
50.highlight-menu-item:hover {
51 color: #000000 !important;
52 background: #008484 !important;
731b0901 53}
54
cc7585ee
RK
55#view-tabs {
56 overflow: hidden;
731b0901 57}
58
cc7585ee
RK
59#views-tbar-spacer {
60 -moz-box-flex: 10000;
731b0901 61}
62
cc7585ee
RK
63#tabs-drop-indicator-bar {
64 position: relative;
65 margin-top: -3px;
66 -moz-margin-start: -5px;
67 height: 3px;
731b0901 68}
69
cc7585ee
RK
70#tabs-drop-indicator {
71 position: relative;
72 margin-bottom: -8px;
73 width: 11px;
74 height: 11px;
75 background: url("chrome://chatzilla/skin/images/drop-indicator-bottom.png") 50% 50% no-repeat;
731b0901 76}
77
cc7585ee
RK
78.view-button {
79 /* do NOT set colour, at least not without background. :) */
80 text-align: center;
81 max-width: 30ex;
82 -moz-box-flex: 1;
a8dfd76f 83}
84
cc7585ee
RK
85.view-button[state="current"] {
86 font-weight: bold;
731b0901 87}
88
cc7585ee
RK
89.view-button[state="superfluous"] {
90 color: #E7ADE7;
731b0901 91}
92
cc7585ee
RK
93.view-button[state="activity"] {
94 color: #FFCF00;
731b0901 95}
96
cc7585ee
RK
97.view-button[state="attention"] {
98 color: red;
731b0901 99}
100
cc7585ee
RK
101.view-button:hover {
102 color: #000000;
731b0901 103}
104
105.output-container {
569543b3 106 border-radius: 5px;
731b0901 107 border: 1px solid #9C9CFF;
108}
109
cc7585ee 110treecol {
a8dfd76f 111 border: none;
112}
113
cc7585ee
RK
114/* we need to define both the : and :: versions of the treechildren selector
115 * so that we work on both 1.5 and pre 1.5 builds.
116 *
117 * The userlist can be in one of two state. In "symbol", the user's
a8dfd76f 118 * channel mode is shown as a @ or + image, while in "graphic" mode, the
119 * image is one of the LED images.
120 */
121
122/* no mode */
123treechildren::-moz-tree-image {
cc7585ee
RK
124 list-style-image: url("chrome://chatzilla/skin/images/no-symbol.png");
125}
126
a8dfd76f 127#user-list[mode="graphic"] treechildren::-moz-tree-image {
cc7585ee 128 list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
a8dfd76f 129}
130
131/* voice */
132treechildren::-moz-tree-image(voice-true) {
cc7585ee
RK
133 list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
134}
135
a8dfd76f 136#user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
cc7585ee 137 list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
a8dfd76f 138}
139
140/* half-chanop */
141treechildren::-moz-tree-image(halfop-true) {
cc7585ee
RK
142 list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
143}
144
a8dfd76f 145#user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
cc7585ee 146 list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
a8dfd76f 147}
148
149/* chanop */
150treechildren::-moz-tree-image(op-true) {
cc7585ee
RK
151 list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
152}
153
a8dfd76f 154#user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
cc7585ee
RK
155 list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
156}
157
158/* admin */
cc7585ee
RK
159treechildren::-moz-tree-image(admin-true) {
160 list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
731b0901 161}
162
cc7585ee
RK
163#user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
164 list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
165}
166
167/* founder */
cc7585ee
RK
168treechildren::-moz-tree-image(founder-true) {
169 list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
170}
171
cc7585ee
RK
172#user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
173 list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
174}
175
176/* away */
cc7585ee
RK
177treechildren::-moz-tree-cell-text(away-true) {
178 color: #8050B0;
179 font-style: italic;
180}
181
cc7585ee
RK
182treechildren::-moz-tree-cell-text(away-false) {
183}
184
185menuitem[header="true"] {
186 text-align: center;
187}
188
189.colorGrid
190{
a8dfd76f 191 width: 24px;
192 height: 16px;
cc7585ee 193 border: 1px solid #9C9CFF;
a8dfd76f 194 -moz-box-align: center;
195 -moz-box-pack: center;
731b0901 196}
197
cc7585ee
RK
198#colorTooltip
199{
a8dfd76f 200 padding: 0px;
201 -moz-box-align: center;
202 -moz-box-pack: center;
731b0901 203}
cc7585ee
RK
204
205/* Feel the hacks. */
206progressmeter[mode="undetermined"] {
207 -moz-appearance: none;
208}
209
210[dir="ltr"] {
211 direction: ltr;
212}
213
214[dir="rtl"] {
215 direction: rtl;
216}
217
218/* Hack; Stop the status-bar from distorting without a security icon */
219#status-text {
220 min-height: 17px;
221}
222
223#status-text[notice="true"] {
224 font-weight: bold;
225}
226
227#security-button {
228 min-width: 20px;
229}
230
cf89ee7b 231#security-button:not([level="high"]):not([level="broken"]) {
cc7585ee
RK
232 display: none;
233}
234
235#security-button[level="high"] > image {
236 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
237}
238
cc7585ee
RK
239#security-button[level="broken"] > image {
240 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
241}
242
243/* prevent margins of a value-less label from shifting the image */
244#security-button > label:not([value]) {
245 display: none;
246}
247
248#offline-status[offlinestate="offline"] {
249 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
250}
251
252#offline-status[offlinestate="online"] {
253 list-style-image: url("chrome://communicator/skin/icons/online.gif");
254}
255
256/* Focus styling for a11y reasons */
257#user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
258#multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
259 border-color: highlight !important;
260}
261
262/* Not setting a right border so the scrollbar remains on the window edge. */
263#browser-box:last-child, #user-list-box:last-child {
264 border-left: 2px solid transparent;
265 border-top: 2px solid transparent;
266 border-bottom: 2px solid transparent;
267}
268
269#user-list-box:first-child, #browser-box:first-child {
270 border-right: 2px solid transparent;
271 border-top: 2px solid transparent;
272 border-bottom: 2px solid transparent;
273}
274
275#singleline-hug-box, #multiline-hug-box {
276 border-right: 2px solid transparent;
277 border-left: 2px solid transparent;
278 border-top: 2px solid transparent;
279}