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/npmEventsHeader.scss
2022-08-11 16:45:48 +08:00

57 lines
1.2 KiB
SCSS

.npm-header {
display: flex;
height: 100%;
.npm-header-body:nth-of-type(5) {
margin-right: 0;
}
.npm-header-body {
height: 100%;
display: flex;
justify-content: space-between;
background: rgba(113,113,113,0.06);
border: 1px solid #E2E5EC;
border-radius: 4px;
padding: 0 14px 0 16px;
margin-right: 12px;
align-items: center;
flex: 1;
.npm-header-body-severity {
display: flex;
align-items: center;
.npm-header-body-severity-icon {
border-radius: 6px;
width: 12px;
height: 12px;
margin-right: 10px;
}
.critical {
background: rgb(226,97,84);
}
.high {
background: rgb(228,142,77);
}
.info {
background: rgb(136,175,101);
}
.medium {
background: rgb(231,179,78);
}
.low {
background: rgb(218,199,75);
}
.npm-header-body-severity-value {
font-size: 12px;
color: #575757;
font-weight: 900;
text-transform: capitalize;
}
}
.npm-header-body-total {
font-family: Helvetica-Bold;
font-size: 16px;
color: #353636;
font-weight: 700;
}
}
}