jyyhq/witDisplay/css/airConditioner/electricityConsumption.css

235 lines
4.5 KiB
CSS

html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
float: left;
display: flex;
justify-content: space-between;
}
#toolbarDiv::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 10px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #535353;
background-color: skyblue;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, 0.2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0.2) 75%,
transparent 75%,
transparent);
}
::-webkit-scrollbar {
width: 4px;
/*对垂直流动条有效*/
height: 8px;
/*对水平流动条有效*/
}
.entirety{
width: 99.5%;
height: 99%;
}
.entirety>.title{
width: 32%;
height: 5%;
background-image: url(../../img/moduleTitle.png);
background-repeat: no-repeat;
background-size: 85% 100%;
display: flex;
align-items: center;
}
.entirety>.title>div:nth-child(2){
width: 4.2%;
height: 62%;
background-image: url(../../img/details.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin-left: 2%;
cursor: pointer;
}
.entirety>.title>span{
align-self: center;
color: #FFFFFF;
font-size: 16px;
text-indent: 45px;
}
.entirety>.content{
width: 100%;
height: 91%;
display: flex;
justify-content: space-around;
margin-top: 1%;
}
.content>.left{
width: 19%;
height: 100%;
border: 1px solid #47aab2;
border-radius: 15px;
background: rgba(0, 0, 0, 0.2);
}
.content>.right{
margin-left: 2%;
width: 79%;
height: 100%;
display: flex;
flex-direction: column;
border: 1px solid #5db7be;
border-radius: 15px;
background: rgba(0, 0, 0, 0.2);
}
.content>.right>.right-top {
width: 100%;
height: 20%;
display: flex;
justify-content: space-between;
/*border: 1px solid #075359;*/
align-items: center;
}
.right-top > div {
padding: 0 10px 0 10px;
flex: 1; /* 每个子元素占据相等的空间 */
}
.deviceStatus {
width: 100%;
height: 100%;
display: flex;
/*justify-content: space-between;*/
justify-content: center;
align-items: center;
padding: 0 0 0 20px;
}
.deviceStatus>.title{
position: relative;
width: 32%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.deviceStatus>.title-left{
/*width: 26%;*/
/*height: 49%;*/
width: 14%;
height: 45%;
}
.deviceStatus>.title-right{
margin-left: 1%;
/*width: 73%;*/
/*height: 49%;*/
width: 40%;
height: 45%;
display: flex;
justify-content: space-evenly;
align-items: center;
color: #FFFFFF;
}
.count {
font-size: 2.5em;
}
.status {
font-size: 1.2em;
}
.content>.right>.right-down{
width: 101%;
height: 80%;
overflow: auto;
}
.right-down > .content{
width: 100%;
height: auto;
display: flex;
justify-content: flex-start;
}
.right-down > .content > div {
padding: 0 10px 10px 10px;
width: 18.5%;
}
.right-down > .content > .content-on {
display: flex;
flex-direction: column;
align-items: center;
}
.content-on>.title{
position: relative;
width: 32%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.content-on>.title-up{
width: 100%;
height: 30px;
display: flex;
align-items: center; /* 垂直居中 */
color: #ffffff; /* 文本颜色 */
font-family: Verdana, sans-serif; /* 字体 */
font-size: 10px; /* 字体大小 */
}
.content-on>.title-down{
width: 100%;
height: 184px;
}
.icon-button {
position: relative;
width: 6%;
height: 50%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.icon-1 {
background-image: url(../../img/air/shape.png); /* 图标1的路径 */
}
.icon-2 {
background-image: url(../../img/air/tap.png); /* 图标2的路径 */
background-repeat: no-repeat;
background-size: 100% 100%;
}
.icon-3 {
background-image: url(../../img/air/tap1.png); /* 图标2的路径 */
background-repeat: no-repeat;
background-size: 100% 100%;
}
.icon-button:hover {
/*background-color: #ddd; !* 鼠标悬停时的颜色 *!*/
cursor: pointer; /* 鼠标悬停时的鼠标样式 */
}
.distance {
padding: 8px 0 2px 24px;
color: white;
/*font-weight: bold;*/
font-size: 17px;
}