1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- @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;
- color: rgba(255, 255, 255, .6);
- &:hover {
- box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1);
- }
- &:last-child {
- margin-right: 0;
- }
- .title {
- font-size: 16px;
- padding-bottom: 10px;
- }
- .num {
- font-size: 30px;
- color: #fff;
- padding-right: 8px;
- font-family: 'Arial';
- }
- img {
- position: absolute;
- right: 20px;
- bottom: 30px;
- width: 40px;
- }
- }
- }
- }
|