From 3a4febb16debf8720dde43b2d80292ef2a75aabc Mon Sep 17 00:00:00 2001 From: Josh Kurz Date: Wed, 10 Dec 2014 02:33:50 -0500 Subject: [PATCH] docs(app): adding a mobile first breadcrumb solution Signed-off-by: Josh Kurz --- docs/app/assets/css/docs.css | 8 +++ docs/config/templates/indexPage.template.html | 51 ++++++++++--------- 2 files changed, 34 insertions(+), 25 deletions(-) diff --git a/docs/app/assets/css/docs.css b/docs/app/assets/css/docs.css index d7ccdc14..48554190 100644 --- a/docs/app/assets/css/docs.css +++ b/docs/app/assets/css/docs.css @@ -17,6 +17,14 @@ md-toolbar .md-button.toolbar-btn { padding: 10px 15px; } +.back-breadcrumb { + opacity: 0.1; + padding: 5px; + margin-top: 5px; + margin-left: 5px; + z-index: 3; +} + .back-to-top { bottom: 10px; display: inline-block; diff --git a/docs/config/templates/indexPage.template.html b/docs/config/templates/indexPage.template.html index 054177b7..8bf9512f 100644 --- a/docs/config/templates/indexPage.template.html +++ b/docs/config/templates/indexPage.template.html @@ -69,31 +69,7 @@ - +
@@ -201,6 +177,18 @@ ng-attr-flex="{{vu.getFlex('toc')}}"> + + +

Version Picker

+
+
+ +
+

{{navGroup.name}}

@@ -252,6 +240,19 @@
Loading...
+ +
+ + Back to {{breadcrumb[breadcrumb.length-2].name}} + +
+