CN-629 feat: Dahsboard - npm - 网络质量概览图表开发
This commit is contained in:
@@ -50,5 +50,6 @@
|
||||
@import './views/charts2/networkOverviewDdosDetection';
|
||||
@import './views/charts2/networkOverviewPerformanceEvent';
|
||||
@import './views/charts2/networkOverviewTabs';
|
||||
@import './views/charts2/npmNetworkQuantity';
|
||||
@import './views/charts2/npmTabs';
|
||||
//@import '../chart';
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
.npm-network-quantity {
|
||||
display: flex;
|
||||
border: 1px solid #E2E5EC;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
.single-value:nth-of-type(1) {
|
||||
border-left: none;
|
||||
}
|
||||
.single-value {
|
||||
flex: 1;
|
||||
padding-left: 20px;
|
||||
height: calc(100% - 48px);
|
||||
margin: auto;
|
||||
border-left: 1px solid #E2E5EC;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
.single-value__title {
|
||||
font-size: 14px;
|
||||
color: #575757;
|
||||
font-weight: 400;
|
||||
}
|
||||
.single-value__content {
|
||||
margin: 10px 0 12px 0;
|
||||
display: flex;
|
||||
.single-value__content-number {
|
||||
font-family: Helvetica-Bold;
|
||||
font-size: 24px;
|
||||
color: #353636;
|
||||
font-weight: 700;
|
||||
margin-right: 12px;
|
||||
}
|
||||
.single-value__content-value {
|
||||
font-family: NotoSansHans-Medium;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
height: 20px;
|
||||
width: 52px;
|
||||
line-height: 20px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
margin-top: -10px;
|
||||
div {
|
||||
i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.single-value__content-value.red {
|
||||
background-color: rgba(226, 97, 84, 0.12);
|
||||
color: #E26154;
|
||||
}
|
||||
.single-value__content-value.green {
|
||||
background-color: rgba(126, 159, 84, 0.12);
|
||||
color: #7E9F54;
|
||||
}
|
||||
}
|
||||
.single-value__circle {
|
||||
display: flex;
|
||||
font-size: 12px;
|
||||
color: #717171;
|
||||
font-weight: 400;
|
||||
.single-value__circle-p95 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user