app-panel-field.less 884 字节
Newer Older
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
.app-panel-field {
  height: auto;
  width: auto;
  display: flex;
  padding: 0 8px;
  .app-panel-field__editor{
    flex-grow: 1;
    line-height: 34px;
    width: 100%;
    >div{
        height: 100%;
        width: inherit;
    }
  }
  .app-panel-field__label {
    height: 34px;
    line-height: 22px;
    flex-shrink: 0;
    padding: 6px 10px 6px 0px;
    >span{
      color: red;
    }
  }
  .editorstyle {
    .errorstyle {
        color:red;
    }
  }
}

.app-panel-field.label__top {
  flex-flow: column;
}

.app-panel-field.label__bottom{
  flex-flow: column-reverse;
}

.app-panel-field.label__left {
  .app-panel-field__label {
      text-align: right;
  }
}

.app-panel-field.label__right {
  flex-flow: row-reverse;
  .app-panel-field__label {
      padding: 6px 0px 6px 10px;
  }
}

.app-panel-field.label__none {
  .app-panel-field__label {
      display: none;
  }
}