| | |
| | | /*背景色*/ |
| | | 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"] { |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | |
| | | z-index: 1100!important; |
| | | } |
| | | |
| | | .ant-select-dropdown { |
| | | z-index: 1090!important; |
| | | } |
| | | |
| | | // 确认提示框高度 |
| | | .ant-modal.ant-modal-confirm { |
| | | top: 38vh; |
| | | } |
| | | } |
| | | |
| | | .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-tooltip { |
| | | z-index: 1090!important; |
| | | .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); |
| | | } |
| | | } |