From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/assets/css/main.scss | 80 +++++++++++++++++++++++++++++++++++----- 1 files changed, 70 insertions(+), 10 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 6deb445..a137096 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -38,6 +38,9 @@ html, body { width: 100%; font-size: 14px; + // .ant-table, .ant-dropdown { + // color: rgba(0, 0, 0, 0.85); + // } } #root { height: 100%; @@ -71,7 +74,7 @@ background-color: unset; color: unset; } -.side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected { +.mk-side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected { background-color: unset; color: unset; } @@ -135,15 +138,15 @@ background: rgba(0, 0, 0, 0); } // 閲嶇疆妯℃�佹婊氬姩鏉� -.ant-modal-wrap::-webkit-scrollbar { +.ant-modal-wrap::-webkit-scrollbar, .ant-drawer-wrapper-body::-webkit-scrollbar { width: 7px; } -.ant-modal-wrap::-webkit-scrollbar-thumb { +.ant-modal-wrap::-webkit-scrollbar-thumb, .ant-drawer-wrapper-body::-webkit-scrollbar-thumb { border-radius: 5px; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); - background: rgba(0, 0, 0, 0.13); + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); + background: rgba(0, 0, 0, 0.1); } -.ant-modal-wrap::-webkit-scrollbar-track { +.ant-modal-wrap::-webkit-scrollbar-track, .ant-drawer-wrapper-body::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.07); @@ -211,6 +214,9 @@ .ant-popover.popover-confirm { z-index: 1080!important; } +.ant-message { + z-index: 1110!important; +} .ant-notification-notice.notification-custom-error { background: #f5222d; @@ -258,7 +264,7 @@ .ant-modal.popview-modal { top: 70px; .ant-modal-body { - min-height: 250px; + min-height: 200px; max-height: calc(100vh - 210px); overflow-y: auto; } @@ -282,7 +288,7 @@ top: 70px; } .ant-modal-body { - min-height: 250px; + min-height: 200px; max-height: calc(100vh - 210px); overflow-y: auto; } @@ -343,7 +349,7 @@ } .mk-popover-control { white-space: nowrap; - i { + i, span.anticon { padding: 5px 8px; cursor: pointer; font-size: 16px; @@ -383,4 +389,58 @@ padding: 5px 20px; } } -} \ No newline at end of file +} + +.ant-input[disabled] { + background-color: #fafafa!important; +} +.ant-btn[disabled] { + background-color: transparent!important; + border-color: rgba(0, 0, 0, 0.35)!important; + color: rgba(0, 0, 0, 0.35)!important; +} +.ant-btn.ant-btn-link { + border-width: 0; +} +.button-list { + .ant-btn.ant-btn-link { + border-width: 1px; + } +} + +.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated { // 鍘婚櫎鍒囨崲鏃剁殑鍔ㄧ敾鏁堟灉 + transition: margin-left 0s cubic-bezier(0.645, 0.045, 0.355, 1)!important; +} + +.ant-progress-line.square { + .ant-progress-inner { + border-radius: 0; + .ant-progress-bg { + border-radius: 0; + } + } +} + +.mk-form-tip { + color: #c49f47; + margin-right: 3px; +} + +div.ant-input-number { + width: 100%; +} + +.ant-progress { + .ant-progress-circle-trail { + stroke: inherit!important; + } + .ant-progress-text { + color: inherit!important; + } +} +// .ant-table.ant-table-mini .ant-table-thead > tr > th { +// padding: 8px 4px; +// } +// .ant-table.ant-table-mini .ant-table-tbody > tr > td { +// padding: 4px 4px; +// } \ No newline at end of file -- Gitblit v1.8.0