Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
(3.1.0-wip) added support for radio and checkbox input group addon
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcculloh committed Oct 9, 2014
1 parent b716e14 commit 09b347a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions less/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
padding-top: 0;
}

.input-group-addon.checkbox-custom.checkbox-inline:before
left: 11px;
top: 9px;
}

.checkbox-custom {
position: relative;

Expand Down
6 changes: 5 additions & 1 deletion less/misc.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ input, textarea {
}
}

// makes radios and checkboxes that use Bootstrap button plugin accessible (tabbable)
.input-group-addon {
padding: 6px 18px;
}

// makes radios and checkboxes that use Bootstrap button plugin accessible (tabbable)
[data-toggle="buttons"] > .btn > input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
display:inline;
Expand Down
5 changes: 5 additions & 0 deletions less/radio.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
padding-top: 0;
}

.input-group-addon.radio-custom.radio-inline:before {
left: 11px;
top: 9px;
}

.radio-custom {
position: relative;

Expand Down

0 comments on commit 09b347a

Please sign in to comment.