Sha256: 25f2de3874b879fe6d0024828318c5dadc00c17fbb6b3793fd52f475e793f179

Contents?: true

Size: 1.49 KB

Versions: 139

Compression:

Stored size: 1.49 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_body_kit] {
          color: lightenText($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

139 entries across 139 versions & 1 rubygems

Version Path
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.18.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.17.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.16.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.15.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.14.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.13.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.12.1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.12.0 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_card/_card.scss
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_card/_card.scss