Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
// stylelint-disable declaration-no-important
2
 
3
// Common values
4
@each $position in $positions {
5
  .position-#{$position} { position: $position !important; }
6
}
7
 
8
// Shorthand
9
 
10
.fixed-top {
11
  position: fixed;
12
  top: 0;
13
  right: 0;
14
  left: 0;
15
  z-index: $zindex-fixed;
16
}
17
 
18
.fixed-bottom {
19
  position: fixed;
20
  right: 0;
21
  bottom: 0;
22
  left: 0;
23
  z-index: $zindex-fixed;
24
}
25
 
26
.sticky-top {
27
  @supports (position: sticky) {
28
    position: sticky;
29
    top: 0;
30
    z-index: $zindex-sticky;
31
  }
32
}