From 09f9bfedc95f3e36b8000294a3c24cc0ea2286ec Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 4 Apr 2016 00:39:26 +0200 Subject: [PATCH] Add active menu item indication Signed-off-by: Jo-Philipp Wich --- css/lede.css | 3 ++- docs/menu.inc | 9 +++++---- pages/menu.inc | 14 +++++++------- 3 files changed, 14 insertions(+), 12 deletions(-) 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] -- 2.30.2