king
2021-11-18 c98e45bfac25e9110ad0383faac54a54d98ea9d5
src/assets/css/main.scss
@@ -38,6 +38,9 @@
html, body {
  width: 100%;
  font-size: 14px;
  // .ant-table, .ant-dropdown {
  //   color: rgba(0, 0, 0, 0.85);
  // }
}
#root {
  height: 100%;
@@ -71,7 +74,7 @@
  background-color: unset;
  color: unset;
}
.side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected {
.mk-side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected {
  background-color: unset;
  color: unset;
}
@@ -135,15 +138,15 @@
  background: rgba(0, 0, 0, 0);
}
// 重置模态框滚动条
.ant-modal-wrap::-webkit-scrollbar {
.ant-modal-wrap::-webkit-scrollbar, .ant-drawer-wrapper-body::-webkit-scrollbar {
  width: 7px;
}
.ant-modal-wrap::-webkit-scrollbar-thumb {
.ant-modal-wrap::-webkit-scrollbar-thumb, .ant-drawer-wrapper-body::-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);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.1);
}
.ant-modal-wrap::-webkit-scrollbar-track {
.ant-modal-wrap::-webkit-scrollbar-track, .ant-drawer-wrapper-body::-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);
@@ -346,7 +349,7 @@
    }
    .mk-popover-control {
      white-space: nowrap;
      i {
      i, span.anticon {
        padding: 5px 8px;
        cursor: pointer;
        font-size: 16px;
@@ -386,4 +389,58 @@
      padding: 5px 20px;
    }
  }
}
}
.ant-input[disabled] {
  background-color: #fafafa!important;
}
.ant-btn[disabled] {
  background-color: transparent!important;
  border-color: rgba(0, 0, 0, 0.35)!important;
  color: rgba(0, 0, 0, 0.35)!important;
}
.ant-btn.ant-btn-link {
  border-width: 0;
}
.button-list {
  .ant-btn.ant-btn-link {
    border-width: 1px;
  }
}
.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated { // 去除切换时的动画效果
  transition: margin-left 0s cubic-bezier(0.645, 0.045, 0.355, 1)!important;
}
.ant-progress-line.square {
  .ant-progress-inner {
    border-radius: 0;
    .ant-progress-bg {
      border-radius: 0;
    }
  }
}
.mk-form-tip {
  color: #c49f47;
  margin-right: 3px;
}
div.ant-input-number {
  width: 100%;
}
.ant-progress {
  .ant-progress-circle-trail {
    stroke: inherit!important;
  }
  .ant-progress-text {
    color: inherit!important;
  }
}
// .ant-table.ant-table-mini .ant-table-thead > tr > th {
//   padding: 8px 4px;
// }
// .ant-table.ant-table-mini .ant-table-tbody > tr > td {
//   padding: 4px 4px;
// }