Sha256: 48e3d9dab1626aedbaeb3c51c9b9de812710ac5611cf9e627f855be68bf50fd6

Contents?: true

Size: 1.41 KB

Versions: 26

Compression:

Stored size: 1.41 KB

Contents

@import "card_mixin";


[class^=pb_card_kit] {
  @include pb_card;

  &[class*=_selected] {
    @include pb_card_selected;
  }

  &.dark {
    @include pb_card_dark;

    &[class*=_selected] {
      @include pb_card_selected_dark;
    }
  }

  &[class*=_border_none] {
    border-width: 0px;
  }

  [class^=pb_card_header_kit] {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    min-height: 1px;
    border: 0;
    border-radius: $pb_card_header_border_radius $pb_card_header_border_radius 0px 0px;
    @each $color_name, $color_value in $pb_card_header_colors {
      &[class*=_#{$color_name}] {
        @include pb_card_header_color($color_value);
      }
    }
    &[class*=_white] {
      border-bottom: 1px solid $border_light;
    }
  }

  [class^=pb_card_body_kit] {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    min-height: 1px;
    border: 0;
  }

  &[class*=_highlight] {
    overflow: hidden;
  }

  &[class*=_highlight_top] {
    @each $color_name, $color_value in $pb_card_highlight_colors {
      &[class*=_highlight_#{$color_name}]::before {
        @include pb_card_highlight(100%, $pb_card_highlight_size, $color_value);
      }
    }
  }

  &[class*=_highlight_side] {
    @each $color_name, $color_value in $pb_card_highlight_colors {
      &[class*=_highlight_#{$color_name}]::before {
        @include pb_card_highlight($pb_card_highlight_size, 100%, $color_value);
      }
    }
  }
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.24.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.23.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.23.0.pre.cachetest app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.22.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.22.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.20.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-10.19.0 app/pb_kits/playbook/pb_card/_card.scss