assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.3.1 vs assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.4.1
- old
+ new
@@ -7,29 +7,29 @@
// For backward compatibility, we've kept these mixins and updated them to
// always return their regular pseudo-classes instead of a shimmed media query.
//
// Issue: https://github.com/twbs/bootstrap/issues/25195
-@mixin hover {
+@mixin hover() {
&:hover { @content; }
}
-@mixin hover-focus {
+@mixin hover-focus() {
&:hover,
&:focus {
@content;
}
}
-@mixin plain-hover-focus {
+@mixin plain-hover-focus() {
&,
&:hover,
&:focus {
@content;
}
}
-@mixin hover-focus-active {
+@mixin hover-focus-active() {
&:hover,
&:focus,
&:active {
@content;
}