From 335536bbbf0069442a445b9b641a5f51208fca86 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 9 Oct 2017 20:19:03 -0700 Subject: more custom navbar work --- view/css/bootstrap-red.css | 1 + view/css/navbar_tucson.css | 3 ++ view/tpl/navbar_tucson.tpl | 89 +++++++++++++++++++--------------------------- 3 files changed, 40 insertions(+), 53 deletions(-) create mode 100644 view/css/navbar_tucson.css (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index fb6ea911e..2dfc9e07b 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -19,6 +19,7 @@ nav .dropdown-menu { } } + @media screen and (max-width: 767px) { .navbar { padding: .5rem 7px; diff --git a/view/css/navbar_tucson.css b/view/css/navbar_tucson.css new file mode 100644 index 000000000..79f95fe63 --- /dev/null +++ b/view/css/navbar_tucson.css @@ -0,0 +1,3 @@ +#notifications { + display: none; +} diff --git a/view/tpl/navbar_tucson.tpl b/view/tpl/navbar_tucson.tpl index ace22a880..c160bec68 100755 --- a/view/tpl/navbar_tucson.tpl +++ b/view/tpl/navbar_tucson.tpl @@ -10,6 +10,9 @@ {{/if}} {{/if}} + + + {{if $userinfo}} {{/if}} - {{if $nav.files}} - - {{/if}} + {{if $nav.login && !$userinfo}} {{/if}} - {{if $nav.pubs}} - - {{/if}} + - {{/if}} + + + + +