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
97cfe5a5
Commit
97cfe5a5
authored
7 years ago
by
Mark Otto
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Only apply the active and focus shadow on the focus state for :active
parent
c0129f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_buttons.scss
+5
-1
scss/_buttons.scss
with
5 additions
and
1 deletion
+5
-1
scss/_buttons.scss
+
5
-
1
View file @
97cfe5a5
...
...
@@ -40,7 +40,11 @@
&
:not
([
disabled
])
:not
(
.disabled
)
:active
,
&
:not
([
disabled
])
:not
(
.disabled
)
.active
{
background-image
:
none
;
@include
box-shadow
(
$btn-focus-box-shadow
,
$btn-active-box-shadow
);
box-shadow
:
$btn-active-box-shadow
;
&
:focus
{
@box-shadow
:
$
btn-focus-box-shadow
,
$
btn-active-box-shadow
;
}
}
}
...
...
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