UNPKG

antdv-eoi

Version:

An enterprise-class UI design language and Vue-based implementation

115 lines (114 loc) 2.7 kB
/* 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 */ /************************* 全局灰度 *********************/ /*所有阴影*/ /************************* 全局主题色 *********************/ /************************* 全局不变的颜色 *********************/ /* group color */ /* standard */ /* light */ /* dark */ /* 状态色 */ /* -state- Functional Color */ /* 状态色边框 */ /************************* 自定义变量 *********************/ /************************* 修改ant-design-vue变量 *********************/ .ant-anchor { box-sizing: border-box; margin: 0; padding: 0; color: var(--color-neutrals-7, #8f8f8f); font-size: 12px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; position: relative; padding-left: 2px; } .ant-anchor-wrapper { margin-left: -4px; padding-left: 4px; overflow: auto; background-color: transparent; } .ant-anchor-ink { position: absolute; top: 0; left: 0; height: 100%; } .ant-anchor-ink::before { position: relative; display: block; width: 2px; height: 100%; margin: 0 auto; background-color: var(--color-input-border); content: ' '; } .ant-anchor-ink-ball { position: absolute; left: 50%; display: none; width: 8px; height: 8px; background-color: var(--color-component-background); border: 2px solid #097BA6; border-radius: 8px; transform: translateX(-50%); transition: top 0.3s ease-in-out; } .ant-anchor-ink-ball.visible { display: inline-block; } .ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball { display: none; } .ant-anchor-link { padding: 7px 0 7px 16px; line-height: 1.143; } .ant-anchor-link-title { position: relative; display: block; margin-bottom: 6px; overflow: hidden; color: var(--color-neutrals-7, #8f8f8f); white-space: nowrap; text-overflow: ellipsis; transition: all 0.3s; } .ant-anchor-link-title:only-child { margin-bottom: 0; } .ant-anchor-link-active > .ant-anchor-link-title { color: #097BA6; } .ant-anchor-link .ant-anchor-link { padding-top: 5px; padding-bottom: 5px; } .ant-anchor-rtl { direction: rtl; } .ant-anchor-rtl.ant-anchor-wrapper { margin-right: -4px; margin-left: 0; padding-right: 4px; padding-left: 0; } .ant-anchor-rtl .ant-anchor-ink { right: 0; left: auto; } .ant-anchor-rtl .ant-anchor-ink-ball { right: 50%; left: 0; transform: translateX(50%); } .ant-anchor-rtl .ant-anchor-link { padding: 7px 16px 7px 0; }