Sha256: 03258151e6967376e242a459023c54a5eb45d3d43cca6d7204b380f923fe6fed

Contents?: true

Size: 1.87 KB

Versions: 43

Compression:

Stored size: 1.87 KB

Contents

@import "../../tokens/screen_sizes";

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

[class^=pb_table] {
  .table-sm,
  .table-md,
  .table-lg {
    &.table-dark {
      thead {
        tr {
          border-color: $border_dark !important;

          th {
            border-color: $border_dark !important;
            color: $text_dk_light;
          }
        }
      }
      tbody {
        tr {
          border-color: $border_dark;
          transition: none !important;

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

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

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

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

@media only screen and (max-width: $screen-xs-max) {
  [class^=pb_table] {
    .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: $border_dark !important;
              }
            }
            &:first-child {
              td {
                border-top-width: 1px !important;
              }
            }
          }
        }
      }
    }
  }
}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
playbook_ui-4.8.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.7.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.7.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.6.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.6.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.5.2 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.5.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.5.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.4.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.4.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.3.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.3.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.2.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.1.2 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.1.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.1.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.0.1 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-4.0.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-3.5.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-3.4.0 app/pb_kits/playbook/pb_table/styles/_table-dark.scss