Sha256: b11cf15b5766119ca7f7b48265204efbdcab41f60efc9ad15645d19f6f116887

Contents?: true

Size: 1.44 KB

Versions: 108

Compression:

Stored size: 1.44 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;
          }

          &: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;
            }

            &: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

108 entries across 108 versions & 1 rubygems

Version Path
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.10.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.9.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.8.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.8.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.7.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.7.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.6.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.6.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.5.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.5.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.5.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.4.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.4.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.3.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.3.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.2.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-4.1.2 app/pb_kits/playbook/pb_table/styles/_hover.scss