Commit a0936c32 authored by Mark Otto's avatar Mark Otto Committed by XhmikosR
Browse files

Outline button hover color (#25339)

parent b1a75486
Showing with 3 additions and 7 deletions
+3 -7
...@@ -68,11 +68,7 @@ fieldset:disabled a.btn { ...@@ -68,11 +68,7 @@ fieldset:disabled a.btn {
@each $color, $value in $theme-colors { @each $color, $value in $theme-colors {
.btn-outline-#{$color} { .btn-outline-#{$color} {
@if $color == "light" { @include button-outline-variant($value);
@include button-outline-variant($value, $gray-900);
} @else {
@include button-outline-variant($value, $white);
}
} }
} }
......
...@@ -54,14 +54,14 @@ ...@@ -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; color: $color;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
border-color: $color; border-color: $color;
&:hover { &:hover {
color: color-yiq($color); color: $color-hover;
background-color: $active-background; background-color: $active-background;
border-color: $active-border; border-color: $active-border;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment