ui enhancements

This commit is contained in:
annampak 2018-01-10 14:09:42 +02:00
parent 05dab7f674
commit 9789ebe3eb
3 changed files with 13 additions and 5 deletions

View File

@ -28,4 +28,12 @@
mat-row:hover { mat-row:hover {
background-color: lightgray; background-color: lightgray;
} }
// mat-row:nth-child(even){
// background-color:red;
// }
mat-row:nth-child(odd){
background-color: #f1f1f1;
}

View File

@ -53,7 +53,7 @@
<mat-progress-bar [style.height.px]="2" *ngIf="filteringOrganisationsAsync" mode="indeterminate"></mat-progress-bar> <mat-progress-bar [style.height.px]="2" *ngIf="filteringOrganisationsAsync" mode="indeterminate"></mat-progress-bar>
</td-chips> </td-chips>
<td-chips color="accent" [items]="filteredResearchers" formControlName="researchers" placeholder="{{'DMP-EDITOR.FIELDS.RESEARCHERS' | translate}}" <td-chips style ="margin-bottom:25px;" color="accent" [items]="filteredResearchers" formControlName="researchers" placeholder="{{'DMP-EDITOR.FIELDS.RESEARCHERS' | translate}}"
(inputChange)="filterResearchers($event)" requireMatch> (inputChange)="filterResearchers($event)" requireMatch>
<ng-template td-chip let-chip="chip"> <ng-template td-chip let-chip="chip">
<div class="tc-grey-100 bgc-teal-700" td-chip-avatar>{{chip.name.substring(0, 1).toUpperCase()}}</div> <div class="tc-grey-100 bgc-teal-700" td-chip-avatar>{{chip.name.substring(0, 1).toUpperCase()}}</div>

View File

@ -7,7 +7,7 @@
title={{dashboardStatisticsData.totalProjectCount}} title={{dashboardStatisticsData.totalProjectCount}}
headerIcon="list" headerIcon="list"
category="Projects" category="Projects"
footContent="open projects" footContent="Open Projects"
routelLink= '/projects' routelLink= '/projects'
footerIcon="open_in_new" footerIcon="open_in_new"
linearColor="linear-gradient(60deg, #ffa726, #fb8c00)" linearColor="linear-gradient(60deg, #ffa726, #fb8c00)"
@ -19,7 +19,7 @@
title={{dashboardStatisticsData.totalDataManagementPlanCount}} title={{dashboardStatisticsData.totalDataManagementPlanCount}}
headerIcon="mode_edit" headerIcon="mode_edit"
category="DMPs" category="DMPs"
footContent="open DMPs" footContent="Open DMPs"
routelLink= '/dmps' routelLink= '/dmps'
footerIcon="open_in_new" footerIcon="open_in_new"
linearColor="linear-gradient(60deg, #ef5350, #e53935)" linearColor="linear-gradient(60deg, #ef5350, #e53935)"
@ -31,7 +31,7 @@
title={{dashboardStatisticsData.totalDataSetCount}} title={{dashboardStatisticsData.totalDataSetCount}}
headerIcon="subject" headerIcon="subject"
category="Datasets" category="Datasets"
footContent="open datasets" footContent="Open Datasets"
routelLink= '/datasets' routelLink= '/datasets'
footerIcon="open_in_new" footerIcon="open_in_new"
linearColor="linear-gradient(60deg, #26c6da, #00acc1)" linearColor="linear-gradient(60deg, #26c6da, #00acc1)"