webui-aria2/js/libs/dojox/mobile/themes/custom/Switch-compat.css
2012-05-01 19:52:07 +08:00

57 lines
1.3 KiB
CSS

.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;
}
.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;
}
.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;
}