Debian Codegraph @

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

raw
1 @import "variables.less";
2 @import "../common/TabBar.less";
3 @import "../common/domButtons/DomButtonWhiteCross.css";
4
5 .mblTabBar {
6 color: @ios7-grey2;
7 font-weight: normal;
8 }
9
10 .mblTabBarSegmentedControl .mblTabBarButton {
11 border-top: solid 2px @ios7-base-color;
12 border-bottom: solid 2px @ios7-base-color;
13 border-left: solid 1px @ios7-base-color;
14 border-right: solid 1px @ios7-base-color;
15
16 }
17
18 .mblTabBarSegmentedControl .mblTabBarButton:first-child {
19 border-left: solid 2px @ios7-base-color;
20 border-top-left-radius: 7px;
21 border-bottom-left-radius: 7px;
22 }
23
24 .mblTabBarSegmentedControl .mblTabBarButton:last-child {
25 border-right: solid 2px @ios7-base-color;
26 border-top-right-radius: 7px;
27 border-bottom-right-radius: 7px;
28
29 }
30
31 .mblHeading .mblTabBar {
32 background-color: rgba(0, 0, 0, 0);
33 }
34
35 .mblTabBarSlimTab {
36 border: none;
37 background-color: @ios7-base-color;
38 background-image: none;
39 }
40
41 .mblTabBarSlimTab .mblTabBarButton, .mblTabBarFlatTab .mblTabBarButton {
42 background-color: rgba(0, 0, 0, 0);
43 background-image: none;
44 color: @ios7-grey1;
45 font-weight: normal;
46 text-shadow: none;
47 border-color: white;
48 }
49
50 .mblTabBarFlatTab .mblTabBarButton {
51 color: black;
52 }
53
54 .mblTabBarSlimTab .mblTabBarButton:first-child {
55 border-color: white;
56 }
57
58 .mblTabBarSlimTab .mblTabBarButtonSelected, .mblTabBarFlatTab .mblTabBarButtonSelected {
59 background-color: white;
60 background-image: none;
61 color: @ios7-base-color;
62 border-color: white;
63 font-weight: normal;
64 }
65
66 .mblTabBarTallTab {
67 background-color: @ios7-base-color;
68 background-image: none;
69 margin: 0;
70 }
71
72 .mblTabBarTallTab .mblTabBarButton {
73 background-image: none;
74 border: none;
75
76 }
77
78 .mblTabBarTallTab .mblTabBarButtonSelected {
79 color: @ios7-base-color;
80 background-color: white;
81 border: none;
82 }