Blame view

src/components/business/css/itemForm.scss 1.33 KB
任超 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
.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;
任超 committed
33 34 35 36
    line-height: 16px;
    font-size: 12px;
    color: #CEF8FF;
    margin-top: 8px !important;
任超 committed
37 38 39
  }

  /deep/.el-form-item__content {
任超 committed
40
    display: flex;
任超 committed
41 42 43 44 45 46 47
    margin-right: -1px;
  }


  /deep/.el-textarea__inner {
    margin: 5px;
    width: 96%;
任超 committed
48 49 50 51
    background: #05275B;
    color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
任超 committed
52 53 54 55 56
  }

  /deep/.el-input__inner {
    margin: 5px;
    width: 96%;
任超 committed
57 58 59
    background: #05275B;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
任超 committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
  }

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