diff options
| author | Mark Otto <[email protected]> | 2012-11-04 13:26:03 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-04 13:26:03 -0800 |
| commit | 075e320a83437b88665300ec043921e8f1fd8b8d (patch) | |
| tree | d22212b2a08ba9d48fac77d33f89c044f56e9a99 | |
| parent | 21957a3d9ea0380ff472f36065d734b30313c739 (diff) | |
| download | bootstrap-075e320a83437b88665300ec043921e8f1fd8b8d.tar.xz bootstrap-075e320a83437b88665300ec043921e8f1fd8b8d.zip | |
remove unnecessary bg declarations in buttons per #5684
| -rw-r--r-- | docs/assets/css/bootstrap.css | 7 | ||||
| -rw-r--r-- | less/buttons.less | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 848078a9e..6c099c870 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3180,10 +3180,6 @@ button.close { .btn:hover { color: #333333; text-decoration: none; - background-color: #e6e6e6; - *background-color: #d9d9d9; - /* Buttons in IE7 don't get borders, so darken on hover */ - background-position: 0 -15px; -webkit-transition: background-position 0.1s linear; -moz-transition: background-position 0.1s linear; @@ -3199,8 +3195,6 @@ button.close { .btn.active, .btn:active { - background-color: #e6e6e6; - background-color: #d9d9d9 \9; background-image: none; outline: 0; -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); @@ -3211,7 +3205,6 @@ button.close { .btn.disabled, .btn[disabled] { cursor: default; - background-color: #e6e6e6; background-image: none; opacity: 0.65; filter: alpha(opacity=65); diff --git a/less/buttons.less b/less/buttons.less index 63f2d86c8..4497d3acd 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -30,8 +30,6 @@ &:hover { color: @grayDark; text-decoration: none; - background-color: darken(@white, 10%); - *background-color: darken(@white, 15%); /* Buttons in IE7 don't get borders, so darken on hover */ background-position: 0 -15px; // transition is only when going to hover, otherwise the background @@ -47,8 +45,6 @@ // Active state &.active, &:active { - background-color: darken(@white, 10%); - background-color: darken(@white, 15%) e("\9"); background-image: none; outline: 0; .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)"); @@ -58,7 +54,6 @@ &.disabled, &[disabled] { cursor: default; - background-color: darken(@white, 10%); background-image: none; .opacity(65); .box-shadow(none); |
