379 lines
6.8 KiB
CSS
379 lines
6.8 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, .wisdom{
|
|
height: 23%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
.video>.title{
|
|
/* border: 1px solid green; */
|
|
width: 100%;
|
|
height: 24%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 90% 100%;
|
|
display: flex;
|
|
}
|
|
.video>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.content{
|
|
width: 100%;
|
|
height: 90%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 10px;
|
|
}
|
|
.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: 60%;
|
|
border-radius: 5px;
|
|
background: linear-gradient(to right, #2768dd, #177ae4, #078ceb);
|
|
}
|
|
.content>.color2{
|
|
width: 25%;
|
|
height: 60%;
|
|
border-radius: 5px;
|
|
background: linear-gradient(to right, #1ddfaa, #22bae7);
|
|
}
|
|
.content>.color3{
|
|
width: 25%;
|
|
height: 60%;
|
|
border-radius: 5px;
|
|
background: linear-gradient(to right, #f83b01, #db8232);
|
|
}
|
|
.tota{
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
}
|
|
.total{
|
|
font-size: 4px;
|
|
}
|
|
.wisdom>.title{
|
|
/* border: 1px solid green; */
|
|
width: 100%;
|
|
height: 20.4%;
|
|
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>.table{
|
|
border: 1px solid green;
|
|
margin-top: 4%;
|
|
width: 100%;
|
|
height: 44.2%;
|
|
}
|
|
|
|
|
|
.readLine{
|
|
/* border: 1px solid deepskyblue; */
|
|
/* margin-top: 4%; */
|
|
height: 53%;
|
|
}
|
|
.readLine>.title{
|
|
/* border: 1px solid green; */
|
|
width: 100%;
|
|
height: 9.4%;
|
|
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>#chart{
|
|
width: 100%;
|
|
height: 90%;
|
|
}
|
|
|
|
|
|
.electricity,
|
|
.electricity1,
|
|
.electricity2 {
|
|
height: 33%;
|
|
}
|
|
|
|
.title {
|
|
width: 100%;
|
|
height: 15%;
|
|
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;
|
|
}
|
|
|
|
.chart {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 80%;
|
|
}
|
|
|
|
.chart > #year-chart {
|
|
flex: 1;
|
|
width: 50%;
|
|
height: 100%;
|
|
}
|
|
|
|
.chart > #year-container {
|
|
flex: 2;
|
|
width: 50%;
|
|
height: 100%;
|
|
}
|
|
|
|
.interfaceState{
|
|
width: 100%;
|
|
height: 10%;
|
|
}
|
|
.right>.interfaceState{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.right>.interfaceState>div{
|
|
height: 100%;
|
|
display: flex;
|
|
}
|
|
.right>.interfaceState>div>span{
|
|
align-self: center;
|
|
}
|
|
.right>.interfaceState>div>span:nth-child(1){
|
|
color: white;
|
|
}
|
|
.right>.interfaceState>.title{
|
|
background-image: url(../../img/index/interfaceState.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
width: 14%;
|
|
}
|
|
.right>.interfaceState>.error{
|
|
width: 30%;
|
|
}
|
|
.right>.interfaceState>div>span:nth-child(1){
|
|
color: rgba(255,255,255,0.8);
|
|
font-size: 14px;
|
|
}
|
|
.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: 52%;
|
|
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;
|
|
text-indent: 45px;
|
|
}
|
|
.dayWarn>.contents{
|
|
width: 100%;
|
|
height: 22%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.dayWarn>.contents>.device{
|
|
width: 37%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.dayWarn>.contents>.device>.title{
|
|
width: 37%;
|
|
height: 100%;
|
|
background-image: url(../../img/googlealarm/累计总数.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 80%;
|
|
background-position: bottom;
|
|
}
|
|
.dayWarn>.contents>.device>.contents{
|
|
width: 50%;
|
|
}
|
|
.dayWarn>.contents>.device>.contents>span{
|
|
display: block;
|
|
width: 100%;
|
|
color: rgba(255,255,255,0.8);
|
|
}
|
|
.dayWarn>.contents>.device>.contents>span:nth-child(1){
|
|
margin-top: 18%;
|
|
color: #75FEFF;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
.dayWarn>.contents>.device>.contents>span:nth-child(2){
|
|
font-size: 14px;
|
|
}
|
|
.dayWarn>.contents>.defence{
|
|
width: 37%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.dayWarn>.contents>.defence>.title{
|
|
width: 37%;
|
|
height: 100%;
|
|
background-image: url(../../img/securityPrevention/dayWarn.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 80%;
|
|
background-position: bottom;
|
|
}
|
|
.dayWarn>.contents>.defence>.contents{
|
|
width: 50%;
|
|
}
|
|
.dayWarn>.contents>.defence>.contents>span{
|
|
display: block;
|
|
width: 100%;
|
|
color: rgba(255,255,255,0.8);
|
|
}
|
|
.dayWarn>.contents>.defence>.contents>span:nth-child(1){
|
|
margin-top: 18%;
|
|
color: #75FEFF;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
.dayWarn>.contents>.defence>.contents>span:nth-child(2){
|
|
font-size: 14px;
|
|
}
|
|
|
|
|
|
.defenceWarn{
|
|
width: 99.5%;
|
|
height: 31.75%;
|
|
margin-top: 4%;
|
|
}
|
|
.defenceWarn>.title{
|
|
width: 100%;
|
|
height: 16%;
|
|
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;
|
|
text-indent: 45px;
|
|
}
|
|
.defenceWarn>.table{
|
|
margin-top: 4%;
|
|
width: 103.5%;
|
|
height: 74%;
|
|
overflow: auto;
|
|
}
|
|
.defenceWarn>.table>div:nth-child(n + 2){
|
|
width: 100%;
|
|
margin-top: 1%;
|
|
background: url("../../img/index/standardColumn.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
height: 17%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.defenceWarn>.table>div:nth-child(n + 2):hover{
|
|
background: url("../../img/index/standardColumnHover.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
.defenceWarn>.table>div:nth-child(n + 2)>span{
|
|
color: rgba(255,255,255,0.6);
|
|
align-self: center;
|
|
width: 33.3%;
|
|
text-align: center;
|
|
}
|
|
.defenceWarn>.table>.tableList{
|
|
width: 100%;
|
|
background: url("../../img/index/title.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
margin: 0 auto; /* 设置左右外边距为自动 */
|
|
height: 17%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.defenceWarn>.table>.tableList>span{
|
|
color: rgba(255,255,255,0.8);
|
|
align-self: center;
|
|
width: 33.3%;
|
|
text-align: center;
|
|
}
|
|
#alarmStatus{
|
|
width: 100%;
|
|
height: 70%;
|
|
} |