Debian Codegraph @

dojox/mobile/themes/common/TabBar-compat.less

raw
1 /* dojox.mobile.TabBar */
2 .mblTabBar {
3 }
4 .dj_ie6 .mblTabBar .mblTabBarButton {
5 display: inline; // IE bug
6 }
7
8 /* barType="tabBar" */
9 .mblTabBarTabBar {
10 background-image: none;
11 .mblTabBarTabBar-compat;
12 }
13 .dj_ff3 {
14 .mblTabBarTabBar {
15 .mblTabBarButtonSelected {
16 -moz-border-radius: 3px;
17 }
18 }
19 }
20
21 /* barType="segmentedControl" | "standardTab" */
22 .mblTabBarSegmentedControl, .mblTabBarStandardTab {
23 background-image: url(compat/heading-bg.png);
24 .mblTabBarButton {
25 background-image: url(compat/tab-seg-button-bg.png);
26 }
27 .mblTabBarButtonSelected {
28 background-image: url(compat/tab-seg-sel-button-bg.png);
29 }
30 }
31 .dj_gecko .mblTabBarSegmentedControl {
32 .mblTabBarButton {
33 .mblTabBarSegmentedControlButton-compat-gecko;
34 }
35 }
36 .dj_ff3 {
37 .mblTabBarSegmentedControl {
38 .mblTabBarButton {
39 &:first-child {
40 -moz-border-radius-topleft: @mbl-tab-bar-segmented-control-border-radius;
41 -moz-border-radius-bottomleft: @mbl-tab-bar-segmented-control-border-radius;
42 }
43 &:last-child {
44 -moz-border-radius-topright: @mbl-tab-bar-segmented-control-border-radius;
45 -moz-border-radius-bottomright: @mbl-tab-bar-segmented-control-border-radius;
46 }
47 }
48 }
49 .mblTabBarStandardTab {
50 .mblTabBarButton {
51 -moz-border-radius-topleft: 4px;
52 -moz-border-radius-topright: 4px;
53 }
54 }
55 }
56
57 /* barType="slimTab" */
58 .mblTabBarSlimTab {
59 background-image: url(compat/tab-slim-bar-bg.png);
60 }
61 .dj_gecko .mblTabBarSlimTab {
62 background-image: -moz-linear-gradient(top, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
63 .mblTabBarButton {
64 background-image: -moz-linear-gradient(top, #2d2d2d 0%, #141414 50%, #000000 50%, #000000 100%);
65 }
66 .mblTabBarButtonSelected {
67 background-image: -moz-linear-gradient(top, #313031 0%, #5a555a 50%, #616161 50%, #959595 100%);
68 }
69 }
70
71 /* barType="flatTab" */
72 .mblTabBarFlatTab {
73 }
74
75 /* barType="tallTab" */
76 .mblTabBarTallTab {
77 background-image: url(compat/tab-tall-bar-bg.png);
78 .mblTabBarButtonSelected {
79 background-color: #8c8e8c;
80 }
81 }