index.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. position: absolute;
  62. top: 0;
  63. right: 0;
  64. width: auto;
  65. height: auto;
  66. }
  67. .ant-modal-content {
  68. padding: 0;
  69. }
  70. }
  71. .ant-input-affix-wrapper > input.ant-input {
  72. font-size: 14px;
  73. }
  74. .ant-pagination-options-size-changer.ant-select {
  75. display: inline-block;
  76. width: auto;
  77. }
  78. .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-list-holder-inner {
  79. align-items: stretch;
  80. }
  81. .ant-list .ant-list-item {padding-left: 0;padding-right: 0;}
  82. .ant-list-item {
  83. display: flex;
  84. align-items: center;
  85. justify-content: space-between;
  86. padding: 12px 0;
  87. color: #000000d9;
  88. }
  89. /** anticon-down跟3.x保持一致*/
  90. .ant-dropdown-trigger>.anticon.anticon-down, .ant-dropdown-link>.anticon.anticon-down, .ant-dropdown-button>.anticon.anticon-down {
  91. font-size: 10px;
  92. vertical-align: baseline;
  93. }
  94. /** 表格排序箭头尺寸保持跟3.x一致 */
  95. .ant-table-wrapper .ant-table-column-sorter-up, .ant-table-wrapper .ant-table-column-sorter-down {
  96. font-size: 11px;
  97. }
  98. /** 表格头部文字颜色跟3.x版本保持一致 */
  99. .ant-table-wrapper .ant-table-thead >tr>th, .ant-table-wrapper .ant-table-thead >tr>td {
  100. color: #000000d9;
  101. font-weight: 500;
  102. }
  103. html[data-theme='dark'] .ant-table-wrapper .ant-table-thead >tr>th, .ant-table-wrapper .ant-table-thead >tr>td {
  104. color:rgba(255,255,255,.65);
  105. }
  106. /** 下拉菜单文字和图标折叠了 */
  107. .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-title-content, .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-title-content{
  108. flex: auto;
  109. white-space:nowrap;
  110. }
  111. // update-end--author:liaozhiyang---date:20231218---for:【QQYUN-6366】升级到antd4.x
  112. // update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮
  113. .ant-input-affix-wrapper-textarea-with-clear-btn {
  114. .ant-input-clear-icon {
  115. background-color: #fff;
  116. }
  117. }
  118. html[data-theme='dark'] .ant-input-affix-wrapper-textarea-with-clear-btn {
  119. .ant-input-clear-icon {
  120. background-color: #141414;
  121. }
  122. }
  123. // update-end--author:liaozhiyang---date:20230105---for:【QQYUN-7493】多行文本内容过多时内容会覆盖掉清空按钮
  124. // update-begin--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果
  125. .ant-table-pagination.ant-pagination {
  126. .ant-pagination-item-active,
  127. .ant-pagination-item-active:hover {
  128. background-color: @primary-color;
  129. border-color: transparent;
  130. a {
  131. color: #fff;
  132. }
  133. }
  134. .ant-pagination-item:not(.ant-pagination-item-active) {
  135. background-color: transparent !important;
  136. border-color: transparent;
  137. }
  138. .ant-pagination-prev,
  139. .ant-pagination-next,
  140. .ant-pagination-item {
  141. margin: 0 4px;
  142. }
  143. }
  144. // update-end--author:liaozhiyang---date:20230108---for:【QQYUN-7855】table页码同步3.x页面效果
  145. //update-begin--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式
  146. .tox .tox-tbtn__select-label{
  147. font-size: 14px;
  148. }
  149. .tox .tox-tbtn--select{
  150. width: 80px !important;
  151. }
  152. .tox .tox-collection__item-label {
  153. font-size: 14px !important;
  154. }
  155. //update-end--author:wangshuai---date:20240429---for:修改tinymce段落下拉框的字体和样式
  156. // update-begin--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式
  157. html[data-theme='light'] {
  158. .ant-form:not(.jeecg-form-detail-effect) {
  159. .ant-select.ant-select-disabled {
  160. .ant-select-selection-item {
  161. color: rgba(51, 51, 51, 0.25) !important;
  162. // color: rgba(51, 51, 51, 0.25);
  163. .ant-select-selection-item-content {
  164. color: rgba(51, 51, 51, 0.25);
  165. }
  166. }
  167. }
  168. .ant-input-number.ant-input-number-disabled {
  169. .ant-input-number-input {
  170. color: rgba(51, 51, 51, 0.25);
  171. }
  172. }
  173. }
  174. }
  175. html[data-theme='dark'] {
  176. .ant-form:not(.jeecg-form-detail-effect) {
  177. .ant-input-number.ant-input-number-disabled {
  178. .ant-input-number-input {
  179. color:rgba(255, 255, 255, 0.25);
  180. }
  181. }
  182. }
  183. }
  184. // update-end--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式