king
2022-02-17 3c3c5b4e5f239b712eb837af7f732ce5ab3e859f
src/templates/zshare/verifycard/index.scss
@@ -72,4 +72,120 @@
  .operation-btn:not(:first-child) {
    margin-left: 5px;
  }
  .full-scripts {
    position: absolute;
    right: 0px;
    top: 18px;
    font-size: 18px;
    color: #1890ff;
  }
}
.model-custom-scripts-modal {
  .ant-modal {
    top: 30px;
    .ant-modal-footer {
      display: none;
    }
    .ant-modal-close {
      display: none;
    }
    .ant-modal-body {
      height: calc(100vh - 110px);
      overflow-y: auto;
      display: flex;
      .script-table-wrap {
        width: 220px;
        .operation-btn {
          display: inline-block;
          font-size: 16px;
          padding: 0 5px;
          cursor: pointer;
          margin-left: 5px;
        }
        .script-item {
          border: 1px solid #eeeeee;
          padding: 5px;
          margin-bottom: 10px;
        }
        .script-item.active {
          border-color: #1890ff;
        }
        .ant-typography {
          margin-bottom: 5px;
        }
      }
      .unfull-scripts {
        position: absolute;
        right: 20px;
        z-index: 2;
        top: 18px;
        color: #1890ff;
        width: 26px;
        cursor: pointer;
        padding: 5px;
      }
      .verify-form {
        flex: 1;
        .sql {
          .ant-col-sm-8 {
            width: 10.5%;
          }
          .ant-col-sm-16 {
            width: 89.5%;
            padding-top: 4px;
          }
          .CodeMirror {
            height: auto;
            min-height: calc(100vh - 230px);
          }
          .CodeMirror-scroll {
            min-height: calc(100vh - 230px);
          }
        }
        .sqlfield {
          .ant-form-item {
            margin-bottom: 5px;
          }
          .ant-form-item-control {
            line-height: 24px;
          }
          .ant-form-item-label {
            line-height: 25px;
          }
          .ant-form-item-children {
            line-height: 22px;
          }
          .ant-col-sm-8 {
            width: 10.5%;
          }
          .ant-col-sm-16 {
            width: 89.5%;
          }
        }
        .add {
          padding-top: 4px;
        }
      }
    }
    .ant-modal-body::-webkit-scrollbar {
      width: 7px;
    }
    .ant-modal-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);
    }
    .ant-modal-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);
      background: rgba(0, 0, 0, 0);
    }
  }
}