]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #6474: remove duplicate .btn border colors to make @btn-border work
authorMark Otto <otto@github.com>
Sat, 12 Jan 2013 04:40:17 +0000 (20:40 -0800)
committerMark Otto <otto@github.com>
Sat, 12 Jan 2013 04:40:17 +0000 (20:40 -0800)
docs/assets/css/bootstrap.css
less/buttons.less
less/variables.less

index 4ff2a3539cae3f2e0979fc4925fbe1a9f36b82f2..478586a1445153d0ebb61a3fc71d7ac0362eda37 100644 (file)
@@ -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;
@@ -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);
index 6f565b73c211ed699e16dc66ae5c1dfdf483f94d..71865a7480d6c0e589f6770ef06779daa088ed39 100644 (file)
@@ -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);
 }
index de36074fd9f41190da24130c0ce3f9f4a3321205..31c131b1e237771b333012f6ee36b1a475b78cea 100644 (file)
@@ -86,7 +86,7 @@
 // -------------------------
 @btnBackground:                     @white;
 @btnBackgroundHighlight:            darken(@white, 10%);
-@btnBorder:                         #bbb;
+@btnBorder:                         #ccc;
 
 @btnPrimaryBackground:              @linkColor;
 @btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 20%);