Sha256: 02f911113340881b350494b920c18ee86b6813ccb271c55c239fb1b53e9eeb4e

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

// stylelint-disable declaration-no-important

// Common values

$positions: absolute, fixed, relative, static, sticky;

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

// Shorthand

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: map-get($toolbar-elevation-shadow, elevation);
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: map-get($toolbar-elevation-shadow, elevation);
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: map-get($toolbar-elevation-shadow, elevation);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
material-sass-4.0.0 assets/stylesheets/material/utilities/_position.scss
material-sass-4.0.0.beta3 assets/stylesheets/material/utilities/_position.scss
material-sass-4.0.0.beta2 assets/stylesheets/material/utilities/_position.scss