.mainContentL{ float:left; width:470px; height:100%; box-sizing: border-box; border:1px solid #5397F0; border-radius: 2px; } .mainContentL_sInfo>p{ width:100%; height:37px; line-height:32px; background: url("../image/bar.png") center center no-repeat; text-align: center; } .mainContentL_top{ height: calc(100% - 40px); } .mainContentL_top>p:nth-child(1)>span:nth-child(2){ float:right; cursor: pointer; } .titleBg { height: 37px; line-height: 34px; background: url(../image/bar1.png) 0 0 no-repeat; padding: 0 20px; } .mainContentL_top_info{ width:calc(100% - 10px); height:calc(100% - 40px); padding:0 5px; } .mainContentL_top_info>form{ margin-top:10px; } .warnEventList{ margin-top:10px; height:calc(100% - 40px); overflow-y:auto; } .warnEventList>div{ width:calc(100% - 0px); box-sizing: border-box; border:1px solid #0372D5; border-left:5px solid #0372D5; overflow: hidden; padding:10px; margin-bottom:5px; } .warnEventList>div>p{ line-height:30px; height:30px; } .warnEventList>div>p{ width:60px; height:80px; float:left; margin:5px 10px 0 0; } .warnEventList>div>p>img{ width:100%; height:100%; } .warnEventList>div>div{ float:left; width:calc(100% - 70px); cursor: pointer; } .warnEventList>div>div>p{ line-height:30px; height:30px; } .warnEventList>div>div>p:nth-child(1)>span{ float:left; } .warnEventList>div>div>p:nth-child(1)>span:last-child{ float:right; } .warnEventList>div>div>p:nth-child(1)>span:nth-child(2){ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left:5px; } .warnEventList>div>div>p:nth-child(1)>span:first-child{ color:#E7B554; } /* 行为预警 */ .aIBehavioralPop>div{ text-align: center; } .aIBehavioralPop>div>div{ text-align: left; } .aIBehavioralPop>div>div>p{ height:30px; line-height:30px; } /* 一键告警 */ .pushButtonListInfo>div{ width:100% !important; }