Sha256: 163a8dbe710ab2a15ebe7b3dcbbe6debeb643691e25154c3eac2ce94f6817db8

Contents?: true

Size: 1.77 KB

Versions: 576

Compression:

Stored size: 1.77 KB

Contents

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

[class^=pb_table] {
  display: table;

  @each $name, $value in $cell-pad-list {
    &.#{$name} {
      width: 100%;
      thead, .pb_table_thead {
        display: table-header-group;

        tr, .pb_table_tr {
          display: table-row;

          th, .pb_table_th {
            display: table-cell;
            padding: $cell-pad-md $cell-gutter;

            &:first-child {
              padding-left: $cell-pad-endcap;
            }
            &:last-child {
              padding-right: $cell-pad-endcap;
            }
          }
        }
      }
      tbody, .pb_table_tbody {
        display: table-row-group;

        tr, .pb_table_tr {
          display: table-row;

          td, .pb_table_td {
            display: table-cell;
            border-color: $border_light;
            border-style: solid;
            border-width: 0 0 1px;
            padding: $value $cell-gutter;

            &:first-child {
              padding-left: $cell-pad-endcap;
            }
            &:last-child {
              padding-right: $cell-pad-endcap;
            }
          }
        }
      }
      &.data_table {
        thead tr th,
        .pb_table_thead .pb_table_tr .pb_table_th {
          padding-top: $cell-pad-sm;
          padding-bottom: $cell-pad-sm;
          &:first-child {
            padding-left: $cell-pad-sm;
          }
          &:last-child {
            padding-right: $cell-pad-sm;
          }
        }
        tbody tr td,
        .pb_table_tbody .pb_table_tr .pb_table_td  {
          padding-top: $cell-pad-sm;
          padding-bottom: $cell-pad-sm;
          &:first-child {
            padding-left: $cell-pad-sm;
          }
          &:last-child {
            padding-right: $cell-pad-sm;
          }
        }
      }
    }
  }
}

Version data entries

576 entries across 576 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_table/styles/_structure.scss