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.

150 lines
3.2 KiB
SCSS

.data-overview-wrap {
padding-top: 30px;
// background: #002a5c;
color: white;
font-family: "Arial", sans-serif;
.grid-container {
display: flex;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 20px;
width: 100%;
.grid-item {
// background: rgba(74, 126, 191, 0.1);
background-image: url("@/assets/common/gridItemBg.png");
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
// border-radius: 8px;
width: 50%;
&>li{
width: 50%;
}
&>li:last-child{
margin-left: 12px;
}
.module-header {
color: #4a7ebf;
margin-bottom: 15px;
.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 {
// margin-top: 0px;
width: 100%;
height: 300px;
}
.chart-container-bar {
// margin-top: 0px;
width: 100%;
height: 340px;
}
.chart-pie-bg{
margin-top: 19px;
background-image: url("@/assets/common/gridItemPieBg.png");
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
}
.grid-item-pie {
background-image: none;
}
}
.device-info {
.total-device {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
.device-icon {
width: 80px;
height: 90px;
background: url('@/assets/common/deviceTotal.png')
no-repeat center;
background-size: 100%;
}
.device-count {
margin-left: 15px;
.count-number {
font-size: 24px;
font-weight: bold;
}
}
}
.device-list {
box-sizing: border-box;
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 0 16px 20px;
gap: 10px;
.device-card {
box-sizing: border-box;
// background: rgba(74, 126, 191, 0.1);
background-image: url("@/assets/common/deviceCardBg.png");
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
padding: 16px;
// border-radius: 4px;
.status-bar {
margin-top: 5px;
}
}
}
}
.monitor-images {
display: flex;
box-sizing: border-box;
gap: 16px;
padding: 20px 16px 20px 16px;
.monitor-images-left,
.monitor-images-right {
flex: 1;
position: relative;
img {
width: 100%;
height: 256px;
}
.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;
}
}
}
}