On DMP Overview change the color of the finalized Datasets
This commit is contained in:
parent
ef6e3b8d7c
commit
4b879eb339
|
@ -92,7 +92,7 @@
|
|||
<div *ngFor="let dataset of dmp.datasets">
|
||||
<a class="row dataset" [routerLink]="isPublicView ? ['/datasets/publicOverview/' + dataset.id] : ['/datasets/overview/' + dataset.id]" target="_blank">
|
||||
<button mat-raised-button class="mb-2 mr-2 pl-0 pr-0">
|
||||
<div matTooltip="{{ dataset.label }}" class="col-auto dataset-btn">
|
||||
<div matTooltip="{{ dataset.label }}" class="col-auto" [ngClass]="{'dataset-btn': dataset.status === 0, 'dataset-finalized-btn': dataset.status === 1}">
|
||||
<div class="dataset-btn-label">{{ dataset.label }}</div>
|
||||
<mat-icon>launch</mat-icon>
|
||||
</div>
|
||||
|
|
|
@ -52,6 +52,15 @@
|
|||
// opacity: 0.8;
|
||||
}
|
||||
|
||||
.dataset-finalized-btn {
|
||||
width: 36.1em;
|
||||
padding: 0 1.1em;
|
||||
background-color: #b2f772;
|
||||
border-radius: 4px;
|
||||
justify-content: space-between;
|
||||
color: #212121;
|
||||
// opacity: 0.8;
|
||||
}
|
||||
.show-more-btn {
|
||||
width: 31.6em;
|
||||
padding: 0 1em;
|
||||
|
@ -284,6 +293,7 @@
|
|||
|
||||
.dmp-label,
|
||||
.dataset-btn,
|
||||
.dataset-finalized-btn,
|
||||
.add-dataset-btn,
|
||||
.doi-panel,
|
||||
.researcher {
|
||||
|
|
Loading…
Reference in New Issue