ui: Fix dark theme color for disabled form elements

Tests:

- In network connection editing page, find some form elements that are disabled
and their light mode color is mostly unchanged. In dark mode, it looks
consistent with the rest of the page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2025-12-02 20:17:28 -05:00
1 parent 2ae78daebb
commit 499c6073a1
1 file changed
+1 -2
+1 -2
View File
@@ -6,7 +6,6 @@
--neutral-light-color: #f5f5f5; /* Light grey */
--freedombox-blue-color: #4989D4; /* Blue */
--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 */
@@ -99,7 +98,7 @@ form .alert .close {
/* Disabled form elements show as gray, removed in Bootstrap 5 */
.form-control:disabled, .form-control[readonly] {
background-color: var(--freedombox-form-disabled-bg-color);
background-color: var(--bs-secondary-bg);
opacity: 1;
}