UNPKG

@linkdesign/screen

Version:

屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏

48 lines (41 loc) 887 B
@import '../_variables'; @import '../_mixins'; .@{prefix}treemap-chart-wrapper { .@{prefix}treemap-items { line-height: 32px; font-size: 12px; color: #fff; margin-top: 5px; .next-row { margin-top: 0; } .@{prefix}treemap-item { display: inline-flex; align-items: center; justify-content: flex-start; white-space: nowrap; width: 100%; } .@{prefix}treemap-name { display: inline-flex; align-items: center; max-width: 70%; i { display: inline-block; width: 8px; height: 8px; background-color: #8ABCFF; flex: none; } .@{prefix}treemap-text { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; } } .@{prefix}treemap-scale { color: #8ABCFF; padding-right: 3px; } } }