From a29d9d644a2a30e9ef4afcc6d728c20c218dc359 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 15 六月 2023 14:25:28 +0800 Subject: [PATCH] 2023-06-15 --- src/menu/components/table/base-table/columns/index.scss | 44 ++++++++++++++++++++++++++++++-------------- 1 files changed, 30 insertions(+), 14 deletions(-) diff --git a/src/menu/components/table/base-table/columns/index.scss b/src/menu/components/table/base-table/columns/index.scss index 3d4835c..45da4dc 100644 --- a/src/menu/components/table/base-table/columns/index.scss +++ b/src/menu/components/table/base-table/columns/index.scss @@ -5,10 +5,18 @@ --mk-table-font-size: 14px; --mk-table-font-weight: normal; + .ant-table-wrapper + .ant-table-wrapper { + margin-top: 10px; + } .ant-table { color: inherit; font-size: inherit; font-weight: inherit; + } + .ant-table-selection-column { + width: 60px; + min-width: 60px; + max-width: 60px; } .ant-table-body { overflow-x: auto; @@ -26,11 +34,6 @@ color: purple; font-size: 12px; } - } - } - .action-column { - .card-detail-row:empty { - min-height: 40px; } } tr:hover td { @@ -72,35 +75,48 @@ >.anticon-copy { color: #26C281; } - >.anticon-delete { - color: #ff4d4f; - } - >.anticon-file-sync { - color: #1890ff; - } >div >.profile { color: purple; + } + .quickly-add { + display: inline-block; + margin-right: 15px; + .ant-btn { + background-color: transparent; + color: #1890ff; + border: none; + box-shadow: none !important; + height: 18px; + padding: 0px; + } } } .ant-table-small > .ant-table-content > .ant-table-body { margin: 0; } + .ant-table-small > .ant-table-content .ant-table-thead > tr > th { + background-color: #fafafa!important; + } + .ant-table-small.ant-table-bordered { + border-right: 1px solid #e8e8e8; + } - table, tr, th, td { + table, tr, th, td, .ant-table-small { border-color: var(--mk-table-border-color)!important; } table tr { th .ant-table-column-title { - // color: var(--mk-table-color)!important; font-size: var(--mk-table-font-size)!important; font-weight: var(--mk-table-font-weight)!important; } td { - color: var(--mk-table-color)!important; font-size: var(--mk-table-font-size)!important; font-weight: var(--mk-table-font-weight)!important; } } + table tbody tr { + color: var(--mk-table-color); + } } .normal-table-columns.false { .ant-pagination { -- Gitblit v1.8.0