feat(站点概览): 添加状态和告警自定义弹窗组件
refactor(样式): 重构弹窗样式并分离状态和告警样式 style: 调整页面间距和布局
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
.no-header-dialog {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#custom-dialog {
|
||||
padding: 0;
|
||||
top: 0;
|
||||
@ -11,9 +15,11 @@
|
||||
|
||||
.el-dialog__body {
|
||||
padding: 0 !important;
|
||||
// height: auto !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
.alert-content {
|
||||
.status-alert-content {
|
||||
background: linear-gradient(180deg, rgba(0, 119, 255, 0.23) 0%, rgba(255, 255, 255, 0) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -99,15 +105,118 @@
|
||||
}
|
||||
}
|
||||
|
||||
.alert-content .success {
|
||||
.status-alert-content .success {
|
||||
color: rgba(0, 184, 122, 1) !important;
|
||||
}
|
||||
|
||||
.alert-content .orange {
|
||||
.status-alert-content .orange {
|
||||
color: rgba(255, 153, 0, 1) !important;
|
||||
}
|
||||
|
||||
.alert-content .red {
|
||||
.status-alert-content .red {
|
||||
color: rgba(227, 39, 39, 1) !important;
|
||||
}
|
||||
|
||||
.alarm-alert-content {
|
||||
background: linear-gradient(180deg, rgba(255, 87, 51, 0.23) 0%, rgba(255, 219, 219, 0) 100%);
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
padding-bottom: 50px;
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
gap: 50px;
|
||||
align-items: center;
|
||||
padding: 50px 0;
|
||||
padding-bottom: 20px;
|
||||
|
||||
.info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
|
||||
.title {
|
||||
color: rgba(227, 39, 39, 1);
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.alarm-id {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status-box {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
|
||||
.status {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.last-update {
|
||||
color: rgba(113, 128, 150, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-box {
|
||||
.list {
|
||||
display: flex;
|
||||
gap: 90px;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
|
||||
.title {
|
||||
color: rgba(113, 128, 150, 1);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.text {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-box {
|
||||
.title {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.notice-box {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
color: rgba(113, 128, 150, 1);
|
||||
|
||||
.time {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.title.active {
|
||||
color: rgba(247, 89, 10, 1);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.alarm-alert-content .red {
|
||||
color: rgba(227, 39, 39, 1) !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user