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
521aa875
Commit
521aa875
authored
7 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix functions, lighter colors on active
parent
9501ed87
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
+3
-3
scss/mixins/_buttons.scss
with
3 additions
and
3 deletions
+3
-3
scss/mixins/_buttons.scss
+
3
-
3
View file @
521aa875
...
...
@@ -3,14 +3,14 @@
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin
button-variant
(
$background
,
$border
,
$hover-background
:
darken
(
$background
,
7
.5%
)
,
$hover-border
:
darken
(
$border
,
10%
)
,
$active-background
:
darken
(
$background
,
1
2
.5
%
)
,
$active-border
:
darken
(
$border
,
15%
))
{
@include
color-yiq
(
$background
);
@mixin
button-variant
(
$background
,
$border
,
$hover-background
:
darken
(
$background
,
7
.5%
)
,
$hover-border
:
darken
(
$border
,
10%
)
,
$active-background
:
darken
(
$background
,
1
0
%
)
,
$active-border
:
darken
(
$border
,
1
2
.
5%
))
{
color
:
color-yiq
(
$background
);
background-color
:
$background
;
border-color
:
$border
;
@include
box-shadow
(
$btn-box-shadow
);
@include
hover
{
@include
color-yiq
(
$hover-background
);
color
:
color-yiq
(
$hover-background
);
background-color
:
$hover-background
;
border-color
:
$hover-border
;
}
...
...
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