From afb39f8ab004b2607bb718edab02e99c7a010114 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 三月 2023 14:36:44 +0800 Subject: [PATCH] 2023-03-22 --- src/tabviews/custom/components/table/edit-table/normalTable/index.scss | 48 ++++++++++++++++++++++++++++++++++++------------ 1 files changed, 36 insertions(+), 12 deletions(-) diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss index dcfc772..6d3798c 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.scss +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.scss @@ -2,6 +2,10 @@ position: relative; min-height: 150px; padding: 0px; + --mk-table-border-color: #e8e8e8; + --mk-table-color: rgba(0, 0, 0, 0.65); + --mk-table-font-size: 14px; + --mk-table-font-weight: normal; .normal-table-footer { padding: 10px 0px; @@ -24,6 +28,7 @@ bottom: 2px; right: 5px; opacity: 0.7; + font-size: 14px; } table { @@ -67,16 +72,7 @@ // vertical-align: top; .card-cell-list { - color: rgba(0, 0, 0, 0.85); - } - .ant-mk-picture { - position: relative; - background-position: center center; - background-size: cover; - margin: 2px; - } - .ant-mk-picture.scale { - cursor: zoom-in; + color: inherit; } .action-col { .ant-btn > .anticon + span { @@ -151,7 +147,7 @@ left: 0px; right: 0px; bottom: 0px; - border: 1px solid var(--antd-wave-shadow-color); + border: 1px solid var(--mk-sys-color); height: auto; border-radius: 0; box-shadow: none!important; @@ -191,7 +187,7 @@ left: 0px; right: 0px; bottom: 0px; - border: 1px solid var(--antd-wave-shadow-color); + border: 1px solid var(--mk-sys-color); } } .anticon-exclamation-circle { @@ -204,6 +200,7 @@ .editing_all_table_cell { .ant-input { border-radius: 0; + padding: 4px 5px; } .ant-select { width: 100%; @@ -219,6 +216,7 @@ } .ant-input-number-input { border-radius: 0; + padding: 4px 5px; } } .anticon-exclamation-circle { @@ -288,6 +286,27 @@ margin-top: 10px!important; margin-right: 10px!important; } + + table, tr, th, td { + border-color: var(--mk-table-border-color)!important; + } + table tr { + th .ant-table-column-title, th .ant-table-column-title span:not(.anticon) { + font-size: var(--mk-table-font-size)!important; + font-weight: var(--mk-table-font-weight)!important; + } + td { + font-size: var(--mk-table-font-size)!important; + font-weight: var(--mk-table-font-weight)!important; + + >span, >div:not(.card-cell-list) div, >div:not(.card-cell-list) span { + font-weight: var(--mk-table-font-weight)!important; + } + } + } + table tbody tr { + color: var(--mk-table-color); + } } .edit-custom-table.buoyMode { .ant-table-scroll { @@ -299,6 +318,11 @@ } } } +.edit-custom-table.mk-edit-multi { + th .ant-table-column-title .anticon-edit { + display: none; + } +} .edit-custom-table.editable { td { background-color: #ffffff!important; -- Gitblit v1.8.0