|
@@ -1,16 +1,326 @@
|
|
|
@font-face {
|
|
|
font-family: 'svgfont';
|
|
|
src: url('iconfont/iconfont.eot');
|
|
|
- src: url('iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
|
|
|
- url('iconfont/iconfont.woff2') format('woff2'),
|
|
|
- url('iconfont/iconfont.woff') format('woff'),
|
|
|
- url('iconfont/iconfont.ttf') format('truetype'),
|
|
|
- url('iconfont/iconfont.svg#iconfont') format('svg');
|
|
|
+ src: url('iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('iconfont/iconfont.woff2') format('woff2'), url('iconfont/iconfont.woff') format('woff'), url('iconfont/iconfont.ttf') format('truetype'), url('iconfont/iconfont.svg#iconfont') format('svg');
|
|
|
}
|
|
|
+
|
|
|
.svgfont {
|
|
|
-font-family: "svgfont" !important;
|
|
|
-font-size: 16px;
|
|
|
-font-style: normal;
|
|
|
--webkit-font-smoothing: antialiased;
|
|
|
--moz-osx-font-smoothing: grayscale;
|
|
|
-}
|
|
|
+ font-family: "svgfont" !important;
|
|
|
+ font-size: 16px;
|
|
|
+ font-style: normal;
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* ming start */
|
|
|
+
|
|
|
+* {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+li {
|
|
|
+ list-style: none;
|
|
|
+}
|
|
|
+
|
|
|
+body {
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
|
|
|
+ background: url(../images/bg.png) no-repeat #000;
|
|
|
+ background-size: cover;
|
|
|
+ /* 行高是字体1.15倍 */
|
|
|
+ line-height: 1.15;
|
|
|
+ height: 100vh;
|
|
|
+ min-height: 600px;
|
|
|
+}
|
|
|
+
|
|
|
+header {
|
|
|
+ position: relative;
|
|
|
+ /* height: 1.25rem; */
|
|
|
+ height: 1.125rem;
|
|
|
+ background: url(../images/head_bg.png) no-repeat;
|
|
|
+ background-position: 20% 0;
|
|
|
+ background-size: cover;
|
|
|
+}
|
|
|
+
|
|
|
+header h1 {
|
|
|
+ font-size: 0.475rem;
|
|
|
+ color: #fff;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+header .showTime {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0.375rem;
|
|
|
+ line-height: 0.9375rem;
|
|
|
+ font-size: 0.25rem;
|
|
|
+ color: rgba(255, 255, 255, 0.7);
|
|
|
+}
|
|
|
+
|
|
|
+.mainbox {
|
|
|
+ min-width: 1024px;
|
|
|
+ max-width: 1920px;
|
|
|
+ padding: 0.125rem 0.125rem 0;
|
|
|
+ height: calc(100vh - 1.125rem)
|
|
|
+}
|
|
|
+
|
|
|
+.mainbox .column {
|
|
|
+ flex: 3;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox,
|
|
|
+.bottomBox {
|
|
|
+ display: flex;
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox .column:nth-child(2) {
|
|
|
+ flex: 5;
|
|
|
+ margin: 0 0.125rem 0;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox {
|
|
|
+ height: 70%;
|
|
|
+ border: 1px solid red;
|
|
|
+}
|
|
|
+
|
|
|
+.bottomBox {
|
|
|
+ height: calc(30% - 0.45rem);
|
|
|
+ border: 1px solid pink;
|
|
|
+ margin-top: 0.225rem;
|
|
|
+}
|
|
|
+
|
|
|
+.bottomBox .column {
|
|
|
+ text-align: end;
|
|
|
+ border: 1px solid red
|
|
|
+}
|
|
|
+
|
|
|
+.bottomBox .column:first-child {
|
|
|
+ margin-right: 0.1125rem
|
|
|
+}
|
|
|
+
|
|
|
+.bottomBox .column:last-child {
|
|
|
+ margin-left: 0.1125rem
|
|
|
+}
|
|
|
+
|
|
|
+.panel {
|
|
|
+ position: relative;
|
|
|
+ height: 3.875rem;
|
|
|
+ border: 1px solid rgba(25, 186, 139, 0.17);
|
|
|
+ /* background: rgba(255, 255, 255, 0.04) url(../images/line\(1\).png); */
|
|
|
+ padding: 0 .225rem 0.5rem;
|
|
|
+ margin-bottom: .225rem;
|
|
|
+}
|
|
|
+
|
|
|
+.panel.statisTop {
|
|
|
+ height: 60%;
|
|
|
+ border: 1px solid green
|
|
|
+}
|
|
|
+
|
|
|
+.panel.statisBottom {
|
|
|
+ height: calc(100% - 60% - 0.225rem);
|
|
|
+ border: 1px solid blue
|
|
|
+}
|
|
|
+
|
|
|
+.panel.deviceSum {
|
|
|
+ height: 50%;
|
|
|
+ border: 1px solid red;
|
|
|
+}
|
|
|
+
|
|
|
+.panel.operStatus {
|
|
|
+ height: calc(50% - 0.225rem);
|
|
|
+ border: 1px solid red;
|
|
|
+}
|
|
|
+
|
|
|
+.panel::before {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ content: "";
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
+ border-top: 2px solid #02a6b5;
|
|
|
+ border-left: 2px solid #02a6b5;
|
|
|
+}
|
|
|
+
|
|
|
+.panel::after {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ content: "";
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
+ border-top: 2px solid #02a6b5;
|
|
|
+ border-right: 2px solid #02a6b5;
|
|
|
+}
|
|
|
+
|
|
|
+.panel .panel-footer {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.panel .panel-footer::before {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ content: "";
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
+ border-bottom: 2px solid #02a6b5;
|
|
|
+ border-left: 2px solid #02a6b5;
|
|
|
+}
|
|
|
+
|
|
|
+.panel .panel-footer::after {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ content: "";
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
+ border-bottom: 2px solid #02a6b5;
|
|
|
+ border-right: 2px solid #02a6b5;
|
|
|
+}
|
|
|
+
|
|
|
+.panel h2 {
|
|
|
+ height: 0.6rem;
|
|
|
+ line-height: 0.6rem;
|
|
|
+ text-align: center;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 0.25rem;
|
|
|
+ font-weight: 400;
|
|
|
+}
|
|
|
+
|
|
|
+.panel h2 a {
|
|
|
+ margin: 0 .225rem;
|
|
|
+ color: #fff;
|
|
|
+ text-decoration: underline;
|
|
|
+}
|
|
|
+
|
|
|
+.panel .chart {
|
|
|
+ height: 3rem;
|
|
|
+}
|
|
|
+
|
|
|
+.no {
|
|
|
+ background: rgba(101, 132, 226, 0.1);
|
|
|
+ padding: .225rem;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd {
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid rgba(25, 186, 139, 0.17);
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd::before {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ width: 30px;
|
|
|
+ height: 10px;
|
|
|
+ border-top: 2px solid #02a6b5;
|
|
|
+ border-left: 2px solid #02a6b5;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ width: 30px;
|
|
|
+ height: 10px;
|
|
|
+ border-bottom: 2px solid #02a6b5;
|
|
|
+ border-right: 2px solid #02a6b5;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd ul {
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd ul li {
|
|
|
+ position: relative;
|
|
|
+ flex: 1;
|
|
|
+ text-align: center;
|
|
|
+ height: 1rem;
|
|
|
+ line-height: 1rem;
|
|
|
+ font-size: 0.875rem;
|
|
|
+ color: #ffeb7b;
|
|
|
+ padding: 0.05rem 0;
|
|
|
+ font-family: electronicFont;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-hd ul li:first-child::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ height: 50%;
|
|
|
+ width: 1px;
|
|
|
+ background: rgba(255, 255, 255, 0.2);
|
|
|
+ right: 0;
|
|
|
+ top: 25%;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-bd ul {
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+
|
|
|
+.no .no-bd ul li {
|
|
|
+ flex: 1;
|
|
|
+ height: 0.5rem;
|
|
|
+ line-height: 0.5rem;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 0.225rem;
|
|
|
+ color: rgba(255, 255, 255, 0.7);
|
|
|
+ padding-top: 0.125rem;
|
|
|
+}
|
|
|
+
|
|
|
+.map {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: url(../../assets/images/map.png);
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ background-position: top center;
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes rotate {
|
|
|
+ from {
|
|
|
+ transform: translate(-50%, -50%) rotate(0deg);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ transform: translate(-50%, -50%) rotate(360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes rotate1 {
|
|
|
+ from {
|
|
|
+ transform: translate(-50%, -50%) rotate(0deg);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ transform: translate(-50%, -50%) rotate(-360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 1024px) {
|
|
|
+ html {
|
|
|
+ font-size: 42px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (min-width: 1920) {
|
|
|
+ html {
|
|
|
+ font-size: 80px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* ming end */
|