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

152 lines
2.8 KiB
SCSS

.link-direction-grid {
display: flex;
border: 1px solid #E2E5EC;
height: 100%;
width: 100%;
border-radius: 4px;
.link-statistical-dimension {
width: 50%;
padding: 20px;
.dimension-title {
font-size: 14px;
color: #046ECA;
}
.data-grid {
height: 100px;
.egress-row {
padding-left: 190px;
height: 100%;
display: flex;
.egress-id {
display: flex;
align-items: flex-end;
width: 50px;
height: 100%;
margin-right: 8px;
transform: rotate(-45deg) translate(-5px,-15px);
color: #353636;
font-size: 12px;
}
}
.data-row {
display: flex;
.ingress-id {
display: flex;
align-items: center;
justify-content: flex-end;
width: 190px;
height: 50px;
margin-bottom: 10px;
padding-right: 12px;
color: #353636;
font-size: 12px;
}
.data-item {
display: flex;
align-items: center;
justify-content: center;
height: 50px;
width: 50px;
margin: 0 8px 8px 0;
border: 1px solid #DEDEDE;
border-radius: 4px;
.data-item__point, .data-item__point-red {
height: 8px;
width: 8px;
border-radius: 50%;
background-color: #749F4D;
&:first-of-type {
margin-right: 6px;
}
}
.data-item__point-red {
background-color: #E26154;
}
}
}
}
}
}
$blue: #046ECA;
.item-popover-header {
display: flex;
align-items: center;
line-height: 32px;
font-size: 14px;
font-weight: 600;
.item-popover-header-icon {
font-size: 20px;
margin: 0 12px;
}
}
.item-popover-block {
.item-popover-block-title {
line-height: 24px;
font-size: 13px;
color: $blue;
font-weight: 600;
}
.item-popover-block-content {
width: 100%;
display: flex;
flex-direction: column;
.block-content-item {
display: flex;
justify-content: space-between;
line-height: 20px;
}
.block-content-item-name {
}
.block-content-item-value {
display: flex;
min-width: 75px;
font-weight: 600;
}
}
}
.row-dot {
margin-top: 5px;
margin-right: 5px;
}
.green-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #749F4D;
}
.red-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #E26154;
}
.item-popover-up, .item-popover-down {
font-size: 17px;
margin-left: 3px;
}
.data-item__hover:hover {
transition: all 0.2s;
background: #F4F9FD;
border: 2px $blue solid !important;
box-shadow: 1px 1px 5px #a1a1a1 !important;
}