index.less 2.6 KB
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 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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
@import './pagination.less';
@import './input.less';
@import './btn.less';

// =================================
// ==============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;
}

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

.ant-form-item {
  &-label label::after {
    margin: 0 6px 0 2px;
  }

  &-control {
    line-height: 36px;
  }
}

.ant-form-explain {
  margin-bottom: 2px;
  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;
}