Graphs and tables for your Spotify account.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
647 B

  1. // Tables
  2. @mixin table-row-variant($state, $background) {
  3. // Exact selectors below required to override `.table-striped` and prevent
  4. // inheritance to nested tables.
  5. .table-#{$state} {
  6. &,
  7. > th,
  8. > td {
  9. background-color: $background;
  10. }
  11. }
  12. // Hover states for `.table-hover`
  13. // Note: this is not available for cells or rows within `thead` or `tfoot`.
  14. .table-hover {
  15. $hover-background: darken($background, 5%);
  16. .table-#{$state} {
  17. @include hover {
  18. background-color: $hover-background;
  19. > td,
  20. > th {
  21. background-color: $hover-background;
  22. }
  23. }
  24. }
  25. }
  26. }