From 537da9df6a543f2050ad898fa0001f1ab947e746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= <14975046+skjnldsv@users.noreply.github.com> Date: Wed, 2 Dec 2026 08:49:54 +0100 Subject: [PATCH] refactor: use inline SVG icons on error and guest pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 403, 404, 418, profile not found and attendance updated pages used generated icon-* classes from icons.css. Draw the icons as inline MDI SVGs filled with currentColor instead, so they follow the guest box text color in light and dark themes. Sizes match the old icons. The maintenance page icon never rendered (icons.css is not loaded there), so drop it. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com> --- apps/dav/templates/schedule-response-success.php | 2 +- apps/profile/templates/404-profile.php | 2 +- core/css/guest.scss | 11 +++++------ core/templates/403.php | 2 +- core/templates/404.php | 2 +- core/templates/418.php | 2 +- core/templates/update.user.php | 1 - 7 files changed, 10 insertions(+), 12 deletions(-) diff --git a/apps/dav/templates/schedule-response-success.php b/apps/dav/templates/schedule-response-success.php index 4651b9ea96446..b481e5a257d11 100644 --- a/apps/dav/templates/schedule-response-success.php +++ b/apps/dav/templates/schedule-response-success.php @@ -6,6 +6,6 @@ */ ?>
t('The profile does not exist or is unavailable.')); ?>
diff --git a/core/css/guest.scss b/core/css/guest.scss index a8fa622c4bcae..c188b680978a6 100644 --- a/core/css/guest.scss +++ b/core/css/guest.scss @@ -687,6 +687,11 @@ form #selectDbType { /* Errors */ /* Warnings and errors are the same */ +.guest-icon { + display: block; + margin-inline: auto; +} + .body-login-container { display: flex; flex-direction: column; @@ -699,12 +704,6 @@ form #selectDbType { -ms-user-select: text; user-select: text; - /* TODO: Change all .warning/.update/.error to .body-login-container */ - .icon-big { - background-size: 70px; - height: 70px; - } - form { width: initial; } diff --git a/core/templates/403.php b/core/templates/403.php index dc34c8d854ffb..6b31b2b68d8ac 100644 --- a/core/templates/403.php +++ b/core/templates/403.php @@ -15,7 +15,7 @@ // @codeCoverageIgnoreEnd ?>