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.4.0.pre.alpha.rubytheme2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.4.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.3.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.7 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.6 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.5 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.4 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.3 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.2.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.1.2 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.1.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-11.1.0 app/pb_kits/playbook/pb_table/styles/_hover.scss