From ca97fe7d1ac203ad945b214de370e794fd3cf733 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 05 二月 2025 15:12:20 +0800 Subject: [PATCH] 2025-02-05 --- src/views/menudesign/index.scss | 96 ++++++++++++++++++++++------------------------- 1 files changed, 45 insertions(+), 51 deletions(-) diff --git a/src/views/menudesign/index.scss b/src/views/menudesign/index.scss index 5f94984..29669ce 100644 --- a/src/views/menudesign/index.scss +++ b/src/views/menudesign/index.scss @@ -183,59 +183,53 @@ overflow-y: auto; transition: all 0.3s; - > .ant-card { - >.ant-card-head { - margin-bottom: 0px; - position: sticky; - top: 0px; - z-index: 10; - background: #ffffff; - .ant-card-head-title { - color: #1890ff; - padding: 5px 0; - } - .ant-card-extra { - padding: 5px 0; - button { - margin-left: 10px; - } - .mk-opeartion-list { - button:not(.ant-switch):not(:last-child):not(:nth-last-child(2)) { - padding: 0px 10px; - } - .mk-button-more { - display: inline-block; - height: 32px; - border: 1px solid #26C281; - color: #26C281; - line-height: 32px; - padding: 0 10px 0px 20px; - border-radius: 4px; - cursor: pointer; - vertical-align: top; - margin-left: 10px; - .anticon-down { - margin-left: 3px; - } - } - } - .ant-switch.big { - min-width: 60px; - height: 28px; - line-height: 28px; - margin-top: -2px; - .ant-switch-inner { - font-size: 14px; - } - } - .ant-switch.big:after { - width: 24px; - height: 24px; - } + .mk-opeartion-list { + position: sticky; + top: 0px; + left: 0px; + right: 0px; + text-align: right; + padding: 5px 10px 8px; + background: #ffffff; + border-bottom: 1px solid #e8e8e8; + height: 45px; + white-space: nowrap; + overflow: hidden; + z-index: 10; + + button { + margin-left: 15px; + } + button:not(.ant-switch):not(:last-child):not(:nth-last-child(2)) { + padding: 0px 10px; + } + .mk-button-more { + display: inline-block; + height: 32px; + border: 1px solid #26C281; + color: #26C281; + line-height: 32px; + padding: 0 10px 0px 20px; + border-radius: 4px; + cursor: pointer; + vertical-align: top; + margin-left: 10px; + .anticon-down { + margin-left: 3px; } } - >.ant-card-body { - padding: 0px; + .ant-switch.big { + min-width: 60px; + height: 28px; + line-height: 28px; + margin-top: -2px; + .ant-switch-inner { + font-size: 14px; + } + } + .ant-switch.big:after { + width: 24px; + height: 24px; } } } -- Gitblit v1.8.0