king
2025-03-24 997082a283ee77f89bc5f2243fd160200c8c10fa
src/assets/css/main.scss
@@ -167,6 +167,41 @@
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0);
}
.ant-calendar-header .ant-calendar-prev-century-btn::before, .ant-calendar-header .ant-calendar-prev-decade-btn::before, .ant-calendar-header .ant-calendar-prev-year-btn::before, .ant-calendar-header .ant-calendar-prev-century-btn::after, .ant-calendar-header .ant-calendar-prev-decade-btn::after, .ant-calendar-header .ant-calendar-prev-year-btn::after {
  border-color: rgba(0, 0, 0, 0.85)!important;
  border-width: 2px 0 0 2px!important;
}
.ant-calendar-header .ant-calendar-next-century-btn::before, .ant-calendar-header .ant-calendar-next-decade-btn::before, .ant-calendar-header .ant-calendar-next-year-btn::before, .ant-calendar-header .ant-calendar-next-century-btn::after, .ant-calendar-header .ant-calendar-next-decade-btn::after, .ant-calendar-header .ant-calendar-next-year-btn::after {
  border-color: rgba(0, 0, 0, 0.85)!important;
  border-width: 2px 0 0 2px!important;
}
.ant-calendar-header .ant-calendar-next-century-btn:hover::before, .ant-calendar-header .ant-calendar-next-decade-btn:hover::before, .ant-calendar-header .ant-calendar-next-year-btn:hover::before, .ant-calendar-header .ant-calendar-next-century-btn:hover::after, .ant-calendar-header .ant-calendar-next-decade-btn:hover::after, .ant-calendar-header .ant-calendar-next-year-btn:hover::after {
  border-color: rgba(0, 0, 0, 1)!important;
}
.ant-calendar-header .ant-calendar-prev-century-btn:hover::before, .ant-calendar-header .ant-calendar-prev-decade-btn:hover::before, .ant-calendar-header .ant-calendar-prev-year-btn:hover::before, .ant-calendar-header .ant-calendar-prev-century-btn:hover::after, .ant-calendar-header .ant-calendar-prev-decade-btn:hover::after, .ant-calendar-header .ant-calendar-prev-year-btn:hover::after {
  border-color: rgba(0, 0, 0, 1)!important;
}
.ant-calendar-header .ant-calendar-prev-month-btn {
  left: 35px!important;
}
.ant-calendar-header .ant-calendar-next-month-btn {
  right: 35px!important;
}
.ant-calendar-header .ant-calendar-prev-month-btn::before, .ant-calendar-header .ant-calendar-prev-month-btn::after {
  border-color: rgba(0, 0, 0, 0.85)!important;
  border-width: 2px 0 0 2px!important;
}
.ant-calendar-header .ant-calendar-next-month-btn::before, .ant-calendar-header .ant-calendar-next-month-btn::after {
  border-color: rgba(0, 0, 0, 0.85)!important;
  border-width: 2px 0 0 2px!important;
}
.ant-calendar-header .ant-calendar-prev-month-btn:hover::before, .ant-calendar-header .ant-calendar-prev-month-btn:hover::after {
  border-color: rgba(0, 0, 0, 1)!important;
}
.ant-calendar-header .ant-calendar-next-month-btn:hover::before, .ant-calendar-header .ant-calendar-next-month-btn:hover::after {
  border-color: rgba(0, 0, 0, 1)!important;
}
// 重置模态框滚动条
.ant-modal-wrap::-webkit-scrollbar, .ant-drawer-wrapper-body::-webkit-scrollbar {
  width: 7px;
@@ -322,6 +357,7 @@
  }
  .ant-modal-body::-webkit-scrollbar {
    width: 7px;
    height: 0;
  }
  .ant-modal-body::-webkit-scrollbar-thumb {
    border-radius: 5px;
@@ -644,7 +680,9 @@
  }
  .ant-calendar-selected-day .ant-calendar-date {
    background: var(--mk-sys-color2);
    background: var(--mk-sys-color1);
    color: var(--mk-sys-color);
    border-color: var(--mk-sys-color);
  }
  .ant-calendar-today-btn {
    color: var(--mk-sys-color);
@@ -728,6 +766,49 @@
    vertical-align: bottom;
  }
}
.fixed-table-height {
  tr, td, th {
    overflow: hidden;
  }
  ::-webkit-scrollbar {
    width: 17px;
    height: 17px;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(193, 193, 193, 0.7);
  }
  ::-webkit-scrollbar-track {
    background: #fafafa;
  }
  .ant-table-body {
    min-height: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    .ant-table-fixed {
      border-bottom: 0;
    }
  }
}
@media screen and (max-width: 1400px) {
  .fixed-table-height {
    ::-webkit-scrollbar {
      width: 16px;
    }
  }
}
@media screen and (min-width: 1600px) {
  .fixed-table-height {
    ::-webkit-scrollbar {
      width: 18px;
    }
  }
}
@media screen and (min-width: 1900px) {
  .fixed-table-height {
    ::-webkit-scrollbar {
      width: 21px;
    }
  }
}
// 系统色设置
.mk-main-view {
@@ -768,4 +849,18 @@
  .ant-radio-button-wrapper:not(.ant-radio-button-wrapper-checked):not(.ant-radio-button-wrapper-disabled):hover {
    color: var(--mk-sys-color);
  }
}
// 鼠标悬浮增加下划线
.mk-hover-underline:hover {
  text-decoration: underline!important;
}
// 隐藏空值时的图标
body .mk-empty-hide .ant-empty, body .mk-empty-hide + .ant-empty {
  min-height: 50px;
  padding-top: 0px;
  margin: 0px;
  .ant-empty-image, .ant-empty-description {
    display: none;
  }
}