482 lines
8.7 KiB
CSS
482 lines
8.7 KiB
CSS
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.left{
|
|
height: 99.6%;
|
|
width: 28%;
|
|
}
|
|
.center{
|
|
height: 99.6%;
|
|
width: 30%;
|
|
}
|
|
.right{
|
|
height: 99.6%;
|
|
width: 31%;
|
|
}
|
|
|
|
|
|
.above{
|
|
width: 100%;
|
|
height: 20%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
.above>.title{
|
|
width: 100%;
|
|
height: 26%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
display: flex;
|
|
}
|
|
.above>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.above>.content{
|
|
width: 100%;
|
|
height: 90%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin: -25px auto;
|
|
}
|
|
.person-preview{
|
|
padding: 0 30px;
|
|
}
|
|
.lef-color1, .lef-color3{
|
|
width: 41% !important;
|
|
}
|
|
.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;
|
|
}
|
|
.above>.content>.color1{
|
|
width: 34%;
|
|
height: 55%;
|
|
border-radius: 5px;
|
|
margin-right: 10px;
|
|
background: linear-gradient(to right, #2768dd, #177ae4, #078ceb);
|
|
}
|
|
.above>.content>.color3{
|
|
width: 34%;
|
|
height: 55%;
|
|
border-radius: 5px;
|
|
margin-left: 10px;
|
|
background: linear-gradient(to right, #f83b01, #db8232);
|
|
}
|
|
|
|
|
|
.middle{
|
|
margin-top: 4%;
|
|
height: 35%;
|
|
}
|
|
.middle>.title{
|
|
width: 100%;
|
|
height: 12%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
display: flex;
|
|
}
|
|
.middle>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.middle>#chart{
|
|
width: 100%;
|
|
height: 90%;
|
|
}
|
|
|
|
.below{
|
|
margin-top: 4%;
|
|
height: 35%;
|
|
}
|
|
.below>.title{
|
|
width: 100%;
|
|
height: 12%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
display: flex;
|
|
}
|
|
.below>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.below>#charts{
|
|
width: 100%;
|
|
height: 90%;
|
|
}
|
|
|
|
/* 中间段样式 */
|
|
.center>.above>.content>.color1{
|
|
width: 34%;
|
|
height: 55%;
|
|
border-radius: 5px;
|
|
margin-top: 25px;
|
|
background: linear-gradient(to right, #2768dd, #177ae4, #078ceb);
|
|
}
|
|
.center>.above>.content>.color2{
|
|
width: 34%;
|
|
height: 55%;
|
|
border-radius: 5px;
|
|
margin-top: 25px;
|
|
background: linear-gradient(to right, #1ddfaa, #22bae7);
|
|
}
|
|
.center>.above>.content>.color3{
|
|
width: 34%;
|
|
height: 55%;
|
|
border-radius: 5px;
|
|
margin-top: 25px;
|
|
background: linear-gradient(to right, #f83b01, #db8232);
|
|
}
|
|
|
|
.center>.middle>#nonprofit{
|
|
width: 100%;
|
|
height: 90%;
|
|
}
|
|
|
|
.center>.below>#uptime{
|
|
width: 100%;
|
|
height: 90%;
|
|
}
|
|
|
|
|
|
|
|
/* 右边段样式 */
|
|
.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;
|
|
}
|
|
|
|
.dayWarn{
|
|
width: 100%;
|
|
height: 18%;
|
|
/*margin-top: 4%;*/
|
|
}
|
|
.dayWarn>.title{
|
|
width: 100%;
|
|
height: 27%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 85% 100%;
|
|
display: flex;
|
|
}
|
|
.deviceWarn>.title>div{
|
|
float: left;
|
|
align-self: center;
|
|
}
|
|
.deviceWarn>.title>div:nth-child(1){
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.deviceWarn>.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%;
|
|
cursor: pointer;
|
|
}
|
|
.dayWarn>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.dayWarn>.content{
|
|
width: 100%;
|
|
height: 73%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.dayWarn>.content>.device{
|
|
width: 40%;
|
|
height: 99%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.dayWarn>.content>.device>.title{
|
|
width: 37%;
|
|
margin-top: 12%;
|
|
margin-left: -7%;
|
|
float: left;
|
|
/* background-image: url(../../img/securityPrevention/dayWarn.png); */
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 80%;
|
|
background-position: bottom;
|
|
}
|
|
.dayWarn>.content>.device>.content{
|
|
width: 50%;
|
|
margin-left: 40%;
|
|
margin-top: -42%;
|
|
}
|
|
.dayWarn>.content>.device>.content>span{
|
|
display: block;
|
|
width: 100%;
|
|
color: rgba(255,255,255,0.8);
|
|
}
|
|
.dayWarn>.content>.device>.content>span:nth-child(1){
|
|
margin-top: 18%;
|
|
color: #75FEFF;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
.dayWarn>.content>.device>.content>span:nth-child(2){
|
|
font-size: 14px;
|
|
}
|
|
.dayWarn>.content>.device>.content>span:nth-child(3){
|
|
margin-top: 2%;
|
|
font-size: 12px;
|
|
}
|
|
.dayWarn>.content>.defence{
|
|
width: 40%;
|
|
height: 99%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.dayWarn>.content>.defence>.title{
|
|
width: 37%;
|
|
margin-top: 12%;
|
|
margin-left: -24%;
|
|
float: left;
|
|
/* background-image: url(../../img/securityPrevention/dayWarn.png); */
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 80%;
|
|
background-position: bottom;
|
|
}
|
|
.dayWarn>.content>.defence>.content{
|
|
width: 50%;
|
|
margin-left: 25%;
|
|
margin-top: -43%;
|
|
}
|
|
.dayWarn>.content>.defence>.content>span{
|
|
display: block;
|
|
width: 100%;
|
|
color: rgba(255,255,255,0.8);
|
|
}
|
|
.dayWarn>.content>.defence>.content>span:nth-child(1){
|
|
margin-top: 18%;
|
|
color: #75FEFF;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
.dayWarn>.content>.defence>.content>span:nth-child(2){
|
|
font-size: 14px;
|
|
}
|
|
.dayWarn>.content>.defence>.content>span:nth-child(3){
|
|
margin-top: 2%;
|
|
font-size: 12px;
|
|
}
|
|
|
|
|
|
.deviceWarn{
|
|
width: 100%;
|
|
height: 40%;
|
|
margin-top: 4%;
|
|
}
|
|
.deviceWarn>.title{
|
|
width: 100%;
|
|
height: 12%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 85% 100%;
|
|
display: flex;
|
|
}
|
|
.deviceWarn>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.deviceWarn>.table{
|
|
margin-top: 2%;
|
|
width: 100%;
|
|
height: 87%;
|
|
overflow: auto;
|
|
}
|
|
.deviceWarn>.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.5%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.deviceWarn>.table>div:nth-child(n + 2):hover{
|
|
background: url("../../img/index/standardColumnHover.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
.deviceWarn>.table>div:nth-child(n + 2)>span{
|
|
color: rgba(255,255,255,0.6);
|
|
align-self: center;
|
|
width: 33.3%;
|
|
text-align: center;
|
|
}
|
|
.deviceWarn>.table>.tableList{
|
|
width: 100%;
|
|
background: url("../../img/index/title.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
margin: 0 auto; /* 设置左右外边距为自动 */
|
|
height: 12.7%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.deviceWarn>.table>.tableList>span{
|
|
color: rgba(255,255,255,0.8);
|
|
align-self: center;
|
|
width: 33.3%;
|
|
text-align: center;
|
|
}
|
|
|
|
.propagates{
|
|
width: 100%;
|
|
height: 18%;
|
|
margin-top: 4%;
|
|
}
|
|
.propagates>.title{
|
|
width: 100%;
|
|
height: 27%;
|
|
background-image: url(../../img/moduleTitle.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 85% 100%;
|
|
display: flex;
|
|
}
|
|
.propagates>.title>span{
|
|
align-self: center;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
text-indent: 45px;
|
|
}
|
|
.container {
|
|
position: relative;
|
|
}
|
|
|
|
.base-image {
|
|
position: absolute;
|
|
top: 19px;
|
|
left: 124px;
|
|
z-index: 1;
|
|
}
|
|
.overlay-image.vehicle {
|
|
position: absolute;
|
|
top: 140px;
|
|
left: 223px;
|
|
z-index: 2;
|
|
}
|
|
.overlay-image.personnel {
|
|
position: absolute;
|
|
top: 89px;
|
|
left: 223px;
|
|
z-index: 2;
|
|
}
|
|
.overlay-text.vehicle {
|
|
position: absolute;
|
|
top: 89px;
|
|
left: 254px;
|
|
z-index: 3;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.overlay-text.personnel {
|
|
position: absolute;
|
|
top: 140px;
|
|
left: 254px;
|
|
z-index: 3;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
}
|
|
.button-wrapper-top {
|
|
position: absolute;
|
|
top: 52px;
|
|
left: 66px;
|
|
text-align: center;
|
|
}
|
|
|
|
.button-wrapper-left {
|
|
position: absolute;
|
|
top: 151px;
|
|
left: 66px;
|
|
}
|
|
|
|
.button-wrapper-right {
|
|
position: absolute;
|
|
top: 52px;
|
|
right: 84px;
|
|
}
|
|
|
|
.button-wrapper-bottom {
|
|
position: absolute;
|
|
top: 151px;
|
|
right: 84px;
|
|
text-align: center;
|
|
}
|
|
|
|
.button {
|
|
margin: 5px;
|
|
width: 61px;
|
|
height: 40px;
|
|
}
|