Sha256: bc26dcb9d79d9cb7471b600aa47f1448288240727a83d64653bb214dc0e444c4

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

$transition-speed: 0.2s;

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 $black-opacity-1;

            td {
              background: $white;
              border-color: $sky-dark;
              border-top-width: 1px;
              border-top-color: transparent;
            }
          }
        }
      }
      &.as-cards {
        tbody {
          tr {
            td {
              border-top-color: $sky;
              border-top-width: 1px;
            }

            &:hover {
              td {
                border-top-width: 1px;
                border-top-color: $sky;
              }
            }
          }
        }
      }
      &.table-card {
        tbody {
          tr {
            td {
              &:first-child {
                border-left-width: 1px;
              }
              &:last-child {
                border-right-width: 1px;
              }
            }
          }
        }
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-2.7.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-2.7.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-2.6.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-2.5.0 app/pb_kits/playbook/pb_table/styles/_hover.scss