0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

fix button styles on active and disabled

This commit is contained in:
Mark Otto 2012-01-30 23:16:27 -08:00
parent 61b47e91b8
commit 5c9a687665
3 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -1700,7 +1700,7 @@ table .span12 {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.btn-active, .btn:active {
.btn.active, .btn:active {
background-image: none;
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
@ -1710,7 +1710,7 @@ table .span12 {
color: rgba(0, 0, 0, 0.5);
outline: 0;
}
.btn-disabled, .btn[disabled] {
.btn.disabled, .btn[disabled] {
cursor: default;
background-image: none;
background-color: #e6e6e6;

View File

@ -44,7 +44,7 @@
}
// Active state
.btn-active,
.btn.active,
.btn:active {
background-image: none;
@shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
@ -56,7 +56,7 @@
}
// Disabled state
.btn-disabled,
.btn.disabled,
.btn[disabled] {
cursor: default;
background-image: none;