app-form-item.less 779 字节
Newer Older
1
.app-form-item {
2
  height: 100%;
3
  padding: 0 6px;
4 5 6 7 8 9 10 11
  .editor {
      height: 100%;
      .ivu-form-item-content {
          height: 100%;
          min-height: 36px;
      }
  }
  .app-form-item-label {
12 13
      padding: 6px 10px 6px 0px;

14
  }
15
}
16 17 18 19 20

.app-form-item.label-top, .app-form-item.label-bottom {
  .app-form-item-label {
      display: block;
  }
21 22
}

23 24 25
.app-form-item.label-left, .app-form-item.label-right {
  .app-form-item-label, .editor {
      height: 100%;
26 27
  }
}
28 29 30 31

.app-form-item.label-left {
  .app-form-item-label {
      float: left;
32
      text-align: right;
33 34
  }
}
35 36 37 38

.app-form-item.label-right {
  .app-form-item-label {
      float: right;
39
      padding: 6px 0px 6px 10px;
40 41
  }
}
42 43 44 45

.app-form-item.label-none {
  .app-form-item-label {
      display: none !important;
46
  }
47
}