Sha256: 22ee09913a735b98419def31a9195353e8419249ea0858541be4d2b0f7d3fee1

Contents?: true

Size: 1.79 KB

Versions: 581

Compression:

Stored size: 1.79 KB

Contents

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

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

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

          th, .pb_table_th {
            border-color: $border_dark !important;
            color: $text_dk_light;
          }
        }
      }
      tbody, .pb_table_tbody {
        tr, .pb_table_tr {
          border-color: $border_dark;
          transition: none !important;

          td, .pb_table_td {
            border-color: $border_dark !important;
            color: $white;

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

      &.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, .pb_table_tbody {
            tr, .pb_table_tr {
              td, .pb_table_td {
                background: $table-dark-card-bg !important;
              }
            }
          }
        }
      }
      &.table-dark {
        tbody, .pb_table_tbody {
          tr, .pb_table_tr {
            td, .pb_table_td {
              &:first-child {
                border-top-color: $border_dark !important;
              }
            }
            &:first-child {
              td, .pb_table_td {
                border-top-width: 1px !important;
              }
            }
          }
        }
      }
    }
  }
}

Version data entries

581 entries across 581 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_table/styles/_table-dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_table/styles/_table-dark.scss