From e18b3539f8f08325fff32f9f9f39cdf4296d38d4 Mon Sep 17 00:00:00 2001 From: Gabriel Albo Date: Wed, 25 Feb 2015 14:54:11 -0300 Subject: #296 Moving the toggle control script to the tags hbs file so clicking on the tags icon now toggles the left nav. Next: extracting this JS to a proper place. --- web-ui/app/index.html | 17 +---------------- web-ui/app/scss/styles.scss | 13 ++++++++----- web-ui/app/templates/tags/tag_list.hbs | 15 ++++++++++++++- 3 files changed, 23 insertions(+), 22 deletions(-) (limited to 'web-ui') diff --git a/web-ui/app/index.html b/web-ui/app/index.html index 7a8f335f..79d7be69 100644 --- a/web-ui/app/index.html +++ b/web-ui/app/index.html @@ -23,7 +23,7 @@ - + @@ -79,23 +79,8 @@ - - - - diff --git a/web-ui/app/scss/styles.scss b/web-ui/app/scss/styles.scss index 5cbe1ca5..819cb644 100644 --- a/web-ui/app/scss/styles.scss +++ b/web-ui/app/scss/styles.scss @@ -514,22 +514,25 @@ button { } } -.fake-left-off-canvas-toggle { +.side-nav-toggle, .side-nav-toggle-icon { color: white; + cursor: pointer; &:hover, &:focus { color: white; } + background: $secondary; + &.logout { + color: $action_buttons; + } +} +.side-nav-toggle-icon { padding: 9px 0px 8px 19px; display: block; left: 0; - background: $secondary; top: 0; position: relative; - &.logout { - color: $action_buttons; - } } .left-off-canvas-logo { diff --git a/web-ui/app/templates/tags/tag_list.hbs b/web-ui/app/templates/tags/tag_list.hbs index 071b4799..e6108224 100644 --- a/web-ui/app/templates/tags/tag_list.hbs +++ b/web-ui/app/templates/tags/tag_list.hbs @@ -1,6 +1,19 @@ -
+
Tags
+ + \ No newline at end of file -- cgit v1.2.3