]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix up buttons after recess property order
authorMark Otto <markotto@twitter.com>
Mon, 23 Apr 2012 17:06:35 +0000 (10:06 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 23 Apr 2012 17:06:35 +0000 (10:06 -0700)
docs/assets/css/bootstrap.css
less/button-groups.less
less/buttons.less
less/variables.less

index cb7aa351684dee386c2538f414ffbef59ef35d5e..1c2e91850bb09b4d7ad72eb0a0ffe90cbfef9fd8 100644 (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;
index 7c6a02a67eb10bea259af43800d1589f3169559e..023adcb5e630bb0b1c9cd0ad12d8905152caaf29 100644 (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;
index 7b85dc216e1fa99e1fd650c93e982539c068b5a2..2b5f24499bbc92db8c8de8e3dafa619998295df3 100644 (file)
 
 // Set the backgrounds
 // -------------------------
+.btn {
+  border-color: #ccc; // reset here as of 2.0.3 due to Recess property order
+}
 .btn-primary {
   .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
 }
index 279c163f1a587334cafa496424cc5879e4d46858..ca8e3ae40fc3630faced9b9a33bcbf31f28102ab 100644 (file)
@@ -71,7 +71,7 @@
 // -------------------------
 @btnBackground:                     @white;
 @btnBackgroundHighlight:            darken(@white, 10%);
-@btnBorder:                         darken(@white, 20%);
+@btnBorder:                         #ccc;
 
 @btnPrimaryBackground:              @linkColor;
 @btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 15%);