From a4ef35bb323b5f8300f15a4eb604d61ff39a194a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 17 十二月 2020 17:35:39 +0800 Subject: [PATCH] 2020-12-17 --- src/tabviews/custom/components/card/data-card/index.scss | 25 +++++++++++++++++++++++-- 1 files changed, 23 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 5d1f123..72029b8 100644 --- a/src/tabviews/custom/components/card/data-card/index.scss +++ b/src/tabviews/custom/components/card/data-card/index.scss @@ -18,6 +18,26 @@ display: flex; position: relative; } + .data-zoom.radio, .data-zoom.checkbox { + .card-row-list { + >.ant-col:not(.active):not(.selected):hover { + >.card-item-box { + border-color: #69c0ff!important; + box-shadow: 0 0 4px #69c0ff!important; + } + } + } + } + .data-zoom.true { + .card-row-list { + >.ant-col:hover { + >.card-item-box { + z-index: 1; + transform: scale(1.1); + } + } + } + } .prev-page { width: 20px; div { @@ -50,16 +70,17 @@ flex: 10; .card-item-box { + position: relative; background-color: #ffffff; transition: all 0.3s; } >.active >.card-item-box { border-color: #1890ff!important; - box-shadow: 0 0 3px #1890ff; + box-shadow: 0 0 4px #1890ff; } >.selected >.card-item-box { border-color: #69c0ff!important; - box-shadow: 0 0 1px #69c0ff; + box-shadow: 0 0 4px #69c0ff; } } .card-item-box { -- Gitblit v1.8.0