Sha256: 7ab38039cb3a1494d634ef3f80d4879879a449271f67e26997bcd7b3287eda50

Contents?: true

Size: 983 Bytes

Versions: 10

Compression:

Stored size: 983 Bytes

Contents

@mixin hover {
  // TODO: re-enable along with mq4-hover-shim
//  @if $enable-hover-media-query {
//    // See Media Queries Level 4: http://drafts.csswg.org/mediaqueries/#hover
//    // Currently shimmed by https://github.com/twbs/mq4-hover-shim
//    @media (hover: hover) {
//      &:hover { @content }
//    }
//  }
//  @else {
    &:hover { @content }
//  }
}

@mixin hover-focus {
  @if $enable-hover-media-query {
    &:focus { @content }
    @include hover { @content }
  }
  @else {
    &:focus,
    &:hover {
      @content
    }
  }
}

@mixin plain-hover-focus {
  @if $enable-hover-media-query {
    &,
    &:focus {
      @content
    }
    @include hover { @content }
  }
  @else {
    &,
    &:focus,
    &:hover {
      @content
    }
  }
}

@mixin hover-focus-active {
  @if $enable-hover-media-query {
    &:focus,
    &:active {
      @content
    }
    @include hover { @content }
  }
  @else {
    &:focus,
    &:active,
    &:hover {
      @content
    }
  }
}

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
geekyll-0.1.2 _sass/geekyll/bootstrap4alpha4/mixins/_hover.scss
geekyll-0.1.1 _sass/geekyll/bootstrap4alpha4/mixins/_hover.scss
geekyll-0.1.0 _sass/geekyll/bootstrap4alpha4/mixins/_hover.scss
geekyll-0.0.9 _sass/geekyll/bootstrap4alpha4/mixins/_hover.scss
flying_dutchman-0.6.0 vendor/assets/stylesheets/bootstrap/mixins/_hover.scss
bootstrap-4.0.0.alpha4 assets/stylesheets/bootstrap/mixins/_hover.scss
flying_dutchman-0.5.0 vendor/assets/stylesheets/bootstrap/mixins/_hover.scss
flying_dutchman-0.4.0 vendor/assets/stylesheets/bootstrap/mixins/_hover.scss
flying_dutchman-0.3.0 vendor/assets/stylesheets/bootstrap/mixins/_hover.scss
bootstrap-4.0.0.alpha3.1 assets/stylesheets/bootstrap/mixins/_hover.scss