CN-802:error交互实施

This commit is contained in:
刘洪洪
2022-11-18 15:18:05 +08:00
parent 4c107704e7
commit 5e03847a42
7 changed files with 230 additions and 5 deletions

View File

@@ -0,0 +1,51 @@
.error-block {
position: absolute;
width: 100%;
height: 100%;
}
.error-block-tooltip {
display: inline-block;
width: auto;
max-width: 350px;
background: #FFE7E6;
border: 1px solid rgba(226,97,84,0.42);
border-radius: 4px;
font-size: 14px;
color: #F53A19;
font-weight: 400;
padding: 10px 12px;
margin: 12px;
}
.new-error-icon {
position: relative;
display: inline-block;
}
.new-error-icon .error-content {
position: absolute;
z-index: 2;
top: -42px;
left: 0;
visibility: hidden;
max-width: 220px;
overflow: scroll;
height: auto;
background: #FFE7E6;
border: 1px solid rgba(226,97,84,0.42);
border-radius: 4px;
font-size: 14px;
color: #F53A19;
font-weight: 400;
padding: 5px 12px;
}
.error-icon {
font-size: 17px !important;
margin-bottom: -1px;
margin-left: 5px;
}
.error-icon1 {
margin-left: -2px;
margin-right: 8px;
}

View File

@@ -72,3 +72,4 @@
@import 'views/charts2/dnsEventChart';
@import './views/charts2/dnsEventChartByPie';
//@import '../chart';
@import './components/common/chart-error';

View File

@@ -2,6 +2,7 @@
height: 100%;
width: 100%;
.npm-sessions-title {
display: flex;
font-size: 14px;
color: #353636;
font-weight: 500;
@@ -27,6 +28,14 @@
border-bottom-left-radius: 4px;
border-right: none;
}
.npm-sessions-div-gray {
height: 100%;
background: rgba(113,113,113,0.30);
border: 1px solid rgba(113,113,113,0.30);
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-right: none;
}
}
.npm-sessions-body {