sync LCARStrek with part of the modification in Firefox 10 - some more work is still...
[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;
223 -moz-column-count: 0;
224 -moz-column-gap: 5px;
225}
226
227.appTabTrayContainerTruncated {
228 padding-bottom: 7px;
229}
230
231.appTabTrayContainerTruncated:after {
232 content: "…";
233 position: absolute;
234 bottom: 2px;
235 left: 0;
236 display: block;
237 width: 100%;
238 height: 15px;
239 line-height: 15px;
240 text-align: center;
241 font-size: 15px;
242}
243
244.appTabIcon {
245 width: 16px;
246 height: 16px;
247 cursor: pointer;
248 opacity: 0.8;
249 padding-bottom: 3px;
250 display: block;
251}
252
253.undo {
254 background-color: #8050B0;
c1f7cc84
RK
255 padding-top: 3px;
256 padding-bottom: 3px;
257 -moz-padding-start: 5px;
258 -moz-padding-end: 20px;
259 width: 135px;
260 line-height: 25px;
9e47e601
RK
261 box-shadow: 0px 1px 0px #9F9FCC, 0px -1px 0px #008484;
262 color: #FFCF00;
263 border-radius: 0.4em;
264 text-align: center;
265 border: none;
266 cursor: pointer;
267}
268
269.undo:hover {
270 background-color: #FFCF00;
271 color: #000000;
272}
273
274.undo .close {
c1f7cc84
RK
275 top: 7px;
276 right: 7px;
9e47e601
RK
277 opacity: 0.5;
278}
279
280html[dir=rtl] .undo .close {
c1f7cc84
RK
281 right: auto;
282 left: 7px;
9e47e601
RK
283}
284
285.undo .close:hover{
286 opacity: 1.0;
287}
288
9e47e601
RK
289/* Trenches
290----------------------------------*/
291
292.guideTrench {
293 opacity: 0.9;
294 border: 1px dashed rgba(156,156,255,.12);
295 border-bottom: none;
296 -moz-border-end: none;
297 box-shadow: 1px 1px 0 rgba(0,132,132,.15);
298}
299
300html[dir=rtl] .guideTrench {
301 box-shadow: -1px 1px 0 rgba(0,132,132,.15);
302}
303
304.visibleTrench {
305 opacity: 0.05;
306}
307
308.activeVisibleTrench {
309 opacity: 0;
310}
311
312.activeVisibleTrench.activeTrench {
313 opacity: 0.45;
314}
315
316.visibleTrench.border,
317.activeVisibleTrench.border {
318 background-color: #E7ADE7;
319}
320
321.visibleTrench.guide,
322.activeVisibleTrench.guide {
323 background-color: #9C9CFF;
324}
325
326/* Other
327----------------------------------*/
328
9e47e601
RK
329.active {
330 box-shadow: 5px 5px 3px rgba(255,207,0,.5);
331}
332
333html[dir=rtl] .active {
334 box-shadow: -5px 5px 3px rgba(255,207,0,.5);
335}
336
337.acceptsDrop {
338 box-shadow: 2px 2px 7px -1px rgba(0,132,132,.6);
339}
340
341html[dir=rtl] .acceptsDrop {
342 box-shadow: -2px 2px 7px -1px rgba(0,132,132,.6);
343}
344
345.titlebar {
dce90fef 346 cursor: move;
9e47e601
RK
347 font-size: 12px;
348 height: 18px;
349}
350
351input.name {
352 background: transparent;
353 border: 1px solid transparent;
354 color: #FF9F00;
355 margin-top: 3px;
356 -moz-margin-end: 0;
357 margin-bottom: 0;
358 -moz-margin-start: 3px;
359 padding: 1px;
360}
361
362html[dir=rtl] input.name {
363 background-position: right top;
364}
365
366.title-container:hover input.name,
367.title-container input.name:focus {
368 border: 1px solid #008484;
369}
370
371.title-container:hover input.name-locked {
372 border: 1px solid transparent !important;
373 cursor: default;
374}
375
376input.name:focus {
377 color: #FFCF00;
378}
379
380input.name:-moz-placeholder {
381 font-style: italic !important;
382 color: transparent;
383 background-image: url(chrome://browser/skin/tabview/edit-light.png);
384 background-repeat: no-repeat;
385 -moz-padding-start: 20px;
386}
387
388.title-container:hover input.name:-moz-placeholder {
389 color: #E7ADE7;
390}
391
392.title-shield {
393 margin-top: 3px;
394 -moz-margin-end: 0;
395 margin-bottom: 0;
396 -moz-margin-start: 3px;
397 padding: 1px;
398 left: 0;
399 top: 0;
9e47e601 400 height: 100%;
8ad8bf83 401 width: -moz-available;
9e47e601
RK
402 cursor: text;
403}
404
405html[dir=rtl] .title-shield {
406 left: auto;
407 right: 0;
408}
409
410.transparentBorder {
411 border: 1px solid transparent !important;
412}
413
414.stackExpander {
415 cursor: pointer;
416 bottom: 8px;
417 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 48, 24, 24);
418 width: 24px;
419 height: 24px;
420}
421
422.stackExpander:hover {
423 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 24, 24, 0);
424}
425
426/* Resizable
427----------------------------------*/
428.resizer {
429 background-image: url(chrome://global/skin/icons/resizer.png);
430 width: 16px;
431 height: 16px;
432 bottom: 0px;
433 right: 0px;
434 opacity: .2;
435}
436
437html[dir=rtl] .resizer {
438 right: auto;
439 left: 0;
440 -moz-transform: scaleX(-1);
441}
442
443.iq-resizable-handle {
444 font-size: 0.1px;
445}
446
447.iq-resizable-se {
448 cursor: se-resize;
449 width: 12px;
450 height: 12px;
451 padding-right: 3px;
452 padding-bottom: 3px;
453 right: -2px;
454 bottom: -2px;
455}
456
457html[dir=rtl] .iq-resizable-se {
458 cursor: sw-resize;
459 right: auto;
460 left: 1px;
461}
462
463/* Exit button
464+----------------------------------*/
465#exit-button {
466 width: 18px;
467 height: 18px;
468 -moz-margin-end: 4px;
469 margin-top: 2px;
470 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 90, 18, 72);
471 background-attachment: scroll;
472 background-repeat: no-repeat;
473 border: none;
474}
475
476#exit-button[groups="0"] {
477 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 18, 18, 0);
478}
479
480#exit-button[groups="1"] {
481 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 36, 18, 18);
482}
483
484#exit-button[groups="2"] {
485 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 54, 18, 36);
486}
487
488#exit-button[groups="3"] {
489 background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 72, 18, 54);
490}
491
492/* Search
493----------------------------------*/
494#searchshade{
495 background-color: rgba(231,174,231,.42);
496 width: 100%;
497 height: 100%;
498}
499
500#search{
501 width: 100%;
502 height: 100%;
503}
504
505#searchbox{
506 width: 270px;
507 height: 30px;
508 color: #FF9F00;
509 border: 2px solid #008484;
510 background-color: #000000;
511 border-radius: 0.4em;
512 -moz-padding-start: 5px;
513 -moz-padding-end: 5px;
514 font-size: 14px;
515}
516
517#actions{
518 top: -3px;
519 padding-top: 3px;
520 width: 29px;
521 border: none;
522 text-align: center;
523 background-color: #000000;
524 border-radius: 0.4em;
525 border: 1px solid #9C9CFF;
526}
527
528#actions #searchbutton{
529 background: transparent url(chrome://browser/skin/tabview/search.png) no-repeat;
530 border: none;
531 width: 20px;
532 height: 20px;
533 margin-top: 3px;
534 -moz-margin-end: 1px;
535}
536
537.notMainMatch{
538 opacity: .70;
539}
540
541#otherresults {
542 left: 0px;
543 bottom: 0px;
544 width: 100%;
545 height: 30px;
546 background-color: rgba(0,132,132,.3);
547 box-shadow: 0px -1px 0px rgba(255,207,0,.1), inset 0px 2px 5px rgba(255,207,0,.3);
548}
549
550html[dir=rtl] #otherresults {
551 left: auto;
552 right: 0;
553}
554
555#otherresults .label {
556 color: #999;
557 line-height: 30px;
558 -moz-margin-start: 5px;
559 -moz-margin-end: 5px;
560}
561
562.inlineMatch {
563 background-color: rgba(0,132,132,.5);
564 border-radius: 0.4em;
565 box-shadow: 0 1px 4px rgba(255,207,0, 0.6);
566 border: 1px solid #008484;
567 -moz-padding-start: 3px;
568 -moz-padding-end: 3px;
569 height: 20px;
570 -moz-margin-end: 5px;
571 cursor: pointer;
572}
573
574.inlineMatch:hover {
575 opacity: 1.0;
576}
577
578.inlineMatch > img {
579 -moz-margin-end: 5px;
580 position: relative;
581 top: 2px;
4c765db1
RK
582 width: 16px;
583 height: 16px;
9e47e601
RK
584}
585
586.inlineMatch > span {
587 max-width: 200px;
588 height: 15px;
589}