From f0602b981659c6d1ff18e8dba4ca1ce89c5f5610 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 22 三月 2020 21:18:34 +0800 Subject: [PATCH] 2020-03-22 --- src/assets/css/main.scss | 109 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 94 insertions(+), 15 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 37432da..e02d81b 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -34,10 +34,25 @@ /*鑳屾櫙鑹�*/ html, body { width: 100%; - font-size: 10px; + font-size: 14px; } #root { height: 100%; +} + +html::-webkit-scrollbar { + width: 8px; +} +html::-webkit-scrollbar-thumb { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + border-radius: 5px; +} +html::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + border-radius: 3px; } input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] { @@ -85,6 +100,22 @@ z-index: 1080; } +// 閲嶇疆绌挎妗嗘粴鍔ㄦ潯 +.ant-transfer-list-content::-webkit-scrollbar { + width: 7px; +} +.ant-transfer-list-content::-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); +} +.ant-transfer-list-content::-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); + background: rgba(0, 0, 0, 0); +} + // 閲嶇疆鏃堕棿鎻掍欢鏃堕棿婊氬姩鏉� .ant-calendar-time-picker-select:hover::-webkit-scrollbar { width: 7px; @@ -100,6 +131,22 @@ border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } +// 閲嶇疆妯℃�佹婊氬姩鏉� +.ant-modal-wrap::-webkit-scrollbar { + width: 7px; +} +.ant-modal-wrap::-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); +} +.ant-modal-wrap::-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); + background: rgba(0, 0, 0, 0); +} + .ant-modal-mask { z-index: 1080!important; } @@ -120,26 +167,58 @@ z-index: 1100!important; } +.ant-select-dropdown { + z-index: 1090!important; +} + // 纭鎻愮ず妗嗛珮搴� .ant-modal.ant-modal-confirm { top: 38vh; } -// 鑷畾涔夋ā鎬佹鎸夐挳璁剧疆 -.edit-modal-footer{ - padding: 10px 16px; - text-align: right; - background: transparent; - border-top: 1px solid #e8e8e8; - border-radius: 0 0 4px 4px; - margin-left: -24px; - margin-right: -24px; - margin-bottom: -20px; - .ant-btn { - margin-right: 7px; +.ant-popover { + z-index: 1090!important; +} + +.ant-notification-notice.notification-custom-error { + background: #f5222d; + .anticon.ant-notification-notice-icon-error { + color: #ffffff; + } + .ant-notification-notice-message { + color: #ffffff; + } + .ant-notification-close-icon { + color: #ffffff; } } -.ant-popover { +// 閲嶇疆鎻愮ず妗� +.ant-tooltip { z-index: 1090!important; -} \ No newline at end of file + .ant-tooltip-inner { + letter-spacing: 1px; + } +} +.ant-tooltip.middle { + max-width: 320px!important; +} + +// 鍏宠仈閫夋嫨 +.ant-cascader-menus { + z-index: 1090!important; + .ant-cascader-menu::-webkit-scrollbar { + width: 7px; + } + .ant-cascader-menu::-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); + } + .ant-cascader-menu::-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); + background: rgba(0, 0, 0, 0); + } +} -- Gitblit v1.8.0