From 8f906d83bf9794c20b180c3643225241eb5712ba Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 5 Dec 2013 23:16:25 +0100 Subject: [PATCH] Added active section indicator --- public_html/media/css/core.css | 6 ++ src/Views/layout-normal.phtml | 69 +----------------- src/Views/top-navigation.phtml | 129 +++++++++++++++++++++++++++++++++ 3 files changed, 136 insertions(+), 68 deletions(-) create mode 100644 src/Views/top-navigation.phtml diff --git a/public_html/media/css/core.css b/public_html/media/css/core.css index c37a9561..37f0fb24 100644 --- a/public_html/media/css/core.css +++ b/public_html/media/css/core.css @@ -47,6 +47,11 @@ body { display: inline-block; float: left; } +#top-nav li.main-nav-item.active a { + border-bottom: 3px solid #f7f7f7; + margin-bottom: 0; + background: #f7f7f7; +} #top-nav li input, #top-nav li.main-nav-item a { @@ -351,6 +356,7 @@ button:hover { background: white; } +.tabs li a:hover, .tabs li a:focus { color: firebrick; } diff --git a/src/Views/layout-normal.phtml b/src/Views/layout-normal.phtml index c5bc1480..232b841e 100644 --- a/src/Views/layout-normal.phtml +++ b/src/Views/layout-normal.phtml @@ -27,74 +27,7 @@
diff --git a/src/Views/top-navigation.phtml b/src/Views/top-navigation.phtml new file mode 100644 index 00000000..22bb1e83 --- /dev/null +++ b/src/Views/top-navigation.phtml @@ -0,0 +1,129 @@ + + +
+ +