Sha256: 9d773a3b563b1a6cfe07255595cde18ec1d8e285cf8dad03be725e41a62d891f

Contents?: true

Size: 566 Bytes

Versions: 235

Compression:

Stored size: 566 Bytes

Contents

// z_index variables
$z_1: 100;
$z_2: 200;
$z_3: 300;
$z_4: 400;
$z_5: 500;
$z_6: 600;
$z_7: 700;
$z_8: 800;
$z_9: 900;
$z_10: 1000;
$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;

@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

235 entries across 235 versions & 1 rubygems

Version Path
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.5.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.4.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.3.1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.3.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.2.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.1.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-12.0.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-11.20.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/tokens/_positioning.scss