| | |
| | | -moz-osx-font-smoothing: grayscale; |
| | | } |
| | | |
| | | |
| | | /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ |
| | | // ::-webkit-scrollbar { |
| | | // width: 0px; |
| | | // height: 0px; |
| | | // background-color: #F5F5F5; |
| | | // } |
| | | |
| | | /*定义滚动条轨道 内阴影+圆角*/ |
| | | // ::-webkit-scrollbar-track { |
| | | // box-shadow: inset 0 0 1px rgba(0,0,0,0); |
| | | // border-radius: 10px; |
| | | // background-color: #F5F5F5; |
| | | // } |
| | | |
| | | |
| | | /*去除虚线*/ |
| | | input:focus, select:focus, textarea:focus, button:focus { |
| | | outline: none; |
| | |
| | | /*ios禁止页面在新窗口打开*/ |
| | | -webkit-touch-callout: none; |
| | | } |
| | | .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected { |
| | | .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item.ant-menu-item-selected { |
| | | background-color: unset; |
| | | color: unset; |
| | | } |
| | | .side-menu.ant-menu-dark .ant-menu-item-selected { |
| | | .side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected { |
| | | background-color: unset; |
| | | color: unset; |
| | | } |
| | | |
| | | // ::-webkit-scrollbar { |
| | | // width: 4px; |
| | | // height: 4px; |
| | | // } |
| | | // ::-webkit-scrollbar-thumb { |
| | | // border-radius: 5px; |
| | | // box-shadow: inset 0 0 5px rgba(0,0,0,0.2); |
| | | // background: rgba(0,0,0,0.2); |
| | | // } |
| | | // ::-webkit-scrollbar-track {/*滚动条里面轨道*/ |
| | | // box-shadow: inset 0 0 5px rgba(0,0,0,0.2); |
| | | // border-radius: 0; |
| | | // background: rgba(0,0,0,0.1); |
| | | // } |
| | | |
| | | // 重置按钮中文字与图标距离 |
| | | .ant-btn > .anticon + span, .ant-btn > span + .anticon { |
| | | margin-left: 5px; |
| | | } |
| | | |
| | | // 设置下拉搜索滚动条样式 |
| | | .ant-select-dropdown-menu::-webkit-scrollbar { |
| | | width: 10px; |
| | | height: 10px; |
| | | } |
| | | .ant-select-dropdown-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-select-dropdown-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); |
| | | } |
| | | |
| | | .ant-message { |
| | | top: 50px; |
| | | z-index: 1080; |
| | | } |