From ec552a0595bc4d63ce53dfd740bb275a9762eba8 Mon Sep 17 00:00:00 2001 From: GaelleA Date: Mon, 29 Jan 2024 11:28:05 -0500 Subject: [PATCH 1/2] fix(style): SKFP-926 fixed column color --- src/style/themes/kids-first/antd/tables.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/style/themes/kids-first/antd/tables.less b/src/style/themes/kids-first/antd/tables.less index faba7fcb4..dd7f373df 100644 --- a/src/style/themes/kids-first/antd/tables.less +++ b/src/style/themes/kids-first/antd/tables.less @@ -62,3 +62,13 @@ } } } + +.ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected) td { + background-color: #f8fafc; +} +.ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected) td.ant-table-column-sort { + background-color: #f1f5f9; +} +.ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected):hover td { + background-color: #f1f5f9; +} From d00b898ff3670656e9e152919e9f826ccea0af80 Mon Sep 17 00:00:00 2001 From: GaelleA Date: Mon, 29 Jan 2024 15:54:29 -0500 Subject: [PATCH 2/2] fix(style): SKFP-926 use variable --- src/style/themes/kids-first/antd/tables.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/style/themes/kids-first/antd/tables.less b/src/style/themes/kids-first/antd/tables.less index dd7f373df..73a0d5e89 100644 --- a/src/style/themes/kids-first/antd/tables.less +++ b/src/style/themes/kids-first/antd/tables.less @@ -64,11 +64,11 @@ } .ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected) td { - background-color: #f8fafc; + background-color: @gray-2; } .ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected) td.ant-table-column-sort { - background-color: #f1f5f9; + background-color: @gray-3; } .ant-table-tbody > tr:nth-child(even):not(.ant-table-row-selected):hover td { - background-color: #f1f5f9; + background-color: @gray-3; }