Debian Codegraph @

dojox/mobile/themes/iphone/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 #cdd5df;
14 border-bottom: 1px solid #2d3642;
15 text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
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), color-stop(0.5, #141414), color-stop(0.5, #000000));
52 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #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: #979797;
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), color-stop(0.5, #353535), color-stop(0.5, #242424));
66 background-image: linear-gradient(to bottom, #484848 0%, #353535 50%, #242424 50%, #242424 100%);
67 }
68 .mblTabBarTabBar .mblTabBarButtonSelected .mblTabBarButtonLabel {
69 color: white;
70 }
71 /* barType="segmentedControl" */
72 .mblTabBarSegmentedControl {
73 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af));
74 background-image: linear-gradient(to bottom, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 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: #2f3740 #405a7e #375073 #3a4755;
95 color: #ffffff;
96 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af));
97 background-image: linear-gradient(to bottom, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 100%);
98 -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.305);
99 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.305);
100 }
101 .mblTabBarSegmentedControl .mblTabBarButton:first-child {
102 border-left-width: 1px;
103 border-top-left-radius: 5px;
104 border-bottom-left-radius: 5px;
105 }
106 .mblTabBarSegmentedControl .mblTabBarButton:last-child {
107 border-top-right-radius: 5px;
108 border-bottom-right-radius: 5px;
109 }
110 .mblTabBarSegmentedControl .mblTabBarButtonIconArea {
111 position: absolute;
112 top: 0px;
113 left: 0px;
114 }
115 .mblTabBarSegmentedControl .mblTabBarButtonSelected {
116 background-image: -webkit-gradient(linear, left top, left bottom, from(#222222), to(#4a6c9b), color-stop(0.02, #8ea4c1), color-stop(0.5, #5877a2), color-stop(0.5, #476999));
117 background-image: linear-gradient(to bottom, #222222 0%, #8ea4c1 2%, #5877a2 50%, #476999 50%, #4a6c9b 100%);
118 }
119 .mblHeading .mblTabBarSegmentedControl {
120 display: inline;
121 float: left;
122 height: auto;
123 border: none;
124 }
125 /* barType="standardTab" */
126 .mblTabBarStandardTab {
127 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af));
128 background-image: linear-gradient(to bottom, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 100%);
129 }
130 .mblTabBarStandardTab .mblTabBarButton {
131 margin-top: 9px;
132 padding: 9px;
133 border: 1px solid #62676d;
134 border-top-left-radius: 4px;
135 border-top-right-radius: 4px;
136 font-family: Helvetica;
137 font-size: 14px;
138 font-weight: bold;
139 color: #ffffff;
140 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af));
141 background-image: linear-gradient(to bottom, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 100%);
142 }
143 .mblTabBarStandardTab .mblTabBarButtonIconArea {
144 position: absolute;
145 top: 3px;
146 left: 0px;
147 }
148 .mblTabBarStandardTab .mblTabBarButtonSelected {
149 background-color: #5877a2;
150 background-image: -webkit-gradient(linear, left top, left bottom, from(#222222), to(#4a6c9b), color-stop(0.02, #8ea4c1), color-stop(0.5, #5877a2), color-stop(0.5, #476999));
151 background-image: linear-gradient(to bottom, #222222 0%, #8ea4c1 2%, #5877a2 50%, #476999 50%, #4a6c9b 100%);
152 }
153 .mblTabBarStandardTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
154 margin-left: 20px;
155 }
156 /* barType="slimTab" */
157 .mblTabBarSlimTab {
158 height: 30px;
159 padding: 0px;
160 border: 1px solid #2d3642;
161 background-color: #000000;
162 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
163 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
164 }
165 .mblTabBarSlimTab .mblTabBarButton {
166 padding: 7px;
167 border-right: 1px solid #4e4e4e;
168 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
169 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
170 font-family: Helvetica;
171 font-size: 14px;
172 font-weight: bold;
173 color: white;
174 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
175 text-align: center;
176 }
177 .mblTabBarSlimTab .mblTabBarButton:first-child {
178 border-left: 1px solid #4e4e4e;
179 }
180 .mblTabBarSlimTab .mblTabBarButtonIconArea {
181 position: absolute;
182 top: 0px;
183 left: 0px;
184 }
185 .mblTabBarSlimTab .mblTabBarButtonSelected {
186 background-color: #404040;
187 background-image: -webkit-gradient(linear, left top, left bottom, from(#313031), to(#959595), color-stop(0.5, #5a555a), color-stop(0.5, #616161));
188 background-image: linear-gradient(to bottom, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
189 }
190 .mblTabBarSlimTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
191 margin-left: 20px;
192 }
193 /* barType="flatTab" */
194 .mblTabBarFlatTab {
195 height: 30px;
196 padding: 0px;
197 border-style: none;
198 background-color: transparent;
199 background-image: none;
200 }
201 .mblTabBarFlatTab .mblTabBarButton {
202 padding: 7px;
203 background-image: none;
204 font-family: Helvetica;
205 font-size: 14px;
206 font-weight: bold;
207 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
208 text-align: center;
209 }
210 .mblTabBarFlatTab .mblTabBarButtonIconArea {
211 position: absolute;
212 top: 0px;
213 left: 0px;
214 }
215 .mblTabBarFlatTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
216 margin-left: 20px;
217 }
218 /* barType="tallTab" */
219 .mblTabBarTallTab {
220 height: 64px;
221 border-top: 1px solid #cdd5df;
222 border-bottom: 2px solid #949694;
223 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
224 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
225 }
226 .mblTabBarTallTab .mblTabBarButton {
227 margin-top: 3px;
228 margin-right: 2px;
229 width: 78px;
230 height: 61px;
231 border-width: 0px 1px 0px 1px;
232 border-style: solid;
233 border-color: black #182018 black #393c39;
234 background-image: -webkit-gradient(linear, left top, left bottom, from(#181818), to(#100c10), color-stop(0.1, #313031));
235 background-image: linear-gradient(to bottom, #181818 0%, #313031 10%, #100c10 100%);
236 font-family: Helvetica;
237 font-size: 13px;
238 color: white;
239 text-align: center;
240 background-color: #212421;
241 background-image: none;
242 }
243 .mblTabBarTallTab .mblTabBarButtonIconArea {
244 margin-top: 8px;
245 }
246 .mblTabBarTallTab .mblTabBarButtonLabel {
247 font-family: "Helvetica Neue", Helvetica;
248 font-size: 11px;
249 }
250 .mblTabBarTallTab .mblTabBarButtonSelected {
251 background-image: -webkit-gradient(linear, left top, left bottom, from(#a59ea5), to(#848284));
252 background-image: linear-gradient(to bottom, #a59ea5 0%, #848284 100%);
253 background-color: #636363;
254 background-image: none;
255 }
256 /* iOS 6 specific */
257 .dj_ios6.dj_phone .mblTabBarSegmentedControl {
258 background-image: -webkit-gradient(linear, left top, left bottom, from(#d0d9e6), to(#587397), color-stop(0.025, #d0d9e6), color-stop(0.025, #beccdd));
259 background-image: linear-gradient(to bottom, #d0d9e6 0%, #d0d9e6 2.5%, #beccdd 2.5%, #587397 100%);
260 }
261 .dj_ios6.dj_phone .mblTabBarSegmentedControl .mblTabBarButton {
262 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2));
263 background-image: linear-gradient(to bottom, #b0bccd 0%, #6d84a2 100%);
264 }
265 .dj_ios6.dj_phone .mblTabBarSegmentedControl .mblTabBarButtonSelected {
266 background-image: -webkit-gradient(linear, left top, left bottom, from(#8ea4c1), to(#4a6c9b));
267 background-image: linear-gradient(to bottom, #8ea4c1 0%, #4a6c9b 100%);
268 }
269 .dj_ios6.dj_phone .mblTabBarStandardTab {
270 background-image: -webkit-gradient(linear, left top, left bottom, from(#d0d9e6), to(#587397), color-stop(0.025, #d0d9e6), color-stop(0.025, #beccdd));
271 background-image: linear-gradient(to bottom, #d0d9e6 0%, #d0d9e6 2.5%, #beccdd 2.5%, #587397 100%);
272 }
273 .dj_ios6.dj_phone .mblTabBarStandardTab .mblTabBarButton {
274 background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2));
275 background-image: linear-gradient(to bottom, #b0bccd 0%, #6d84a2 100%);
276 }
277 .dj_ios6.dj_phone .mblTabBarStandardTab .mblTabBarButtonSelected {
278 background-image: -webkit-gradient(linear, left top, left bottom, from(#8ea4c1), to(#4a6c9b));
279 background-image: linear-gradient(to bottom, #8ea4c1 0%, #4a6c9b 100%);
280 }