Skip to content

Commit

Permalink
Update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccollum-woolpert committed Jul 12, 2024
1 parent f6743bb commit 2aee895
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ kpis.shipmentKpis.demands[1].selected | number }} {{ kpis.shipmentKpis.demands[1].type }}
</div>
<div class="metric-box-value" *ngIf="kpis.shipmentKpis.demands?.length > 2">
<a (click)="showAllKpis()">View more</a>
<a (click)="showAllKpis()">View more...</a>
</div>
</div>
<div class="metric-box">
Expand All @@ -29,7 +29,7 @@
{{ kpis.vehicleKpis.capacities[1].type }}
</div>
<div class="metric-box-value" *ngIf="kpis.vehicleKpis.capacities?.length > 2">
<a (click)="showAllKpis()">View more</a>
<a (click)="showAllKpis()">View more...</a>
</div>
</div>
<div class="metric-box">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="title" mat-dialog-title>
<div class="m-0 mr-6">Total Scenario Load Demands</div>
<button mat-icon-button type="button" title="Cancel" matDialogClose="">
<button mat-icon-button type="button" title="Cancel" class="close-button" matDialogClose="">
<mat-icon svgIcon="clear"></mat-icon>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,22 @@
text-align: left;
}

table {
border-spacing: 20px 0;
margin-left: -20px;
margin-right: -20px;
}

.close-button {
margin-top: -1rem;
margin-right: -1rem;
}

.title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 18px;
font-size: 16px;
line-height: 24px;
font-weight: 400;
letter-spacing: 0.15px;
Expand All @@ -17,10 +28,11 @@

.kpi-title {
font-weight: 400;
font-size: 16px;
font-size: 12px;
line-height: 24px;

padding-right: 35px;
margin-right: 20px;

&:last-child {
padding-right: 0;
Expand Down
6 changes: 3 additions & 3 deletions application/frontend/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ app-post-solve-map-legend .legend-panel mat-checkbox label .mat-checkbox-label {
background-color: #f3f8ff;
border-radius: 5px;
padding: 5px 20px;
text-align: center;
text-align: left;
flex: 1;
border: 1px solid #d5dee5;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
Expand All @@ -980,13 +980,13 @@ app-post-solve-map-legend .legend-panel mat-checkbox label .mat-checkbox-label {
.metric-box-title {
color: #5f6368;
font-weight: 300;
font-size: 14px;
font-size: 12px;
}

.metric-box-value {
color: $blue;
font-weight: 500;
font-size: 16px;
font-size: 14px;
line-height: 24px;
}

Expand Down

0 comments on commit 2aee895

Please sign in to comment.