Feature/add hover to table (#760)

* Add hover

* Update changelog
pull/762/head
Thomas Kaul 3 years ago committed by GitHub
parent eb0444603b
commit 30411b1502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Added
- Added a hover effect to the table style
### Fixed ### Fixed
- Fixed an issue with the user currency of the public page - Fixed an issue with the user currency of the public page

@ -11,20 +11,22 @@
.mat-row { .mat-row {
&: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)
); &:hover {
background-color: rgba(var(--palette-foreground-base), 0.05);
} }
} }
@if $darkTheme { @if $darkTheme {
.mat-row { .mat-row {
&:nth-child(even) { &:nth-child(even) {
background-color: rgba( background-color: rgba(var(--palette-foreground-base-dark), 0.02);
var(--palette-foreground-base-dark), }
var(--palette-background-hover-alpha)
); &:hover {
background-color: rgba(var(--palette-foreground-base-dark), 0.05);
} }
} }
} }

Loading…
Cancel
Save