mirror of https://github.com/ghostfolio/ghostfolio
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.
33 lines
641 B
33 lines
641 B
@mixin gf-table($darkTheme: false) {
|
|
background: transparent !important;
|
|
|
|
.mat-footer-row,
|
|
.mat-row {
|
|
.mat-cell,
|
|
.mat-footer-cell {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.mat-row {
|
|
&:nth-child(even) {
|
|
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), 0.02);
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba(var(--palette-foreground-base-dark), 0.05);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|