From 6f817bf3ae4e6f51f982c07b0713adb3caf9fac2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 02 二月 2023 17:14:16 +0800 Subject: [PATCH] 2023-02-02 --- src/tabviews/custom/components/table/edit-table/normalTable/index.scss | 58 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 46 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 f9fc71d..25f0089 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 { @@ -287,6 +285,27 @@ border-width: 0; 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 { @@ -415,4 +434,19 @@ margin-top: 0px!important; margin-bottom: 0px!important; } +} +.edit-custom-table-leftbtn-wrap { + float: left; + line-height: 45px; + .submit-table { + position: relative; + z-index: 2; + min-height: 28px; + height: auto; + color: #ffffff; + background-color: #1890ff; + border-width: 0; + margin-top: 0px; + margin-bottom: 0px; + } } \ No newline at end of file -- Gitblit v1.8.0