html, body { width: 100%; height: 100%; margin: 0; padding: 0; color: #fff; font-family: 'Alibaba PuHuiTi R', serif; } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track-piece { background-color: #0d2225; -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:vertical { height: 5px; background-color: #0d2225; -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:horizontal { width: 5px; background-color: #0d2225; -webkit-border-radius: 6px; } .layui-table td, .layui-table th, .layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-mend, .layui-table-page, .layui-table-tips-main, .layui-table-tool, .layui-table-total, .layui-table-view, .layui-table[lay-skin=line], .layui-table[lay-skin=row] { border-width: 1px; border-style: solid; border-color: transparent; } .layui-table { width: 100%; margin: 10px 0; background-color: transparent; color: white; } /* 表格头部背景色 */ th { background-color: #184B49; /* MediumSeaGreen */ color: #fff; font-weight: bold } /*鼠标指向表格时,奇数行背景颜色*/ .layui-table tbody tr:hover, .layui-table-hover { background-color: #19b0b9; } .layui-laypage .layui-laypage-curr .layui-laypage-em { background-color: #184B49; } .layui-laypage a:hover { color: #184B49; } .layui-laypage .layui-laypage-skip { color: #16534c; } .layui-laypage-count{ color:#184B49; } .layui-laypage button, .layui-laypage input { background-color: transparent; border: #184B49 1px solid; color: #184B49; } .layui-table-view select[lay-ignore] { background-color: transparent; border: #184B49 1px solid; color: #184B49; } .layui-table-page .layui-laypage span { color: #184B49; } .layui-table-page .layui-laypage a, .layui-table-page .layui-laypage span.layui-laypage-curr { color: #184B49; } /**公共类**/ .layout{ display: flex; align-items: center; justify-content: space-between; } .layout-vertical{ display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .background-img{ width: 100%; height: 100%; padding: 9% 2% 2% 2%; box-sizing: border-box; background-position: center center !important; flex-direction: column; justify-content: space-between; background-repeat: no-repeat; background-size: 100% 100%; } .right .background-img:nth-child(1){ padding: 8.5% 1% 1% 1%; } /*.right .background-img:nth-child(2){*/ /* padding: 3% 1% 1% 1%;*/ /*}*/ .Weather-img{ width: 100%; height: 100%; box-sizing: border-box; background-position: center center !important; flex-direction: column; justify-content: space-between; background-repeat: no-repeat; background-size: 100% 100%; } /**主体部分**/ .large-frame{ width: 100%; height: 100%; justify-content: space-evenly; } .left{ width: 23%; height: 99%; } .middle{ width: 50%; height: 99%; flex-direction: column; justify-content: space-between; } .right{ width: 24%; height: 99%; flex-direction: column; justify-content: space-between; } .left-down{ width: 100%; height: 50%; } .right-down{ width: 100%; height: 100%; } .left-under{ width: 100%; height: 48%; } .button-style{ color: #298B83; border: #184B49 1px solid; padding: 4px 9px; margin-left: 10px; } .left-under .layout:nth-child(1){ justify-content: flex-start; } .state-box{ width: 100%; height: 20%; display: flex; align-items: center; justify-content: flex-end; } .state{ display: flex; width: 4.5%; height: 25%; align-items: center; margin-left: 3%; background-position: center center !important; flex-direction: column; justify-content: space-between; background-repeat: no-repeat; background-size: 100% 100%; } .state-box .state:nth-child(1) { background-image: url("../../img/consQuality/质量检测设备-告警2.png"); } .state-box .state:nth-child(3) { background-image: url("../../img/consQuality/质量检测设备-正常2.png"); } .state-box .state:nth-child(5) { background-image: url("../../img/consQuality/质量检测设备-掉线3.png"); } .state-box .state:nth-child(2) { border: #e24e3b 1px solid; color: #e24e3b; } .monitor-data { width: 28%; height: 83%; flex-direction: column; justify-content: space-around; } .monitor-icon { width: 100%; height: 60%; background: url("../../img/consQuality/质量检测设备-正常.png") no-repeat 0 0 / 100% 100%; background-position: center center !important; background-size: initial; } .environment{ overflow: auto; width: 100%; height: 80%; } #map { width: 100%; height: 100%; } /* 弹出框样式 */ #popup { display: none; position: absolute; top: 50px; left: 50px; background-color: #fff; padding: 20px; border: 1px solid #000; } #popup { display: none; } .left-down-left{ width: 100%; height: 15%; } .left-down-down{ width: 100%; height: 85%; }