Sha256: eec5d5f1f4dced292de789628ebe2a2e1d2442788d96fa6a8e9aa6de0acad9cb

Contents?: true

Size: 834 Bytes

Versions: 5

Compression:

Stored size: 834 Bytes

Contents

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

[class^=pb_table] {
  @each $name, $value in $cell-pad-list {
    &.#{$name} {
      width: 100%;

      thead {
        tr {
          th {
            padding: $value $cell-gutter;

            &:first-child {
              padding-left: $cell-pad-endcap;
            }
            &:last-child {
              padding-right: $cell-pad-endcap;
            }
          }
        }
      }
      tbody {
        tr {
          td {
            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;
            }
          }
        }
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.8.6 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-2.8.5 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-2.8.4 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-2.8.3 app/pb_kits/playbook/pb_table/styles/_structure.scss
playbook_ui-2.8.1 app/pb_kits/playbook/pb_table/styles/_structure.scss