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

  }
ibizdev's avatar
ibizdev committed
14
}
15 16 17 18 19

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

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

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

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

.app-form-item.label-none {
  .app-form-item-label {
      display: none !important;
45
  }
ibizdev's avatar
ibizdev committed
46
}