0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

fix up buttons after recess property order

This commit is contained in:
Mark Otto 2012-04-23 10:06:35 -07:00
parent 091a97c01c
commit 419e50e339
4 changed files with 9 additions and 1 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);
}

View File

@ -71,7 +71,7 @@
// -------------------------
@btnBackground: @white;
@btnBackgroundHighlight: darken(@white, 10%);
@btnBorder: darken(@white, 20%);
@btnBorder: #ccc;
@btnPrimaryBackground: @linkColor;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);