Browse Source

Add hover

pull/760/head
Thomas 3 years ago
parent
commit
e924df5968
  1. 19
      apps/client/src/styles/table.scss

19
apps/client/src/styles/table.scss

@ -10,21 +10,26 @@
} }
.mat-row { .mat-row {
&:hover {
background-color: rgba(var(--palette-foreground-base), 0.05) !important;
}
&:nth-child(even) { &:nth-child(even) {
background-color: rgba( background-color: rgba(var(--palette-foreground-base), 0.02);
var(--palette-foreground-base),
var(--palette-background-hover-alpha)
);
} }
} }
@if $darkTheme { @if $darkTheme {
.mat-row { .mat-row {
&:nth-child(even) { &:hover {
background-color: rgba( background-color: rgba(
var(--palette-foreground-base-dark), var(--palette-foreground-base-dark),
var(--palette-background-hover-alpha) 0.05
); ) !important;
}
&:nth-child(even) {
background-color: rgba(var(--palette-foreground-base-dark), 0.02);
} }
} }
} }

Loading…
Cancel
Save