Permalink
Browse files

Mixin `button-outline-variant` should retain active box shadow when f…

…ocused
  • Loading branch information...
pat270 authored and mdo committed Jan 2, 2018
1 parent edfc2e8 commit ffcbdb5a1c52366e84b2c15999d83abc8ad36dbf
Showing with 5 additions and 1 deletion.
  1. +5 −1 scss/mixins/_buttons.scss
@@ -86,7 +86,11 @@
&:focus {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
@if $enable-shadows and $btn-active-box-shadow != none {
box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5);
} @else {
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
}
}
}
}

0 comments on commit ffcbdb5

Please sign in to comment.