From: Jo-Philipp Wich Date: Sun, 3 Apr 2016 22:39:26 +0000 (+0200) Subject: Add active menu item indication X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09f9bfedc95f3e36b8000294a3c24cc0ea2286ec;p=web.git Add active menu item indication Signed-off-by: Jo-Philipp Wich --- diff --git a/css/lede.css b/css/lede.css index 81223db..8ff25b5 100644 --- a/css/lede.css +++ b/css/lede.css @@ -61,7 +61,8 @@ h1 { } .menu ol li p a:hover, -.menu ol li p a:active { +.menu ol li p a:active, +.menu ol li p a.active { background: #527bbd; color: #fff; } diff --git a/docs/menu.inc b/docs/menu.inc index 44766ed..2162b70 100644 --- a/docs/menu.inc +++ b/docs/menu.inc @@ -1,5 +1,6 @@ [role="menu"] -. link:index.html[Index] -. link:uci.html[Configuration] -. link:ubus.html[uBus] -. link:procd.html[Procd] +. link:../index.html[← Home] +. pass:attributes[Index] +. pass:attributes[Configuration] +. pass:attributes[uBus] +. pass:attributes[Procd] diff --git a/pages/menu.inc b/pages/menu.inc index 1794e12..c9562a1 100644 --- a/pages/menu.inc +++ b/pages/menu.inc @@ -1,8 +1,8 @@ [role="menu"] -. link:index.html[About] -. link:communication.html[Communication] -. link:rules.html[Rules] -. link:source.html[Source] -. link:todo.html[Todo] -. link:meetings.html[Meetings] -. link:docs/index.html[Documentation] +. pass:attributes[About] +. pass:attributes[Communication] +. pass:attributes[Rules] +. pass:attributes[Source] +. pass:attributes[Todo] +. pass:attributes[Meetings] +. pass:attributes[Documentation]