[web-app] 菜单功能布局大致样式定义
This commit is contained in:
61
web-app/src/app/routes/dashboard/dashboard.component.less
Normal file
61
web-app/src/app/routes/dashboard/dashboard.component.less
Normal file
@@ -0,0 +1,61 @@
|
||||
@import '~@delon/theme/index';
|
||||
:host ::ng-deep {
|
||||
.map-chart {
|
||||
height: 457px;
|
||||
padding-top: 24px;
|
||||
text-align: center;
|
||||
img {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
max-height: 437px;
|
||||
}
|
||||
}
|
||||
.pie-card {
|
||||
.pie-stat {
|
||||
font-size: 24px !important;
|
||||
}
|
||||
}
|
||||
.active-chart {
|
||||
position: relative;
|
||||
g2-mini-area {
|
||||
margin-top: 32px;
|
||||
}
|
||||
.active-grid {
|
||||
p {
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
width: 100%;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px dashed #e9e9e9;
|
||||
}
|
||||
p:last-child {
|
||||
top: 115px;
|
||||
}
|
||||
}
|
||||
.active-legend {
|
||||
position: relative;
|
||||
height: 20px;
|
||||
margin-top: 8px;
|
||||
font-size: 0;
|
||||
line-height: 20px;
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 33.33%;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
span:first-child {
|
||||
text-align: left;
|
||||
}
|
||||
span:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @screen-lg) {
|
||||
.map-chart {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
@Component({
|
||||
selector: 'app-dashboard',
|
||||
templateUrl: './dashboard.component.html',
|
||||
styleUrls: ['./dashboard.component.less'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class DashboardComponent {}
|
||||
|
||||
Reference in New Issue
Block a user