Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
4a1090ac
Commit
4a1090ac
authored
7 years ago
by
ysds
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Ligthen/Darken Button focus shadow color
parent
e0eb39f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_buttons.scss
+4
-4
scss/mixins/_buttons.scss
with
4 additions
and
4 deletions
+4
-4
scss/mixins/_buttons.scss
+
4
-
4
View file @
4a1090ac
...
...
@@ -19,9 +19,9 @@
&
.focus
{
// Avoid using mixin so we can pass custom focus shadow properly
@if
$enable-shadows
{
box-shadow
:
$btn-box-shadow
,
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
box-shadow
:
$btn-box-shadow
,
0
0
0
$btn-focus-width
rgba
(
mix
(
color-yiq
(
$background
)
,
$border
,
15%
)
,
.5
);
}
@else
{
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
mix
(
color-yiq
(
$background
)
,
$border
,
15%
)
,
.5
);
}
}
...
...
@@ -50,9 +50,9 @@
&
: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
);
box-shadow
:
$btn-active-box-shadow
,
0
0
0
$btn-focus-width
rgba
(
mix
(
color-yiq
(
$background
)
,
$border
,
15%
)
,
.5
);
}
@else
{
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
$border
,
.5
);
box-shadow
:
0
0
0
$btn-focus-width
rgba
(
mix
(
color-yiq
(
$background
)
,
$border
,
15%
)
,
.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
Menu
Explore
Projects
Groups
Snippets