From a9b02f6862522b54d0824152017bf2acfec2af7b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 三月 2024 10:29:50 +0800 Subject: [PATCH] 2024-03-21 --- src/tabviews/custom/components/card/data-card/index.scss | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 44 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/card/data-card/index.scss b/src/tabviews/custom/components/card/data-card/index.scss index 34a81cf..e26e385 100644 --- a/src/tabviews/custom/components/card/data-card/index.scss +++ b/src/tabviews/custom/components/card/data-card/index.scss @@ -6,6 +6,23 @@ min-height: 20px; overflow-y: auto; + .pickup-wrap { + float: right; + button { + margin-top: 3px; + } + } + .pickup-wrap + div { + clear: both; + } + .button-list + .pickup-wrap { + position: relative; + button { + position: absolute; + bottom: 0; + right: 0; + } + } .data-zoom { display: flex; position: relative; @@ -21,8 +38,15 @@ } } } - .mk-parity-bg { + .mk-even-line { .card-item-box { + background-color: #fafafa; + } + } + } + .data-zoom.mk-hover { + .mk-card { + .card-item-box:hover { background-color: var(--mk-sys-color1); } } @@ -39,6 +63,7 @@ } .card-row-list { flex: 10; + max-width: 100%; } .card-row-list.flex-layout { display: flex; @@ -104,7 +129,6 @@ } .ant-empty { - width: 100%; min-height: 100px; padding-top: 15px; @@ -159,6 +183,7 @@ display: none; width: 16px; height: 16px; + min-width: 16px; border: 1px solid #cccccc; border-radius: 50%; box-sizing: content-box; @@ -233,6 +258,23 @@ } } } +.custom-data-card-box.shifting { + .normal-header:not(.header-search) + .toolbar-button { + position: absolute; + top: 0px; + right: 0px; + z-index: 1; + button { + margin-bottom: 0px!important; + } + } + .normal-header:not(.header-search) + .toolbar-button + .pickup-wrap{ + position: relative; + button { + position: relative; + } + } +} .custom-data-card-box::-webkit-scrollbar { width: 7px; height: 7px; -- Gitblit v1.8.0