second part of synching LCARStrek with windows theme changes in Firefox 28 cycle
[themes.git] / LCARStrek / browser / devtools / common.css
1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 /* Font for code */
7 .devtools-monospace {
8   font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
9 }
10
11 /* Toolbar and Toolbar items */
12
13 .devtools-toolbar {
14 }
15
16 .devtools-menulist,
17 .devtools-toolbarbutton {
18 }
19
20 .devtools-toolbarbutton > .toolbarbutton-menubutton-button {
21   /*-moz-box-orient: horizontal;*/
22 }
23
24 devtools-menulist:-moz-focusring,
25 .devtools-toolbarbutton:-moz-focusring {
26   outline: 1px dotted #008484;
27 }
28
29 .devtools-toolbarbutton > .toolbarbutton-icon {
30 }
31
32 .devtools-toolbarbutton:not([label]) {
33   min-width: 20px;
34 }
35
36 .devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
37   display: none;
38 }
39
40 .devtools-toolbarbutton:not([checked=true]):hover:active {
41 }
42
43 .devtools-menulist[open=true],
44 .devtools-toolbarbutton[open=true],
45 .devtools-toolbarbutton[checked=true] {
46 }
47
48 .devtools-toolbarbutton[checked=true] {
49 }
50
51 .devtools-toolbarbutton[checked=true]:hover:active {
52 }
53
54 .devtools-option-toolbarbutton {
55   list-style-image: url("chrome://browser/skin/devtools/option-icon.png");
56   -moz-image-region: rect(0px 16px 16px 0px);
57 /*  background: none;
58   border: none; */
59 }
60
61 .devtools-option-toolbarbutton:hover,
62 .devtools-option-toolbarbutton[open=true] {
63   -moz-image-region: rect(0px 32px 16px 16px);
64 }
65
66 .devtools-menulist > .menulist-label-box {
67   text-align: center;
68 }
69
70 .devtools-menulist > .menulist-dropmarker {
71 }
72
73 .devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
74 }
75
76 /* LCARStrek checkbox colors don't work well against toolbar background */
77 .devtools-toolbar > checkbox {
78   background-color: #000000;
79   padding: 2px;
80 }
81
82 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
83 }
84
85 .devtools-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
86 }
87
88 .devtools-toolbarbutton[type=menu-button] {
89   padding: 0 1px;
90   -moz-box-align: stretch;
91 }
92
93 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
94 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
95   -moz-box-align: center;
96 }
97
98 /* Text input */
99
100 .devtools-textinput,
101 .devtools-searchinput {
102   -moz-appearance: none;
103 /*  margin: 0 3px;
104   min-height: 22px;
105   border: 1px solid hsla(211,68%,6%,.6);
106   box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1);
107   border-radius: 2px;
108   background-color: transparent;
109   background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
110   padding: 3px;*/
111   transition-property: background-color, border-color, box-shadow;
112   transition-duration: 150ms;
113   transition-timing-function: ease;
114 /*  color: inherit; */
115 }
116
117 .devtools-searchinput {
118   background-image: url("magnifying-glass.png")/*, linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35))*/;
119   background-repeat: no-repeat;
120   background-position: 4px center, top left, top left;
121 /*  padding-top: 0;
122   padding-bottom: 0;*/
123   -moz-padding-start: 18px;
124   -moz-padding-end: 12px;
125   font-size: inherit;
126 }
127
128 .devtools-searchinput[focused] {
129 /*  border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%);
130   background-origin: padding-box;
131   background-clip: padding-box;
132   box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1);*/
133 }
134
135 .devtools-searchinput:-moz-locale-dir(rtl) {
136   background-position: calc(100% - 4px) center, top left, top left;
137 }
138
139 .devtools-searchinput > .textbox-input-box > .textbox-search-icons {
140   display: none;
141 }
142
143 .devtools-searchinput > .textbox-input-box > .textbox-input::-moz-placeholder {
144 /*  color: hsl(208,10%,66%);*/
145 }
146
147 .devtools-no-search-result {
148 /*  box-shadow: inset 0 0 0 1px hsla(0,68%,6%,.35);
149   border-color: hsl(10,70%,40%) hsl(10,75%,37%) hsl(10,80%,35%) !important;*/
150   background-image: url("magnifying-glass.png"), linear-gradient(rgba(255,0,0,.15), rgba(255,0,0,.35));
151 }
152
153 /* Close button */
154
155 .devtools-closebutton {
156   list-style-image: url("chrome://global/skin/icons/close-button.gif");
157   min-width: 16px;
158   width: 16px;
159 }
160
161 .devtools-closebutton > .toolbarbutton-text {
162   display: none;
163 }
164
165 .devtools-closebutton:hover,
166 .devtools-closebutton:hover:active {
167   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
168 }
169
170 /* Splitters */
171
172 .devtools-horizontal-splitter {
173   min-height: 3px;
174   height: 3px;
175   position: relative;
176 }
177
178 #devtools-side-splitter {
179   min-width: 0;
180   width: 3px;
181   border: none;
182   margin: 0 3px;
183   position: relative;
184   cursor: e-resize;
185 }
186
187 /* In-tools sidebar */
188
189 .devtools-toolbox-side-iframe {
190   min-width: 465px;
191 }
192
193 .devtools-sidebar-tabs {
194 }
195
196 .devtools-sidebar-tabs > tabpanels {
197   padding: 0;
198   border: 0;
199 }
200
201 .devtools-sidebar-tabs > tabs {
202   position: static;
203   overflow: hidden;
204 }
205
206 .devtools-sidebar-tabs > tabs > .tabs-right,
207 .devtools-sidebar-tabs > tabs > .tabs-left {
208   display: none;
209 }
210
211 .devtools-sidebar-tabs > tabs > tab {
212   min-width: 78px;
213   text-align: center;
214   -moz-box-flex: 1;
215   position: static;
216   margin-top: 0;
217 }
218
219 .devtools-sidebar-tabs > tabs > tab:-moz-focusring {
220   position: static;
221 }
222
223 .devtools-sidebar-tabs > tabs > tab:last-of-type {
224   -moz-border-end-width: 0;
225 }
226
227 .devtools-sidebar-tabs > tabs > tab:first-of-type {
228   -moz-margin-start: 0;
229 }
230
231 .devtools-sidebar-tabs > tabs > tab {
232 }
233
234 .devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab {
235 }
236
237 .devtools-sidebar-tabs > tabs > tab {
238 }
239
240 .devtools-sidebar-tabs > tabs > tab:hover {
241 }
242
243 .devtools-sidebar-tabs > tabs > tab:hover:active {
244 }
245
246 .devtools-sidebar-tabs > tabs > tab[selected=true] + tab {
247 }
248
249 .devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover {
250 }
251
252 .devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover:active {
253 }
254
255 .devtools-sidebar-tabs > tabs > tab[selected=true] {
256 }
257
258 .devtools-sidebar-tabs > tabs > tab[selected=true]:hover {
259 }
260
261 .devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active {
262 }
263
264 /* === BEGIN common.inc.css === */
265
266 /* Autocomplete Popup */
267 /* Dark and light theme */
268
269 .devtools-autocomplete-popup {
270   border: 1px solid #FF9F00;
271   background-color: #000000;
272   border-radius: 3px;
273   overflow-x: hidden;
274   max-height: 40rem;
275 }
276
277 .devtools-autocomplete-listbox {
278   background-color: transparent;
279   border-width: 0px !important;
280 }
281
282 .devtools-autocomplete-listbox > richlistitem,
283 .devtools-autocomplete-listbox > richlistitem[selected] {
284   width: 100%;
285   background-color: transparent;
286   border-radius: 4px;
287 }
288
289 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
290 .devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
291 /*  background-color: rgba(0,0,0,0.5); */
292 }
293
294 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
295 .devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
296 /*  color: hsl(208,100%,60%);*/
297 }
298
299 .devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
300 /*  color: #eee;*/
301 }
302
303 .devtools-autocomplete-listbox.dark-theme > richlistitem > label {
304 /*  color: #ccc;*/
305 }
306
307 .devtools-autocomplete-listbox > richlistitem > .initial-value,
308 .devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
309   margin: 0;
310   padding: 1px 0;
311 }
312
313 .devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
314   text-align: right;
315 }
316
317 /* Rest of the light theme */
318
319 .devtools-autocomplete-popup.light-theme {
320 }
321
322 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
323 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
324 /*  background-color: rgba(128,128,128,0.3); */
325 }
326
327 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
328 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
329 /*  color: #222;*/
330 }
331
332 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
333 /*  color: #666;*/
334 }
335
336 /* Responsive container */
337
338 .devtools-responsive-container {
339   -moz-box-orient: horizontal;
340 }
341
342 @media (max-width: 700px) {
343   .devtools-responsive-container {
344     -moz-box-orient: vertical;
345   }
346
347   .devtools-responsive-container > .devtools-side-splitter {
348     border: 0;
349     margin: 3px 0;
350     min-height: 3px;
351     height: 3px;
352     /* In some edge case the cursor is not changed to n-resize */
353     cursor: n-resize;
354   }
355
356   .devtools-responsive-container > .devtools-sidebar-tabs {
357     min-height: 35vh;
358     max-height: 75vh;
359   }
360 }
361
362 /* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
363
364 .devtools-tooltip.devtools-tooltip-tooltip {
365   /* If the tooltip uses a <tooltip> XUL element */
366   padding: 4px;
367   background: #A09090;
368   border-radius: 3px;
369 }
370
371 .devtools-tooltip.devtools-tooltip-panel .panel-arrowcontent {
372   /* If the tooltip uses a <panel> XUL element instead */
373   padding: 4px;
374 }
375
376 .devtools-tooltip-simple-text {
377   background: #000000;
378   max-width: 400px;
379   margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
380   padding: 8px 12px;
381   white-space: pre-wrap;
382 }
383
384 .devtools-tooltip-simple-text:first-child {
385   margin-top: -4px;
386 }
387
388 .devtools-tooltip-simple-text:last-child {
389   margin-bottom: -4px;
390 }
391
392 .devtools-tooltip-simple-text {
393   background-color: #000000;
394   max-width: 400px;
395   margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
396   padding: 8px 12px;
397   white-space: pre-wrap;
398 }
399
400 .devtools-tooltip-simple-text:first-child {
401   margin-top: -4px;
402 }
403
404 .devtools-tooltip-simple-text:last-child {
405   margin-bottom: -4px;
406 }
407
408 .devtools-tooltip-tiles {
409   background-color: #A09090;
410   background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
411     linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
412   background-size: 20px 20px;
413   background-position: 0 0, 10px 10px;
414 }
415
416 /* === END common.inc.css === */