Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d95ff9da
Commit
d95ff9da
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#8805
: ensure .active buttons in button groups behave like :active buttons
parent
f62ea2af
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+3
-1
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/button-groups.less
+2
-1
less/button-groups.less
with
6 additions
and
3 deletions
+6
-3
dist/css/bootstrap.css
+
3
-
1
View file @
d95ff9da
...
@@ -3130,7 +3130,9 @@ button.close {
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
d95ff9da
This diff is collapsed.
Click to expand it.
less/button-groups.less
+
2
-
1
View file @
d95ff9da
...
@@ -22,7 +22,8 @@
...
@@ -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;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment