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.14.1.pre.alpha2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.14.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.13.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.13.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.13.0.pre.node.update app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.12.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.11.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.10.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.9.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.8.1.pre.alpha.flexdeps app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.9.0.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.8.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.7.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.7.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.6.2.pre.alpha.dep app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.6.1.pre.alpha1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.6.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.5.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-10.4.0 app/pb_kits/playbook/pb_pill/_pill.scss