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/npmRecentEvents.scss

94 lines
2.0 KiB
SCSS
Raw Normal View History

.npm-recent {
height: 100%;
width: 100%;
.npm-recent-title {
font-size: 14px;
color: #353636;
font-weight: 600;
margin-bottom: 10px;
}
.npm-recent-table {
height: calc(100% - 30px) !important;
border: 1px solid #E2E5EC;
border-radius: 4px;
padding: 1px;
.el-table__header-wrapper {
tr th {
padding: 4px 0;
.data-column__span {
font-size: 12px;
color: #353636;
2022-08-08 17:30:06 +08:00
font-weight: 600;
}
}
}
.el-table__body-wrapper.is-scrolling-none {
tr td {
padding: 7.5px 0;
}
.el-table__empty-block .el-table__empty-text {
line-height: 25px;
.table-no-data {
.icon {
width: 30px;
height: 30px;
}
.table-no-data__title {
font-size: 14px;
color: #575757;
font-weight: 400;
}
}
}
}
}
2022-08-08 17:30:06 +08:00
.data-recent-table {
display: flex !important;
height: 20px;
line-height: 20px;
.data-recent-table-severity {
font-size: 12px;
font-weight: 500;
border-radius: 4px;
padding: 0 6px;
text-transform: capitalize;
}
.critical {
color: #E26154;
background: rgba(226,97,84, .18);
}
.high {
color: #E48E4D;
background: rgba(228,142,77, .18);
}
.info {
color: #88AF65;
background: rgba(136,175,101, .18);
}
.medium {
color: #E7B34E;
background: rgba(231,179,78, .18);
}
.low {
color: #DAC74B;
background: rgba(218,199,75, .18);
}
.data-recent-table-entity {
font-size: 12px;
color: #046ECA;
font-weight: 400
}
.data-recent-table-eventType {
font-size: 12px;
color: #046ECA;
font-weight: 500;
background: #EBF1F4;
border-radius: 4px;
padding: 0 6px;
}
}
.el-table--group::after,.el-table--border::after, .el-table::before {
height: 0px;
}
}