Sha256: 6d8423c807fc18f31171c38cc37b4c0495c714b15a7d46b82065d15a8bdf6ad7

Contents?: true

Size: 783 Bytes

Versions: 198

Compression:

Stored size: 783 Bytes

Contents

// stylelint-disable indentation

// Hover mixin and `$enable-hover-media-query` are deprecated.
//
// Origally added during our alphas and maintained during betas, this mixin was
// designed to prevent `:hover` stickiness on iOS—an issue where hover styles
// would persist after initial touch.
//
// For backward compatibility, we've kept these mixins and updated them to
// always return their regular psuedo-classes instead of a shimmed media query.
//
// Issue: https://github.com/twbs/bootstrap/issues/25195

@mixin hover {
  &:hover { @content; }
}

@mixin hover-focus {
  &:hover,
  &:focus {
    @content;
  }
}

@mixin plain-hover-focus {
  &,
  &:hover,
  &:focus {
    @content;
  }
}

@mixin hover-focus-active {
  &:hover,
  &:focus,
  &:active {
    @content;
  }
}

Version data entries

198 entries across 198 versions & 13 rubygems

Version Path
solidus_backend-4.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.3.4 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.2.4 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.1.5 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.3.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.1.4 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.2.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.1.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.0.4 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-3.4.6 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.1.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.2.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-3.4.5 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss
solidus_backend-4.2.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss