mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
firewall.cgi: Fix messy table striping
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
--color-blue-invert : #ffffff;
|
||||
--color-orange : #ff9933;
|
||||
--color-orange-invert : #ffffff;
|
||||
--color-yellow : #ffd700;
|
||||
--color-yellow-invert : #ffffff;
|
||||
--color-black : #363636;
|
||||
--color-black-invert : #ffffff;
|
||||
--color-grey : #d6d6d6;
|
||||
@@ -390,6 +392,21 @@ table.form tr.action td form {
|
||||
background-color: var(--color-light-grey);
|
||||
}
|
||||
|
||||
/*
|
||||
Classes to overwrite the automatic colouring
|
||||
*/
|
||||
.tbl tr.is-odd td {
|
||||
background-color: var(--color-grey);
|
||||
}
|
||||
|
||||
.tbl tr.is-even td {
|
||||
background-color: var(--color-light-grey);
|
||||
}
|
||||
|
||||
.tbl tr.is-warning td {
|
||||
background-color: var(--color-yellow);
|
||||
}
|
||||
|
||||
.tbl th:first-child {
|
||||
border-left: 1px solid #363636;
|
||||
border-top: 1px solid #363636;
|
||||
|
||||
Reference in New Issue
Block a user