
.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;
  }
}

.save-tpl {
  width: 520px;
  top: 50% !important;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;

  :global(.form) {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px #f0f0f0 solid;
    padding: 20px 120px 0;
  }

  .dis-flex {
    width: 100%;
    display: flex;

    & > *:not(:first-child) {
      margin-left: 20px;
    }
  }

  .inline-label {
    margin-bottom: 0;

    :global(.el-form-item__label) {
      width: 5em;
      text-align: left;
    }
  }

  .tags {
    display: flex;
    align-items: center;
    width: 100%;

    :global(.el-input) {
      width: 5.5em;
      margin-right: 0.5em;
    }
  }

  :global(.xt-tianjia) {
    color: #333;
    cursor: pointer;

    &:after {
      content: '添加标签';
      margin-left: .5em;
      font-size: 14px;
    }

    &:hover {
      color: #999;
    }
  }

  .save-tpl-bottom {
    border-top: 1px solid #ececec;
    padding: 16px 0;
    text-align: center;

    .save-button {
      $bg: #3f8cff;
      height: 50px;
      line-height: 50px;
      padding: 0 3em;
      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%);
      }

      :global(.xt-baocun) {
        &:before {
          margin-right: .5em;
        }

        &:after {
          content: '保存';
        }
      }

    }

  }

  .add-tag-button {
    font-size: 28px;
    cursor: pointer;

    &:hover {
      color: #20a0ff;
    }
  }

  .add-tag-input {
    width: 4em;
  }

  .tag-item {
    display: flex;
    align-items: center;
    line-height: 35px;
    height: 35px;
  }

  :global(.el-tag) {
    margin-right: 5px;
  }

  :global(.el-select-dropdown__wrap) {
    max-height: 150px
  }

}
  

