动态菜单和动态路由的 antd pro

index.less 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @import '~antd/lib/style/themes/default.less';
  2. .numberInfo {
  3. .suffix {
  4. color: @text-color;
  5. font-size: 16px;
  6. font-style: normal;
  7. margin-left: 4px;
  8. }
  9. .numberInfoTitle {
  10. color: @text-color;
  11. font-size: @font-size-lg;
  12. margin-bottom: 16px;
  13. transition: all 0.3s;
  14. }
  15. .numberInfoSubTitle {
  16. color: @text-color-secondary;
  17. font-size: @font-size-base;
  18. height: 22px;
  19. line-height: 22px;
  20. overflow: hidden;
  21. text-overflow: ellipsis;
  22. word-break: break-all;
  23. white-space: nowrap;
  24. }
  25. .numberInfoValue {
  26. margin-top: 4px;
  27. font-size: 0;
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. word-break: break-all;
  31. white-space: nowrap;
  32. & > span {
  33. color: @heading-color;
  34. display: inline-block;
  35. line-height: 32px;
  36. height: 32px;
  37. font-size: 24px;
  38. margin-right: 32px;
  39. }
  40. .subTotal {
  41. color: @text-color-secondary;
  42. font-size: @font-size-lg;
  43. vertical-align: top;
  44. margin-right: 0;
  45. i {
  46. font-size: 12px;
  47. transform: scale(0.82);
  48. margin-left: 4px;
  49. }
  50. :global {
  51. .anticon-caret-up {
  52. color: @red-6;
  53. }
  54. .anticon-caret-down {
  55. color: @green-6;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. .numberInfolight {
  62. .numberInfoValue {
  63. & > span {
  64. color: @text-color;
  65. }
  66. }
  67. }