some fixes for LCARStrek based on 2.8 review comments
[themes.git] / LCARStrek / browser / tabview / tabview.css
CommitLineData
9e47e601
RK
1body {
2 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3 color: #FF9F00;
4}
5
6#bg {
7 background: #000000;
8}
9
10/* Tabs
11----------------------------------*/
12
13.tab {
b1234db8 14 margin: 4px;
9e47e601
RK
15 padding-top: 4px;
16 -moz-padding-end: 6px;
17 padding-bottom: 6px;
18 -moz-padding-start: 4px;
19 background-color: #000000;
20 border-radius: 0.4em;
21 border: 1px solid #9C9CFF;
22 cursor: pointer;
9e47e601
RK
23}
24
25.tab canvas,
26.cached-thumb {
27 border: none;
28}
29
30.thumb {
31 background-color: white;
32}
33
34.favicon {
35 background-color: #000000;
36 padding-top: 4px;
37 -moz-padding-end: 6px;
38 padding-bottom: 6px;
39 -moz-padding-start: 4px;
40 top: 4px;
41 left: 4px;
42 -moz-border-end: 1px solid #9C9CFF;
43 border-bottom: 1px solid #9C9CFF;
44 height: 17px;
45 width: 17px;
46}
47
48html[dir=ltr] .favicon {
49 border-bottom-right-radius: 0.4em;
50}
51
52html[dir=rtl] .favicon {
53 border-bottom-left-radius: 0.4em;
54 left: auto;
55 right: 2px;
56}
57
58.favicon img {
59 border: none;
60 width: 16px;
61 height: 16px;
62}
63
64.close {
65 top: 6px;
66 right: 8px;
67 width: 16px;
68 height: 16px;
69 border-radius: 3px;
70 background-image: -moz-image-rect(url("chrome://browser/skin/tabview/close.png"), 0, 16, 16, 0);
dce90fef 71 background-repeat: no-repeat;
9e47e601
RK
72}
73
74.close:hover {
75 background-image: -moz-image-rect(url("chrome://browser/skin/tabview/close.png"), 0, 32, 16, 16);
76 background-color: #FFCF00;
77}
78
79html[dir=rtl] .close {
80 right: auto;
81 left: 6px;
82}
83
84.expander {
85 bottom: 6px;
86 right: 6px;
87 width: 16px;
88 height: 16px;
89 background: url(chrome://global/skin/icons/resizer.png) no-repeat;
90 -moz-transition-property: opacity;
91 -moz-transition-duration: 0.5s;
92 -moz-transition-timing-function: ease-out;
93 opacity: 0.2;
94}
95
96html[dir=rtl] .expander {
97 right: auto;
98 left: 6px;
99 -moz-transform: scaleX(-1);
100}
101
102.expander:hover,
103.appTabIcon:hover {
104 -moz-transition-property: opacity;
105 -moz-transition-duration: 0.5s;
106 -moz-transition-timing-function: ease-out;
107 opacity: 1.0;
108}
109
110.favicon img:hover,
111.close img:hover,
112.expander img:hover {
113 opacity: 1;
114 border: none;
115}
116
117.tab-title {
118 bottom: -20px;
119 text-align: center;
120 width: 94.5%;
9e47e601
RK
121}
122
123.stacked {
124 padding: 0;
125}
126
127.stacked .thumb {
128}
129
130.stack-trayed .tab-title {
131 color: #E7ADE7;
132 font-size: 10px;
133}
134
135.stack-trayed .thumb {
136 box-shadow: none !important;
137}
138
139.tab.focus {
140 box-shadow:
141 0 1px 0 #008484 inset,
142 0 -1px 1px #008484 inset,
143 1px 0 1px #008484 inset,
144 -1px 0 1px #008484 inset,
145 0 0 5.5px #008484;
146}
147
148/* Tab: Zooming
149----------------------------------*/
150
151.front .tab-title,
152.front .close,
153.front .favicon,
154.front .expander,
155.front .thumb-shadow {
156 display: none;
157}
158
159.front .thumb {
160 box-shadow: none !important;
161}
162
163.front.focus {
164 box-shadow: none !important;
165}
166
167/* Tab GroupItem
168----------------------------------*/
169
9e47e601 170.groupItem {
dce90fef 171 cursor: pointer;
9e47e601
RK
172 background-color: #000000;
173 border-radius: 0.4em;
174 border: 1px solid #6080B5;
175}
176
177.groupItem.activeGroupItem {
178 border: 1px solid #008484;
179}
180
181.groupItem .close {
182 z-index: 10;
dce90fef
RK
183 top: 0px;
184 right: 0px;
185 width: 22px;
186 height: 22px;
187 background-position: bottom left;
188}
189
190html[dir=rtl] .groupItem .close {
191 right: auto;
192 left: 0px;
193 background-position: bottom right;
9e47e601
RK
194}
195
196.dragRegion {
197 background: #008484;
198}
199
200.overlay {
201 background-color: #6000CF !important;
202 border-radius: 0.4em;
203}
204
205.appTabTrayContainer {
206 top: 34px;
207 right: 1px;
208 -moz-border-start: 1px solid #9C9CFF;
209 padding: 0 5px;
210 overflow-x: hidden;
211 text-align: start;
212 line-height: 0;
213}
214
215html[dir=rtl] .appTabTrayContainer {
216 right: auto;
217 left: 1px;
218}
219
220.appTabTray {
221 display: inline-block;
222 -moz-column-width: 16px;
9e47e601
RK
223 -moz-column-gap: 5px;
224}
225
226.appTabTrayContainerTruncated {
227 padding-bottom: 7px;
228}
229
230.appTabTrayContainerTruncated:after {
231 content: "…";
232 position: absolute;
233 bottom: 2px;
234 left: 0;
235 display: block;
236 width: 100%;
237 height: 15px;
238 line-height: 15px;
239 text-align: center;
240 font-size: 15px;
241}
242
243.appTabIcon {
244 width: 16px;
245 height: 16px;
246 cursor: pointer;
247 opacity: 0.8;
248 padding-bottom: 3px;
249 display: block;
250}
251
252.undo {
253 background-color: #8050B0;
c1f7cc84
RK
254 padding-top: 3px;
255 padding-bottom: 3px;
256 -moz-padding-start: 5px;
257 -moz-padding-end: 20px;
258 width: 135px;
259 line-height: 25px;
9e47e601
RK
260 box-shadow: 0px 1px 0px #9F9FCC, 0px -1px 0px #008484;
261 color: #FFCF00;
262 border-radius: 0.4em;
263 text-align: center;
264 border: none;
265 cursor: pointer;
266}
267
268.undo:hover {
269 background-color: #FFCF00;
270 color: #000000;
271}
272
273.undo .close {
c1f7cc84
RK
274 top: 7px;
275 right: 7px;
9e47e601
RK
276 opacity: 0.5;
277}
278
279html[dir=rtl] .undo .close {
c1f7cc84
RK
280 right: auto;
281 left: 7px;
9e47e601
RK
282}
283
284.undo .close:hover{
285 opacity: 1.0;
286}
287
9e47e601
RK
288/* Trenches
289----------------------------------*/
290
291.guideTrench {
292 opacity: 0.9;
293 border: 1px dashed rgba(156,156,255,.12);
294 border-bottom: none;
295 -moz-border-end: none;
296 box-shadow: 1px 1px 0 rgba(0,132,132,.15);
297}
298
299html[dir=rtl] .guideTrench {
300 box-shadow: -1px 1px 0 rgba(0,132,132,.15);
301}
302
303.visibleTrench {
304 opacity: 0.05;
305}
306
307.activeVisibleTrench {
308 opacity: 0;
309}
310
311.activeVisibleTrench.activeTrench {
312 opacity: 0.45;
313}
314
315.visibleTrench.border,
316.activeVisibleTrench.border {
317 background-color: #E7ADE7;
318}
319
320.visibleTrench.guide,
321.activeVisibleTrench.guide {
322 background-color: #9C9CFF;
323}
324
325/* Other
326----------------------------------*/
327
9e47e601
RK
328.active {
329 box-shadow: 5px 5px 3px rgba(255,207,0,.5);
330}
331
332html[dir=rtl] .active {
333 box-shadow: -5px 5px 3px rgba(255,207,0,.5);
334}
335
336.acceptsDrop {
337 box-shadow: 2px 2px 7px -1px rgba(0,132,132,.6);
338}
339
340html[dir=rtl] .acceptsDrop {
341 box-shadow: -2px 2px 7px -1px rgba(0,132,132,.6);
342}
343
344.titlebar {
dce90fef 345 cursor: move;
9e47e601
RK
346 font-size: 12px;
347 height: 18px;
348}
349
350input.name {
351 background: transparent;
352 border: 1px solid transparent;
353 color: #FF9F00;
354 margin-top: 3px;
355 -moz-margin-end: 0;
356 margin-bottom: 0;
357 -moz-margin-start: 3px;
358 padding: 1px;
359}
360
361html[dir=rtl] input.name {
362 background-position: right top;
363}
364
365.title-container:hover input.name,
366.title-container input.name:focus {
367 border: 1px solid #008484;
368}
369
370.title-container:hover input.name-locked {
371 border: 1px solid transparent !important;
372 cursor: default;
373}
374
375input.name:focus {
376 color: #FFCF00;
377}
378
379input.name:-moz-placeholder {
380 font-style: italic !important;
381 color: transparent;
382 background-image: url(chrome://browser/skin/tabview/edit-light.png);
383 background-repeat: no-repeat;
384 -moz-padding-start: 20px;
385}
386
387.title-container:hover input.name:-moz-placeholder {
388 color: #E7ADE7;
389}
390
391.title-shield {
392 margin-top: 3px;
393 -moz-margin-end: 0;
394 margin-bottom: 0;
395 -moz-margin-start: 3px;
396 padding: 1px;
397 left: 0;
398 top: 0;
9e47e601 399 height: 100%;
8ad8bf83 400 width: -moz-available;
9e47e601
RK
401 cursor: text;
402}
403
404html[dir=rtl] .title-shield {
405 left: auto;
406 right: 0;
407}
408
409.transparentBorder {
410 border: 1px solid transparent !important;
411}
412
413.stackExpander {
414 cursor: pointer;
415 bottom: 8px;
416 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 48, 24, 24);
417 width: 24px;
418 height: 24px;
419}
420
421.stackExpander:hover {
422 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 24, 24, 0);
423}
424
425/* Resizable
426----------------------------------*/
427.resizer {
428 background-image: url(chrome://global/skin/icons/resizer.png);
429 width: 16px;
430 height: 16px;
431 bottom: 0px;
432 right: 0px;
433 opacity: .2;
434}
435
436html[dir=rtl] .resizer {
437 right: auto;
438 left: 0;
439 -moz-transform: scaleX(-1);
440}
441
442.iq-resizable-handle {
443 font-size: 0.1px;
444}
445
446.iq-resizable-se {
447 cursor: se-resize;
448 width: 12px;
449 height: 12px;
450 padding-right: 3px;
451 padding-bottom: 3px;
452 right: -2px;
453 bottom: -2px;
454}
455
456html[dir=rtl] .iq-resizable-se {
457 cursor: sw-resize;
458 right: auto;
459 left: 1px;
460}
461
462/* Exit button
463+----------------------------------*/
464#exit-button {
465 width: 18px;
466 height: 18px;
467 -moz-margin-end: 4px;
468 margin-top: 2px;
469 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 90, 18, 72);
470 background-attachment: scroll;
471 background-repeat: no-repeat;
472 border: none;
473}
474
475#exit-button[groups="0"] {
476 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 18, 18, 0);
477}
478
479#exit-button[groups="1"] {
480 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 36, 18, 18);
481}
482
483#exit-button[groups="2"] {
484 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 54, 18, 36);
485}
486
487#exit-button[groups="3"] {
488 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 72, 18, 54);
489}
490
491/* Search
492----------------------------------*/
493#searchshade{
494 background-color: rgba(231,174,231,.42);
495 width: 100%;
496 height: 100%;
497}
498
499#search{
500 width: 100%;
501 height: 100%;
502}
503
504#searchbox{
505 width: 270px;
506 height: 30px;
507 color: #FF9F00;
508 border: 2px solid #008484;
509 background-color: #000000;
510 border-radius: 0.4em;
511 -moz-padding-start: 5px;
512 -moz-padding-end: 5px;
513 font-size: 14px;
514}
515
516#actions{
517 top: -3px;
518 padding-top: 3px;
519 width: 29px;
520 border: none;
521 text-align: center;
522 background-color: #000000;
523 border-radius: 0.4em;
524 border: 1px solid #9C9CFF;
525}
526
527#actions #searchbutton{
528 background: transparent url(chrome://browser/skin/tabview/search.png) no-repeat;
529 border: none;
530 width: 20px;
531 height: 20px;
532 margin-top: 3px;
533 -moz-margin-end: 1px;
534}
535
536.notMainMatch{
537 opacity: .70;
538}
539
540#otherresults {
541 left: 0px;
542 bottom: 0px;
543 width: 100%;
544 height: 30px;
545 background-color: rgba(0,132,132,.3);
546 box-shadow: 0px -1px 0px rgba(255,207,0,.1), inset 0px 2px 5px rgba(255,207,0,.3);
547}
548
549html[dir=rtl] #otherresults {
550 left: auto;
551 right: 0;
552}
553
554#otherresults .label {
555 color: #999;
556 line-height: 30px;
557 -moz-margin-start: 5px;
558 -moz-margin-end: 5px;
559}
560
561.inlineMatch {
562 background-color: rgba(0,132,132,.5);
563 border-radius: 0.4em;
564 box-shadow: 0 1px 4px rgba(255,207,0, 0.6);
565 border: 1px solid #008484;
566 -moz-padding-start: 3px;
567 -moz-padding-end: 3px;
568 height: 20px;
569 -moz-margin-end: 5px;
570 cursor: pointer;
571}
572
573.inlineMatch:hover {
574 opacity: 1.0;
575}
576
577.inlineMatch > img {
578 -moz-margin-end: 5px;
579 position: relative;
580 top: 2px;
4c765db1
RK
581 width: 16px;
582 height: 16px;
9e47e601
RK
583}
584
585.inlineMatch > span {
586 max-width: 200px;
587 height: 15px;
588}