From 048234009d669468be1b6b10bcd7a6277a02b04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Sedl=C3=A1k?= Date: Wed, 14 Oct 2026 22:59:33 +0200 Subject: [PATCH] Revert "Ensure modals have proper z-index to be interactive\n\nCo-Authored-By: Claude Code " This reverts commit f3235bc31aedb42190b6700bbcfe049565aab8e2. --- Web/css/modern.css | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Web/css/modern.css b/Web/css/modern.css index b13ca30..a4917d6 100644 --- a/Web/css/modern.css +++ b/Web/css/modern.css @@ -29,14 +29,22 @@ a:hover, .btn:hover, .nav-link:hover { opacity: 0.85; } -/* Ensure modals are on top and not clipped */ -.modal { - z-index: 1055 !important; -} -.modal-backdrop { - z-index: 1050 !important; +/* Ensure action buttons have white text for visibility */ +.btn-primary, +.btn-danger, +.btn-warning, +.btn-success, +.btn-info, +.btn-secondary { + color: var(--text-light) !important; } +/* Override specific actions (update password, upload directory, rename) to have black text */ +.btn-primary, +.btn-warning, +.btn-info { + color: #212529 !important; +} .dark-box { background: rgba(0,0,0,0.6);