wetrade-design
Version:
一款多语言支持Vue3的UI框架
111 lines (110 loc) • 2.35 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-pie-chart__horizontal {
display: flex;
align-items: center;
justify-content: center;
}
.wd-pie-chart__chart {
position: relative;
height: 300px;
}
.wd-pie-chart__center-content {
position: absolute;
z-index: 2;
font-size: 12px;
line-height: 18px;
color: #1E1E29;
text-align: center;
transform: translate(-50%, -50%);
}
.wd-pie-chart__center-content__title {
font-size: 12px;
}
.wd-pie-chart__center-content__hasNum {
margin-bottom: 6px;
}
.wd-pie-chart__center-content__text {
font-size: 14px;
}
.wd-pie-chart__center-content__links {
cursor: pointer;
color: #0F3CB7;
}
.wd-pie-chart__body {
width: 100%;
height: 100%;
}
.wd-pie-chart-legend {
display: flex;
flex: 1;
flex-direction: column;
}
.wd-pie-chart-legend__list {
display: flex;
align-items: center;
margin-bottom: 12px;
padding-right: 16px;
font-size: 12px;
line-height: 18px;
color: #1E1E29;
}
.wd-pie-chart-legend__list:last-child {
margin-bottom: 0;
}
.wd-pie-chart-legend__list-dot {
display: inline-block;
flex-basis: 8px;
width: 8px;
height: 8px;
margin-right: 8px;
background: #C7CBD6;
border-radius: 50%;
flex: 0 0 8px;
}
.wd-pie-chart-legend__list-label {
margin-right: 8px;
overflow: hidden;
font-weight: normal;
text-overflow: ellipsis;
white-space: nowrap;
}
.wd-pie-chart-legend__list-value {
flex: 1;
text-align: right;
white-space: nowrap;
}
.wd-pie-chart-legend__list-no-select .wd-pie-chart-legend__list-dot {
background-color: #C7CBD6 ;
}
.wd-pie-chart-legend__list-no-select .wd-pie-chart-legend__list-label {
color: #C7CBD6;
}
.wd-pie-chart-legend__list-no-select .wd-pie-chart-legend__list-value {
color: #C7CBD6;
}