Sha256: c3e31b419111cbf45e5b10ad7ea49f291943dd01960807e51205971a3d0273cc

Contents?: true

Size: 686 Bytes

Versions: 977

Compression:

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

  &[class*=lowercase] {
    text-transform: lowercase;
  }

  &[class*=none] {
    text-transform: none;
  }

  @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

977 entries across 977 versions & 1 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.5 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5193 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.11.0.pre.rc.4 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.11.0.pre.rc.3 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.alpha.PBNTR662stickyrightcolumnreact5160 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.11.0.pre.rc.2 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.11.0.pre.rc.1 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5137 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.11.0.pre.rc.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.9.0.pre.alpha.PBNTR767advancedtablemultiheadercolumns5136 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5120 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.23 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.22 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.21 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment5060 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.20 app/pb_kits/playbook/pb_pill/_pill.scss
playbook_ui-14.10.0.pre.rc.19 app/pb_kits/playbook/pb_pill/_pill.scss