@import "~assets/less/variable"; .overview-container { padding: 20px; flex: 1; display: flex; flex-direction: column; .charts { margin-top: 20px; flex: 1; display: flex; > div { flex: 1; background-color: #fff; margin-right: 20px; padding: 20px; display: flex; flex-direction: column; border-radius: 6px; transition: all .2s ease; &:hover { box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1); } &:last-child { margin-right: 0; } & > div:last-child { flex: 1; } .chart-title { font-size: 16px; } .chart-desc { font-size: 12px; opacity: .8; } } } .card-list { display: flex; width: 100%; justify-content: space-between; .item { background-color: #fff; height: 120px; padding: 10px 20px; flex: 1; margin-right: 20px; position: relative; background-repeat: no-repeat; background-position: center; background-size: cover; border-radius: 6px; transition: all .2s ease; &:hover { box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1); } &:last-child { margin-right: 0; } .title { font-size: 18px; padding-bottom: 10px; color: rgba(0, 0, 0, .4); } .num { font-size: 30px; font-weight: bold; color: #fff; padding-right: 8px; } img { position: absolute; right: 20px; bottom: 30px; width: 40px; } } } }