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.
31 lines
572 B
31 lines
572 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),
|
|
var(--palette-background-hover-alpha)
|
|
);
|
|
}
|
|
}
|
|
|
|
@if $darkTheme {
|
|
.mat-row {
|
|
&:nth-child(even) {
|
|
background-color: rgba(
|
|
var(--palette-foreground-base-dark),
|
|
var(--palette-background-hover-alpha)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|