Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add hover to table (#760)

Thomas Kaul30411b150266
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 46f78f8eca..803f39c442 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### Added
+
+- Added a hover effect to the table style
+
### Fixed
- Fixed an issue with the user currency of the public page
diff --git a/apps/client/src/styles/table.scss b/apps/client/src/styles/table.scss
index 49fcd6df06..8131c3dadf 100644
--- a/apps/client/src/styles/table.scss
+++ b/apps/client/src/styles/table.scss
@@ -11,20 +11,22 @@
.mat-row {
&:nth-child(even) {
- background-color: rgba(
- var(--palette-foreground-base),
- var(--palette-background-hover-alpha)
- );
+ background-color: rgba(var(--palette-foreground-base), 0.02);
+ }
+
+ &:hover {
+ background-color: rgba(var(--palette-foreground-base), 0.05);
}
}
@if $darkTheme {
.mat-row {
&:nth-child(even) {
- background-color: rgba(
- var(--palette-foreground-base-dark),
- var(--palette-background-hover-alpha)
- );
+ background-color: rgba(var(--palette-foreground-base-dark), 0.02);
+ }
+
+ &:hover {
+ background-color: rgba(var(--palette-foreground-base-dark), 0.05);
}
}
}