king
2024-10-02 65da4dae29c621df1764cb5523c64e92be8b180a
src/menu/datasource/verifycard/index.scss
@@ -1,25 +1,91 @@
#model-data-source-wrap {
.model-data-source-wrap {
  .ant-spin {
    position: absolute;
    left: calc(50% - 16px);
    top: 220px;
    z-index: 1;
  }
  .ant-tabs-tabpane {
    position: relative;
  .base-table-columns {
    height: 15px;
  }
  .base-table-columns + .modal-edit-table {
    .editable-row > td:last-child {
      padding: 14px 10px;
    }
  }
  .data-source-card-box {
    .ant-tabs-nav-scroll {
      text-align: center;
    }
    .mk-copy-fields {
      position: absolute;
      cursor: pointer;
      z-index: 1;
      top: 19px;
      right: -50px;
      color: rgb(24, 144, 255);
      display: inline-block;
      opacity: 0.4;
      transition: opacity 0.2s;
    }
    .mk-copy-datasource {
      position: absolute;
      cursor: pointer;
      z-index: 1;
      top: 19px;
      right: -50px;
      color: rgb(24, 144, 255);
      display: inline-block;
      opacity: 0.4;
      transition: opacity 0.2s;
    }
    .mk-paste-datasource {
      position: absolute;
      cursor: pointer;
      z-index: 1;
      top: 19px;
      right: -90px;
      color:purple;
      display: inline-block;
      opacity: 0.4;
      transition: opacity 0.2s;
    }
    .mk-copy-fields:hover, .mk-copy-datasource:hover, .mk-paste-datasource:hover {
      opacity: 1;
    }
    .mk-search-fields {
      position: absolute;
      cursor: pointer;
      width: 150px;
      z-index: 1;
      top: 10px;
      right: -240px;
      display: inline-block;
      .ant-input {
        border-radius: 40px;
        height: 30px;
        transition: opacity 0.2s;
      }
      .ant-input:not(:hover):not(:active):not(:focus) {
        opacity: 0.6;
      }
      .ant-input:not(:hover):not(:active):not(:focus) + .ant-input-suffix {
        opacity: 0.6;
      }
    }
    .mk-search-fields:hover {
      .ant-input {
        opacity: 1;
      }
      .ant-input-suffix {
        opacity: 1;
      }
    }
    .count-tip {
      position: absolute;
      top: 0px;
      color: #1890ff;
      font-size: 12px;
    }
    .ant-tabs-content {
      min-height: 40vh;
    }
    table tr td {
      word-wrap: break-word;
@@ -28,7 +94,7 @@
    .quickly-add {
      position: absolute;
      width: 100px;
      right: 10px;
      right: 24px;
      top: 5px;
      z-index: 2;
    }
@@ -80,13 +146,47 @@
      margin-right: 5px;
      cursor: pointer;
    }
    .columns-lowercase {
      float: right;
      position: relative;
      z-index: 2;
      right: 30px;
      height: 0px;
      top: -15px;
      color: orange;
      cursor: pointer;
    }
    .columns-out {
      float: right;
      position: relative;
      z-index: 2;
      right: 5px;
      height: 0px;
      top: -15px;
      color: rgb(24, 144, 255);
    }
    .columns-out + .modal-edit-table {
      .ant-table-thead {
        .copy-control {
          top: -18px;
          right: 55px;
          .anticon-copy {
            margin-right: 12px;
          }
          .anticon-delete {
            margin-left: 12px;
          }
        }
      }
    }
  }
  .full-scripts {
    position: absolute;
    right: 0px;
    top: -40px;
    font-size: 18px;
    right: 24px;
    top: 0px;
    font-size: 16px;
    color: #1890ff;
    z-index: 1;
  }
}
.model-custom-view-scripts-modal {
@@ -128,6 +228,11 @@
        .script-item.active {
          background-color: #bae7ff;
        }
        .script-item.edited {
          .ant-typography {
            color: #1890ff;
          }
        }
        .ant-typography {
          margin-bottom: 5px;
        }