Sha256: de127bb61a341c2cf70f5b41ae7d0c6a656282d4d89589415f25c974f44bf89d

Contents?: true

Size: 934 Bytes

Versions: 5

Compression:

Stored size: 934 Bytes

Contents

table {
  &.table-sm,
  &.table-md,
  &.table-lg {
    &.as-cards {
      thead {
        tr {
          display: flex;
          width: 100%;

          th {
            flex-grow: 1;
          }
        }
      }
      tbody {
        tr {
          display: flex;
          align-items: stretch;
          flex-direction: row;
          justify-content: flex-start;
          width: 100%;
          margin: $space-xs 0;

          td {
            background: $white;
            flex-grow: 1;
            border-width: 1px 0;

            &:first-child {
              border-left-width: 1px;
              border-radius: 4px 0 0 4px;
            }
            &:last-child {
              border-right-width: 1px;
              border-radius: 0 4px 4px 0;
            }
          }

          &:last-child {
            td {
              border-top-width: 1px !important;
            }
          }
        }
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_table/styles/_as-cards.scss
playbook_ui-2.7.1 app/pb_kits/playbook/pb_table/styles/_as-cards.scss
playbook_ui-2.7.0 app/pb_kits/playbook/pb_table/styles/_as-cards.scss
playbook_ui-2.6.0 app/pb_kits/playbook/pb_table/styles/_as-cards.scss
playbook_ui-2.5.0 app/pb_kits/playbook/pb_table/styles/_as-cards.scss