mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 04:11:39 +02:00
fix button styles on active and disabled
This commit is contained in:
Binary file not shown.
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
@@ -1700,7 +1700,7 @@ table .span12 {
|
|||||||
outline: 5px auto -webkit-focus-ring-color;
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
.btn-active, .btn:active {
|
.btn.active, .btn:active {
|
||||||
background-image: none;
|
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);
|
-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);
|
-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);
|
color: rgba(0, 0, 0, 0.5);
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
.btn-disabled, .btn[disabled] {
|
.btn.disabled, .btn[disabled] {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #e6e6e6;
|
background-color: #e6e6e6;
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Active state
|
// Active state
|
||||||
.btn-active,
|
.btn.active,
|
||||||
.btn:active {
|
.btn:active {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
@shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
|
@shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Disabled state
|
// Disabled state
|
||||||
.btn-disabled,
|
.btn.disabled,
|
||||||
.btn[disabled] {
|
.btn[disabled] {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
Reference in New Issue
Block a user