From 0a775d67b17400de3bbac4767d5ea25e6f0d14f9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 06 二月 2023 15:15:00 +0800 Subject: [PATCH] 2023-02-06 --- src/menu/components/card/cardcellcomponent/dragaction/index.scss | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 98 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/dragaction/index.scss b/src/menu/components/card/cardcellcomponent/dragaction/index.scss index f91a5bf..a101adb 100644 --- a/src/menu/components/card/cardcellcomponent/dragaction/index.scss +++ b/src/menu/components/card/cardcellcomponent/dragaction/index.scss @@ -1,4 +1,49 @@ .card-detail-row { + line-height: 1.5; + .ant-mk-text { + font-style: inherit; + font-weight: inherit; + text-decoration: inherit; + } + .ant-mk-text:not(.line1):not(.line) { + word-break: break-word; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + } + .line1 { + overflow: hidden; + word-break: break-word; + white-space: nowrap; + text-overflow: ellipsis; + } + .line2 { + -webkit-line-clamp: 2; + } + .line3 { + -webkit-line-clamp: 3; + } + .line4 { + -webkit-line-clamp: 4; + } + .line5 { + -webkit-line-clamp: 5; + } + .line6 { + -webkit-line-clamp: 6; + } + .line7 { + -webkit-line-clamp: 7; + } + .line8 { + -webkit-line-clamp: 8; + } + .line9 { + -webkit-line-clamp: 9; + } + .line10 { + -webkit-line-clamp: 10; + } .ant-mk-slider { box-sizing: border-box; margin: 0; @@ -43,11 +88,63 @@ } } .ant-mk-splitline { - height: 1px; + border-top: 1px solid; + border-bottom: 0; + border-left: 0; + border-right: 0; + } + .ant-mk-check { + white-space: nowrap; + overflow: hidden; + word-break: break-word; + text-overflow: ellipsis; + font-weight: inherit; + font-style: inherit; + .ant-checkbox-wrapper { + font-weight: inherit; + font-size: inherit; + font-style: inherit; + color: inherit; + span { + font-weight: inherit; + } + } } .ant-mk-picture { background-size: cover; background-position: center center; background-repeat: no-repeat; } + .ant-mk-icon { + vertical-align: top; + line-height: inherit; + color: inherit; + } + .ant-switch-large { + min-width: 60px; + height: 30px; + line-height: 28px; + + .ant-switch-inner { + margin-right: 5px; + margin-left: 30px; + font-size: 16px; + } + } + .ant-switch-large.ant-switch-checked { + .ant-switch-inner { + margin-right: 30px; + margin-left: 5px; + } + } + .ant-switch-large::after { + width: 26px; + height: 26px; + } + + .card-cell > div { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + } } \ No newline at end of file -- Gitblit v1.8.0