| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- * {
- 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: #333;
- }
- a {
- text-decoration: none;
- color: #333;
- outline: none;
- }
- i {
- font-style: normal;
- }
- img {
- max-width: 100%;
- max-height: 100%;
- vertical-align: middle;
- }
- ul {
- list-style: none;
- }
- #root {
- width: 100vw;
- height: 100vh;
- min-width: 1600px;
- min-height: 900px;
- overflow-y: auto;
- }
- body {
- overflow-y: overlay;
- }
- /* 文本域取消下拉 */
- textarea {
- resize: none !important;
- }
- /* 主题色 */
- :root {
- --themeColor: #863326
- }
- a {
- color: var(--themeColor);
- }
- /* 普通按钮的颜色 */
- .ant-btn-text {
- color: #2f489a;
- }
- /* 按钮的危险颜色 */
- .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;
- }
- img {
- object-fit: cover;
- }
- /* 表格的图片居中 */
- .tableImgAuto {
- display: flex;
- justify-content: center;
- }
- [hidden] {
- display: none !important;
- }
- /* 找不到页面 */
- .noFindPage {
- opacity: 0;
- transition: opacity .5s;
- }
- /* antd图片预览组件 */
- .ant-image {
- display: none;
- }
- /* antd表格居中 */
- .ant-table-cell {
- text-align: center !important;
- }
- /* 页面的顶部title */
- .pageTitlt {
- background-color: #fff;
- width: 100%;
- height: 40px;
- line-height: 40px;
- font-size: 16px;
- font-weight: 700;
- padding-left: 30px;
- border-radius: 10px;
- position: relative;
- color: #333;
- }
- .pageTitlt::before {
- content: '';
- position: absolute;
- top: 8px;
- left: 18px;
- width: 5px;
- height: 24px;
- background-color: var(--themeColor);
- }
- #upInput {
- display: none;
- }
- #upInput2 {
- display: none;
- }
|