mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
apply same active/focus shadow styling to button variants
This commit is contained in:
@@ -42,11 +42,13 @@
|
|||||||
}
|
}
|
||||||
border-color: $active-border;
|
border-color: $active-border;
|
||||||
|
|
||||||
// Avoid using mixin so we can pass custom focus shadow properly
|
&:focus {
|
||||||
@if $enable-shadows {
|
// Avoid using mixin so we can pass custom focus shadow properly
|
||||||
box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
@if $enable-shadows {
|
||||||
} @else {
|
box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
||||||
box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
} @else {
|
||||||
|
box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user