Sha256: bdd6d20531f48ee7c2b74003d0eb2456c0df11630453dea924e95f4c643d6107

Contents?: true

Size: 1.46 KB

Versions: 578

Compression:

Stored size: 1.46 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;

    &.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;
    }
  }
}

Version data entries

578 entries across 578 versions & 1 rubygems

Version Path
playbook_ui-13.16.0.pre.alpha.powercentrainplaybookpt22125 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2107 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR181stripedtable2103 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2100 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR184betaflaginmenuyml2085 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR178AdvancedTableDocs2072 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.17.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2060 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2038 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2037 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.nodejsupgrade2036 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2035 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2034 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2023 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2010 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PLAY11642006 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary1995 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary1993 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PLAY11641992 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
playbook_ui-13.16.0.pre.alpha.PLAY11641991 app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss