index.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @import "~assets/less/variable";
  2. .overview-container {
  3. padding: 20px;
  4. flex: 1;
  5. display: flex;
  6. flex-direction: column;
  7. .charts {
  8. margin-top: 20px;
  9. flex: 1;
  10. display: flex;
  11. > div {
  12. flex: 1;
  13. background-color: #fff;
  14. margin-right: 20px;
  15. padding: 20px;
  16. display: flex;
  17. flex-direction: column;
  18. &:last-child {
  19. margin-right: 0;
  20. }
  21. &>div:last-child {
  22. flex: 1;
  23. }
  24. .chart-title {
  25. font-size: 16px;
  26. }
  27. .chart-desc {
  28. font-size: 12px;
  29. opacity: .8;
  30. }
  31. }
  32. }
  33. .card-list {
  34. display: flex;
  35. width: 100%;
  36. justify-content: space-between;
  37. .item {
  38. background-color: #fff;
  39. height: 120px;
  40. padding: 10px 20px;
  41. flex: 1;
  42. margin-right: 20px;
  43. &:last-child {
  44. margin-right: 0;
  45. }
  46. .title {
  47. font-size: 16px;
  48. padding-bottom: 10px;
  49. }
  50. .num {
  51. font-size: 24px ;
  52. font-weight: bold;
  53. color: @blue;
  54. }
  55. }
  56. }
  57. }