_alert.scss
6 years ago
_background-variant.scss
6 years ago
_badge.scss
6 years ago
_border-radius.scss
6 years ago
_box-shadow.scss
6 years ago
_breakpoints.scss
6 years ago
_buttons.scss
6 years ago
_caret.scss
6 years ago
_clearfix.scss
6 years ago
_deprecate.scss
6 years ago
_float.scss
6 years ago
_forms.scss
6 years ago
_gradients.scss
6 years ago
_grid-framework.scss
6 years ago
_grid.scss
6 years ago
_hover.scss
6 years ago
_image.scss
6 years ago
_list-group.scss
6 years ago
_lists.scss
6 years ago
_nav-divider.scss
6 years ago
_pagination.scss
6 years ago
_reset-text.scss
6 years ago
_resize.scss
6 years ago
_screen-reader.scss
6 years ago
_size.scss
6 years ago
_table-row.scss
6 years ago
_text-emphasis.scss
6 years ago
_text-hide.scss
6 years ago
_text-truncate.scss
6 years ago
_transition.scss
6 years ago
_visibility.scss
6 years ago
_hover.scss
38 lines
| 1 | // Hover mixin and `$enable-hover-media-query` are deprecated. |
| 2 | // |
| 3 | // Originally added during our alphas and maintained during betas, this mixin was |
| 4 | // designed to prevent `:hover` stickiness on iOS-an issue where hover styles |
| 5 | // would persist after initial touch. |
| 6 | // |
| 7 | // For backward compatibility, we've kept these mixins and updated them to |
| 8 | // always return their regular pseudo-classes instead of a shimmed media query. |
| 9 | // |
| 10 | // Issue: https://github.com/twbs/bootstrap/issues/25195 |
| 11 | |
| 12 | @mixin hover { |
| 13 | &:hover { @content; } |
| 14 | } |
| 15 | |
| 16 | @mixin hover-focus { |
| 17 | &:hover, |
| 18 | &:focus { |
| 19 | @content; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | @mixin plain-hover-focus { |
| 24 | &, |
| 25 | &:hover, |
| 26 | &:focus { |
| 27 | @content; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | @mixin hover-focus-active { |
| 32 | &:hover, |
| 33 | &:focus, |
| 34 | &:active { |
| 35 | @content; |
| 36 | } |
| 37 | } |
| 38 |