85 lines
1.2 KiB
CSS
85 lines
1.2 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body,
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#app {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.datepicker {
|
|
height: 10%;
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.datepicker .el-input__inner {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.content {
|
|
width: 95%;
|
|
height: 95%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
/* margin-top: 20px; */
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.container>div {
|
|
width: 100%;
|
|
height: 50%;
|
|
padding-top: 20px;
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.container .waterEchart,
|
|
.container .watt-hour,
|
|
.container .gasEchart,
|
|
.container .energyEchart {
|
|
width: 100%;
|
|
height: 85%;
|
|
transition: all .3s linear;
|
|
}
|
|
|
|
.content>div {
|
|
width: 50%;
|
|
height: 50%;
|
|
padding-top: 20px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.content .waterEchart,
|
|
.content .watt-hour,
|
|
.content .gasEchart,
|
|
.content .energyEchart {
|
|
width: 100%;
|
|
height: 90%;
|
|
transition: all .3s linear;
|
|
}
|
|
|
|
.btn {
|
|
position: fixed;
|
|
top: 10px;
|
|
right: 30px;
|
|
cursor: pointer;
|
|
z-index: 999;
|
|
padding: 10px;
|
|
border: 1px solid gray;
|
|
border-radius: 20px;
|
|
background-color: #fff;
|
|
} |