index.less 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. border-radius: 6px;
  19. transition: all .2s ease;
  20. &:hover {
  21. box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1);
  22. }
  23. &:last-child {
  24. margin-right: 0;
  25. }
  26. & > div:last-child {
  27. flex: 1;
  28. }
  29. .chart-title {
  30. font-size: 16px;
  31. }
  32. .chart-desc {
  33. font-size: 12px;
  34. opacity: .8;
  35. }
  36. }
  37. }
  38. .card-list {
  39. display: flex;
  40. width: 100%;
  41. justify-content: space-between;
  42. .item {
  43. background-color: #fff;
  44. height: 120px;
  45. padding: 10px 20px;
  46. flex: 1;
  47. margin-right: 20px;
  48. position: relative;
  49. background-repeat: no-repeat;
  50. background-position: center;
  51. background-size: cover;
  52. border-radius: 6px;
  53. transition: all .2s ease;
  54. color: rgba(255, 255, 255, .6);
  55. &:hover {
  56. box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1);
  57. }
  58. &:last-child {
  59. margin-right: 0;
  60. }
  61. .title {
  62. font-size: 16px;
  63. padding-bottom: 10px;
  64. }
  65. .num {
  66. font-size: 30px;
  67. color: #fff;
  68. padding-right: 8px;
  69. font-family: 'Arial';
  70. }
  71. img {
  72. position: absolute;
  73. right: 20px;
  74. bottom: 30px;
  75. width: 40px;
  76. }
  77. }
  78. }
  79. }