From c221b225032ed2315f046d0d9377d273c036671b Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 30 Sep 2026 18:59:49 +0200 Subject: [PATCH] fix(ui): clarify dialogs, use a red focus ring on error buttons, fix missing icons - The certificate delete dialog no longer lists a proxy restart it does not perform, and its warning mentions the backup. - Confirmation dialogs list actions with a dash instead of a trash icon. - Error buttons get a red focus ring instead of the accent ring. - Use existing icons for the TLS empty state and built-in shared variables. --- resources/css/app.css | 9 +++++++++ resources/views/components/modal-confirmation.blade.php | 6 +++--- .../views/components/shared-variables/editor.blade.php | 2 +- resources/views/livewire/server/proxy.blade.php | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index c501404fdd..112e162152 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -127,6 +127,15 @@ box-shadow: var(--button-depth-hover), 0 0 0 1px var(--color-accent); } +/* Destructive buttons keep a focus indicator in their own red instead of the accent. */ +.button.button-error:not(:disabled):focus-visible { + box-shadow: var(--button-depth), 0 0 0 1px var(--color-red-500); +} + +.button.button-error:not(:disabled):hover:focus-visible { + box-shadow: var(--button-depth-hover), 0 0 0 1px var(--color-red-500); +} + /* Other button-like controls retain the lighter scale feedback. */ .button, .icon-button, diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index d09d64ea7e..d2a9f0475e 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -267,21 +267,21 @@