Sha256: bbd43fb5b8ba81c482cabba7cc97543473d04d5adbc949c91f9b94ad7881b75d

Contents?: true

Size: 1.94 KB

Versions: 291

Compression:

Stored size: 1.94 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: 0;
            transition: all $transition-speed ease; 
          }
          @media (hover:hover) { 
            td {
              position: relative;
              &:after {
                transition: background-color $transition-speed ease, height $transition-speed ease;
                content: "";
                position: absolute;
                display: block;
                top: -1px;
                left: 0;
                right: 0;
                height: 0;
                background-color: transparent;
              }
              &:first-child:after {
                left: -1px;
              }
              &:last-child:after {
                right: -1px;
              }
            }
            &:hover {
              box-shadow: 0 2px 10px 0 rgba($slate, $opacity-6);
              td {
                border-color: darken($border_light, 10%);
                border-top-width: 0;
                border-top-color: transparent;
                &:after {
                  transition: background-color $transition-speed ease, height $transition-speed ease;
                  background-color: darken($border_light, 10%);
                  height: 1px;
                }
              }
            }
          }
        }
      }
      &.table-card {
        border-collapse: separate;
        tbody {
          tr {
            td {
              &:first-child {
                border-left-width: 1px;
              }
              &:last-child {
                border-right-width: 1px;
              }
            }
          }
        }
      }
    }
  }
}

Version data entries

291 entries across 291 versions & 1 rubygems

Version Path
playbook_ui-13.11.1 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.11.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.webpackerregistercomponents1463 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.dependabotnpmandyarnfortawesomefontawesomepro6421439 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play10561428 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play1054tableheadersortconsolidation1416 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play10561409 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21358 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play10481357 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play845addswiftkitspage1332 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY978alphatesthighcharts41330 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21328 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21323 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0.pre.alpha.play978makehighchartsadevdependencypoc1322 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.10.0 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.9.0.pre.alpha.play978makehighchartsadevdependencypoc1292 app/pb_kits/playbook/pb_table/styles/_hover.scss
playbook_ui-13.9.0.pre.alpha.verdaccioregistry1277 app/pb_kits/playbook/pb_table/styles/_hover.scss