CoreFiles by mySites.guru
_table-row.scss30 lines, 647 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
60382810086bb5f2cf98791bd45ee1b6
sha1
bfd12c4b673669b82de8f0a0cf977a837ab0df22
sha256
3f08d337452b0e4a945c02effb986253eb3253b06908f48c707d95c5f4620caa
// Tables

@mixin table-row-variant($state, $background) {
  // Exact selectors below required to override `.table-striped` and prevent
  // inheritance to nested tables.
  .table-#{$state} {
    &,
    > th,
    > td {
      background-color: $background;
    }
  }

  // Hover states for `.table-hover`
  // Note: this is not available for cells or rows within `thead` or `tfoot`.
  .table-hover {
    $hover-background: darken($background, 5%);

    .table-#{$state} {
      @include hover {
        background-color: $hover-background;

        > td,
        > th {
          background-color: $hover-background;
        }
      }
    }
  }
}

The same content is in 4 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha6. See them all, or every version of this file.