CoreFiles by mySites.guru
_position.scss36 lines, 614 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
fbee79568d6d418b3cfe3e20c2d1849b
sha1
90fe1668ed206afe1e79cd195b2b22d3362b63df
sha256
4850751ba1e2d3e106dfd62c32a89423d4f4174a811644809cb8d2faf22a301c
// stylelint-disable declaration-no-important

// Common values

// Sass list not in variables since it's not intended for customization.
$positions: static, relative, absolute, fixed, sticky;

@each $position in $positions {
  .position-#{$position} { position: $position !important; }
}

// Shorthand

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: $zindex-fixed;
}

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: $zindex-fixed;
}

.sticky-top {
  @supports (position: sticky) {
    position: sticky;
    top: 0;
    z-index: $zindex-sticky;
  }
}

No other release has this exact content. See every version of this file.