dialogBox.scss 3.42 KB
.dialogBox {
  overflow: hidden;
  background: url("~@/image/dialogBg.png") no-repeat !important;
  background-size: 100% 100% !important;
  min-height: 90vh;

  .dialog_title {
    display: flex;
    position: relative;
    font-size: 23px;
    top: -10px;
    width: 38%;
    height: 40px;
    margin-left: 28px;
    justify-content: center;
    white-space: nowrap;

    b {
      font-weight: 200;
      display: inline-block;
      position: relative;
      font-size: 24px;
      top: -11px;
      width: 38%;
      height: 40px;
      margin-left: 28px;
      // @include flex-center;
      display: flex;
      justify-content: center;
    }
  }

  .dialog_full {
    position: absolute;
    top: 0;
    right: 30px;
  }

  .el-dialog__body {
    max-height: 88vh;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .dialog_footer {
    margin-bottom: 8px;
    @include flex-center;
  }

  .dialogBox-content {
    height: auto
  }

  .editDialogBox-box {
    background: #031A46;
    box-shadow: inset 0px 0px 12px 0px #02D9FD;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
    margin: 0 18px 10px 18px;
  }
}

.item-content-input {
  /deep/.el-input__inner {
    border: none !important;
    text-align: right;
  }
}

.regularHeight {
  display: flex;
  flex: 1;
  height: 100%;
  flex-direction: column;

  .editDialogBox-con,
  .JsonEditor {
    flex: 1;
    height: 100%;
  }
}

.dialog-from {
  padding: 13px;
  border-radius: 2px;
  box-sizing: border-box;

  .el-row {
    display: flex;
    flex-wrap: nowrap;
  }

  .el-col {
    line-height: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    color: #B5D6DC;
    border-radius: 2px;
    border: 1px solid #224C7C;
    margin: 5px;

    span {
      display: inline-block;
      padding: 3px;
      border-radius: 3px;
      overflow: hidden;
      white-space: nowrap;
      text-align: left;
      color: #02D9FD;
    }

    p {
      flex: 1;
      width: 100%;
      padding-left: 5px;
      line-height: 20px;
      color: #c0c4cc;
      cursor: not-allowed;
      white-space: nowrap;
      margin-right: 5px;
      text-align: right;
    }
  }
}

/deep/.el-textarea__inner {
  border: 1px solid #224C7C;
  margin: 0 0 10px 0 !important;
  width: 100% !important;
  color: #dadde3 !important;
  background: transparent !important;
}

/deep/.el-input__inner {
  border: 1px solid #224C7C !important;
  margin: 0 !important;
  width: 100% !important;
  color: #dadde3 !important;
  background: transparent !important;
}

.dialog_title {
  @include flex;
  justify-content: space-between;
  width: 100%;
}

.el-dialog__header {
  color: #FFFFFF;
  height: 46px !important;
  width: 97%;
  margin: 0 auto;
  margin-top: 2px;
}

.el-dialog__body {
  padding-top: 0;
  padding-bottom: 0;
  height: 95vh;
}

.el-dialog__headerbtn {
  width: 42px;
  height: 20px;
  background: url("~@/image/closebg.png") no-repeat;
  background-size: 100% 100%;
  right: 40px;
  top: 33px;

  &:hover {
    box-shadow: inset 0px 0px 12px 0px #02D9FD;
  }
}

.el-dialog__close {
  font-size: 0;
}

.el-form-item {
  @include flex;
  width: 100%;
}

.el-dialog__wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contentCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 85px), -50%);
}

.mainCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  // 展开收起按钮位置
  .el-input__suffix {
    right: 10px;
  }
}