Sha256: c3fdfc79d538e20cfe8c19173f37dafb1741a71d7a0a1db6feb6116460f72570

Contents?: true

Size: 918 Bytes

Versions: 766

Compression:

Stored size: 918 Bytes

Contents

$relative: relative !default;
$absolute: absolute !default;
$fixed: fixed !default;
$sticky: sticky !default;
$static: static !default;
$position: (
  relative: $relative,
  absolute: $absolute,
  fixed: $fixed,
  sticky: $sticky,
  static: $static
);

// z_index variables
$z_1: 100 !default;
$z_2: 200 !default;
$z_3: 300 !default;
$z_4: 400 !default;
$z_5: 500 !default;
$z_6: 600 !default;
$z_7: 700 !default;
$z_8: 800 !default;
$z_9: 900 !default;
$z_10: 1000 !default;
$z_index: (
  zindex_1: $z_1,
  zindex_2: $z_1,
  zindex_3: $z_1,
  zindex_4: $z_1,
  zindex_5: $z_1,
  zindex_6: $z_1,
  zindex_7: $z_1,
  zindex_8: $z_1,
  zindex_9: $z_1,
);

$z_layers: (
  "header": $z_10,
  "default": 0
);

$offscreen: -9999px !default;

@function z_index_for($layer) {
  @if not map-has-key($z_layers, $layer) {
    @error "No layer found for `#{$layer}` in $z_layers map.";
  }
  @return map-get($z_layers, $layer);
}

Version data entries

766 entries across 766 versions & 1 rubygems

Version Path
playbook_ui-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.3 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.2 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.revert3916revert3893PBNTR667railstypeaheadformintegration4567 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.revert3916revert3893PBNTR667railstypeaheadformintegration4565 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4563 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4559 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.PLAY16254545 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4543 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-14.9.0.pre.rc.0 app/pb_kits/playbook/tokens/_positioning.scss