]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Newfangled input and button group sizing (fixes #9295)
authorMark Otto <otto@github.com>
Mon, 12 Aug 2013 21:03:57 +0000 (14:03 -0700)
committerMark Otto <otto@github.com>
Mon, 12 Aug 2013 21:03:57 +0000 (14:03 -0700)
commita78c8d9c04e83a22d6eebc2e3d54cb2ccf6b614c
tree70d18a7f44fc125205430a91c33d8eda9ebe7785
parentabedd38c5b4f7f9e9abfd7528b9e7679cbd46fc2
Newfangled input and button group sizing (fixes #9295)

Instead of applying `.btn-` or `.input-` to individual elements in
button and input groups, we now have new sizing classes to keep your
markup a little leaner.

* Add `.input-group-sm` or `.input-group-lg` to your `.input-group` to
replicate `.input-sm` and `.input-lg`, respectively.
* Add `.btn-group-xs`, `.btn-group-sm`, or `.btn-group-lg` to your
`.btn-group` to replicate `.btn-xs`, `.btn-sm`, and `. btn-lg`,
respectively.

Both sets of new sizing classes simply use the existing individual
sizing classes as mixins, so customization of them is automatically
inherited when compiling.
_includes/nav-components.html
components.html
dist/css/bootstrap.css
dist/css/bootstrap.min.css
less/button-groups.less
less/input-groups.less