aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-23 16:51:23 -0800
committerzotlabs <mike@macgirvin.com>2017-01-23 16:51:23 -0800
commit6c4f7caba14e0afc3b01e272fdd82f3a3bf1b3fb (patch)
tree86d67714bdb311148c259a609c6514d4864d9c46
parentcb47354a4f76e033485e9818b137742c01466dbe (diff)
downloadvolse-hubzilla-6c4f7caba14e0afc3b01e272fdd82f3a3bf1b3fb.tar.gz
volse-hubzilla-6c4f7caba14e0afc3b01e272fdd82f3a3bf1b3fb.tar.bz2
volse-hubzilla-6c4f7caba14e0afc3b01e272fdd82f3a3bf1b3fb.zip
nav-login - basic, crude theming
-rw-r--r--view/theme/redbasic/css/style.css10
-rwxr-xr-xview/tpl/nav.tpl9
2 files changed, 15 insertions, 4 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index f5e253eef..cd222e06d 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2107,5 +2107,15 @@ dl.bb-dl > dd > li {
}
.rmagic-button {
+ padding-top: 10px;
margin-left: 10px;
+ margin-bottom: 10px;
+}
+
+#nav-login {
+ display: none;
+ width: 200px;
+ border: 1px solid #ccc;
+ border-radius: $radiuspx;
+
} \ No newline at end of file
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index c9b38859c..e3553e803 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -156,19 +156,20 @@
{{if $nav.login && !$userinfo}}
<li class="nav-login hidden-xs">
- <a data-toggle="dropdown" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
- <ul class="dropdown-menu" role="menu">
+ <a onclick=openClose('nav-login'); return false;" href="#" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
+ <div id="nav-login" class="login-dropdown-menu" style="display:none; width:150%;">
{{$nav.login}}
{{$nav.remote_login}}
<!-- {{foreach $nav.loginmenu as $loginmenu}}
<li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem" id="{{$loginmenu.4}}">{{$loginmenu.1}}</a></li>
{{/foreach}} --!>
- </ul>
+ </div>
</li>
- {{foreach $nav.loginmenu as $loginmenu}}
+<!-- {{foreach $nav.loginmenu as $loginmenu}}
<li role="presentation"><a class="{{$loginmenu.2}} visible-xs" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
{{/foreach}}
+--!>
{{/if}}
{{if $nav.register}}