From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 24 一月 2025 11:10:32 +0800 Subject: [PATCH] 2025-01-24 --- src/tabviews/custom/components/group/normal-group/index.scss | 138 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 138 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/group/normal-group/index.scss b/src/tabviews/custom/components/group/normal-group/index.scss index b2d17ce..a67276f 100644 --- a/src/tabviews/custom/components/group/normal-group/index.scss +++ b/src/tabviews/custom/components/group/normal-group/index.scss @@ -1,5 +1,143 @@ +.normal-group-wrap { + .group-header { + position: relative; + height: 45px; + padding-right: 8px; + border-bottom: 1px solid #e8e8e8; + overflow: hidden; + letter-spacing: 0px; + line-height: 45px; + box-sizing: content-box; + + .title { + text-decoration: inherit; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + float: left; + line-height: inherit; + margin-left: 10px; + position: relative; + z-index: 1; + } + } + + .mk-control { + display: none; + position: absolute; + top: 0px; + right: 0px; + z-index: 2; + background: #ffffff; + box-shadow: 0px 0px 2px #d8d8d8; + transition: all 0.2s; + + .anticon { + padding: 5px; + cursor: pointer; + } + } +} + .normal-group-wrap::after { content: ' '; display: block; clear: both; +} + +.normal-group-wrap.flex { + >.ant-row { + display: flex; + >.ant-col { + flex: 1; + max-width: unset; + width: 5%; + } + } +} + +.mk-merge-able { + transition: all 0.2s; + + .normal-group-wrap { + position: relative; + transition: all 0.2s; + } + .mk-control { + display: inline-block; + + .anticon-double-left { + display: inline-block; + } + .anticon-double-right { + display: none; + } + } +} + +.mk-merge-able.close { + width: 25px; + .normal-group-wrap { + width: 0px; + margin: 0px!important; + border-width: 0px!important; + box-shadow: none!important; + } + .mk-control { + display: inline-block; + right: -24px; + + .anticon-double-left { + display: none; + } + .anticon-double-right { + display: inline-block; + } + } +} + +.mk-merge-able + .ant-col, +.mk-merge-able + .ant-col + .ant-col, +.mk-merge-able + .ant-col + .ant-col + .ant-col, +.mk-merge-able + .ant-col + .ant-col + .ant-col + .ant-col, +.mk-merge-able + .ant-col + .ant-col + .ant-col + .ant-col + .ant-col { + transition: all 0.2s; +} + +.mk-merge-able.close + .ant-col { + width: calc(100% - 25px); +} + +.mk-merge-able.close.mk-ctrl-2 + .ant-col + .ant-col { + width: calc(100% - 25px); +} + +.mk-merge-able.close.mk-ctrl-3 + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-3 + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); +} + +.mk-merge-able.close.mk-ctrl-4 + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-4 + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-4 + .ant-col + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); +} + +.mk-merge-able.close.mk-ctrl-5 + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-5 + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-5 + .ant-col + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); +} +.mk-merge-able.close.mk-ctrl-5 + .ant-col + .ant-col + .ant-col + .ant-col + .ant-col { + width: calc(100% - 25px); } \ No newline at end of file -- Gitblit v1.8.0