summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/themes/custom/Switch-compat.css
blob: 7730ebb782357f9188f95ff9717b5b47241430f9 (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
56
57
58
59
/* Switch - default */
.mblSwitchBg {
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.mblSwitchBgLeft {
	background-image: url(compat/ui-widget-bg.png);
}
.mblSwitchBgRight {
	background-image: url(compat/ui-widget-bg.png);
}
.mblSwitchKnob {
	background-image: url(compat/ui-widget-bg.png);
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

/* Round Shape */
.mblSwRoundShape1 .mblSwitchBg,
.mblSwRoundShape2 .mblSwitchBg {
	-moz-border-radius: 14px;
	-o-border-radius: 14px;
	-ms-border-radius: 14px;
	border-radius: 14px;
}
.mblSwRoundShape1 .mblSwitchKnob,
.mblSwRoundShape2 .mblSwitchKnob {
	-moz-border-radius: 13px;
	-o-border-radius: 13px;
	-ms-border-radius: 13px;
	border-radius: 13px;
}
/* Arc Shape */
.mblSwArcShape1 .mblSwitchBg,
.mblSwArcShape2 .mblSwitchBg {
	-moz-border-radius: 6px/14px;
	-o-border-radius: 6px/14px;
	-ms-border-radius: 6px/14px;
	border-radius: 6px/14px;
}
.mblSwArcShape1 .mblSwitchKnob,
.mblSwArcShape2 .mblSwitchKnob {
	-moz-border-radius: 5px/13px;
	-o-border-radius: 5px/13px;
	-ms-border-radius: 5px/13px;
	border-radius: 5px/13px;
}