assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.0.0.alpha6 vs assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.0.0.beta
- old
+ new
@@ -6,20 +6,22 @@
// @media (hover: hover) {
// &:hover { @content }
// }
// }
// @else {
+// scss-lint:disable Indentation
&:hover { @content }
+// scss-lint:enable Indentation
// }
}
+
@mixin hover-focus {
@if $enable-hover-media-query {
&:focus { @content }
@include hover { @content }
- }
- @else {
+ } @else {
&:focus,
&:hover {
@content
}
}
@@ -30,12 +32,11 @@
&,
&:focus {
@content
}
@include hover { @content }
- }
- @else {
+ } @else {
&,
&:focus,
&:hover {
@content
}
@@ -47,11 +48,10 @@
&:focus,
&:active {
@content
}
@include hover { @content }
- }
- @else {
+ } @else {
&:focus,
&:active,
&:hover {
@content
}