This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/assets/css/components/views/charts2/npmNetworkQuantity.scss
2022-08-08 17:30:06 +08:00

72 lines
1.6 KiB
SCSS

.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-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;
}
}
}
}