king
2022-05-12 b8aa5da1b2873bea760483cc5ab335fde9fb6de6
src/menu/components/table/edit-table/columns/index.scss
@@ -1,8 +1,23 @@
.normal-table-columns {
.edit-table-columns {
  position: relative;
  --mk-table-border-color: #e8e8e8;
  --mk-table-color: rgba(0, 0, 0, 0.65);
  --mk-table-font-size: 14px;
  --mk-table-font-weight: normal;
  .ant-table {
    color: inherit;
    font-size: inherit;
  }
  .submit-btn {
    min-height: 24px;
    height: auto;
    margin-right: 10px;
    background-color: #1890ff;
    border-width: 0;
  }
  .ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters > .ant-table-column-title {
    position: unset;
  }
  .ant-table-body {
    overflow-x: auto;
@@ -54,11 +69,10 @@
    }
  }
  .col-control {
    position: absolute;
    position: relative;
    float: right;
    z-index: 2;
    right: 0;
    top: -25px;
    >i, >div > i {
    >.anticon, >div > .anticon {
      font-size: 16px;
      margin-right: 10px;
      cursor: pointer;
@@ -79,25 +93,30 @@
  .ant-table-small > .ant-table-content > .ant-table-body {
    margin: 0;
  }
  table, tr, th, td {
    border-color: var(--mk-table-border-color)!important;
  }
  table tr {
    th .ant-table-column-title, th .ant-table-column-title > span {
      // color: var(--mk-table-color)!important;
      font-size: var(--mk-table-font-size)!important;
      font-weight: var(--mk-table-font-weight)!important;
    }
    td {
      color: var(--mk-table-color)!important;
      font-size: var(--mk-table-font-size)!important;
      font-weight: var(--mk-table-font-weight)!important;
    }
  }
}
.normal-table-columns.false {
.edit-table-columns.false {
  .ant-pagination {
    display: none;
  }
}
.normal-table-columns.checkbox {
  .ant-radio-inner {
    border-radius: 0;
  }
  .ant-radio-inner::after {
    border-radius: 0;
  }
  .ant-radio-checked::after {
    border-radius: 0;
  }
}
.normal-table-columns.ghost {
.edit-table-columns.ghost {
  .ant-table-thead > tr {
    > th {
      color: inherit;