aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-17 16:31:36 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-17 16:31:36 +0100
commitf23c380cae4c6a97ef426fac58a66c52185a8294 (patch)
tree753f7ec0846eb0955bf8f1bf4c93cbd063184b04 /view
parent7151467db784a112e862a4acbd0dcdbdd2152d15 (diff)
downloadvolse-hubzilla-f23c380cae4c6a97ef426fac58a66c52185a8294.tar.gz
volse-hubzilla-f23c380cae4c6a97ef426fac58a66c52185a8294.tar.bz2
volse-hubzilla-f23c380cae4c6a97ef426fac58a66c52185a8294.zip
add register button for collapsed state
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css12
-rwxr-xr-xview/tpl/nav.tpl15
2 files changed, 16 insertions, 11 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 7551dfe87..d72320833 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1825,16 +1825,16 @@ nav .badge.mail-update {
background-color: $nav_active_icon_colour;
}
-#expand-aside,
-#expand-tabs,
-#doco-return-to-top-btn,
-#context-help-btn,
-#notifications-btn,
-#login_nav_btn_collapse {
+.navbar-toggle-extra {
color: $nav_active_icon_colour;
padding: 7px 10px;
}
+a.navbar-toggle-extra:hover {
+ color: $nav_active_icon_colour;
+ text-decoration: none;
+}
+
.nav-tabs.nav-justified {
background-color: rgba(254,254,254,.5);
border-top-left-radius: 4px;
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 10a12318c..3e352457e 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -6,23 +6,28 @@
<span class="icon-bar"></span>
</button>
{{if $nav.login && !$userinfo}}
- <button type="button" class="navbar-toggle" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}_collapse" data-toggle="modal" data-target="#nav-login">
+ <button type="button" class="navbar-toggle navbar-toggle-extra" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}_collapse" data-toggle="modal" data-target="#nav-login">
{{$nav.loginmenu.1.1}}
</button>
+ {{if $nav.register}}
+ <a href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}" class="navbar-toggle navbar-toggle-extra">
+ {{$nav.register.1}}
+ </a>
+ {{/if}}
{{/if}}
{{if $localuser}}
- <button id="notifications-btn" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1" style="color: grey;">
+ <button id="notifications-btn" type="button" class="navbar-toggle navbar-toggle-extra" data-toggle="collapse" data-target="#navbar-collapse-1" style="color: grey;">
<i class="fa fa-exclamation-circle"></i>
</button>
{{/if}}
- <button id="expand-tabs" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabs-collapse-1">
+ <button id="expand-tabs" type="button" class="navbar-toggle navbar-toggle-extra" data-toggle="collapse" data-target="#tabs-collapse-1">
<i class="fa fa-arrow-circle-down" id="expand-tabs-icon"></i>
</button>
- <button id="expand-aside" type="button" class="navbar-toggle" data-toggle="offcanvas" data-target="#region_1">
+ <button id="expand-aside" type="button" class="navbar-toggle navbar-toggle-extra" data-toggle="offcanvas" data-target="#region_1">
<i class="fa fa-arrow-circle-right" id="expand-aside-icon"></i>
</button>
{{if $nav.help.6}}
- <button id="context-help-btn" class="navbar-toggle" type="button" onclick="contextualHelp(); return false;">
+ <button id="context-help-btn" class="navbar-toggle navbar-toggle-extra" type="button" onclick="contextualHelp(); return false;">
<i class="fa fa-question-circle"></i>
</button>
{{/if}}