jyyhq/witDisplay/css/streetLamp/streetLamp.css

240 lines
4.1 KiB
CSS
Raw Normal View History

2025-02-10 12:18:11 +08:00
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%;
}
.wisdom{
width: 100%;
height: 44%;
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>.center{
width: 100%;
height: 89%;
display: flex;
justify-content: space-around;
align-items: center;
box-sizing: border-box;
}
.wisdom>.center>.halve{
display: flex;
flex: 1;
height: 100%;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
color: #9be3fb;
font-size: 39px;
}
.wisdom>.center>.halve>.icon{
width: 64%;
height: 40.5%;
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
}
.wisdom>.center>.halve>.pattern{
margin-top: -13%;
align-self: center;
color: #FFF;
font-size: 21px;
}
.readLine{
width: 100%;
height: 56%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.readLine>.title{
width: 100%;
height: 9%;
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>.sevenDayClass{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
}
.electricity1 {
height: 44%;
display: flex;
}
#year-chart, #year-container {
width: 50%;
height: 100%;
}
.electricity2 {
height: 56%;
}
#yearElectricity{
width: 100%;
height: 91%;
}
.title {
width: 100%;
height: 9%;
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: 44%;
/*margin-top: 4%;*/
}
.dayWarn>.title{
width: 100%;
height: 11%;
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;
}
#powerConsumptionRanking{
width: 100%;
height: 89%;
display: flex;
flex-direction: column;
}
.defenceWarn{
width: 99.5%;
height: 56%;
/*margin-top: 4%;*/
}
.defenceWarn>.title{
width: 100%;
height: 9%;
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;
}
.defenceWarn>.center{
width: 100%;
height: 91%;
display: flex;
box-sizing: border-box;
flex-direction: column;
}
.defenceWarn>.center>.center_title{
display: flex;
height: 33.3%;
/* flex: 1; */
width: 100%;
color: #9be3fb;
font-size: 18px;
align-items: center;
justify-content: space-around;
}
.defenceWarn>.center>.center_title>.icon{
width: 23%;
height: 67%;
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
}
.defenceWarn>.center>.center_title>.icon>.icon_top{
margin-top: 1%;
}
.defenceWarn>.center>.center_title>.icon>.icon_top1{
margin-top: 4%;
}