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

Outline button hover color (#25339)

parent b1a75486
5 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 3 additions and 7 deletions
+3 -7
......@@ -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);
}
}
......
......@@ -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;
}
......
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