This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor app tile tweaks from Cierra (#553)
* Minor app tile tweaks from Cierra * Fixed text colour and heading height * Remove padding in action-header. Correctly align app status icon within its container
- Loading branch information
1 parent
ebb7abb
commit 6a40fb0
Showing
4 changed files
with
78 additions
and
32 deletions.
There are no files selected for viewing
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
46 changes: 27 additions & 19 deletions
46
src/plugins/cloud-foundry/view/applications/application/summary/summary.scss
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,30 +1,38 @@ | ||
@import "edit-app/edit-app"; | ||
|
||
.application-details .summary .data-body { | ||
padding: $hpe-unit-space * .75 $hpe-unit-space; | ||
|
||
.dl-horizontal > * { | ||
margin-bottom: $hpe-unit-space * .5; | ||
margin-left: auto; | ||
.application-details { | ||
.action-header { | ||
color: $dove-gray2; | ||
font-size: 18px; | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
.summary .data-body { | ||
padding: $hpe-unit-space * .75 $hpe-unit-space; | ||
|
||
.dl-horizontal > * { | ||
margin-bottom: $hpe-unit-space * .5; | ||
margin-left: auto; | ||
} | ||
|
||
dd.nowrap { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
dd.nowrap { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
|
||
&.align-right { | ||
clear: right; | ||
text-align: right; | ||
&.align-right { | ||
clear: right; | ||
text-align: right; | ||
} | ||
} | ||
} | ||
|
||
.app-status-block { | ||
line-height: 0; | ||
.app-status-block { | ||
line-height: 0; | ||
|
||
.app-status { | ||
margin-left: 0; | ||
margin-right: 2px; | ||
.app-status { | ||
margin-left: 0; | ||
margin-right: 2px; | ||
} | ||
} | ||
} | ||
} |
18 changes: 9 additions & 9 deletions
18
...iew/applications/list/gallery-view/application-gallery-card/application-gallery-card.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,16 +1,16 @@ | ||
<gallery-card card-data="applicationGalleryCardCtrl.cardData" | ||
on-card-click="applicationGalleryCardCtrl.goToApp()"> | ||
<dl class="dl-horizontal"> | ||
<dt translate>App State</dt> | ||
<dd class="text-capitalize"> | ||
<dt translate class="app-status-wrapper"> | ||
<app-state-icon state="applicationGalleryCardCtrl.app.state.indicator"></app-state-icon> | ||
{{applicationGalleryCardCtrl.app.state.label | lowercase}} | ||
<app-state-icon class="app-status" state="applicationGalleryCardCtrl.app.state.indicator"></app-state-icon> | ||
</dd> | ||
<dt translate>Instance Quota</dt> | ||
<dd>{{applicationGalleryCardCtrl.app.entity.instances}}</dd> | ||
</dt> | ||
<dd></dd> | ||
<dt translate>Instances</dt> | ||
<dd>{{ applicationGalleryCardCtrl.app.entity.instances }}</dd> | ||
<dt translate>Disk Quota</dt> | ||
<dd>{{applicationGalleryCardCtrl.app.entity.disk_quota}}</dd> | ||
<dt translate>Memory Quota</dt> | ||
<dd>{{applicationGalleryCardCtrl.app.entity.memory}} MB</dd> | ||
<dd>{{ applicationGalleryCardCtrl.app.entity.disk_quota | mbToHumanSize }}</dd> | ||
<dt translate>Memory</dt> | ||
<dd>{{ applicationGalleryCardCtrl.app.entity.memory | mbToHumanSize }}</dd> | ||
</dl> | ||
</gallery-card> |
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