mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02:00
fixes #8805: ensure .active buttons in button groups behave like :active buttons
This commit is contained in:
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
@@ -3130,7 +3130,9 @@ button.close {
|
|||||||
.btn-group > .btn:focus,
|
.btn-group > .btn:focus,
|
||||||
.btn-group-vertical > .btn:focus,
|
.btn-group-vertical > .btn:focus,
|
||||||
.btn-group > .btn:active,
|
.btn-group > .btn:active,
|
||||||
.btn-group-vertical > .btn:active {
|
.btn-group-vertical > .btn:active,
|
||||||
|
.btn-group > .btn.active,
|
||||||
|
.btn-group-vertical > .btn.active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
@@ -22,7 +22,8 @@
|
|||||||
// Bring the "active" button to the front
|
// Bring the "active" button to the front
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {
|
&:active,
|
||||||
|
&.active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user