king
3 天以前 80deba0c2dcffd9e6b6f07815c7c52199309ce42
src/tabviews/custom/components/table/edit-table/normalTable/index.scss
@@ -7,9 +7,8 @@
  --mk-table-font-size: 14px;
  --mk-table-font-weight: normal;
  >.ant-table-wrapper {
  .ant-table-wrapper {
    position: relative;
    // z-index: 1;
  }
  .ant-table-placeholder {
    border-top-color: var(--mk-table-border-color);
@@ -24,6 +23,35 @@
    right: 3px;
    opacity: 0.5;
    font-size: 10px;
  }
  .mk-disabled {
    .ant-table-selection-column {
      .ant-checkbox-wrapper {
        cursor: not-allowed;
        .ant-checkbox-inner {
          cursor: not-allowed;
          background-color: #fff!important;
          border-color: #d9d9d9!important;
        }
        input {
          cursor: not-allowed;
        }
      }
      .ant-radio-wrapper {
        cursor: not-allowed;
        .ant-radio-inner {
          cursor: not-allowed;
          background-color: #fff!important;
          border-color: #d9d9d9!important;
        }
        input {
          cursor: not-allowed;
        }
      }
    }
  }
  table {
@@ -167,6 +195,7 @@
      left: 0px;
      right: 0px;
      bottom: 0px;
      min-width: auto!important;
    }
    .has-error, .has-error .ant-input-number-input {
      border-color: #ff4d4f!important;
@@ -203,6 +232,7 @@
    .ant-calendar-picker {
      display: block;
      height: 30px;
      min-width: auto!important;
    }
    .has-error, .has-error .ant-input-number-input {
      border-color: #ff4d4f!important;
@@ -233,6 +263,14 @@
  }
  .ant-table-small.ant-table-bordered {
    border-right: 1px solid #e8e8e8;
    .ant-table-content {
      border-radius: inherit;
      .ant-table-scroll {
        border-radius: inherit;
      }
    }
  }
  table, tr, th, td, .ant-table-small {
    border-color: var(--mk-table-border-color)!important;
@@ -269,6 +307,11 @@
  //   }
  // }
}
.edit-custom-table.mk-parity {
  .ant-table-tbody tr:nth-child(even) {
    background: #fafafa;
  }
}
.edit-custom-table.mk-edit-simple {
  table tbody tr td {
    min-height: 32px;
@@ -290,7 +333,7 @@
    background-color: #fafafa!important;
  }
}
.edit-custom-table:not(.fixed-height) {
.edit-custom-table:not(.fixed-table-height) {
  .ant-table-body::-webkit-scrollbar {
    width: 8px;
    height: 10px;
@@ -305,14 +348,6 @@
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0);
  }
}
.edit-custom-table.fixed-height {
  .ant-table-body {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    .ant-table-fixed {
      border-bottom: 0;
    }
  }
}
.edit-custom-table.hidden {