Sha256: 7dfe3b911bf5342980b5f25e1dd7e92589ef18c86447e3435def482fe2484146

Contents?: true

Size: 1.61 KB

Versions: 7

Compression:

Stored size: 1.61 KB

Contents

$table-dark-card-bg: $ink;

.table-sm,
.table-md,
.table-lg {
  &.table-dark {
    thead {
      tr {
        border-color: $ink-light !important;

        th {
          border-color: $ink-light !important;
          color: $ink-lightest;
        }
      }
    }
    tbody {
      tr {
        border-color: $ink-light;
        transition: none !important;

        td {
          border-color: $ink-light !important;
          border-bottom-width: 0 !important;
          color: $white;

          &:before {
            color: $ink-lightest !important;
          }
        }
        &:first-child {
          td {
            border-top-width: 0 !important;
          }
        }
      }
    }

    &:not(.no-hover) {
      tbody {
        tr {
          &:hover {
            td {
              border-color: $ink-light !important;
              background: $ink-light;
            }
          }
        }
      }
    }

    &.table-card {
      background: $table-dark-card-bg !important;
    }
  }
}

@media only screen and (max-width: $screen-xs-max) {
  .table-sm,
  .table-md,
  .table-lg {
    &.table-card {
      &.table-dark {
        background: none !important;

        tbody {
          tr {
            td {
              background: $table-dark-card-bg !important;
            }
          }
        }
      }
    }
    &.table-dark {
      tbody {
        tr {
          td {
            &:first-child {
              border-top-color: $ink-light !important;
            }
          }
          &:first-child {
            td {
              border-top-width: 1px !important;
            }
          }
        }
      }
    }
  }
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-2.7.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-2.7.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-2.6.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-2.5.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
nitro_sg-3.0.2 sass-mixins/nitro-ui/tables/_table-dark.scss
nitro_sg-3.0.1 sass-mixins/nitro-ui/tables/_table-dark.scss