From 25bf481493bcf18fca79e4d250f9c91dedf832e5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 四月 2024 15:15:58 +0800 Subject: [PATCH] 2024-04-02 --- src/tabviews/custom/components/share/normalTable/index.scss | 94 +++++++++++++++++++---------------------------- 1 files changed, 38 insertions(+), 56 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.scss b/src/tabviews/custom/components/share/normalTable/index.scss index 1a1123c..805be57 100644 --- a/src/tabviews/custom/components/share/normalTable/index.scss +++ b/src/tabviews/custom/components/share/normalTable/index.scss @@ -13,7 +13,9 @@ top: -22px; z-index: 2; } - + .ant-table-placeholder { + border-top-color: var(--mk-table-border-color); + } .normal-table-footer { padding: 10px 0px; color: rgba(0, 0, 0, 0.65); @@ -29,6 +31,14 @@ .ant-table { color: inherit; font-size: inherit; + } + + .clickable { + color: var(--mk-sys-color); + cursor: pointer; + } + .clickable:hover { + text-decoration: underline; } .mk-disabled { @@ -114,68 +124,35 @@ display: none; } } - .action-col { - .ant-btn > .anticon + span { - margin-left: 3px; - } - button { - border: 0; - background-color: transparent; - color: #1890ff; - box-shadow: none; - padding: 0 5px; - .anticon-loading { - display: none; - } - } - > div { - margin: 0 3px; - } - > button { - margin: 0 3px; - } - .ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) { - padding-left: 0px; - } - } } .ant-table-tbody > tr > td[rowspan] { vertical-align: middle; } - .ant-table-tbody > tr > td.ant-table-column-has-actions { - .content { - position: relative; - z-index: 1; - word-wrap: break-word; - word-break: break-word; - } - } + // .ant-table-tbody > tr > td.ant-table-column-has-actions { + // .content { + // position: relative; + // z-index: 1; + // word-wrap: break-word; + // word-break: break-word; + // } + // } .ant-table-tbody > tr > td { position: relative; - .link-menu { - position: absolute; - top: 0px; - left: 0px; - right: 0px; - bottom: 0px; - opacity: 0; - cursor: pointer; - } } - .ant-table-tbody > tr > td .content { - p { - margin-bottom: 2px; - } - span { - display: inline-block; - margin-right: 5px; - } - } - .ant-table-tbody > tr > td .button { - .ant-btn { - margin-bottom: 10px; - } - } + // .ant-table-tbody > tr > td .content { + // p { + // margin-bottom: 2px; + // } + // span { + // display: inline-block; + // margin-right: 5px; + // } + // } + // .ant-table-tbody > tr > td .button { + // .ant-btn { + // margin-bottom: 10px; + // } + // } } } // .ant-table-body::-webkit-scrollbar { @@ -232,6 +209,11 @@ color: var(--mk-table-color); } } +.normal-custom-table.mk-parity { + .ant-table-tbody tr:nth-child(even) { + background: #fafafa; + } +} .normal-custom-table:not(.ghost) { .ant-table-small > .ant-table-content .ant-table-thead > tr > th { background-color: #fafafa!important; -- Gitblit v1.8.0