Sha256: 5b6bc32efc2dba1001e9ef3f8b204bf56c1508e19a049b2e34405558e02d62c6

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

$transition-speed: 0.2s;

table {
  &.table-sm,
  &.table-md,
  &.table-lg {
    &:not(.no-hover) {
      border-collapse: separate;

      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

2 entries across 2 versions & 1 rubygems

Version Path
nitro_sg-3.0.2 sass-mixins/nitro-ui/tables/_hover.scss
nitro_sg-3.0.1 sass-mixins/nitro-ui/tables/_hover.scss