Debian Codegraph @

dojox/mobile/themes/custom/TabBar.css

raw symbols SCIP
1 @import "../common/domButtons/DomButtonWhiteCross.css";
2 /* dojox.mobile.TabBar */
3 .mblTabBar {
4 position: relative;
5 margin: 0px;
6 overflow: hidden;
7 white-space: nowrap;
8 text-overflow: ellipsis;
9 padding: 0px 6px;
10 height: 42px;
11 text-align: center;
12 color: white;
13 border-top: 1px solid #c0c0c0;
14 border-bottom: 1px solid #c0c0c0;
15 text-shadow: none;
16 }
17 /* dojox.mobile.TabBarButton */
18 .mblTabBarFill .mblTabBarButton {
19 box-sizing: border-box;
20 -moz-box-sizing: border-box;
21 -webkit-box-sizing: border-box;
22 }
23 .mblTabBarButton {
24 overflow: hidden;
25 cursor: pointer;
26 -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
27 position: relative;
28 list-style-type: none;
29 float: left;
30 }
31 .mblTabBarButtonIconArea {
32 margin: 0 auto;
33 width: 29px;
34 }
35 .mblTabBarButtonIconParent1 {
36 display: block;
37 }
38 .mblTabBarButtonIconParent2 {
39 display: none;
40 }
41 .mblTabBarButtonSelected .mblTabBarButtonIconParent1 {
42 display: none;
43 }
44 .mblTabBarButtonSelected .mblTabBarButtonIconParent2 {
45 display: block;
46 }
47 /* barType="tabBar" */
48 .mblTabBarTabBar {
49 height: 48px;
50 border-top: 1px solid #000000;
51 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000));
52 background-image: linear-gradient(to bottom, #2d2d2d 0%, #000000 100%);
53 }
54 .mblTabBarTabBar .mblTabBarButtonIconArea {
55 padding-top: 4px;
56 }
57 .mblTabBarTabBar .mblTabBarButtonLabel {
58 font-family: "Helvetica Neue", Helvetica;
59 font-size: 11px;
60 color: #ffffff;
61 }
62 .mblTabBarTabBar .mblTabBarButtonSelected {
63 border-radius: 3px;
64 background-color: #404040;
65 background-image: -webkit-gradient(linear, left top, left bottom, from(#484848), to(#242424));
66 background-image: linear-gradient(to bottom, #484848 0%, #242424 100%);
67 }
68 .mblTabBarTabBar .mblTabBarButtonSelected .mblTabBarButtonLabel {
69 color: #ffffff;
70 }
71 /* barType="segmentedControl" */
72 .mblTabBarSegmentedControl {
73 background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#dedede));
74 background-image: linear-gradient(to bottom, #f6f6f6 0%, #dedede 100%);
75 }
76 .mblTabBarSegmentedControl.mblTabBarNoText .mblTabBarButton {
77 width: auto;
78 padding: 0 3px;
79 }
80 .mblTabBarSegmentedControl.mblTabBarNoText .mblTabBarButtonIconArea {
81 position: relative;
82 }
83 .mblTabBarSegmentedControl .mblTabBarButton {
84 margin: 6px 0;
85 width: 100px;
86 height: 29px;
87 border-width: 1px 1px 1px 0px;
88 font-family: Helvetica;
89 font-size: 13px;
90 font-weight: bold;
91 text-align: center;
92 line-height: 29px;
93 border-style: solid;
94 border-color: #9b9b9b #9b9b9b #9b9b9b #9b9b9b;
95 color: #000000;
96 background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e2e2e2));
97 background-image: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
98 text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
99 }
100 .mblTabBarSegmentedControl .mblTabBarButton:first-child {
101 border-left-width: 1px;
102 border-top-left-radius: 5px;
103 border-bottom-left-radius: 5px;
104 }
105 .mblTabBarSegmentedControl .mblTabBarButton:last-child {
106 border-top-right-radius: 5px;
107 border-bottom-right-radius: 5px;
108 }
109 .mblTabBarSegmentedControl .mblTabBarButtonIconArea {
110 position: absolute;
111 top: 0px;
112 left: 0px;
113 }
114 .mblTabBarSegmentedControl .mblTabBarButtonSelected {
115 color: #000000;
116 background-image: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#a4a4a4));
117 background-image: linear-gradient(to bottom, #e2e2e2 0%, #a4a4a4 100%);
118 text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
119 }
120 .mblHeading .mblTabBarSegmentedControl {
121 display: inline;
122 float: left;
123 height: auto;
124 border: none;
125 }
126 /* barType="standardTab" */
127 .mblTabBarStandardTab {
128 background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#dedede));
129 background-image: linear-gradient(to bottom, #f6f6f6 0%, #dedede 100%);
130 border-top: none;
131 border-bottom: none;
132 }
133 .mblTabBarStandardTab .mblTabBarButton {
134 margin-top: 9px;
135 padding: 9px;
136 border: 1px solid #62676d;
137 border-top-left-radius: 4px;
138 border-top-right-radius: 4px;
139 font-family: Helvetica;
140 font-size: 14px;
141 font-weight: bold;
142 color: #000000;
143 border-color: #9b9b9b;
144 background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#dedede));
145 background-image: linear-gradient(to bottom, #f6f6f6 0%, #dedede 100%);
146 }
147 .mblTabBarStandardTab .mblTabBarButtonIconArea {
148 position: absolute;
149 top: 3px;
150 left: 0px;
151 }
152 .mblTabBarStandardTab .mblTabBarButtonSelected {
153 background-image: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#a4a4a4));
154 background-image: linear-gradient(to bottom, #e2e2e2 0%, #a4a4a4 100%);
155 }
156 .mblTabBarStandardTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
157 margin-left: 20px;
158 }
159 /* barType="slimTab" */
160 .mblTabBarSlimTab {
161 height: 30px;
162 padding: 0px;
163 border: 1px solid #c0c0c0;
164 background-color: #000000;
165 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
166 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
167 }
168 .mblTabBarSlimTab .mblTabBarButton {
169 padding: 7px;
170 border-right: 1px solid #4e4e4e;
171 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
172 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
173 font-family: Helvetica;
174 font-size: 14px;
175 font-weight: bold;
176 color: white;
177 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
178 text-align: center;
179 }
180 .mblTabBarSlimTab .mblTabBarButton:first-child {
181 border-left: 1px solid #4e4e4e;
182 }
183 .mblTabBarSlimTab .mblTabBarButtonIconArea {
184 position: absolute;
185 top: 0px;
186 left: 0px;
187 }
188 .mblTabBarSlimTab .mblTabBarButtonSelected {
189 background-color: #404040;
190 background-image: -webkit-gradient(linear, left top, left bottom, from(#313031), to(#959595), color-stop(0.5, #5a555a), color-stop(0.5, #616161));
191 background-image: linear-gradient(to bottom, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
192 }
193 .mblTabBarSlimTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
194 margin-left: 20px;
195 }
196 /* barType="flatTab" */
197 .mblTabBarFlatTab {
198 height: 30px;
199 padding: 0px;
200 border-style: none;
201 background-color: transparent;
202 background-image: none;
203 }
204 .mblTabBarFlatTab .mblTabBarButton {
205 padding: 7px;
206 background-image: none;
207 font-family: Helvetica;
208 font-size: 14px;
209 font-weight: bold;
210 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
211 text-align: center;
212 }
213 .mblTabBarFlatTab .mblTabBarButtonIconArea {
214 position: absolute;
215 top: 0px;
216 left: 0px;
217 }
218 .mblTabBarFlatTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
219 margin-left: 20px;
220 }
221 /* barType="tallTab" */
222 .mblTabBarTallTab {
223 height: 64px;
224 border-top: 1px solid #cdd5df;
225 border-bottom: 2px solid #949694;
226 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000));
227 background-image: linear-gradient(to bottom, #2d2d2d 0%, #000000 100%);
228 }
229 .mblTabBarTallTab .mblTabBarButton {
230 margin-top: 3px;
231 margin-right: 2px;
232 width: 78px;
233 height: 61px;
234 border-width: 0px 1px 0px 1px;
235 border-style: solid;
236 border-color: black #182018 black #393c39;
237 background-image: -webkit-gradient(linear, left top, left bottom, from(#181818), to(#100c10), color-stop(0.1, #313031));
238 background-image: linear-gradient(to bottom, #181818 0%, #313031 10%, #100c10 100%);
239 font-family: Helvetica;
240 font-size: 13px;
241 color: white;
242 text-align: center;
243 }
244 .mblTabBarTallTab .mblTabBarButtonIconArea {
245 margin-top: 8px;
246 }
247 .mblTabBarTallTab .mblTabBarButtonLabel {
248 font-family: "Helvetica Neue", Helvetica;
249 font-size: 11px;
250 }
251 .mblTabBarTallTab .mblTabBarButtonSelected {
252 background-image: -webkit-gradient(linear, left top, left bottom, from(#a59ea5), to(#848284));
253 background-image: linear-gradient(to bottom, #a59ea5 0%, #848284 100%);
254 }