wetrade-design
Version:
一款多语言支持Vue3的UI框架
125 lines (124 loc) • 2.47 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-anchor {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #1E1E29;
font-size: 14px;
font-variant: tabular-nums;
line-height: 18px;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
padding-left: 2px;
}
.wd-anchor-wrapper {
margin-left: -4px;
padding-left: 4px;
overflow: auto;
background-color: transparent;
}
.wd-anchor-ink {
position: absolute;
top: 0;
left: 0;
height: 100%;
}
.wd-anchor-ink::before {
position: relative;
display: block;
width: 2px;
height: 100%;
margin: 0 auto;
background-color: #EBEDF2;
content: ' ';
}
.wd-anchor-ink-ball {
position: absolute;
left: 50%;
display: none;
width: 8px;
height: 8px;
background-color: #fff;
border: 2px solid #2469F2;
border-radius: 8px;
transform: translateX(-50%);
transition: top 0.3s ease-in-out;
}
.wd-anchor-ink-ball.visible {
display: inline-block;
}
.wd-anchor-fixed .wd-anchor-ink .wd-anchor-ink-ball {
display: none;
}
.wd-anchor-link {
padding: 7px 0 7px 16px;
line-height: 1.143;
}
.wd-anchor-link-title {
position: relative;
display: block;
margin-bottom: 6px;
overflow: hidden;
color: #1E1E29;
white-space: nowrap;
text-overflow: ellipsis;
transition: all 0.3s;
}
.wd-anchor-link-title:only-child {
margin-bottom: 0;
}
.wd-anchor-link-active > .wd-anchor-link-title {
color: #2469F2;
}
.wd-anchor-link .wd-anchor-link {
padding-top: 5px;
padding-bottom: 5px;
}
.wd-anchor-rtl {
direction: rtl;
}
.wd-anchor-rtl.wd-anchor-wrapper {
margin-right: -4px;
margin-left: 0;
padding-right: 4px;
padding-left: 0;
}
.wd-anchor-rtl .wd-anchor-ink {
right: 0;
left: auto;
}
.wd-anchor-rtl .wd-anchor-ink-ball {
right: 50%;
left: 0;
transform: translateX(50%);
}
.wd-anchor-rtl .wd-anchor-link {
padding: 7px 16px 7px 0;
}