assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.0.0.beta vs assets/stylesheets/bootstrap/mixins/_hover.scss in bootstrap-4.0.0.beta2

- old
+ new

@@ -1,60 +1,61 @@ +// stylelint-disable indentation @mixin hover { // TODO: re-enable along with mq4-hover-shim // @if $enable-hover-media-query { // // See Media Queries Level 4: https://drafts.csswg.org/mediaqueries/#hover // // Currently shimmed by https://github.com/twbs/mq4-hover-shim // @media (hover: hover) { // &:hover { @content } // } // } // @else { -// scss-lint:disable Indentation - &:hover { @content } -// scss-lint:enable Indentation + &:hover { @content; } // } } @mixin hover-focus { @if $enable-hover-media-query { - &:focus { @content } - @include hover { @content } + &:focus { + @content; + } + @include hover { @content; } } @else { &:focus, &:hover { - @content + @content; } } } @mixin plain-hover-focus { @if $enable-hover-media-query { &, &:focus { - @content + @content; } - @include hover { @content } + @include hover { @content; } } @else { &, &:focus, &:hover { - @content + @content; } } } @mixin hover-focus-active { @if $enable-hover-media-query { &:focus, &:active { - @content + @content; } - @include hover { @content } + @include hover { @content; } } @else { &:focus, &:active, &:hover { - @content + @content; } } }