itemForm.scss 1.33 KB
.itemForm {
  position: relative;
  padding: 10px;

  /deep/.el-select {
    width: 100%;
  }

  /deep/.el-form-item__error {
    right: 25px;
    top: 15px;
    text-align: right;
    pointer-events: none;
  }

  /deep/.el-date-editor {
    width: 100%;
  }

  /deep/.el-date-editor--date {
    width: 100%;
  }

  /deep/.el-cascader {
    width: 100%;
  }

  // table 样式
  /deep/.el-form-item__label {
    border-right: none;
    text-align: center;
    padding: 0;
    line-height: 16px;
    font-size: 12px;
    color: #CEF8FF;
    margin-top: 8px !important;
  }

  /deep/.el-form-item__content {
    display: flex;
    margin-right: -1px;
  }


  /deep/.el-textarea__inner {
    margin: 5px;
    width: 96%;
    background: #05275B;
    color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
  }

  /deep/.el-input__inner {
    margin: 5px;
    width: 96%;
    background: #05275B;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
  }

  /deep/.el-form-item {
    margin-bottom: 0;
    margin-top: -1px;
  }

  .item-label {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    font-size: 12px;
    flex: 0 0 90px;
    margin-right: 3px;

    p {
      line-height: 16px;
      white-space: nowrap;
      text-align: right;
    }

    p:nth-child(1) {
      position: relative;
      right: 5px;
    }
  }
}