Skip to content

Commit

Permalink
Fixes #6474: remove duplicate .btn border colors to make @btn-border …
Browse files Browse the repository at this point in the history
…work
  • Loading branch information
mdo committed Jan 12, 2013
1 parent d7c93fc commit d3b3b4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
9 changes: 2 additions & 7 deletions docs/assets/css/bootstrap.css
Expand Up @@ -3169,11 +3169,11 @@ button.close {
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #bbbbbb;
border: 1px solid #cccccc;
*border: 0;
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #a2a2a2;
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
Expand Down Expand Up @@ -3308,11 +3308,6 @@ input[type="button"].btn-block {
color: rgba(255, 255, 255, 0.75);
}

.btn {
border-color: #c5c5c5;
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

.btn-primary {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
Expand Down
5 changes: 0 additions & 5 deletions less/buttons.less
Expand Up @@ -141,11 +141,6 @@ input[type="button"] {

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

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

0 comments on commit d3b3b4c

Please sign in to comment.