diff --git a/web/src/admin/applications/ApplicationListPage.ts b/web/src/admin/applications/ApplicationListPage.ts index 0e12505ec..5987297fa 100644 --- a/web/src/admin/applications/ApplicationListPage.ts +++ b/web/src/admin/applications/ApplicationListPage.ts @@ -59,6 +59,10 @@ export class ApplicationListPage extends TablePage { PFAvatar, PFCard, css` + :host { + --icon-height: 2rem; + --icon-border: 0.25rem; + } /* Fix alignment issues with images in tables */ .pf-c-table tbody > tr > * { vertical-align: middle; @@ -72,6 +76,14 @@ export class ApplicationListPage extends TablePage { .pf-c-sidebar.pf-m-gutter > .pf-c-sidebar__main > * + * { margin-left: calc(var(--pf-c-sidebar__main--child--MarginLeft) / 2); } + .icon { + font-size: var(--icon-height); + color: var(--ak-global--Color--100); + padding: var(--icon-border); + max-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border)); + line-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border)); + filter: drop-shadow(5px 5px 5px rgba(128, 128, 128, 0.25)); + } `, ); } @@ -129,15 +141,15 @@ export class ApplicationListPage extends TablePage { if (item?.metaIcon) { if (item.metaIcon.startsWith("fa://")) { const icon = item.metaIcon.replaceAll("fa://", ""); - return html``; + return html``; } return html`${msg(`; } - return html``; + return html`${item?.name.charAt(0).toUpperCase()}`; } row(item: Application): TemplateResult[] { diff --git a/web/src/user/LibraryApplication.ts b/web/src/user/LibraryApplication.ts index eff21dbb2..be9e0d2a8 100644 --- a/web/src/user/LibraryApplication.ts +++ b/web/src/user/LibraryApplication.ts @@ -64,6 +64,7 @@ export class LibraryApplication extends AKElement { padding: var(--icon-border); max-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border)); line-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border)); + filter: drop-shadow(5px 5px 5px rgba(128, 128, 128, 0.25)); } .expander { flex-grow: 1; @@ -86,7 +87,7 @@ export class LibraryApplication extends AKElement { return html``; } return html`${msg(`; @@ -121,7 +122,7 @@ export class LibraryApplication extends AKElement { >
- +
${this.application.metaPublisher}