1 /********** Tab widget *********/
2
3 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
4
5 /*** TAB: TOP <tab> ***/
6
7 tab
8 {
9 -moz-appearance: tab;
10 -moz-box-align: stretch;
11 -moz-box-pack: center;
12 color: #000000;
13 margin: 2px 1px 2px 0px;
14 padding: 1px;
15 height: 22px !important;
16 min-width: 1px !important;
17 text-align: center;
18 -moz-border-radius-topleft: 5px !important;
19 -moz-border-radius-topright: 5px !important;
20 -moz-background-clip: padding !important;
21 }
22
23
24 .tab-text {
25 font-weight: normal !important;
26 padding-top: 1px;
27 padding-left: 5px;
28 padding-right: 5px;
29 margin-top: 2px !important;
30 }
31
32 tab[selected="true"] > hbox > label.tab-text
33 {
34 font-weight: bold !important;
35 }
36
37
38
39 tabs {
40 padding: 2px;
41 margin: 5px 0px 3px 0px;
42 }
43
44
45 .tabs-left {
46 -moz-box-flex: 1 !important;
47 }
48
49
50 /* top tabs */
51 tabbox[orient="vertical"]{
52 padding: 0px;
53 margin: 1px;
54 }
55
56 tabbox {
57 border: none;
58 }
59
60 tabpanels {
61 -moz-appearance: tabpanels;
62 border-top: 1px outset white;
63 padding: 0px;
64 background-color: #CCCCAA !important;
65 margin: 2px 200px 0px 200px;
66 width: 200px;
67 }
68
69 tabpanel {
70 background-color: #FFFFF0;
71 margin: 0px;
72 padding: 0px;
73 border: none;
74 }
75
76 .tab-border-top-left, .tabs-left, .tabs-right, .tab-border-top-right {
77 -moz-box-flex: 1 !important;
78 }
79
80 .tab-image-middle {
81 -moz-box-flex: 0 !important;
82 }
83
84 tab:not([selected="true"]) {
85 -moz-background-clip: padding !important;
86 }
87 tab:hover:not([selected="true"]) {
88 -moz-border-radius-topright: 5px !important;
89 -moz-border-radius-topleft: 5px !important;
90 -moz-background-clip: padding !important;
91 }
92 tab[selected="true"] {
93 -moz-user-focus: normal;
94 -moz-border-radius-topright: 5px !important;
95 -moz-border-radius-topleft: 5px !important;
96 -moz-background-clip: padding !important;
97 }
syntax highlighted by Code2HTML, v. 0.9.1