.btn-editor {
  margin-right: .5em;
}

.dialog {
  width: 910px;
  height: 90%;
  top: 5% !important;
  display: flex;
  flex-direction: column;

  .title {
    padding-bottom: 10px;
    font-size: 16px;
    position: relative;

    &:after {
      content: '';
      position: absolute;
      top: 0;
      right: -20px;
      bottom: 0;
      left: -20px;
      border-bottom: 1px solid #f0f0f0;
    }
  }

  :global(.el-dialog__header) {
    margin-bottom: 10px;
  }

  .form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px #f0f0f0 solid;

    .form-body {
      display: flex;
      flex: 1;
      overflow: hidden;
      // height: 90%; // -- temp style
      justify-content: stretch;

      .form-left, .form-right {
        overflow: auto;
      }

      .form-left {
        width: 360px;
        border-right: 1px solid #ececec;
      }

      .form-right {
        width: 590px;
        background-color: #fff;
      }
    }

    .form-footer {
      display: flex;
      align-items: center;
      padding: 10px 30px 20px;
      border-top: 1px #ececec solid;

      .form-footer-left {
        flex: 1;
        color: #b3bcca;
      }

      .form-footer-right {
      }
    }
  }
}

.form-footer-btn {
  $bg: #3f8cff;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  box-shadow: 0 5px 12px 0 rgba(63, 140, 255, 0.34);
  border-radius: 14px;
  margin-left: 20px;
  background-color: $bg;

  &:hover {
    background-color: lighten($bg, 8%);
  }

  .form-footer-btn-icon {
    margin-right: .5em;
  }
}

.del-dialog {
  :global(.el-message-box) {
    box-shadow: 0 0 0 5px #999;
  }
}
