aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-16 12:34:07 -0700
committerMark Otto <[email protected]>2013-03-16 12:34:07 -0700
commitefbf8373a5060b2c9b4d97cdfd2c288124d339c6 (patch)
treeeb293254b07f110716311ecbd659abb24855c964 /less/button-groups.less
parentbe8f992c94d8155248ddb10dc84bb04c6f7cbe28 (diff)
downloadbootstrap-efbf8373a5060b2c9b4d97cdfd2c288124d339c6.tar.xz
bootstrap-efbf8373a5060b2c9b4d97cdfd2c288124d339c6.zip
Use form elements in checkbox and radio button groups
* Uses .btn on label elements with nested checkbox and radio controls within * Updated examples to reflect change in HTML and CSS * Had to add .active all buttons for proper state highlighting (mimicing the :active pseudo state) * Still needs JavaScript plugin updated by @fat
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index ddb549e4b..8a83ab3f2 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -156,3 +156,10 @@
width: 1%;
}
}
+
+
+// Checkbox and radio options
+.btn-group[data-toggle="buttons-radio"] > .btn > input[type="radio"],
+.btn-group[data-toggle="buttons-checkbox"] > .btn > input[type="checkbox"] {
+ display: none;
+}