From c96108bd84050feb01b47db3f5cae96670fda435 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 30 十月 2024 12:54:24 +0800 Subject: [PATCH] 2024-10-30 --- src/tabviews/custom/components/share/normalTable/index.scss | 33 +++++++-------------------------- 1 files changed, 7 insertions(+), 26 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.scss b/src/tabviews/custom/components/share/normalTable/index.scss index f53051a..b41bf8b 100644 --- a/src/tabviews/custom/components/share/normalTable/index.scss +++ b/src/tabviews/custom/components/share/normalTable/index.scss @@ -24,9 +24,8 @@ position: absolute; bottom: 10px; } - >.ant-table-wrapper { + .ant-table-wrapper { position: relative; - z-index: 1; } .ant-table { color: inherit; @@ -155,21 +154,6 @@ // } } } - // .ant-table-body::-webkit-scrollbar { - // width: 8px; - // height: 10px; - // } - // ::-webkit-scrollbar-thumb { - // border-radius: 5px; - // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); - // background: rgba(0, 0, 0, 0.13); - // } - // ::-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/ - // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - // border-radius: 3px; - // border: 1px solid rgba(0, 0, 0, 0.07); - // background: rgba(0, 0, 0, 0); - // } .fix-header { .ant-table-body { min-height: unset @@ -209,12 +193,17 @@ 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; } } -.normal-custom-table:not(.fixed-height) { +.normal-custom-table:not(.fixed-table-height) { .ant-table-body::-webkit-scrollbar { width: 8px; height: 10px; @@ -229,14 +218,6 @@ border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); - } -} -.normal-custom-table.fixed-height { - .ant-table-body { - border-bottom: 1px solid rgba(0, 0, 0, .05); - .ant-table-fixed { - border-bottom: 0; - } } } .normal-custom-table.hidden { -- Gitblit v1.8.0