]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove more ie7 css hacks
authorMark Otto <markotto@twitter.com>
Mon, 1 Oct 2012 06:20:43 +0000 (23:20 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 1 Oct 2012 06:20:43 +0000 (23:20 -0700)
docs/assets/css/bootstrap.css
less/button-groups.less
less/media.less
less/mixins.less

index 1ec9fdc5bbb8bf51a0975d24ae86870edfa115e2..fea2076911423e642de908c9ecd3178cb5d8536d 100644 (file)
@@ -2917,7 +2917,6 @@ button.close {
 .btn[disabled] {
   color: #333333;
   background-color: #e6e6e6;
-  *background-color: #d9d9d9;
 }
 
 .btn:active,
@@ -3048,7 +3047,6 @@ input[type="button"].btn-block {
 .btn-primary[disabled] {
   color: #ffffff;
   background-color: #0044cc;
-  *background-color: #003bb3;
 }
 
 .btn-primary:active,
@@ -3079,7 +3077,6 @@ input[type="button"].btn-block {
 .btn-warning[disabled] {
   color: #ffffff;
   background-color: #f89406;
-  *background-color: #df8505;
 }
 
 .btn-warning:active,
@@ -3110,7 +3107,6 @@ input[type="button"].btn-block {
 .btn-danger[disabled] {
   color: #ffffff;
   background-color: #bd362f;
-  *background-color: #a9302a;
 }
 
 .btn-danger:active,
@@ -3141,7 +3137,6 @@ input[type="button"].btn-block {
 .btn-success[disabled] {
   color: #ffffff;
   background-color: #51a351;
-  *background-color: #499249;
 }
 
 .btn-success:active,
@@ -3172,7 +3167,6 @@ input[type="button"].btn-block {
 .btn-info[disabled] {
   color: #ffffff;
   background-color: #2f96b4;
-  *background-color: #2a85a0;
 }
 
 .btn-info:active,
@@ -3203,7 +3197,6 @@ input[type="button"].btn-block {
 .btn-inverse[disabled] {
   color: #ffffff;
   background-color: #222222;
-  *background-color: #151515;
 }
 
 .btn-inverse:active,
@@ -3341,30 +3334,19 @@ input[type="button"].btn-block {
 }
 
 .btn-group > .btn + .dropdown-toggle {
-  *padding-top: 5px;
   padding-right: 8px;
-  *padding-bottom: 5px;
   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);
           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);
 }
 
 .btn-group > .btn-mini + .dropdown-toggle {
-  *padding-top: 2px;
   padding-right: 5px;
-  *padding-bottom: 2px;
   padding-left: 5px;
 }
 
-.btn-group > .btn-small + .dropdown-toggle {
-  *padding-top: 5px;
-  *padding-bottom: 4px;
-}
-
 .btn-group > .btn-large + .dropdown-toggle {
-  *padding-top: 7px;
   padding-right: 12px;
-  *padding-bottom: 7px;
   padding-left: 12px;
 }
 
@@ -4152,7 +4134,6 @@ input[type="button"].btn-block {
 .navbar .btn-navbar[disabled] {
   color: #ffffff;
   background-color: #e5e5e5;
-  *background-color: #d9d9d9;
 }
 
 .navbar .btn-navbar:active,
@@ -4386,7 +4367,6 @@ input[type="button"].btn-block {
 .navbar-inverse .btn-navbar[disabled] {
   color: #ffffff;
   background-color: #040404;
-  *background-color: #000000;
 }
 
 .navbar-inverse .btn-navbar:active,
@@ -4967,7 +4947,6 @@ a.thumbnail:hover {
 .media,
 .media-body {
   overflow: hidden;
-  *overflow: visible;
   zoom: 1;
 }
 
index f093c116fa373b8634f9dc4c03b656f34e8ceaeb..cbf9ac10c06718f4d79bcc9f6e4f034389d8fde3 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: 5px;
-  *padding-bottom: 5px;
 }
 .btn-group > .btn-mini + .dropdown-toggle {
   padding-left: 5px;
   padding-right: 5px;
-  *padding-top: 2px;
-  *padding-bottom: 2px;
-}
-.btn-group > .btn-small + .dropdown-toggle {
-  *padding-top: 5px;
-  *padding-bottom: 4px;
 }
 .btn-group > .btn-large + .dropdown-toggle {
   padding-left: 12px;
   padding-right: 12px;
-  *padding-top: 7px;
-  *padding-bottom: 7px;
 }
 
 .btn-group.open {
index 1decab71dec968d5105e541b35b94b9f3887ec0e..e99a68b69e39c5b10854bec27b2efbc46e74f9e2 100644 (file)
@@ -10,7 +10,6 @@
 .media,
 .media-body {
   overflow: hidden;
-  *overflow: visible;
   zoom: 1;
 }
 
index 62befe69550b0fc2bdbe4bbf72c570714e7b435d..a0ec29b78fa6b9a6a267a178546bb61ee26bfdc2 100644 (file)
   &:hover, &:active, &.active, &.disabled, &[disabled] {
     color: @textColor;
     background-color: @endColor;
-    *background-color: darken(@endColor, 5%);
   }
 
   // IE8 can't handle box-shadow to show active, so we darken a bit ourselves