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.0.pre.rc.17 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.11 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.11.0.pre.rc.10 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5214 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5213 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5210 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5208 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5207 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play16825206 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5204 app/pb_kits/playbook/pb_table/styles/_structure.scss