From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 十二月 2023 21:05:37 +0800 Subject: [PATCH] 2023-12-12 --- src/menu/components/table/edit-table/index.scss | 53 +++++++++++++++++++++++++++++++++-------------------- 1 files changed, 33 insertions(+), 20 deletions(-) diff --git a/src/menu/components/table/edit-table/index.scss b/src/menu/components/table/edit-table/index.scss index f933a19..cfe7fcc 100644 --- a/src/menu/components/table/edit-table/index.scss +++ b/src/menu/components/table/edit-table/index.scss @@ -1,4 +1,4 @@ -.menu-normal-table-edit-box { +.menu-editable-table-edit-box { position: relative; box-sizing: border-box; background: #ffffff; @@ -6,14 +6,11 @@ background-repeat: no-repeat; background-size: cover; min-height: 100px; - + .model-table-search-list { padding: 10px 0px 15px; min-height: 65px; border-bottom: 1px solid #f0f0f0; - >.anticon-question-circle { - display: none; - } .page-card { background: transparent; } @@ -34,7 +31,30 @@ } } .model-table-search-list.length0 { - display: none; + min-height: 10px; + border-bottom: 0; + >.quickly-add { + right: unset; + left: -8px; + bottom: 0; + } + >.ant-row { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + min-height: 10px; + .common-drawarea-placeholder { + display: none; + } + } + >.ant-switch { + display: none; + } + } + .model-table-search-list.length0 + .length0 { + margin-top: -25px; } .anticon-tool { position: absolute; @@ -47,21 +67,14 @@ background: rgba(255, 255, 255, 0.55); } .model-menu-action-list { - line-height: 55px; + line-height: 40px; padding: 0px; - min-height: 55px; >.ant-row { - min-height: 30px; + padding-top: 10px; + min-height: 55px; } - } - .card-add-button { - text-align: right; - clear: left; - .anticon-plus { - font-size: 20px; - color: #26C281; - padding: 5px; - margin-right: 10px; + button { + min-width: 60px; } } @@ -69,12 +82,12 @@ padding: 0; } } -.menu-normal-table-edit-box::after { +.menu-editable-table-edit-box::after { display: block; content: ' '; clear: both; } -.menu-normal-table-edit-box:hover { +.menu-editable-table-edit-box:hover { z-index: 1; box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0