From 4ce77c01c1adcbd1b3cb2aa5b7103a827d189811 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 06 二月 2025 20:53:22 +0800 Subject: [PATCH] Merge branch 'develop' --- src/views/menudesign/index.scss | 91 ++++++++++++++++++++++----------------------- 1 files changed, 45 insertions(+), 46 deletions(-) diff --git a/src/views/menudesign/index.scss b/src/views/menudesign/index.scss index 5521e68..29669ce 100644 --- a/src/views/menudesign/index.scss +++ b/src/views/menudesign/index.scss @@ -183,42 +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; - } - .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; } } } @@ -253,17 +264,5 @@ .ant-table-thead > tr > th { background: transparent!important; border-radius: 0!important; - } -} - -@media screen and (max-width: 1500px) { - .mk-opeartion-list .ant-btn { - min-width: 65px; - .anticon { - display: none; - } - .anticon + span { - margin-left: 0px; - } } } \ No newline at end of file -- Gitblit v1.8.0