summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/themes/custom/TabBar-compat.css
blob: fb2a1b219c60cbc8cc450c46473d20d53b623bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* dojox.mobile.TabBarButton */
.dj_ie6 .mblTabBarButtonDiv, .dj_ie7 .mblTabBarButtonDiv {
	left: auto;
}
.dj_ie6 .mblTabBar .mblTabBarButton {
  display: inline; /* IE bug*/
}
.mblTabPanelHeader {
	background-image: url(compat/heading-bg.png);
}
.mblTabBar {
	background-image: url(compat/ui-widget-bg.png);
}
.mblTabBarButton, .mblTabButton {
	background-image: url(compat/ui-widget-bg.png);
	_background-image: none; /* IE6 */
}
.mblTabBar .mblTabBarButton.mblTabButtonSelected {
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
}
.mblTabButton:first-child {
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-bottomleft: 2px;
	-o-border-top-left-radius: 2px;
	-o-border-bottom-left-radius: 2px;
	-ms-border-top-left-radius: 2px;
	-ms-border-bottom-left-radius: 2px;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}
.mblTabButton:last-child {
	-moz-border-radius-topright: 2px;
	-moz-border-radius-bottomright: 2px;
	-o-border-top-right-radius: 2px;
	-o-border-bottom-right-radius: 2px;
	-ms-border-top-right-radius: 2px;
	-ms-border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}
*html .mblTabButton { /* IE6 hack */
	behavior: expression(
		(function(el){
			if(!el.previousSibling)
				el.style.borderWidth = "1px";
			el.style.behavior = "none";
		})(this)
	);
}
.dj_ie6 .mblTabPanelHeader .mblDomButton {
	left: 0px;
}