From b677e7c208fde56af7a815ac2b8da78e3d1dd0e0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 30 Dec 2024 13:40:06 +0100 Subject: [PATCH] Fix the visuals of the box for users awaiting approval Fixes #6141 --- wcfsetup/install/files/acp/style/layout.scss | 32 +++++++++++++++++++ .../usersAwaitingApprovalAcpDashboardBox.tpl | 31 +++++++++++++----- ...sAwaitingApprovalAcpDashboardBox.class.php | 3 +- 3 files changed, 57 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/acp/style/layout.scss b/wcfsetup/install/files/acp/style/layout.scss index 271489b8bb..c00154d51b 100644 --- a/wcfsetup/install/files/acp/style/layout.scss +++ b/wcfsetup/install/files/acp/style/layout.scss @@ -1040,3 +1040,35 @@ html[data-color-scheme="dark"] { margin-top: 20px; text-align: center; } + +.acpDashboardBox__usersAwaitingApproval { + display: flex; + flex-direction: column; + row-gap: 10px; +} + +.acpDashboardBox__usersAwaitingApproval__user { + position: relative; +} + +.acpDashboardBox__usersAwaitingApproval__avatar { + align-content: center; +} + +.acpDashboardBox__usersAwaitingApproval__content { + display: flex; + flex-direction: column; +} + +.acpDashboardBox__usersAwaitingApproval__link::after { + content: ""; + inset: 0; + position: absolute; +} + +.acpDashboardBox__usersAwaitingApproval__meta { + color: var(--wcfContentDimmedText); + margin-top: -5px; + + @include wcfFontSmall; +} diff --git a/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl b/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl index a2e51c4484..76e1ceea37 100644 --- a/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl +++ b/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl @@ -1,14 +1,29 @@ -