Commit f0ffe0f1 authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3228758 by pivica: bs-button-variant() mixin should set button focus colors

parent 423232b2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@
    @include box-shadow($btn-box-shadow);
  }

  // Hover and focus styles are shared.
  @include hover() {
    color: $hover-color;
    background-color: $hover-bg-color;
@@ -103,6 +102,9 @@
  }
  &:focus,
  &.focus {
    color: $hover-color;
    background-color: $hover-bg-color;
    border-color: $hover-border-color;
    // Avoid using mixin so we can pass custom focus shadow properly.
    @if $enable-shadows and $btn-active-box-shadow {
      @include box-shadow($btn-active-box-shadow);