mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
disable unfinished link in top nav
This commit is contained in:
parent
9062597658
commit
a2ad793ff7
@ -45,16 +45,13 @@
|
|||||||
<a href="/components">组件</a>
|
<a href="/components">组件</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
|
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
|
||||||
<a href="/docs/design">设计</a>
|
<a class="disabled" href="/docs/design">设计</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{%- if post.filename === 'modes' %}current{%- endif %}">
|
<li class="{%- if post.filename === 'modes' %}current{%- endif %}">
|
||||||
<a href="/docs/modes">模式</a>
|
<a class="disabled" href="/docs/modes">模式</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{%- if post.filename === 'cases' %}current{%- endif %}">
|
<li class="{%- if post.filename === 'cases' %}current{%- endif %}">
|
||||||
<a href="/docs/cases">案例</a>
|
<a class="disabled" href="/docs/cases">案例</a>
|
||||||
</li>
|
|
||||||
<li class="{%- if post.filename === 'download' %}current{%- endif %}">
|
|
||||||
<a href="/docs/download">下载</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -247,6 +247,12 @@ a.logo {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav ul li a.disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
color: #ddd !important;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.nav ul li.current a {
|
.nav ul li.current a {
|
||||||
color: #71B5DE;
|
color: #71B5DE;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
Loading…
Reference in New Issue
Block a user