Sha256: 163a8dbe710ab2a15ebe7b3dcbbe6debeb643691e25154c3eac2ce94f6817db8

Contents?: true

Size: 1.77 KB

Versions: 606

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

606 entries across 606 versions & 1 rubygems

Version Path
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.26.0 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2785 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.25.0 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.23.0.pre.alpha.PLAY1284investigation2657 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.24.0 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.22.0.pre.alpha.PLAY1297updatetextstyles2636 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-13.22.0.pre.alpha.playbookgemspecrailsversion2608 app/pb_kits/playbook/pb_table/styles/_structure.scss