Sha256: bc5d544a22738de3af4f3c6073e89ba1a3d448215dcf1c3340b1184e7fcc14c3

Contents?: true

Size: 724 Bytes

Versions: 993

Compression:

Stored size: 724 Bytes

Contents

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

@mixin pb_button($color: $primary) {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: $color;
}

@mixin indicator-colors($colors-list) {
  @each $name, $color in $colors-list {
    &[class*=#{$name}] {
      .pb_legend_indicator_circle {
        @include pb_button($color);
      }
    }
  }
}

[class^=pb_legend_kit] {
  @include indicator-colors($data_colors);
  @include indicator-colors($status_colors);
  @include indicator-colors($product_colors);
  @include indicator-colors($category_colors);

  .pb_legend_indicator_circle_custom {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  }
}

Version data entries

993 entries across 993 versions & 1 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.11 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.11.0.pre.rc.10 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5214 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5213 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5210 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5208 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5207 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play16825206 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5204 app/pb_kits/playbook/pb_legend/_legend.scss