Sha256: 01fb3f2062966f1746e0ac6bf518665663eae6c27e477c4635559fade304b3da

Contents?: true

Size: 576 Bytes

Versions: 171

Compression:

Stored size: 576 Bytes

Contents

@import "../tokens/spacing";
@import "../tokens/colors";
@import "../tokens/opacity";
@import "../pb_body/body";

$pb_pill_height: 22px;

[class^=pb_pill_kit] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 $space-sm/1.8;
  height: $pb_pill_height;
  border-radius: $pb_pill_height/2;
  white-space: nowrap;

  @each $color_name, $color_value in $status_color_text {
    &[class*=_#{$color_name}]  {
        background: rgba($color_value, $opacity-1);

      .pb_pill_text {
        color: $color_value !important;
      }
    }
  }
}

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
playbook_ui-10.3.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.2.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.2.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.1.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.0.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.19.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.18.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.17.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_pill/_pill.scss