index.less 2.8 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
// .ant-form-item-label {
//   text-align: unset;
// }

陈文彬 已提交
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
// =================================
// ==============descriptions=======
// =================================
.ant-descriptions-bordered .ant-descriptions-item-label {
  background-color: @background-color-light;
}

.ant-descriptions .ant-descriptions-item-content {
  color: @text-color-call-out;
}
// =================================
// ==============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 已提交
39 40 41 42
.modal-icon-info {
  color: @primary-color !important;
}

陈文彬 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
.ant-modal-mask {
  background-color: rgba(0, 0, 0, 0.2);
}
// =================================
// ==============menu===============
// =================================
.ant-menu-item {
  &-selected {
    a {
      color: @primary-color;

      &:hover {
        color: @primary-color;
      }
    }
  }
}
// =================================
// ==============dropdown===========
// =================================
.ant-dropdown {
  .ant-divider {
    margin: 4px 0;
  }

  &-menu-item {
    line-height: 30px;
    color: @text-color-call-out;

    &:hover {
      color: inherit;
      background-color: @border-color-shallow-light;
    }
  }
}
// =================================
// ==============back-top===========
// =================================
.ant-back-top {
  right: 50px;
  bottom: 60px;
}
// =================================
// ==============calendar===========
// =================================
.ant-calendar-picker {
  width: 100%;
}
// =================================
// ==============tooltip============
// =================================

.ant-tooltip {
  &-inner {
    padding: 6px 16px;
    line-height: 20px;
    color: @white;
    background: @text-color-base;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}
// =================================
// ==============form===============
// =================================
.ant-form-item.deltag .ant-form-item-required::before {
  content: '';
}

V
vben 已提交
112 113 114 115
.ant-form-item-with-help {
  margin-bottom: 0;
}

陈文彬 已提交
116 117 118 119
.ant-form-item {
  &-label label::after {
    margin: 0 6px 0 2px;
  }
V
vben 已提交
120
}
陈文彬 已提交
121

V
vben 已提交
122 123
.ant-form-item:not(.ant-form-item-with-help) {
  margin-bottom: 20px;
陈文彬 已提交
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
}

.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;
}