From d21470fe80e265cda2c355f636c3258eb0f56636 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 五月 2020 18:31:18 +0800 Subject: [PATCH] 2020-05-12 --- src/tabviews/zshare/normalTable/index.scss | 39 ++++++--------------------------------- 1 files changed, 6 insertions(+), 33 deletions(-) diff --git a/src/tabviews/zshare/normalTable/index.scss b/src/tabviews/zshare/normalTable/index.scss index 8678655..a9c6d05 100644 --- a/src/tabviews/zshare/normalTable/index.scss +++ b/src/tabviews/zshare/normalTable/index.scss @@ -18,11 +18,14 @@ min-width: 60px; max-width: 60px; } - .ant-table-tbody > tr.ant-table-row-selected td { + .ant-table-tbody > tr.ant-table-row-selected:not(.background) td { background-color: #c4ebfd; } - .ant-table-tbody > tr.ant-table-row-selected:hover .ant-table-column-sort { + .ant-table-tbody > tr.ant-table-row-selected:not(.background):hover .ant-table-column-sort { background-color: #c4ebfd; + } + .ant-table-tbody > tr.background td { + background-color: unset!important; } } .ant-table-body { @@ -133,7 +136,7 @@ } .ant-table-tbody > tr > td.ant-table-column-has-actions { position: relative; - .background { + .baseboard { position: absolute; top: 0px; left: 0px; @@ -149,36 +152,6 @@ z-index: 1; word-wrap: break-word; word-break: break-word; - } - .red { - .content { - color: red; - } - } - .redbg { - .background { - background: lightcoral; - } - } - .orange { - .content { - color: orange; - } - } - .orangebg { - .background { - background: lightsalmon; - } - } - .green { - .content { - color: green; - } - } - .greenbg { - .background { - background: lightgreen; - } } } .ant-table-tbody > tr > td .content { -- Gitblit v1.8.0