jyyhq/witDisplay/css/securityPrevention/securityPrevention.css

344 lines
6.7 KiB
CSS
Raw Normal View History

2025-02-10 12:18:11 +08:00
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
float: left;
display: flex;
justify-content: space-between;
}
.left{
width: 30%;
height: 99.8%;
}
.interfaceState{
width: 100%;
height: 10%;
}
.left>.interfaceState{
display: flex;
justify-content: space-between;
}
.left>.interfaceState>div{
height: 100%;
display: flex;
}
.left>.interfaceState>div>span{
align-self: center;
}
.left>.interfaceState>div>span:nth-child(1){
color: white;
}
.left>.interfaceState>.title{
background-image: url(../../img/index/interfaceState.png);
background-repeat: no-repeat;
background-size: 100% 100%;
width: 14%;
}
.left>.interfaceState>.error{
width: 30%;
}
.left>.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;
}
.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: 38%;
height: 86%;
background-image: url(../../img/securityPrevention/deviceWarn.png);
background-repeat: no-repeat;
background-size: 100% 80%;
background-position: bottom;
}
.dayWarn>.content>.device>.content{
width: 50%;
}
.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: 35%;
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: 38%;
height: 86%;
background-image: url(../../img/securityPrevention/dayWarn.png);
background-repeat: no-repeat;
background-size: 100% 80%;
background-position: bottom;
}
.dayWarn>.content>.defence>.content{
width: 50%;
}
.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: 35%;
color: #fba75a;
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: 36.75%;
margin-top: 4%;
}
.deviceWarn>.title{
width: 100%;
height: 13%;
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;
}
.deviceWarn>.table{
margin-top: 4%;
width: 100%;
height: 74%;
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: 15%;
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: 15%;
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;
}
.defenceWarn{
width: 99.5%;
height: 36.75%;
margin-top: 4%;
}
.defenceWarn>.title{
width: 100%;
height: 13%;
background-image: url(../../img/moduleTitle.png);
background-repeat: no-repeat;
background-size: 85% 100%;
display: flex;
}
.defenceWarn>.title>div{
float: left;
align-self: center;
}
.defenceWarn>.title>div:nth-child(1){
align-self: center;
color: #FFFFFF;
font-size: 16px;
text-indent: 45px;
}
.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%;
cursor: pointer;
}
.defenceWarn>.table{
margin-top: 4%;
width: 100%;
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: 15%;
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: 15%;
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;
}
.right{
width: 69%;
height: 99.8%;
}
.right>.title{
width: 100%;
height: 5.3%;
background-image: url(../../img/moduleTitle.png);
background-repeat: no-repeat;
background-size: 40% 100%;
display: flex;
}
.right>.title>span{
align-self: center;
color: #FFFFFF;
font-size: 16px;
text-indent: 45px;
}
.right>.content{
width: 100%;
height: 89%;
overflow: hidden;
}
.right>.foot{
width: 100%;
height: 5.3%;
}
.foot>div{
float: left;
margin-left: 5%;
width: 10%;
height: 100%;
display: flex;
}
.foot>div:nth-child(3){
width: 16%;
}
.foot>div>span{
color: #FFFFFF;
align-self: center;
}
::-webkit-scrollbar {
width: 10px;
/*对垂直流动条有效*/
height: 10px;
/*对水平流动条有效*/
}