Sha256: 4b5cf9da14cd5e8c3b41a90a156174c7b7734f974563e863216d4053bafdeb5b

Contents?: true

Size: 1.44 KB

Versions: 76

Compression:

Stored size: 1.44 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^=pb_card_body_kit] {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    min-height: 1px;
    border: 0;
  }
  
  @each $name, $shadow in $box_shadows {
    &[class*=_#{$name}] {
      box-shadow: $shadow;
    }
  }

  &[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

76 entries across 76 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.11.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.10.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.9.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.8.4 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.8.3 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.8.2 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.8.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.8.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.7.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.6.2 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.6.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.6.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.5.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.5.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-7.4.2 app/pb_kits/playbook/pb_card/_card.scss