ui: firewall: Fix styling with Bootstrap 5

- Drop unnecessary code. Bootstrap does not style a:hover or table roes like
before.

- Use default table color variables from Bootstrap to work well with dark mode.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-12-12 09:06:07 -08:00 committed by Veiko Aasa
parent 2aa9f72ea1
commit 132d577a8a
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -2,13 +2,9 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
*/
a.dropdown-toggle {
text-decoration: none;
color: black;
}
a.dropdown-toggle:hover {
.app-name > a.dropdown-toggle {
text-decoration: none;
color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
}
td.service {
@ -23,7 +19,3 @@ td.service {
.service-status {
width: 11rem;
}
tr.collapse {
background-color: #f9f9f9;
}