Sha256: ae32d077625d3897e49bc281a5909023c036c4c8ca831314f40d7c0c276008a9

Contents?: true

Size: 1.57 KB

Versions: 49

Compression:

Stored size: 1.57 KB

Contents

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

$pb_multiple_users_overlap: -9px;
$pb_multiple_users_border_size: 1px;
$pb_multiple_users_size: map-get($avatar-sizes, "xs");
$pb_multiple_users_size_xxs: map-get($avatar-sizes, "xxs");

[class^=pb_multiple_users_kit] {
  display: inline-flex;

  .multiple_users_badge_xs,
  .multiple_users_badge_xxs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: $pb_multiple_users_size;
    height: $pb_multiple_users_size;
    border-radius: ($pb_multiple_users_size/2) + 2;
    background: tint($primary, 90%);
    border: $pb_multiple_users_border_size solid $white;
    color: $primary;
    font-weight: $bold;
    font-size: $font_smallest - 1;
  }

  .multiple_users_badge_xxs {
    width: $pb_multiple_users_size_xxs;
    height: $pb_multiple_users_size_xxs;
  }

  .pb_multiple_users_item {
    margin-left: $pb_multiple_users_overlap;
    margin-right: 0;

    &:first-of-type {
      margin-left: 0;
    }

    &.dark {
      .avatar_wrapper {
        border: $pb_multiple_users_border_size solid $bg_dark;
      }
    }

    .avatar_wrapper {
      border: $pb_multiple_users_border_size solid $white;
    }

    @each $item in [1, 2, 3, 4, 5] {
      &:nth-child(#{$item}) {
        z-index: #{$item - 1};
      }
    }
  }

  &[class*=_reverse] {
    flex-direction: row-reverse;

    .pb_multiple_users_item {
      margin-left: 0;
      margin-right: $pb_multiple_users_overlap;

      &:first-of-type {
        margin-right: 0;
      }
    }
  }
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
playbook_ui-13.32.0.pre.alpha.PLAY14103236 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.play1416movealiaslogic3232 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3231 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3230 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.32.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.powercentrainplaybookpt23212 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.PLAY10863204 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.PLAY10863202 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.PLAY882formpillprimaryandneutral3201 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3172 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3171 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.31.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.30.0.pre.alpha.play1367contenttagnoninputkits3159 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.30.0.pre.alpha.20240515remotebuildkitconversion3150 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.30.0.pre.alpha.PBNTR353draggablev53136 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.30.0.pre.alpha.PLAY1328fixtimelinekitglobalpropsreact3096 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.30.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.29.0.pre.alpha.removeduplicatekitexampleclass3063 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33060 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33059 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss