From f4839b6e3fac1f877190a78c36d7affdde091efe Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Fri, 03 Aug 2018 08:46:30 +0800 Subject: [PATCH] 设备数据 --- src/app/routes/dashboard/monitor/monitor.component.less | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) diff --git a/src/app/routes/dashboard/monitor/monitor.component.less b/src/app/routes/dashboard/monitor/monitor.component.less new file mode 100644 index 0000000..0486ca6 --- /dev/null +++ b/src/app/routes/dashboard/monitor/monitor.component.less @@ -0,0 +1,60 @@ +@import '~@delon/theme/styles/antd/themes/default.less'; + +:host ::ng-deep { + .map-chart { + padding-top: 24px; + height: 457px; + 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; + mini-area { + margin-top: 32px; + } + .active-grid { + p { + position: absolute; + top: 80px; + } + p:last-child { + top: 115px; + } + } + .active-legend { + position: relative; + font-size: 0; + margin-top: 8px; + height: 20px; + line-height: 20px; + span { + display: inline-block; + font-size: 12px; + text-align: center; + width: 33.33%; + } + span:first-child { + text-align: left; + } + span:last-child { + text-align: right; + } + } + } + + @media screen and (max-width: @screen-lg) { + .map-chart { + height: auto; + } + } +} -- Gitblit v1.8.0