From a2ad793ff7a0de2de24089cbf4d589e2e82323ad Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 9 Jun 2015 17:30:03 +0800 Subject: [PATCH] disable unfinished link in top nav --- site/templates/layout.html | 9 +++------ static/style.css | 6 ++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/site/templates/layout.html b/site/templates/layout.html index 8aa57f5eac..2372323ae5 100644 --- a/site/templates/layout.html +++ b/site/templates/layout.html @@ -45,16 +45,13 @@ 组件
  • - 设计 + 设计
  • - 模式 + 模式
  • - 案例 -
  • -
  • - 下载 + 案例
  • diff --git a/static/style.css b/static/style.css index 25f5d5f60c..6f4cc958cc 100644 --- a/static/style.css +++ b/static/style.css @@ -247,6 +247,12 @@ a.logo { display: block; } +.nav ul li a.disabled { + cursor: not-allowed; + color: #ddd !important; + pointer-events: none; +} + .nav ul li.current a { color: #71B5DE; font-weight: bold;