From ce95e555d56c7d85689fb4084c3106fb52ebf7e0 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 20 Mar 2026 21:20:55 -0400 Subject: [PATCH] CSS class migrations: admin views and boot overlay fade-out - Replace style.display with .is-hidden classList in ApiKeysView, CustomFieldsView, RecurringTicketsView - Convert boot overlay fade-out from style.opacity to .boot-overlay--fade-out CSS class - Add .boot-overlay--fade-out rule to dashboard.css Co-Authored-By: Claude Sonnet 4.6 --- assets/css/dashboard.css | 1 + views/DashboardView.php | 2 +- views/admin/ApiKeysView.php | 4 ++-- views/admin/CustomFieldsView.php | 4 ++-- views/admin/RecurringTicketsView.php | 8 ++++---- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/css/dashboard.css b/assets/css/dashboard.css index 0a6cfed..a947949 100644 --- a/assets/css/dashboard.css +++ b/assets/css/dashboard.css @@ -2725,6 +2725,7 @@ input[type="checkbox"]:checked { justify-content: center; transition: opacity 0.5s; } +.boot-overlay--fade-out { opacity: 0; } #boot-text { font-family: var(--font-mono); diff --git a/views/DashboardView.php b/views/DashboardView.php index 41c5727..fd42bbe 100644 --- a/views/DashboardView.php +++ b/views/DashboardView.php @@ -63,7 +63,7 @@ $nonce = SecurityHeadersMiddleware::getNonce(); i++; } else { setTimeout(() => { - bootOverlay.style.opacity = '0'; + bootOverlay.classList.add('boot-overlay--fade-out'); setTimeout(() => bootOverlay.remove(), 500); }, 500); clearInterval(interval); diff --git a/views/admin/ApiKeysView.php b/views/admin/ApiKeysView.php index 0e3a2e1..7ea4933 100644 --- a/views/admin/ApiKeysView.php +++ b/views/admin/ApiKeysView.php @@ -66,7 +66,7 @@ $nonce = SecurityHeadersMiddleware::getNonce(); -