Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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
}