From 26d0fa42ea8c63a87e8ef93d0915f75f46fb1f9c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 24 三月 2022 11:09:53 +0800 Subject: [PATCH] 2022-03-24 --- src/menu/components/table/normal-table/columns/index.scss | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git a/src/menu/components/table/normal-table/columns/index.scss b/src/menu/components/table/normal-table/columns/index.scss index 41f4111..0261f7d 100644 --- a/src/menu/components/table/normal-table/columns/index.scss +++ b/src/menu/components/table/normal-table/columns/index.scss @@ -1,5 +1,9 @@ .normal-table-columns { position: relative; + .ant-table { + color: inherit; + font-size: inherit; + } .ant-table-body { overflow-x: auto; tr { @@ -54,13 +58,16 @@ z-index: 2; right: 0; top: -25px; - >i, >div > i { + >.anticon, >div > .anticon { font-size: 16px; margin-right: 10px; cursor: pointer; } >.anticon-copy { color: #26C281; + } + >.anticon-delete { + color: #ff4d4f; } >.anticon-file-sync { color: #1890ff; @@ -89,3 +96,29 @@ border-radius: 0; } } + +.normal-table-columns.ghost { + .ant-table-thead > tr { + > th { + color: inherit; + background: transparent; + .ant-table-column-sorter .ant-table-column-sorter-inner { + color: inherit; + } + } + > th:hover { + background: transparent; + } + } + .ant-table-body { + overflow-x: auto; + tr { + td { + background: transparent; + } + } + tr:hover td { + background: transparent!important; + } + } +} -- Gitblit v1.8.0