Permalink
Browse files

Checkbox: Native input and icon style. Fixes #5740.

  • Loading branch information...
jaspermdegroot committed May 8, 2013
1 parent f6624ac commit 8f5ad893813eb611c4f809d2fbbe3fed302a3d3c
Showing with 7 additions and 1 deletion.
  1. +7 −1 css/structure/jquery.mobile.forms.checkboxradio.css
@@ -24,19 +24,25 @@
.ui-controlgroup-horizontal .ui-checkbox .ui-btn:after,
.ui-controlgroup-horizontal .ui-radio .ui-btn:after {
content: none;
display: none;
}
/* Native input positioning */
.ui-checkbox input,
.ui-radio input {
position: absolute;
left: 1em;
left: .625em;
top: 50%;
width: 10px;
height: 10px;
margin: -5px 0 0 0;
outline: 0 !important;
z-index: 1;
}
.ui-controlgroup-horizontal .ui-checkbox input,
.ui-controlgroup-horizontal .ui-radio input {
left: 50%;
margin-left: -5px;
}
.ui-checkbox input:disabled,
.ui-radio input:disabled {
top: -9999px;

0 comments on commit 8f5ad89

Please sign in to comment.