You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
2.6 KiB
SCSS

.data-overview-wrap {
padding-top: 30px;
height: 852px;
color: white;
font-family: "Arial", sans-serif;
.grid-container {
display: grid;
gap: 16px;
.grid-item {
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
.module-header {
margin-bottom: 4px;
.month-btn,
.week-btn {
width: 70px;
height: 28px;
font-size: 14px;
color: #fff;
background: #0f2839;
border: none;
}
.week-btn {
margin-right: 20px;
}
.active-btn {
background: #0b345e;
border: 1px solid #3fddeb;
}
}
.chart-container {
width: 431px;
height: 221px;
background: url("@/assets/home/sub_content_bg.png") no-repeat center;
}
}
}
.realTime-monitor-box {
display: flex;
flex: 1;
align-items: center;
flex-direction: column;
margin: 0 24px;
background: url("@/assets/home/realTime_monitor_bg.png") no-repeat center;
background-size: contain;
}
.monitor-images {
width: 948px;
display: flex;
gap: 16px;
padding: 20px 16px;
flex-wrap: wrap;
.monitor-images-item {
width: calc(50% - 8px);
height: 349px;
border: 1px dashed #ccc;
position: relative;
img {
width: 100%;
// height: 100%;
}
.fault-info {
position: absolute;
padding: 0 10px;
// miomwidth: 80px;
height: 28px;
background: rgba(0, 0, 0, 0.6);
border-radius: 16px 16px 16px 16px;
top: 16px;
left: 16px;
font-size: 14px;
color: #fff;
text-align: center;
line-height: 28px;
}
}
}
.device-info-box {
background: linear-gradient(180deg, rgba(7, 16, 19, 0) 0%, #081417 100%);
.device-info {
.total-device {
.device-total-icon {
width: 80px;
height: 90px;
background: url("@/assets/common/deviceTotal.png") no-repeat center;
background-size: 100%;
}
}
.device-list {
box-sizing: border-box;
display: grid;
padding: 24px 16px 24px;
gap: 16px;
.device-card {
box-sizing: border-box;
width: 399px;
height: 195px;
background-image: url("@/assets/common/device_info_bg.png");
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
padding: 16px;
}
}
}
}
}