Sha256: f5cfa1c6935cf737e250e45e36b64da992a5deffe8a3931a6dd60de390fa96e6

Contents?: true

Size: 1.28 KB

Versions: 92

Compression:

Stored size: 1.28 KB

Contents

@import "../tokens/colors";
@import "../tokens/border_radius";
@import "../tokens/opacity";
@import "../pb_avatar/avatar";

[class^=pb_multiple_users_stacked_kit] {
  $container_size: map-get($avatar-sizes, "xs");
  $overlap: -15px;
  $border_size: 1px;
  $stacked_size: 18px;
  $max_to_display: 1, 2;
  display: inline-flex;
  width: $container_size;
  height: $container_size;
  flex-basis: $container_size;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  .pb_multiple_users_stacked_item {
    height: $stacked_size;
    width: $stacked_size;
    .avatar_wrapper {
      border: $border_size solid $white;
      height: $stacked_size;
      width: $stacked_size;
      img {
        z-index: 0;
      }
    }
  }
  &[class*=_single] .pb_multiple_users_stacked_item {
    width: $container_size;
    height: $container_size;
    .avatar_wrapper {
      width: $container_size;
      height: $container_size;
    }
  }
  .second_item {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    background: tint($primary, 90%);
    border-radius: $border_rad_mega;
    .avatar_wrapper {
      border: $border_size solid $white;
      height: $stacked_size;
      width: $stacked_size;

    }
  }
  .stacked_item .avatar_wrapper::before {
    font-size: 0;
    color: transparent;
  }
}

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
playbook_ui-6.2.1 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.2.0 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-7.0.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.1.0 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1.pre.alpha6 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1.pre.alpha5 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1.pre.alpha4 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1.pre.alpha3 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1.pre.alpha2 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-5.2.0.pre.alpha13 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.1 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-5.2.0.pre.alpha12 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
playbook_ui-6.0.0 app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss