aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-23 12:31:41 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-23 12:32:27 +0100
commit9bab858fd1e9c4d219d8ecb1cdca1377abde7024 (patch)
treea84f59a61237c37ad02ca7ab1b0241da01771de1 /view
parent3d0c6700db4ed28600ba2182eae4cdfd8e1a9a20 (diff)
downloadvolse-hubzilla-9bab858fd1e9c4d219d8ecb1cdca1377abde7024.tar.gz
volse-hubzilla-9bab858fd1e9c4d219d8ecb1cdca1377abde7024.tar.bz2
volse-hubzilla-9bab858fd1e9c4d219d8ecb1cdca1377abde7024.zip
move collapsed login and register buttons to the left
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css11
-rwxr-xr-xview/tpl/nav.tpl4
2 files changed, 12 insertions, 3 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 115aa65ae..c632dbc74 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1832,7 +1832,16 @@ nav .badge.mail-update {
padding: 7px 10px;
}
-a.navbar-toggle-extra:hover {
+.navbar-toggle-extra-left {
+ float: left;
+ margin-left: 15px;
+ margin-right: 0px;
+ color: $nav_active_icon_colour;
+ padding: 7px 10px;
+}
+
+a.navbar-toggle-extra:hover,
+a.navbar-toggle-extra-left:hover {
color: $nav_active_icon_colour;
text-decoration: none;
}
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 1f272e7b8..fa47b477a 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -6,11 +6,11 @@
<span class="icon-bar"></span>
</button>
{{if $nav.login && !$userinfo}}
- <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">
+ <button type="button" class="navbar-toggle navbar-toggle-extra-left" 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">
+ <a href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}" class="navbar-toggle navbar-toggle-extra-left">
{{$nav.register.1}}
</a>
{{/if}}