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-8.2.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.1.2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.1.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.3 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.2.0.pre.alpha2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.1.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.2.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.1.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.0.pre.alpha5 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss