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
a0936c32
Commit
a0936c32
authored
7 years ago
by
Mark Otto
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Outline button hover color (#25339)
parent
b1a75486
5 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25494
web pack
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_buttons.scss
+1
-5
scss/_buttons.scss
scss/mixins/_buttons.scss
+2
-2
scss/mixins/_buttons.scss
with
3 additions
and
7 deletions
+3
-7
scss/_buttons.scss
+
1
-
5
View file @
a0936c32
...
...
@@ -68,11 +68,7 @@ fieldset:disabled a.btn {
@each
$color
,
$value
in
$theme-colors
{
.btn-outline-
#{
$color
}
{
@if
$color
==
"light"
{
@include
button-outline-variant
(
$value
,
$gray-900
);
}
@else
{
@include
button-outline-variant
(
$value
,
$white
);
}
@include
button-outline-variant
(
$value
);
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_buttons.scss
+
2
-
2
View file @
a0936c32
...
...
@@ -54,14 +54,14 @@
}
}
@mixin
button-outline-variant
(
$color
,
$color-hover
:
#fff
,
$active-background
:
$color
,
$active-border
:
$color
)
{
@mixin
button-outline-variant
(
$color
,
$color-hover
:
color-yiq
(
$color
)
,
$active-background
:
$color
,
$active-border
:
$color
)
{
color
:
$color
;
background-color
:
transparent
;
background-image
:
none
;
border-color
:
$color
;
&
:hover
{
color
:
color-
yiq
(
$color
)
;
color
:
$
color-
hover
;
background-color
:
$active-background
;
border-color
:
$active-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