Browse Source
Feature/add hover to table (#760)
* Add hover
* Update changelog
pull/762/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
14 additions and
8 deletions
-
CHANGELOG.md
-
apps/client/src/styles/table.scss
|
|
@ -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 |
|
|
|
|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|