source: branches/testFACT++branch/dim/WebDID/ext-4.1.1a/resources/themes/stylesheets/neptune/default/widgets/_tabbar.scss

Last change on this file was 14939, checked in by tbretz, 12 years ago
Added WebDID from v20r5
File size: 4.7 KB
Line 
1/**
2 * @class Ext.tab.Bar
3 */
4@mixin extjs-tabbar {
5 .#{$prefix}tab-bar {
6 position: relative;
7 background-color: transparent;
8// @include background-gradient($tabbar-base-color, $tabbar-background-gradient);
9 font-size: $tab-font-size;
10 }
11
12// .#{$prefix}nlg .#{$prefix}tab-bar {
13// background-image: theme-background-image($theme-name, 'tab-bar/tab-bar-default-bg.gif');
14// }
15
16 .#{$prefix}tab-bar-default-plain,
17 .#{$prefix}nlg .#{$prefix}tab-bar-default-plain {
18 background: transparent none;
19 }
20
21
22 .#{$prefix}tab-bar-body {
23// border-style: solid;
24// border-color: $tabbar-border-color;
25
26 position: relative;
27 z-index: 2;
28 // @tag iezoomhack
29 }
30
31 .tab-bar-strip {
32 display: none !important;
33 }
34
35 .x-tab-bar-body-default-horizontal {
36// padding-top: 5px;
37 }
38
39 /* Top Tabs */
40 @include tab-bar-top(
41 "tab-bar-top",
42 "tab-bar-body",
43 "tab-bar-strip",
44 $tabbar-top-body-padding,
45 $tabbar-top-body-border-width,
46 $tabbar-top-strip-border-width,
47 $tabbar-strip-height
48 );
49 @include tab-bar-top(
50 "tab-bar-top",
51 "tab-bar-body-default-plain",
52 "tab-bar-strip-default-plain",
53 $tabbar-top-plain-body-padding,
54 $tabbar-top-plain-body-border-width,
55 $tabbar-top-strip-border-width,
56 $tabbar-strip-height
57 );
58
59 /* Bottom Tabs */
60 @include tab-bar-bottom(
61 "tab-bar-bottom",
62 "tab-bar-body",
63 "tab-bar-strip",
64 $tabbar-bottom-body-padding,
65 $tabbar-bottom-body-border-width,
66 $tabbar-bottom-strip-border-width,
67 $tabbar-strip-height
68 );
69
70 @include tab-bar-bottom(
71 "tab-bar-bottom",
72 "tab-bar-body-default-plain",
73 "tab-bar-strip-default-plain",
74 $tabbar-bottom-plain-body-padding,
75 $tabbar-bottom-plain-body-border-width,
76 $tabbar-bottom-strip-border-width,
77 $tabbar-strip-height
78 );
79
80
81 // Tab strips not in Neptune
82 // .#{$prefix}tab-bar-strip-default,
83 // .#{$prefix}tab-bar-strip-default-plain {
84 // font-size: 0;
85 // line-height: 0;
86 // position: absolute;
87 // z-index: 1;
88 // border-style: solid;
89 // overflow: hidden;
90 // border-color: $tabbar-strip-border-color;
91 // background-color: $tabbar-strip-background-color;
92 // zoom: 1;
93 // }
94
95
96 .#{$prefix}tabpanel-child {
97// padding: 0;
98 }
99}
100
101@mixin tab-bar-top($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) {
102 .#{$prefix}#{$toolbarCls} {
103 .#{$prefix}#{$bodyCls} {
104// height: $tab-height;
105// border-width: $body-border-width;
106// padding: $body-padding;
107 }
108
109 // .#{$prefix}#{$stripCls} {
110 // /*position strip from top rather than bottom to avoid off-by-one error in IE6*/
111 // top: $tab-height + top($body-border-width) + top($body-padding);
112 // border-width: $strip-border-width;
113 // height: $strip-height - vertical($strip-border-width);
114 // }
115 }
116 .#{$prefix}border-box {
117 .#{$prefix}#{$toolbarCls} {
118 .#{$prefix}#{$bodyCls} {
119// height: $tab-height + vertical($body-border-width) + vertical($body-padding);
120 }
121
122 // .#{$prefix}#{$stripCls} {
123 // height: $strip-height;
124 // }
125 }
126 }
127}
128
129@mixin tab-bar-bottom($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) {
130 .#{$prefix}#{$toolbarCls} {
131 .#{$prefix}#{$bodyCls} {
132// height: $tab-height;
133// border-width: $body-border-width;
134// padding: $body-padding;
135
136 .#{$prefix}box-inner {
137 position: relative;
138// top: 0 - bottom($strip-border-width);
139 }
140
141 .#{$prefix}box-scroller,
142 .#{$prefix}box-scroller-left,
143 .#{$prefix}box-scroller-right {
144// height: $tab-height + bottom($body-padding) + bottom($strip-border-width);
145 }
146 }
147
148 // .#{$prefix}#{$stripCls} {
149 // top: top($body-border-width);
150 // border-width: $strip-border-width;
151 // height: $strip-height - vertical($strip-border-width);
152 // }
153 }
154 .#{$prefix}border-box {
155 .#{$prefix}#{$toolbarCls} {
156 .#{$prefix}#{$bodyCls} {
157// height: $tab-height + vertical($body-border-width) + vertical($body-padding);
158 }
159
160 .#{$prefix}#{$stripCls} {
161// height: $strip-height;
162 }
163 }
164 }
165}
Note: See TracBrowser for help on using the repository browser.