-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Styling aligned with figma in FF overview page (#1677)
- Loading branch information
Showing
6 changed files
with
40 additions
and
27 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
.../common-section-card-overview-details/common-section-card-overview-details.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ | |
color: var(--dark-grey); | ||
} | ||
|
||
.chip{ | ||
.chip { | ||
margin-right: 5px; | ||
height: 24px; | ||
} | ||
} |
24 changes: 10 additions & 14 deletions
24
...mponents/common-section-card-title-header/common-section-card-title-header.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
<div class="title-header"> | ||
<h1 class="title ft-26-700"> | ||
{{ title | translate }} <span *ngIf="tableRowCount > 0"> | ||
({{ tableRowCount }}) | ||
</span> | ||
<h1 class="title ft-18-700"> | ||
{{ title | translate }} <span *ngIf="tableRowCount > 0"> ({{ tableRowCount }}) </span> | ||
<ng-container *ngIf="chipClass"> | ||
<app-common-status-indicator-chip class="status-chip" [chipClass] = "chipClass" ></app-common-status-indicator-chip> | ||
<app-common-status-indicator-chip class="status-chip" [chipClass]="chipClass"></app-common-status-indicator-chip> | ||
</ng-container> | ||
</h1> | ||
<h3 class="subtitle ft-16-400"> | ||
<h3 class="subtitle ft-14-400"> | ||
<ng-container *ngIf="subtitle"> | ||
{{ subtitle | translate }} | ||
</ng-container> | ||
<ng-container *ngIf="createdAt && updatedAt"> | ||
<span class="ft-16-600 segment-create-date"> | ||
{{ ('home.view-experiment.created-on.text' | translate) + (createdAt | formatDate: 'medium date') + ' | '}} | ||
<span class="ft-14-400 date"> | ||
{{ ('home.view-experiment.created-on.text' | translate) + (createdAt | formatDate: 'medium date') + ' | ' }} | ||
</span> | ||
<span class="ft-16-600 segment-update-date"> | ||
{{ | ||
('home.view-experiment.last-updated-on.text' | translate) + (updatedAt | formatDate: 'short date') | ||
}} | ||
<span class="ft-14-400 date"> | ||
{{ ('home.view-experiment.last-updated-on.text' | translate) + (updatedAt | formatDate: 'short date') }} | ||
</span> | ||
</ng-container> | ||
<ng-container *ngIf="showViewLogs"> | ||
<a [href]="" class="view-logs-link" (click)="viewLogsClicked()"> View logs</a> | ||
<a [href]="" class="view-logs-link ft-14-400" (click)="viewLogsClicked()"> View logs</a> | ||
</ng-container> | ||
</h3> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
...onents/common-tabbed-section-card-footer/common-tabbed-section-card-footer.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
<div class="tabbed-footer"> | ||
<div> | ||
<mat-tab-group | ||
mat-stretch-tabs="false" | ||
mat-align-tabs="start" | ||
animationDuration="0ms" | ||
(selectedTabChange)="onSelectedTabChange($event)" | ||
> | ||
<mat-tab class="footer-tab" *ngFor="let label of tabLabels" [label]="label"></mat-tab> | ||
<mat-tab *ngFor="let label of tabLabels"> | ||
<ng-template mat-tab-label> | ||
<span class="ft-18-600"> | ||
{{ label }} | ||
</span> | ||
</ng-template> | ||
</mat-tab> | ||
</mat-tab-group> | ||
</div> |