1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

fixes #8805: ensure .active buttons in button groups behave like :active buttons

This commit is contained in:
Mark Otto
2013-08-04 23:27:15 -07:00
parent f62ea2afe2
commit d95ff9da81
3 changed files with 6 additions and 3 deletions

View File

@@ -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;
} }

File diff suppressed because one or more lines are too long

View File

@@ -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;
} }
} }