* { margin: 0; padding: 0; box-sizing: border-box; } html { height: 100%; font-size: 14px; user-select: none; } body { font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif; height: 100%; color: black; } a { text-decoration: none; color: black; outline: none; } i { font-style: normal; } img { max-width: 100%; max-height: 100%; vertical-align: middle; object-fit: cover; } ul { list-style: none; } body { overflow: auto; overflow-y: overlay; } /* 文本域取消下拉 */ textarea { resize: none !important; } /* 主题色 */ :root { --themeColor: #35527D; } /* 找不到页面 */ .noFindPage { opacity: 0; transition: opacity .5s; } /* 兼容360浏览器的下拉框 */ .ant-select-selector { position: relative; background-color: #ffffff; border: 1px solid #d9d9d9; transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } // 重置antd样式 #root { width: 100vw; height: 100vh; min-width: 1600px; min-height: 900px; overflow: auto; overflow-y: overlay; a { color: var(--themeColor); } /* 普通文字按钮的颜色 */ .ant-btn-text { color: #99b8dd; } .ant-btn-text:disabled { cursor: not-allowed; color: rgba(0, 0, 0, 0.25); } /* 按钮的危险颜色 */ .ant-btn-text.ant-btn-dangerous { color: var(--themeColor); } /* antd分页器样式 */ .ant-pagination .ant-pagination-item { border-radius: 50%; border: 1px solid #999; background-color: transparent !important; } .ant-pagination .ant-pagination-item-active { background-color: var(--themeColor) !important; } .ant-pagination .ant-pagination-item-active a { color: #fff !important; } .ant-pagination .ant-pagination-item:hover { background-color: var(--themeColor) !important; } .ant-pagination .ant-pagination-item:hover a { color: #fff !important; } .ant-pagination-prev { border-radius: 50% !important; border: 1px solid #999; } .ant-pagination-prev:hover { background-color: var(--themeColor); } .ant-pagination-prev:hover button { color: #fff; } .ant-pagination-next { border-radius: 50% !important; border: 1px solid #999; } .ant-pagination-next:hover { background-color: var(--themeColor); } .ant-pagination-next:hover button { color: #fff; } .ant-pagination-disabled { border: 1px solid #ccc; } .ant-pagination-disabled:hover { background-color: transparent; } /* 表格的图片居中 */ .tableImgAuto { display: flex; justify-content: center; } /* antd图片预览组件 */ .ant-image { display: none; } /* antd表格居中 */ .ant-table-cell { text-align: center !important; } } [hidden] { display: none !important; } #upInput { display: none; } #upInput2 { display: none; } // 页面标题 .pageTitle{ font-size: 20px; font-weight: 700; position: relative; padding-left: 40px; height: 50px; line-height: 50px; background-color: #fff; border-radius: 10px; &::before { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); content: ''; width: 6px; height: 20px; background-color: var(--themeColor); } } // 滚动条 .mySorrl::-webkit-scrollbar { /*滚动条整体样式*/ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px; } .mySorrl::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px transparent; background: var(--themeColor); } .mySorrl::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px transparent; border-radius: 10px; background: transparent; } .myCoverBox{ pointer-events: none; position: absolute; bottom: 0; left: 0; width: 100%; z-index: 10; background-color: rgba(0, 0, 0, 0.6); color: #fff; height: 30px; line-height: 30px; text-align: center; }