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

13
  }
14
}
neko's avatar
neko committed
15 16 17

.app-form-item.label-top, .app-form-item.label-bottom {
  .app-form-item-label {
18
      display: block;
neko's avatar
neko committed
19
  }
20 21
}

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

.app-form-item.label-left {
  .app-form-item-label {
      float: left;
31
      text-align: right;
32 33
  }
}
neko's avatar
neko committed
34 35 36 37

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

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