forked from opentiny/tiny-vue
fix(anchor): [anchor,steps] Updated the specifications based on the check. (#2007)
* fix(anchor): anchor锚点刷新规范为实心圆样式 * fix(steps): steps刷新规范验收问题
This commit is contained in:
parent
69c953b8c1
commit
fcae786788
|
@ -16,7 +16,7 @@ const data = reactive([
|
|||
{ name: 'BOQ Info', status: 'doing', description: 'doing 处理中' },
|
||||
{ name: '进行中 BOQ Info', status: 'disabled', description: 'disabled 禁用' },
|
||||
{ name: 'BBQ Info', status: 'error', description: 'error 错误' },
|
||||
{ name: 'BBQ Info', description: '默认无状态' }
|
||||
{ name: 'BBQ Info' }
|
||||
])
|
||||
|
||||
const handleClick = (index, node) => {
|
||||
|
|
|
@ -21,7 +21,7 @@ export default {
|
|||
{ name: 'BOQ Info', status: 'doing', description: 'doing 处理中' },
|
||||
{ name: '进行中 BOQ Info', status: 'disabled', description: 'disabled 禁用' },
|
||||
{ name: 'BBQ Info', status: 'error', description: 'error 错误' },
|
||||
{ name: 'BBQ Info', description: '默认无状态' }
|
||||
{ name: 'BBQ Info' }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -135,6 +135,11 @@
|
|||
bottom: -18px;
|
||||
}
|
||||
|
||||
&--active:before {
|
||||
background-color: var(--ti-anchor-link-active-text-color);
|
||||
border-color: var(--ti-anchor-link-active-text-color);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&--active {
|
||||
color: var(--ti-anchor-link-active-text-color);
|
||||
|
|
|
@ -497,7 +497,7 @@
|
|||
}
|
||||
|
||||
.description:not(.disabled, .fault) {
|
||||
color: var(--ti-steps-advanced-active-text-color);
|
||||
color: var(--ti-steps-advanced-desc-active-text-color);
|
||||
}
|
||||
|
||||
.description.fault {
|
||||
|
|
|
@ -39,5 +39,8 @@ export const tinyStepsSmbTheme = {
|
|||
'ti-steps-custom-icon-width-height': 'var(--ti-common-space-5x)',
|
||||
'ti-steps-advanced-count-bg-color': '#c7000b',
|
||||
'ti-steps-vertical-title-margin-top': 'var(--ti-common-space-2x)',
|
||||
'ti-steps-timeline-shape-dot-content-margin-left': 'var(--ti-common-space-4x)'
|
||||
'ti-steps-timeline-shape-dot-content-margin-left': 'var(--ti-common-space-4x)',
|
||||
'ti-steps-description-text-color': 'var(--ti-common-color-text-weaken)',
|
||||
'ti-steps-advanced-desc-active-text-color': 'var(--ti-common-color-text-weaken)',
|
||||
'ti-steps-disabled-text-color': 'var(--ti-common-color-text-weaken)'
|
||||
}
|
||||
|
|
|
@ -82,6 +82,8 @@
|
|||
--ti-steps-active-font-weight: var(--ti-common-font-weight-4, normal);
|
||||
// 活跃节点内容字体色
|
||||
--ti-steps-advanced-active-text-color: var(--ti-common-color-primary-normal, #5e7ce0);
|
||||
// 活跃节点内容描述字体色
|
||||
--ti-steps-advanced-desc-active-text-color: var(--ti-common-color-primary-normal, #5e7ce0);
|
||||
|
||||
// 已完成节点文本色
|
||||
--ti-steps-done-text-color: var(--ti-common-color-text-primary, #252b3a);
|
||||
|
|
Loading…
Reference in New Issue