Sha256: 54c4ddf48ece6a107aa1439b592f5339a691a14d0ed081befc41c2a247855ea3

Contents?: true

Size: 355 Bytes

Versions: 32

Compression:

Stored size: 355 Bytes

Contents

$badge-sizes: (
  "sm":   16px,
  "md":   26px,
  "lg":   36px
);

[class^=pb_user_badge_kit] {
  .pb__user_badge_wrapper {
    svg,
    img {
      width: 100%;
      height: 100%;
    }
  }

  @each $name, $size in $badge-sizes {
    &[class*=_#{$name}] {
      .pb__user_badge_wrapper {
        width: $size;
        height: $size;
      }
    }
  }
}

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
playbook_ui-2.9.6 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.5 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.4 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.3 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.2 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.1 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.9.0 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.8.9 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.8.8 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.8.7 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.8.6 app/pb_kits/playbook/pb_user_badge/_user_badge.scss
playbook_ui-2.8.5 app/pb_kits/playbook/pb_user_badge/_user_badge.scss