index.less 5.95 KB
Newer Older
zhangsan's avatar
zhangsan committed
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
@import './pagination.less';
@import './input.less';
// update-begin--author:liaozhiyang---date:20240130---for:【issues/5857】Button color类型颜色失效
@import './btn.less';
// update-end--author:liaozhiyang---date:20240130---for:【issues/5857】Button color类型颜色失效
// @import './table.less';

// TODO beta.11 fix
.ant-col {
  width: 100%;
}

.ant-image-preview-root {
  img {
    display: unset;
  }
}
//update-begin---author:scott ---date:2023-08-28  for����QQYUN-6374��UnoCSS���windicss����Ӧ����ʽ����--
/*span.anticon:not(.app-iconify) {
  vertical-align: 0.125em !important;
}*/
//update-end---author:scott ---date::2023-08-28  for����QQYUN-6374��UnoCSS���windicss����Ӧ����ʽ����--

.ant-back-top {
  right: 20px;
  bottom: 20px;
}

.collapse-container__body {
  > .ant-descriptions {
    margin-left: 6px;
  }
}

.ant-image-preview-operations {
  background-color: rgba(0, 0, 0, 0.3);
}

.ant-popover {
  &-content {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  }
}

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

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

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

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

.ant-checkbox-checked .ant-checkbox-inner::after,
.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
  border-top: 0 !important;
  border-left: 0 !important;
}

// update-begin--author:liaozhiyang---date:20231218---for:【QQYUN-6366】升级到antd4.x
.ant-modal {
  .ant-modal-close {
    // update-begin--author:liaozhiyang---date:20241010---for:【issues/7260】原生a-modal关闭按钮位置偏移
    // position: absolute;
    // top: 0;
    // right: 0;
    top: 13px;
    // update-end--author:liaozhiyang---date:20241010---for:【issues/7260】原生a-modal关闭按钮位置偏移
    width: auto;
    height: auto;
  }
  .ant-modal-content {
    padding: 0;
  }
}

.ant-input-affix-wrapper > input.ant-input {
  font-size: 14px;
}

.ant-pagination-options-size-changer.ant-select {
  display: inline-block;
  width: auto;
}

.ant-tree-select-dropdown .ant-select-tree .ant-select-tree-list-holder-inner {
  align-items: stretch;
}

.ant-list .ant-list-item {padding-left: 0;padding-right: 0;}


.ant-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: #000000d9;
}
/** anticon-down跟3.x保持一致*/ 
.ant-dropdown-trigger>.anticon.anticon-down, .ant-dropdown-link>.anticon.anticon-down, .ant-dropdown-button>.anticon.anticon-down {
  font-size: 10px;
  vertical-align: baseline;
}
/** 表格排序箭头尺寸保持跟3.x一致 */ 
.ant-table-wrapper .ant-table-column-sorter-up, .ant-table-wrapper .ant-table-column-sorter-down {
  font-size: 11px;
}
 /** 表格头部文字颜色跟3.x版本保持一致 */
.ant-table-wrapper .ant-table-thead >tr>th, .ant-table-wrapper .ant-table-thead >tr>td {
  color: #000000d9;
  font-weight: 500;
}
html[data-theme='dark'] .ant-table-wrapper .ant-table-thead >tr>th, .ant-table-wrapper .ant-table-thead >tr>td {
  color:rgba(255,255,255,.65);
}
 /** 下拉菜单文字和图标折叠了 */
.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-title-content, .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-title-content{
  flex: auto;
  white-space:nowrap;
}
// update-end--author:liaozhiyang---date:20231218---for:【QQYUN-6366】升级到antd4.x

// update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮
.ant-input-affix-wrapper-textarea-with-clear-btn {
  .ant-input-clear-icon {
    background-color: #fff;
  }
}
html[data-theme='dark'] .ant-input-affix-wrapper-textarea-with-clear-btn {
  .ant-input-clear-icon {
    background-color: #141414;
  }
}
// update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮

// update-begin--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果
.ant-table-pagination.ant-pagination {
  .ant-pagination-item-active,
  .ant-pagination-item-active:hover {
    background-color: @primary-color;
    border-color: transparent;
    a {
      color: #fff;
    }
  }
  .ant-pagination-item:not(.ant-pagination-item-active) {
    background-color: transparent !important;
    border-color: transparent;
  }
  .ant-pagination-prev,
  .ant-pagination-next,
  .ant-pagination-item {
    margin: 0 4px;
  }
}
// update-end--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果

//update-begin--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式
.tox .tox-tbtn__select-label{
  font-size: 14px;
}

.tox .tox-tbtn--select{
  width: 80px !important;
}

.tox .tox-collection__item-label {
  font-size: 14px !important;
}
//update-end--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式

// update-begin--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式
html[data-theme='light'] {
  .ant-form:not(.jeecg-form-detail-effect) {
    .ant-select.ant-select-disabled {
      .ant-select-selection-item {
        color: rgba(51, 51, 51, 0.25) !important;
        // color: rgba(51, 51, 51, 0.25);
        .ant-select-selection-item-content {
          color: rgba(51, 51, 51, 0.25);
        }
      }
    }
    .ant-input-number.ant-input-number-disabled {
      .ant-input-number-input {
        color: rgba(51, 51, 51, 0.25);
      }
    }
  }
}

html[data-theme='dark'] {
  .ant-form:not(.jeecg-form-detail-effect) {
    .ant-input-number.ant-input-number-disabled {
      .ant-input-number-input {
        color:rgba(255, 255, 255, 0.25);
      }
    }
  }
}
// update-end--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式