feat: add dashboard component (#811)

Fixes: #808
This commit is contained in:
Karan Takalkar
2020-05-30 22:15:29 +05:30
committed by GitHub
parent ca9404213c
commit ab3bef463d
27 changed files with 1025 additions and 13 deletions
@@ -0,0 +1,36 @@
@import "~@angular/material/theming";
@mixin dashboard-component-theme($theme) {
$primary: map-get($theme, primary);
mifosx-dashboard {
.recent-activities, .frequent-activities {
.header {
background-color: mat-color($primary, 500);
color: mat-contrast($primary, 500);
}
}
mifosx-amount-collected-pie,
mifosx-amount-disbursed-pie,
mifosx-client-trends-bar {
.card {
.header {
background-color: mat-color($primary, 500);
color: mat-contrast($primary, 500);
mat-label,
.mat-select-value,
.mat-select-arrow {
color: mat-contrast($primary, 500);
}
.mat-form-field-underline,
.mat-form-field-ripple {
background-color: mat-contrast($primary, 500);
}
}
}
}
}
}