Skip to content

Commit

Permalink
fix up buttons after recess property order
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 23, 2012
1 parent 091a97c commit 419e50e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/assets/css/bootstrap.css
Expand Up @@ -2694,6 +2694,10 @@ button.close {
color: rgba(255, 255, 255, 0.75);
}

.btn {
border-color: #ccc;
}

.btn-primary {
background-color: #0074cc;
*background-color: #0055cc;
Expand Down
1 change: 1 addition & 0 deletions less/button-groups.less
Expand Up @@ -41,6 +41,7 @@
-moz-border-radius-bottomleft: 4px;
border-bottom-left-radius: 4px;
}
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
-webkit-border-top-right-radius: 4px;
Expand Down
3 changes: 3 additions & 0 deletions less/buttons.less
Expand Up @@ -131,6 +131,9 @@

// Set the backgrounds
// -------------------------
.btn {
border-color: #ccc; // reset here as of 2.0.3 due to Recess property order
}
.btn-primary {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
}
Expand Down
2 changes: 1 addition & 1 deletion less/variables.less
Expand Up @@ -71,7 +71,7 @@
// -------------------------
@btnBackground: @white;
@btnBackgroundHighlight: darken(@white, 10%);
@btnBorder: darken(@white, 20%);
@btnBorder: #ccc;

@btnPrimaryBackground: @linkColor;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
Expand Down

0 comments on commit 419e50e

Please sign in to comment.