theme.less 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @ventSpace: zxm;
  2. .bg-white {
  3. background-color: @component-background !important;
  4. }
  5. html[data-theme='light'] {
  6. .text-secondary {
  7. color: rgba(0, 0, 0, 0.45);
  8. }
  9. /*【美化】自定义table字体颜色*/
  10. .@{ventSpace}-table {
  11. color: rgba(0, 0, 0, 0.65);
  12. }
  13. /*【美化】自定义table字体颜色*/
  14. /*【美化】自定义form字体颜色*/
  15. .@{ventSpace}-select-multiple .@{ventSpace}-select-selection-item-content {
  16. color: rgba(0, 0, 0, 0.65);
  17. }
  18. .@{ventSpace}-input-affix-wrapper > input.@{ventSpace}-input {
  19. color: rgba(0, 0, 0, 0.65);
  20. }
  21. .@{ventSpace}-select-single.@{ventSpace}-select-show-arrow .@{ventSpace}-select-selection-item,
  22. .@{ventSpace}-select-single.@{ventSpace}-select-show-arrow .@{ventSpace}-select-selection-placeholder {
  23. color: rgba(0, 0, 0, 0.65);
  24. }
  25. /*【美化】自定义form字体颜色*/
  26. .@{ventSpace}-alert-success {
  27. background-color: #f6ffed;
  28. border: 1px solid #b7eb8f;
  29. }
  30. .@{ventSpace}-alert-error {
  31. background-color: #fff2f0;
  32. border: 1px solid #ffccc7;
  33. }
  34. .@{ventSpace}-alert-warning {
  35. background-color: #fffbe6;
  36. border: 1px solid #ffe58f;
  37. }
  38. :not(:root):fullscreen::backdrop {
  39. background-color: @layout-body-background !important;
  40. }
  41. }
  42. [data-theme='dark'] {
  43. .text-secondary {
  44. color: #8b949e;
  45. }
  46. .@{ventSpace}-card-grid-hoverable:hover {
  47. 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%);
  48. }
  49. .@{ventSpace}-card-grid {
  50. 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;
  51. }
  52. .@{ventSpace}-calendar-selected-day .@{ventSpace}-calendar-date {
  53. color: rgba(0, 0, 0, 0.8);
  54. }
  55. .@{ventSpace}-select-tree li .@{ventSpace}-select-tree-node-content-wrapper.@{ventSpace}-select-tree-node-selected {
  56. color: rgba(0, 0, 0, 0.9);
  57. }
  58. }