index.less 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. @import './pagination.less';
  2. @import './input.less';
  3. // update-begin--author:liaozhiyang---date:20240130---for:【issues/5857】Button color类型颜色失效
  4. @import './btn.less';
  5. // update-end--author:liaozhiyang---date:20240130---for:【issues/5857】Button color类型颜色失效
  6. // @import './table.less';
  7. // TODO beta.11 fix
  8. .ant-col {
  9. width: 100%;
  10. }
  11. .ant-image-preview-root {
  12. img {
  13. display: unset;
  14. }
  15. }
  16. //update-begin---author:scott ---date:2023-08-28 for����QQYUN-6374��UnoCSS���windicss����Ӧ����ʽ����--
  17. /*span.anticon:not(.app-iconify) {
  18. vertical-align: 0.125em !important;
  19. }*/
  20. //update-end---author:scott ---date::2023-08-28 for����QQYUN-6374��UnoCSS���windicss����Ӧ����ʽ����--
  21. .ant-back-top {
  22. right: 20px;
  23. bottom: 20px;
  24. }
  25. .collapse-container__body {
  26. > .ant-descriptions {
  27. margin-left: 6px;
  28. }
  29. }
  30. .ant-image-preview-operations {
  31. background-color: rgba(0, 0, 0, 0.3);
  32. }
  33. .ant-popover {
  34. &-content {
  35. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  36. }
  37. }
  38. // =================================
  39. // ==============modal message======
  40. // =================================
  41. .modal-icon-warning {
  42. color: @warning-color !important;
  43. }
  44. .modal-icon-success {
  45. color: @success-color !important;
  46. }
  47. .modal-icon-error {
  48. color: @error-color !important;
  49. }
  50. .modal-icon-info {
  51. color: @primary-color !important;
  52. }
  53. .ant-checkbox-checked .ant-checkbox-inner::after,
  54. .ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
  55. border-top: 0 !important;
  56. border-left: 0 !important;
  57. }
  58. // update-begin--author:liaozhiyang---date:20231218---for:【QQYUN-6366】升级到antd4.x
  59. .ant-modal {
  60. .ant-modal-close {
  61. // update-begin--author:liaozhiyang---date:20241010---for:【issues/7260】原生a-modal关闭按钮位置偏移
  62. // position: absolute;
  63. // top: 0;
  64. // right: 0;
  65. top: 13px;
  66. // update-end--author:liaozhiyang---date:20241010---for:【issues/7260】原生a-modal关闭按钮位置偏移
  67. width: auto;
  68. height: auto;
  69. }
  70. .ant-modal-content {
  71. padding: 0;
  72. .ant-modal-footer {
  73. padding: 16px;
  74. }
  75. }
  76. }
  77. .ant-input-affix-wrapper > input.ant-input {
  78. font-size: 14px;
  79. }
  80. .ant-pagination-options-size-changer.ant-select {
  81. display: inline-block;
  82. width: auto;
  83. }
  84. .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-list-holder-inner {
  85. align-items: stretch;
  86. }
  87. .ant-list .ant-list-item {
  88. padding-left: 0;
  89. padding-right: 0;
  90. }
  91. .ant-list-item {
  92. display: flex;
  93. align-items: center;
  94. justify-content: space-between;
  95. padding: 12px 0;
  96. color: #000000d9;
  97. }
  98. /** anticon-down跟3.x保持一致*/
  99. .ant-dropdown-trigger > .anticon.anticon-down,
  100. .ant-dropdown-link > .anticon.anticon-down,
  101. .ant-dropdown-button > .anticon.anticon-down {
  102. font-size: 10px;
  103. vertical-align: baseline;
  104. }
  105. /** 表格排序箭头尺寸保持跟3.x一致 */
  106. .ant-table-wrapper .ant-table-column-sorter-up,
  107. .ant-table-wrapper .ant-table-column-sorter-down {
  108. font-size: 11px;
  109. }
  110. /** 表格头部文字颜色跟3.x版本保持一致 */
  111. .ant-table-wrapper .ant-table-thead > tr > th,
  112. .ant-table-wrapper .ant-table-thead > tr > td {
  113. color: #000000d9;
  114. font-weight: 500;
  115. }
  116. html[data-theme='dark'] .ant-table-wrapper .ant-table-thead > tr > th,
  117. .ant-table-wrapper .ant-table-thead > tr > td {
  118. color: rgba(255, 255, 255, 0.65);
  119. }
  120. /** 下拉菜单文字和图标折叠了 */
  121. .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-title-content,
  122. .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-title-content {
  123. flex: auto;
  124. white-space: nowrap;
  125. }
  126. // update-end--author:liaozhiyang---date:20231218---for:【QQYUN-6366】升级到antd4.x
  127. // update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮
  128. .ant-input-affix-wrapper-textarea-with-clear-btn {
  129. .ant-input-clear-icon {
  130. background-color: #fff;
  131. }
  132. }
  133. html[data-theme='dark'] .ant-input-affix-wrapper-textarea-with-clear-btn {
  134. .ant-input-clear-icon {
  135. background-color: #141414;
  136. }
  137. }
  138. // update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮
  139. // update-begin--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果
  140. .ant-table-pagination.ant-pagination {
  141. .ant-pagination-item-active,
  142. .ant-pagination-item-active:hover {
  143. background-color: @primary-color;
  144. border-color: transparent;
  145. a {
  146. color: #fff;
  147. }
  148. }
  149. .ant-pagination-item:not(.ant-pagination-item-active) {
  150. background-color: transparent !important;
  151. border-color: transparent;
  152. }
  153. .ant-pagination-prev,
  154. .ant-pagination-next,
  155. .ant-pagination-item {
  156. margin: 0 4px;
  157. }
  158. }
  159. // update-end--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果
  160. //update-begin--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式
  161. .tox .tox-tbtn__select-label {
  162. font-size: 14px;
  163. }
  164. .tox .tox-tbtn--select {
  165. width: 80px !important;
  166. }
  167. .tox .tox-collection__item-label {
  168. font-size: 14px !important;
  169. }
  170. //update-end--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式
  171. // update-begin--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式
  172. html[data-theme='light'] {
  173. .ant-form:not(.jeecg-form-detail-effect) {
  174. .ant-select.ant-select-disabled {
  175. .ant-select-selection-item {
  176. color: rgba(51, 51, 51, 0.25) !important;
  177. // color: rgba(51, 51, 51, 0.25);
  178. .ant-select-selection-item-content {
  179. color: rgba(51, 51, 51, 0.25);
  180. }
  181. }
  182. }
  183. .ant-input-number.ant-input-number-disabled {
  184. .ant-input-number-input {
  185. color: rgba(51, 51, 51, 0.25);
  186. }
  187. }
  188. }
  189. }
  190. html[data-theme='dark'] {
  191. .ant-form:not(.jeecg-form-detail-effect) {
  192. .ant-input-number.ant-input-number-disabled {
  193. .ant-input-number-input {
  194. color: rgba(255, 255, 255, 0.25);
  195. }
  196. }
  197. }
  198. }
  199. // update-end--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式