|
|
|
@ -298,6 +298,11 @@ export default defineComponent({
|
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
<style lang="less" scoped> |
|
|
|
|
.toc-affix { |
|
|
|
|
background-color: rgba(0, 0, 0, 0); |
|
|
|
|
backdrop-filter: blur(10px); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.toc-affix :deep(.ant-anchor) { |
|
|
|
|
font-size: 12px; |
|
|
|
|
max-width: 110px; |
|
|
|
@ -309,13 +314,4 @@ export default defineComponent({
|
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[data-theme='dark'] .toc-affix :deep(.ant-anchor) { |
|
|
|
|
.ant-anchor-link { |
|
|
|
|
border-left: 2px solid #303030; |
|
|
|
|
} |
|
|
|
|
.ant-anchor-link-active { |
|
|
|
|
border-left: 2px solid #177ddc; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|