2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Require .btn-default for regular buttons

* Instead of , use  for standard, gray button
* Improves ability to customize buttons by encouraging folks to not override .btn and thus overriding all button modifier classes
* Updates docs to reflect the change
* Reorganize buttons CSS
This commit is contained in:
Mark Otto
2013-05-07 18:07:06 -07:00
parent ad5f88e1c5
commit d7f84d1220
6 changed files with 217 additions and 218 deletions
+2 -1
View File
@@ -350,7 +350,8 @@
// -------------------------
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
.btn-pseudo-states(@background, @border) {
.btn-pseudo-states(@color, @background, @border) {
color: @color;
background-color: @background;
border-color: @border;