@linkdesign/screen
Version:
屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏
68 lines (57 loc) • 1.38 kB
text/less
@import '../_variables';
@import '../_mixins';
.@{prefix}bar-stack-chart-wrapper {
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
// .@{prefix}bar-stack-chart-title {
// font-size: 14px;
// font-weight: 600;
// }
.@{prefix}bar-stack-chart-total {
font-size: 28px;
line-height: 36px;
}
.@{prefix}bar-stack-chart-top {
display: inline-flex;
align-items: flex-end;
justify-content: space-between;
width: 100%;
}
.@{prefix}bar-stack-chart-norm-wrapper {
display: inline-flex;
flex-direction: column;
.@{prefix}bar-stack-chart-norm {
display: inline-flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
line-height: 20px;
&:last-child {
margin-bottom: 0 ;
}
}
.@{prefix}bar-stack-chart-norm-label > div {
display: inline-flex;
align-items: center;
}
.@{prefix}bar-stack-chart-norm-label-dot {
display: inline-block;
margin-right: 6px;
width: 6px;
height: 6px;
border-radius: 50%;
}
}
.@{prefix}bar-stack-chart-bar {
position: relative;
display: inline-flex;
overflow: hidden;
align-items: center;
justify-content: flex-start;
.@{prefix}bar-stack-chart-bar-inner {
height: 100%;
}
}
}