Sha256: b073f81eefd86c5853ac2658abcf8ceced852c9a6c3edc282d07f563cc47d3cb

Contents?: true

Size: 1.56 KB

Versions: 313

Compression:

Stored size: 1.56 KB

Contents

@import "../../tokens/opacity";

$transition-speed: 0.2s;

[class^=pb_table] {
  &.table-sm,
  &.table-md,
  &.table-lg {
    &:not(.no-hover) {
      border-collapse: collapse;
      tbody {
        tr {
          box-shadow: 0 0 0 $white;
          transition: box-shadow $transition-speed ease;

          td {
            border-top-color: transparent;
            border-top-width: 1px !important;
            transition: all $transition-speed ease;
          }

          @media (hover:hover) {
            &:hover {
              box-shadow: 0 2px 10px 0 rgba($slate, $opacity-6);

              td {
                background: $white;
                border-color: darken($border_light, 10%);
                border-top-width: 1px;
                border-top-color: transparent;
              }
            }
          }
        }
      }
      &.as-cards {
        tbody {
          tr {
            td {
              border-top-color: $border_light;
              border-top-width: 1px;
            }
            @media (hover:hover) {
              &:hover {
                td {
                  border-top-width: 1px;
                  border-top-color: $border_light;
                }
              }
            }
          }
        }
      }
      &.table-card {
        border-collapse: separate;
        tbody {
          tr {
            td {
              &:first-child {
                border-left-width: 1px;
              }
              &:last-child {
                border-right-width: 1px;
              }
            }
          }
        }
      }
    }
  }
}

Version data entries

313 entries across 313 versions & 1 rubygems

Version Path
playbook_ui-11.17.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.16.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.15.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.14.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.13.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.12.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.12.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_table/styles/_hover.scss