CoreFiles by mySites.guru
_position.scss30 lines, 501 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
7a8080dca11eaf6cccbca17803f3b129
sha1
ef6e10d7f960b72a77122a85107a07b1be667069
sha256
ff62c8c904994e4af9130c1d3d1083d7ebef4bfc55ae89291511d931869ba8f9
// 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;
}

// Responsive sticky top
@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    .sticky#{$infix}-top {
      position: sticky;
      top: 0;
      z-index: $zindex-sticky;
    }
  }
}

The same content is in 71 releases, Joomla 4.0.0-beta7 to 4.3.0-alpha2. See them all, or every version of this file.