theme.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .bg-white {
  2. background-color: @component-background !important;
  3. }
  4. html[data-theme='light'] {
  5. // update-begin--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
  6. body{
  7. color: rgba(0, 0, 0, 0.65);
  8. }
  9. // update-end--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
  10. .text-secondary {
  11. color: rgba(0, 0, 0, 0.45);
  12. }
  13. /*【美化】自定义table字体颜色*/
  14. .ant-table {
  15. color: rgba(0, 0, 0, 0.65);
  16. }
  17. /*【美化】自定义table字体颜色*/
  18. /*【美化】自定义form字体颜色*/
  19. .ant-select-multiple .ant-select-selection-item-content {
  20. color: rgba(0, 0, 0, 0.65);
  21. }
  22. .ant-input-affix-wrapper > input.ant-input {
  23. // update-begin--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式
  24. &:not([disabled]) {
  25. color: rgba(0, 0, 0, 0.65);
  26. }
  27. // update-end--author:liaozhiyang---date:20240605---for:【TV360X-189】统一只读样式
  28. }
  29. .ant-select-single.ant-select-show-arrow .ant-select-selection-item, .ant-select-single.ant-select-show-arrow {
  30. color: rgba(0, 0, 0, 0.65);
  31. }
  32. /*【美化】自定义form字体颜色*/
  33. .ant-alert-success {
  34. background-color: #f6ffed;
  35. border: 1px solid #b7eb8f;
  36. }
  37. .ant-alert-error {
  38. background-color: #fff2f0;
  39. border: 1px solid #ffccc7;
  40. }
  41. .ant-alert-warning {
  42. background-color: #fffbe6;
  43. border: 1px solid #ffe58f;
  44. }
  45. :not(:root):fullscreen::backdrop {
  46. background-color: @layout-body-background !important;
  47. }
  48. }
  49. [data-theme='dark'] {
  50. // update-begin--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
  51. body{
  52. color: rgba(255, 255, 255, 0.85);
  53. }
  54. // update-end--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
  55. // update-begin--author:liaozhiyang---date:20240407---for:【QQYUN-8641】黑色主题-流程办理
  56. .ant-list .ant-list-item {
  57. color: rgba(255, 255, 255, 0.85);
  58. }
  59. // update-end--author:liaozhiyang---date:20240407---for:【QQYUN-8641】黑色主题-流程办理
  60. .text-secondary {
  61. color: #8b949e;
  62. }
  63. .ant-card-grid-hoverable:hover {
  64. box-shadow: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%), 0 9px 28px 8px rgb(0 0 0 / 20%);
  65. }
  66. .ant-card-grid {
  67. box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset, 0 1px 0 0 #434343 inset;
  68. }
  69. .ant-calendar-selected-day .ant-calendar-date {
  70. color: rgba(0, 0, 0, 0.8);
  71. }
  72. .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  73. color: rgba(0, 0, 0, 0.9);
  74. }
  75. }