From d59f518f466274b2caeb2e01c10c92deafe7c93b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 09 二月 2022 11:48:29 +0800 Subject: [PATCH] 2022-02-09 --- src/menu/components/table/normal-table/index.scss | 94 ++++++++++++++++++++-------------------------- 1 files changed, 41 insertions(+), 53 deletions(-) diff --git a/src/menu/components/table/normal-table/index.scss b/src/menu/components/table/normal-table/index.scss index 88da58c..f933a19 100644 --- a/src/menu/components/table/normal-table/index.scss +++ b/src/menu/components/table/normal-table/index.scss @@ -1,4 +1,4 @@ -.menu-table-card-edit-box { +.menu-normal-table-edit-box { position: relative; box-sizing: border-box; background: #ffffff; @@ -7,36 +7,38 @@ 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; + >.anticon-question-circle { + display: none; + } + .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 { + display: none; } .anticon-tool { position: absolute; - z-index: 1; + z-index: 2; font-size: 16px; right: 1px; top: 1px; @@ -44,31 +46,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,12 +64,17 @@ margin-right: 10px; } } + + .ant-btn.mk-link { + padding: 0; + } } -.menu-table-card-edit-box::after { +.menu-normal-table-edit-box::after { display: block; content: ' '; clear: both; } -.menu-table-card-edit-box:hover { - box-shadow: 0px 0px 2px #e8e8e8; +.menu-normal-table-edit-box:hover { + z-index: 1; + box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0