From a354807bea3273ac66bfa716769ddf65f8d129c7 Mon Sep 17 00:00:00 2001 From: Leonhard Gruenschloss Date: Mon, 16 Jan 2023 14:23:52 +1100 Subject: [PATCH] Revert "[batch][UI] revert table row background colors to gray/white (#12191)" This reverts commit 168e76c309cdc95ea7012e8af9a9895f0f22393c. --- web_common/web_common/styles/main.scss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/web_common/web_common/styles/main.scss b/web_common/web_common/styles/main.scss index 6094c726312..d2aa08ba0c7 100644 --- a/web_common/web_common/styles/main.scss +++ b/web_common/web_common/styles/main.scss @@ -238,8 +238,23 @@ a { } tr { - &:nth-of-type(even) { - background-color: #f0f0f0; + &:nth-of-type(7n+1) { + background-color: #fff4f4; + } + &:nth-of-type(7n+2) { + background-color: #fff9f1; + } + &:nth-of-type(7n+3) { + background-color: #fdfdf1; + } + &:nth-of-type(7n+4) { + background-color: #f4fff4; + } + &:nth-of-type(7n+5) { + background-color: #f2f4ff; + } + &:nth-of-type(7n+6) { + background-color: #fff6ff; } td.data-table-bad {