294 lines
5.5 KiB
CSS
294 lines
5.5 KiB
CSS
|
|
html,
|
||
|
|
body {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.left{
|
||
|
|
height: 99.6%;
|
||
|
|
width: 31%;
|
||
|
|
}
|
||
|
|
.center{
|
||
|
|
height: 99.6%;
|
||
|
|
width: 30%;
|
||
|
|
}
|
||
|
|
.right{
|
||
|
|
height: 99.6%;
|
||
|
|
width: 31%;
|
||
|
|
}
|
||
|
|
.video {
|
||
|
|
height: 10%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-evenly;
|
||
|
|
color: #99a3a5;
|
||
|
|
font-size: 25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.video>.title {
|
||
|
|
width: 7.8%;
|
||
|
|
height: 78%;
|
||
|
|
background-image: url(../../img/numberBox.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 100% 100%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-around;
|
||
|
|
font-size: 37px;
|
||
|
|
color: #f2f5f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wisdom{
|
||
|
|
height: 49%;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wisdom>.title{
|
||
|
|
width: 100%;
|
||
|
|
height: 11%;
|
||
|
|
background-image: url(../../img/moduleTitle.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 90% 100%;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
.wisdom>.title>span{
|
||
|
|
align-self: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-size: 16px;
|
||
|
|
text-indent: 45px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wisdom>.middle{
|
||
|
|
height: 62%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content{
|
||
|
|
width: 100%;
|
||
|
|
height: 26%;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-around;
|
||
|
|
align-items: center;
|
||
|
|
box-sizing: border-box;
|
||
|
|
padding: 10px 0 10px 0;
|
||
|
|
}
|
||
|
|
.content>div{
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
box-sizing: border-box;
|
||
|
|
padding: 10px;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
.content>div>.count{
|
||
|
|
font-size: 28px;
|
||
|
|
letter-spacing: 2px;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #fff;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.content>div>.status{
|
||
|
|
font-size: 14px;
|
||
|
|
color: #fff;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.content>.color1{
|
||
|
|
width: 25%;
|
||
|
|
height: 100%;
|
||
|
|
border-radius: 5px;
|
||
|
|
background: linear-gradient(to right, #2768dd, #177ae4, #078ceb);
|
||
|
|
}
|
||
|
|
.content>.color2{
|
||
|
|
width: 25%;
|
||
|
|
height: 100%;
|
||
|
|
border-radius: 5px;
|
||
|
|
background: linear-gradient(to right, #1ddfaa, #22bae7);
|
||
|
|
}
|
||
|
|
.content>.color3{
|
||
|
|
width: 25%;
|
||
|
|
height: 100%;
|
||
|
|
border-radius: 5px;
|
||
|
|
background: linear-gradient(to right, #f83b01, #db8232);
|
||
|
|
}
|
||
|
|
.total{
|
||
|
|
font-size: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.readLine{
|
||
|
|
/* border: 1px solid deepskyblue; */
|
||
|
|
/* margin-top: 4%; */
|
||
|
|
height: 40%;
|
||
|
|
}
|
||
|
|
.readLine>.title{
|
||
|
|
/* border: 1px solid green; */
|
||
|
|
width: 100%;
|
||
|
|
height: 13%;
|
||
|
|
background-image: url(../../img/moduleTitle.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 90% 100%;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
.readLine>.title>span{
|
||
|
|
align-self: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-size: 16px;
|
||
|
|
text-indent: 45px;
|
||
|
|
}
|
||
|
|
.readLine>.table{
|
||
|
|
margin-top: 1%;
|
||
|
|
width: 100%;
|
||
|
|
height: 90%;
|
||
|
|
overflow: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.readLine>.table>div:nth-child(n + 2){
|
||
|
|
width: 100%;
|
||
|
|
margin-top: 1%;
|
||
|
|
background: url("../../img/index/standardColumn.png") no-repeat;
|
||
|
|
background-size: 100% 100%;
|
||
|
|
height: 12%;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-around;
|
||
|
|
}
|
||
|
|
.readLine>.table>div:nth-child(n + 2):hover{
|
||
|
|
background: url("../../img/index/standardColumnHover.png") no-repeat;
|
||
|
|
background-size: 100% 100%;
|
||
|
|
}
|
||
|
|
.readLine>.table>div:nth-child(n + 2)>span{
|
||
|
|
color: rgba(255,255,255,0.6);
|
||
|
|
align-self: center;
|
||
|
|
width: 33.3%;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.readLine>.table>.tableList{
|
||
|
|
width: 100%;
|
||
|
|
background: url("../../img/index/title.png") no-repeat;
|
||
|
|
background-size: 100% 100%;
|
||
|
|
margin: 0 auto; /* 设置左右外边距为自动 */
|
||
|
|
height: 14%;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-around;
|
||
|
|
}
|
||
|
|
.readLine>.table>.tableList>span{
|
||
|
|
color: rgba(255,255,255,0.8);
|
||
|
|
align-self: center;
|
||
|
|
width: 33.3%;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.electricity{
|
||
|
|
height: 12%;
|
||
|
|
/*display: flex;*/
|
||
|
|
/*flex-direction: column;*/
|
||
|
|
color: #99a3a5;
|
||
|
|
font-size: 25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.electricity .title{
|
||
|
|
width: 8%;
|
||
|
|
height: 100%;
|
||
|
|
background-image: url(../../img/numberBox.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 100% 100%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-around;
|
||
|
|
font-size: 37px;
|
||
|
|
color: #f2f5f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.electricity1,
|
||
|
|
.electricity2 {
|
||
|
|
height: 44%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.electricity1 >.chart,
|
||
|
|
.electricity2 >.chart{
|
||
|
|
height: 88%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title {
|
||
|
|
width: 100%;
|
||
|
|
height: 12%;
|
||
|
|
background-image: url(../../img/moduleTitle.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 95% 100%;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title > span {
|
||
|
|
align-self: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-size: 16px;
|
||
|
|
padding-left: 53px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.defenceWarn>.title>div:nth-child(2) {
|
||
|
|
background-image: url(../../img/details.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 85% 100%;
|
||
|
|
width: 5%;
|
||
|
|
height: 58%;
|
||
|
|
margin-left: 1%;
|
||
|
|
margin-top: 11px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dayWarn{
|
||
|
|
width: 100%;
|
||
|
|
height: 49%;
|
||
|
|
/*margin-top: 4%;*/
|
||
|
|
}
|
||
|
|
.dayWarn>.title{
|
||
|
|
width: 100%;
|
||
|
|
height: 9%;
|
||
|
|
background-image: url(../../img/moduleTitle.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 85% 100%;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
.dayWarn>.title>span{
|
||
|
|
align-self: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dayWarn>.center{
|
||
|
|
width: 100%;
|
||
|
|
height: 90%;
|
||
|
|
}
|
||
|
|
|
||
|
|
#timePeriodWaterUse{
|
||
|
|
width: 100%;
|
||
|
|
height: 90%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.defenceWarn{
|
||
|
|
width: 99.5%;
|
||
|
|
height: 49%;
|
||
|
|
/*margin-top: 4%;*/
|
||
|
|
}
|
||
|
|
.defenceWarn>.title{
|
||
|
|
width: 100%;
|
||
|
|
height: 10%;
|
||
|
|
background-image: url(../../img/moduleTitle.png);
|
||
|
|
background-repeat: no-repeat;
|
||
|
|
background-size: 85% 100%;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
.defenceWarn>.title>span{
|
||
|
|
align-self: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#alarmStatus{
|
||
|
|
width: 100%;
|
||
|
|
height: 70%;
|
||
|
|
}
|