CoreFiles by mySites.guru
_position.scss36 lines, 621 bytes, from Joomla_5.4.3-Stable-Full_Package.zip
Raw History Compare with 5.4.2
md5
5b21f5226cfc05417ff7810c21e0566f
sha1
b63298a3a964c92b28958e9b5e6897ca99d7ede2
sha256
327a5b451233705aa15ac1509ea8f4ff96091dce9ab90739b6fc902cac3efb26
// 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 and bottom
@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;
    }

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

The same content is in 212 releases, Joomla 4.3.0-alpha3 to 6.3.0-alpha1. See them all, or every version of this file.