From 851c032cfaa1f38fda84598bc5e790b89727436e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 23 Mar 2024 19:57:49 +0100 Subject: [PATCH] vulnerabilities.cgi: Use CSS to colour the table Signed-off-by: Michael Tremer --- html/html/themes/ipfire/include/css/style.css | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 45cd572a8..0d58edd1f 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -1,5 +1,4 @@ :root { -<<<<<<< HEAD --color-green : #339933; --color-green-invert : #ffffff; --color-red : #993333; @@ -18,14 +17,6 @@ --color-primary : #ff2e52; --color-primary-invert : #ffffff; --color-text : #363636; -======= - --color-green : #339933; - --color-green-invert : #ffffff; - --color-red : #993333; - --color-red-invert : #ffffff; - --color-grey : #d6d6d6; - --color-light-grey : #f0f0f0; ->>>>>>> 17ed2e345 (CSS: Automatically stripe all tables) } /* This controls the width of the fixed width layouts */ @@ -499,27 +490,18 @@ table.form tr.action td form { font-weight: bold; } -<<<<<<< HEAD .tbl .status.is-running, .tbl .status.is-connected { -======= -.tbl .status.is-running { ->>>>>>> 7b19c1312 (web: Create a function to show the service status) background-color: var(--color-green); color: var(--color-green-invert); } -<<<<<<< HEAD .tbl .status.is-stopped, .tbl .status.is-disconnected { -======= -.tbl .status.is-stopped { ->>>>>>> 7b19c1312 (web: Create a function to show the service status) background-color: var(--color-red); color: var(--color-red-invert); width: 33%; } -<<<<<<< HEAD .tbl .status.is-connecting { background-color: var(--color-orange); color: var(--color-orange-invert); @@ -591,6 +573,8 @@ table.form tr.action td form { ======= >>>>>>> 7b19c1312 (web: Create a function to show the service status) +======= +>>>>>>> 1829cd5c9 (vulnerabilities.cgi: Use CSS to colour the table) table.fw-nat tbody tr td { height: 2.25em; } -- 2.39.5