]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix ie7 button group toggles and button borders
authorMark Otto <markotto@twitter.com>
Tue, 24 Apr 2012 08:46:20 +0000 (01:46 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 24 Apr 2012 08:46:20 +0000 (01:46 -0700)
docs/assets/css/bootstrap.css
less/button-groups.less
less/buttons.less

index ee5b63fd0d0d53b7da96cf5d9f4b4e07049fb7e7..8037a33a888122b8fb609cdba9cdc2f05d459eaa 100644 (file)
@@ -2696,6 +2696,7 @@ button.close {
 
 .btn {
   border-color: #ccc;
+  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
 }
 
 .btn-primary {
@@ -3007,9 +3008,9 @@ input[type="submit"].btn.btn-mini {
 }
 
 .btn-group > .dropdown-toggle {
-  *padding-top: 3px;
+  *padding-top: 4px;
   padding-right: 8px;
-  *padding-bottom: 3px;
+  *padding-bottom: 4px;
   padding-left: 8px;
   -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
@@ -3017,9 +3018,7 @@ input[type="submit"].btn.btn-mini {
 }
 
 .btn-group > .btn-mini.dropdown-toggle {
-  *padding-top: 1px;
   padding-right: 5px;
-  *padding-bottom: 1px;
   padding-left: 5px;
 }
 
index 023adcb5e630bb0b1c9cd0ad12d8905152caaf29..5338c5a4502c347c4fe900a2a1535c28e21bb30e 100644 (file)
   padding-left: 8px;
   padding-right: 8px;
   .box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
-  *padding-top: 3px;
-  *padding-bottom: 3px;
+  *padding-top: 4px;
+  *padding-bottom: 4px;
 }
 .btn-group > .btn-mini.dropdown-toggle {
   padding-left: 5px;
   padding-right: 5px;
-  *padding-top: 1px;
-  *padding-bottom: 1px;
 }
 .btn-group > .btn-small.dropdown-toggle {
   *padding-top: 4px;
index 2b5f24499bbc92db8c8de8e3dafa619998295df3..c44ff3e6fc63f13e9ad5f336aefc060a47ebb4f4 100644 (file)
 // Set the backgrounds
 // -------------------------
 .btn {
-  border-color: #ccc; // reset here as of 2.0.3 due to Recess property order
+  // reset here as of 2.0.3 due to Recess property order
+  border-color: #ccc;
+  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
 }
 .btn-primary {
   .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);