From 9b8b0cd2547f1a990c87d452b5575a35285d576e Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 1 Jan 2025 14:40:08 -0800 Subject: [PATCH] ui: Fix missing variables in Bootstrap 5.2/Debian stable - Most notable of the problems is the missing hover color on cards. Tests: - Cards have a gray hover color. - Forms with errors have input boxes with red borders and help text with red color. - Select all button in created backup has a border. - UI is consistent across stable and testing for tested cases. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index ddedfa723..9559e1fa7 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -8,6 +8,12 @@ --progress-color: #3498db; /* Blue */ --freedombox-form-disabled-bg-color: #e9ecef; /* Grey */ --freedombox-navbar-color: white; + + /* Missing variables in Bootstrap 5.2 copied from Bootstrap 5.3 */ + --bs-secondary-bg: #e9ecef; + --bs-form-invalid-color: #dc3545; + --bs-form-invalid-border-color: #dc3545; + --bs-secondary-border-subtle: #c4c8cb; } @font-face {