index.less 1.6 KB
Newer Older
陈文彬 已提交
1 2 3 4
@import './pagination.less';
@import './input.less';
@import './btn.less';

V
vben 已提交
5
// TODO beta.11 fix
V
vben 已提交
6 7 8 9
.ant-col {
  width: 100%;
}

V
vben 已提交
10 11 12 13 14 15
.collapse-container__body {
  > .ant-descriptions {
    margin-left: 6px;
  }
}

陈文彬 已提交
16 17 18
// =================================
// ==============descriptions=======
// =================================
V
vben 已提交
19 20 21 22 23 24 25
// .ant-descriptions-bordered .ant-descriptions-item-label {
//   background-color: @background-color-light;
// }

// .ant-descriptions .ant-descriptions-item-content {
//   color: @text-color-call-out;
// }
陈文彬 已提交
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

// =================================
// ==============modal message======
// =================================
.modal-icon-warning {
  color: @warning-color !important;
}

.modal-icon-success {
  color: @success-color !important;
}

.modal-icon-error {
  color: @error-color !important;
}

V
vben 已提交
42 43 44 45
.modal-icon-info {
  color: @primary-color !important;
}

陈文彬 已提交
46 47 48 49 50 51 52
// =================================
// ==============form===============
// =================================
.ant-form-item.deltag .ant-form-item-required::before {
  content: '';
}

V
vben 已提交
53 54 55 56
.ant-form-item-with-help {
  margin-bottom: 0;
}

陈文彬 已提交
57 58 59 60
.ant-form-item {
  &-label label::after {
    margin: 0 6px 0 2px;
  }
V
vben 已提交
61
}
陈文彬 已提交
62

V
vben 已提交
63 64
.ant-form-item:not(.ant-form-item-with-help) {
  margin-bottom: 20px;
陈文彬 已提交
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
}

.ant-form-explain {
  font-size: 14px;
}

.compact-form-row {
  .ant-form-item {
    margin-bottom: 8px;
  }
}

// =================================
// ==============empty==============
// =================================
.ant-empty-image {
  max-height: 144px;
  min-height: 60px;
}

.ant-empty-description {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: @text-color-call-out;
}