0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Mixin button-outline-variant should retain active box shadow when focused

This commit is contained in:
Patrick Yeo 2018-01-02 13:19:55 -08:00 committed by Mark Otto
parent edfc2e8145
commit ffcbdb5a1c

View File

@ -86,10 +86,14 @@
&:focus {
// Avoid using mixin so we can pass custom focus shadow properly
@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);
}
}
}
}
// Button sizes
@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {