Sha256: d32dbe2b3d5cb3663bb5d7b698093023fbf9504e2a18cf8c6e30ae38e344dabd

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

@import "styles/all";
@import "../tokens/colors";

$pb_table_row_kit_side_highlight_colors: map-merge(map-merge($status_colors, $product_colors), $category_colors);

@mixin pb_table_row_kit_side_highlight($background) {
  box-shadow: inset 4px 0 0 0 $background;
  border-top: 0px;
}

[class^=pb_table] {
  tbody {
    [class^=pb_table_row_kit] {
      @each $color_name, $color_value in $pb_table_row_kit_side_highlight_colors {
        &[class*=_side_highlight_#{$color_name}] {
          td {
            &:first-child {
              @include pb_table_row_kit_side_highlight($color_value);
            }
          }
        }
      }
    }
  }
  tr[align=center] th,
  tr th[align=center] {
    text-align: center !important;
  }

  tr[align=right] th,
  tr th[align=right] {
    text-align: right !important;
  }

  tr[shift=up] {
    vertical-align: top;
  }
  tr[shift=down] {
    vertical-align: bottom;
  }

  td[shift=up] {
    vertical-align: top;
  }
  td[shift=down] {
    vertical-align: bottom;
  }

  th[shift=up] {
    vertical-align: top;
  }

  th[shift=down] {
    vertical-align: bottom;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-7.9.0 app/pb_kits/playbook/pb_table/_table.scss
playbook_ui-7.8.4 app/pb_kits/playbook/pb_table/_table.scss
playbook_ui-7.8.3 app/pb_kits/playbook/pb_table/_table.scss
playbook_ui-7.8.2 app/pb_kits/playbook/pb_table/_table.scss
playbook_ui-7.8.1 app/pb_kits/playbook/pb_table/_table.scss
playbook_ui-7.8.0 app/pb_kits/playbook/pb_table/_table.scss