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
1a4a94bf
Commit
1a4a94bf
authored
7 years ago
by
Mark Otto
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
apply same active/focus shadow styling to button variants
parent
afc984dc
6 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25494
web pack
,
!25326
Adjust examples
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_buttons.scss
+7
-5
scss/mixins/_buttons.scss
with
7 additions
and
5 deletions
+7
-5
scss/mixins/_buttons.scss
+
7
-
5
View file @
1a4a94bf
...
...
@@ -42,11 +42,13 @@
}
border-color
:
$active-border
;
// Avoid using mixin so we can pass custom focus shadow properly
@if
$enable-shadows
{
box-shadow
:
$btn-active-box-shadow
,
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
}
@else
{
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
&
:focus
{
// Avoid using mixin so we can pass custom focus shadow properly
@if
$enable-shadows
{
box-shadow
:
$btn-active-box-shadow
,
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
}
@else
{
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
}
}
}
}
...
...
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