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