From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/menu/components/table/normal-table/columns/index.scss | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 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 582a76b..f376b55 100644 --- a/src/menu/components/table/normal-table/columns/index.scss +++ b/src/menu/components/table/normal-table/columns/index.scss @@ -1,8 +1,11 @@ .normal-table-columns { position: relative; + .ant-table { + color: inherit; + font-size: inherit; + } .ant-table-body { overflow-x: auto; - padding-bottom: 20px; tr { td { background: #ffffff; @@ -63,12 +66,18 @@ >.anticon-copy { color: #26C281; } + >.anticon-delete { + color: #ff4d4f; + } >.anticon-file-sync { color: #1890ff; } >div >.profile { color: purple; } + } + .ant-table-small > .ant-table-content > .ant-table-body { + margin: 0; } } .normal-table-columns.false { @@ -87,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