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
8e56145e
Commit
8e56145e
authored
7 years ago
by
Andres Galante
Browse files
Options
Download
Email Patches
Plain Diff
changes active state color
parent
65cb97b3
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 @
8e56145e
...
...
@@ -3,16 +3,16 @@
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin
button-variant
(
$background
,
$border
,
$active-background
:
darken
(
$background
,
7
.5%
)
,
$active-border
:
darken
(
$border
,
1
0
%
))
{
@mixin
button-variant
(
$background
,
$border
,
$hover-background
:
darken
(
$background
,
7
.5%
)
,
$hover-border
:
darken
(
$border
,
10%
)
,
$active-background
:
darken
(
$background
,
12
.5%
)
,
$active-border
:
darken
(
$border
,
1
5
%
))
{
@include
color-yiq
(
$background
);
background-color
:
$background
;
border-color
:
$border
;
@include
box-shadow
(
$btn-box-shadow
);
@include
hover
{
@include
color-yiq
(
$
acti
ve-background
);
background-color
:
$
acti
ve-background
;
border-color
:
$
acti
ve-border
;
@include
color-yiq
(
$
ho
ve
r
-background
);
background-color
:
$
ho
ve
r
-background
;
border-color
:
$
ho
ve
r
-border
;
}
&
:focus
,
...
...
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