mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Fixes #8786 (part 1): darken hover states on buttons
This commit is contained in:
parent
e85b8f315f
commit
2ee9bea890
24
dist/css/bootstrap.css
vendored
24
dist/css/bootstrap.css
vendored
@ -1760,8 +1760,8 @@ fieldset[disabled] .btn {
|
|||||||
.btn-default:focus,
|
.btn-default:focus,
|
||||||
.btn-default:active,
|
.btn-default:active,
|
||||||
.btn-default.active {
|
.btn-default.active {
|
||||||
background-color: #3a3c3c;
|
background-color: #333434;
|
||||||
border-color: #2e2f2f;
|
border-color: #292a2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-default.disabled,
|
.btn-default.disabled,
|
||||||
@ -1793,8 +1793,8 @@ fieldset[disabled] .btn-default.active {
|
|||||||
.btn-primary:focus,
|
.btn-primary:focus,
|
||||||
.btn-primary:active,
|
.btn-primary:active,
|
||||||
.btn-primary.active {
|
.btn-primary.active {
|
||||||
background-color: #357ebd;
|
background-color: #3276b1;
|
||||||
border-color: #3071a9;
|
border-color: #2d6ca2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary.disabled,
|
.btn-primary.disabled,
|
||||||
@ -1826,8 +1826,8 @@ fieldset[disabled] .btn-primary.active {
|
|||||||
.btn-warning:focus,
|
.btn-warning:focus,
|
||||||
.btn-warning:active,
|
.btn-warning:active,
|
||||||
.btn-warning.active {
|
.btn-warning.active {
|
||||||
background-color: #eea236;
|
background-color: #ed9c28;
|
||||||
border-color: #ec971f;
|
border-color: #eb9316;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-warning.disabled,
|
.btn-warning.disabled,
|
||||||
@ -1859,8 +1859,8 @@ fieldset[disabled] .btn-warning.active {
|
|||||||
.btn-danger:focus,
|
.btn-danger:focus,
|
||||||
.btn-danger:active,
|
.btn-danger:active,
|
||||||
.btn-danger.active {
|
.btn-danger.active {
|
||||||
background-color: #d43f3a;
|
background-color: #d2322d;
|
||||||
border-color: #c9302c;
|
border-color: #c12e2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger.disabled,
|
.btn-danger.disabled,
|
||||||
@ -1892,8 +1892,8 @@ fieldset[disabled] .btn-danger.active {
|
|||||||
.btn-success:focus,
|
.btn-success:focus,
|
||||||
.btn-success:active,
|
.btn-success:active,
|
||||||
.btn-success.active {
|
.btn-success.active {
|
||||||
background-color: #4cae4c;
|
background-color: #47a447;
|
||||||
border-color: #449d44;
|
border-color: #419641;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-success.disabled,
|
.btn-success.disabled,
|
||||||
@ -1925,8 +1925,8 @@ fieldset[disabled] .btn-success.active {
|
|||||||
.btn-info:focus,
|
.btn-info:focus,
|
||||||
.btn-info:active,
|
.btn-info:active,
|
||||||
.btn-info.active {
|
.btn-info.active {
|
||||||
background-color: #46b8da;
|
background-color: #39b3d7;
|
||||||
border-color: #31b0d5;
|
border-color: #2aabd2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-info.disabled,
|
.btn-info.disabled,
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -372,8 +372,8 @@
|
|||||||
&:focus,
|
&:focus,
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
background-color: darken(@background, 5%);
|
background-color: darken(@background, 8%);
|
||||||
border-color: darken(@border, 10%);
|
border-color: darken(@border, 12%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled,
|
&.disabled,
|
||||||
|
Loading…
Reference in New Issue
Block a user