Debian Codegraph @

dojox/mobile/themes/android/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: 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: white;
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: white;
70 }
71 /* barType="segmentedControl" */
72 .mblTabBarSegmentedControl {
73 background-image: -webkit-gradient(linear, left top, left bottom, from(#9c9e9c), to(#848284));
74 background-image: linear-gradient(to bottom, #9c9e9c 0%, #848284 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: #555555;
95 color: #000000;
96 background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#a6a6a6));
97 background-image: linear-gradient(to bottom, #dfdfdf 0%, #a6a6a6 100%);
98 }
99 .mblTabBarSegmentedControl .mblTabBarButton:first-child {
100 border-left-width: 1px;
101 border-top-left-radius: 5px;
102 border-bottom-left-radius: 5px;
103 }
104 .mblTabBarSegmentedControl .mblTabBarButton:last-child {
105 border-top-right-radius: 5px;
106 border-bottom-right-radius: 5px;
107 }
108 .mblTabBarSegmentedControl .mblTabBarButtonIconArea {
109 position: absolute;
110 top: 0px;
111 left: 0px;
112 }
113 .mblTabBarSegmentedControl .mblTabBarButtonSelected {
114 color: #ffffff;
115 background-image: -webkit-gradient(linear, left top, left bottom, from(#313031), to(#959595), color-stop(0.5, #5a555a), color-stop(0.5, #616161));
116 background-image: linear-gradient(to bottom, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
117 }
118 .mblHeading .mblTabBarSegmentedControl {
119 display: inline;
120 float: left;
121 height: auto;
122 border: none;
123 }
124 /* barType="standardTab" */
125 .mblTabBarStandardTab {
126 background-image: -webkit-gradient(linear, left top, left bottom, from(#9c9e9c), to(#848284));
127 background-image: linear-gradient(to bottom, #9c9e9c 0%, #848284 100%);
128 }
129 .mblTabBarStandardTab .mblTabBarButton {
130 margin-top: 9px;
131 padding: 9px;
132 border: 1px solid #62676d;
133 border-top-left-radius: 4px;
134 border-top-right-radius: 4px;
135 font-family: Helvetica;
136 font-size: 14px;
137 font-weight: bold;
138 color: #000000;
139 background-color: #c6c6c6;
140 /* TODO: to compat */
141
142 background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#a6a6a6));
143 background-image: linear-gradient(to bottom, #dfdfdf 0%, #a6a6a6 100%);
144 }
145 .mblTabBarStandardTab .mblTabBarButtonIconArea {
146 position: absolute;
147 top: 3px;
148 left: 0px;
149 }
150 .mblTabBarStandardTab .mblTabBarButtonSelected {
151 color: #ffffff;
152 background-color: #3578b1;
153 /* TODO: to compat */
154
155 background-image: -webkit-gradient(linear, left top, left bottom, from(#313031), to(#959595), color-stop(0.5, #5a555a), color-stop(0.5, #616161));
156 background-image: linear-gradient(to bottom, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
157 }
158 .mblTabBarStandardTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
159 margin-left: 20px;
160 }
161 /* barType="slimTab" */
162 .mblTabBarSlimTab {
163 height: 30px;
164 padding: 0px;
165 border: 1px solid #2d3642;
166 background-color: #000000;
167 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
168 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
169 }
170 .mblTabBarSlimTab .mblTabBarButton {
171 padding: 7px;
172 border-right: 1px solid #4e4e4e;
173 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000), color-stop(0.5, #141414), color-stop(0.5, #000000));
174 background-image: linear-gradient(to bottom, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
175 font-family: Helvetica;
176 font-size: 14px;
177 font-weight: bold;
178 color: white;
179 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
180 text-align: center;
181 }
182 .mblTabBarSlimTab .mblTabBarButton:first-child {
183 border-left: 1px solid #4e4e4e;
184 }
185 .mblTabBarSlimTab .mblTabBarButtonIconArea {
186 position: absolute;
187 top: 0px;
188 left: 0px;
189 }
190 .mblTabBarSlimTab .mblTabBarButtonSelected {
191 background-color: #404040;
192 background-image: -webkit-gradient(linear, left top, left bottom, from(#313031), to(#959595), color-stop(0.5, #5a555a), color-stop(0.5, #616161));
193 background-image: linear-gradient(to bottom, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
194 }
195 .mblTabBarSlimTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
196 margin-left: 20px;
197 }
198 /* barType="flatTab" */
199 .mblTabBarFlatTab {
200 height: 30px;
201 padding: 0px;
202 border-style: none;
203 background-color: transparent;
204 background-image: none;
205 }
206 .mblTabBarFlatTab .mblTabBarButton {
207 padding: 7px;
208 background-image: none;
209 font-family: Helvetica;
210 font-size: 14px;
211 font-weight: bold;
212 text-shadow: rgba(100, 100, 100, 0.6) 0px -1px 0px;
213 text-align: center;
214 }
215 .mblTabBarFlatTab .mblTabBarButtonIconArea {
216 position: absolute;
217 top: 0px;
218 left: 0px;
219 }
220 .mblTabBarFlatTab .mblTabBarButtonHasIcon .mblTabBarButtonLabel {
221 margin-left: 20px;
222 }
223 /* barType="tallTab" */
224 .mblTabBarTallTab {
225 height: 64px;
226 border-top: 1px solid #cdd5df;
227 border-bottom: 2px solid #949694;
228 background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000));
229 background-image: linear-gradient(to bottom, #2d2d2d 0%, #000000 100%);
230 }
231 .mblTabBarTallTab .mblTabBarButton {
232 margin-top: 3px;
233 margin-right: 2px;
234 width: 78px;
235 height: 61px;
236 border-width: 0px 1px 0px 1px;
237 border-style: solid;
238 border-color: black #182018 black #393c39;
239 background-image: -webkit-gradient(linear, left top, left bottom, from(#181818), to(#100c10), color-stop(0.1, #313031));
240 background-image: linear-gradient(to bottom, #181818 0%, #313031 10%, #100c10 100%);
241 font-family: Helvetica;
242 font-size: 13px;
243 color: white;
244 text-align: center;
245 }
246 .mblTabBarTallTab .mblTabBarButtonIconArea {
247 margin-top: 8px;
248 }
249 .mblTabBarTallTab .mblTabBarButtonLabel {
250 font-family: "Helvetica Neue", Helvetica;
251 font-size: 11px;
252 }
253 .mblTabBarTallTab .mblTabBarButtonSelected {
254 background-image: -webkit-gradient(linear, left top, left bottom, from(#a59ea5), to(#848284));
255 background-image: linear-gradient(to bottom, #a59ea5 0%, #848284 100%);
256 }