From 3b103caa6bfc9ed410e67156c3ca1785bf1cecc9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 19 八月 2022 01:15:31 +0800 Subject: [PATCH] 2022-08-19 --- src/menu/components/table/normal-table/index.scss | 98 ++++++++++++++++++++++++------------------------ 1 files changed, 49 insertions(+), 49 deletions(-) diff --git a/src/menu/components/table/normal-table/index.scss b/src/menu/components/table/normal-table/index.scss index 6ca24a0..b558c2a 100644 --- a/src/menu/components/table/normal-table/index.scss +++ b/src/menu/components/table/normal-table/index.scss @@ -7,36 +7,50 @@ background-size: cover; min-height: 100px; - .table-header { - position: relative; - height: 45px; - overflow: hidden; - padding-right: 35px; - - .table-title { - text-decoration: inherit; - font-weight: inherit; - font-style: inherit; - float: left; - line-height: 45px; - margin-left: 10px; - position: relative; - z-index: 1; + .model-table-search-list { + padding: 10px 0px 15px; + min-height: 65px; + border-bottom: 1px solid #f0f0f0; + .page-card { + background: transparent; + } + .quickly-add { + display: inline-block; + position: absolute; + z-index: 3; + right: 70px; + bottom: 5px; + .ant-btn-block { + background-color: transparent; + color: #1890ff; + border: none; + box-shadow: none !important; + height: 18px; + padding: 0 10px; + } } } - .card-control { - position: absolute; - top: 0px; - left: 0px; - .anticon-tool { - right: auto; - left: 1px; - padding: 1px; + .model-table-search-list.length0 { + min-height: 10px; + border-bottom: 0; + >.quickly-add { + right: unset; + left: -8px; + bottom: 0; } + >.ant-row { + display: none; + } + >.ant-switch { + display: none; + } + } + .model-table-search-list.length0 + .length0 { + margin-top: -25px; } .anticon-tool { position: absolute; - z-index: 1; + z-index: 2; font-size: 16px; right: 1px; top: 1px; @@ -44,31 +58,12 @@ padding: 5px; background: rgba(255, 255, 255, 0.55); } - - .card-item { - overflow-y: hidden; - position: relative; - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - min-height: 20px; - } - - .card-item:hover { - box-shadow: 0px 0px 2px #e8e8e8; - } - - .model-menu-card-cell-list .card-detail-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; - } .model-menu-action-list { - line-height: 40px; - .ant-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; + line-height: 55px; + padding: 0px; + min-height: 55px; + >.ant-row { + min-height: 30px; } } .card-add-button { @@ -81,6 +76,10 @@ margin-right: 10px; } } + + .ant-btn.mk-link { + padding: 0; + } } .menu-normal-table-edit-box::after { display: block; @@ -88,5 +87,6 @@ clear: both; } .menu-normal-table-edit-box:hover { - box-shadow: 0px 0px 2px #e8e8e8; + z-index: 1; + box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0