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/npmLine.scss
2022-09-08 17:09:38 +08:00

86 lines
1.8 KiB
SCSS

.npm-line {
position: relative;
height: 100%;
width: 100%;
border: 1px solid #f0f0f0;
.npm-line-title {
font-size: 14px;
color: #353636;
font-weight: 500;
margin: 20px 0 0 20px;
}
.npm-line-header {
display: flex;
margin: 20px 20px 0 20px;
justify-content: space-between;
.npm-line-header-title {
font-size: 14px;
color: #353636;
font-weight: 500;
}
.npm-line-header-rights {
display: flex;
.npm-line-header-right {
display: flex;
margin-right: 10px;
align-items: center;
}
}
.npm-line-header-right:last-child {
margin-right: 0;
}
.npm-line-header-right.active {
.npm-line-header-icon {
background: #ccc;
}
.npm-line-header-value {
color: #ccc;
}
}
.npm-line-header-icon {
border-radius: 3px;
width: 16px;
height: 6px;
margin-right: 4px;
}
.npm-line-header-icon.icon0 {
background: #749F4D;
}
.npm-line-header-icon.icon1 {
background: #98709B;
}
.npm-line-header-icon.icon2 {
background: #E5A219;
}
.npm-line-header-value {
font-size: 12px;
color: #717171;
line-height: 12px;
font-weight: 400;
}
}
.chart-drawing {
height: calc(100% - 41px);
width: 100%;
.echarts-tooltip.echarts-tooltip-dark {
.cn-chart-body {
display: flex;
.cn-chart-tooltip {
display: flex;
flex-direction: column;
flex: 1;
.cn-chart-tooltip-box {
margin-right: 10px;
}
.cn-chart-tooltip-value.cn-chart-tooltip__color {
font-size: 12px;
color: #353636;
line-height: 21px;
font-weight: 600;
}
}
}
}
}
}