From 127c5e58d70bfdf81283059e2d5e0850bd2244b7 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Thu, 1 Aug 2024 08:31:32 +0200 Subject: [PATCH] Fix filtered stripped tables --- view-webapp/src/main/sass/main.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/view-webapp/src/main/sass/main.scss b/view-webapp/src/main/sass/main.scss index 0fded2a..4b67d03 100644 --- a/view-webapp/src/main/sass/main.scss +++ b/view-webapp/src/main/sass/main.scss @@ -281,8 +281,13 @@ vertical-align: baseline; } - .ui.striped.table>tbody>tr:nth-child(2n),.ui.striped.table>tr:nth-child(2n) { - background-color: rgba(0,0,50,.1) + .ui.striped.table > tbody > tr:nth-child(2n), .ui.striped.table > tr:nth-child(2n) { + background-color: inherit; + //background-color: rgba(0,0,50,.1) + } + + .ui.striped.table > tbody > tr:nth-child(2n of :not(.filtered)), .ui.striped.table > tr:nth-child(2n of :not(.filtered)) { + background-color: rgba(0, 0, 50, 0.1); } .form-actions {