1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Voux theme login styling fixes.

This commit is contained in:
Cameron
2016-12-25 09:16:34 -08:00
parent 68c9e840b5
commit 919de5d49f
2 changed files with 23 additions and 6 deletions

View File

@@ -524,7 +524,7 @@ img.news-image-1 { margin-bottom:15px }
.btn-primary { background-color: #0d0d0d; border: none; color: #fff; } .btn-primary { background-color: #0d0d0d; border: none; color: #fff; }
.navbar-nav.dropup li a.dropdown-toggle { padding-top:0; padding-bottom:0} .navbar-nav.dropup li a.dropdown-toggle { }
.othernews2-block a.btn { display: none; } .othernews2-block a.btn { display: none; }
.othernews2-block img { width:72px; } .othernews2-block img { width:72px; }
@@ -536,6 +536,8 @@ img.news-image-1 { margin-bottom:15px }
.nav > li > a:focus, .nav > li > a.voux-nav-avatar:hover { text-decoration:none} .nav > li > a:focus, .nav > li > a.voux-nav-avatar:hover { text-decoration:none}
.btn-sm { font-size: 0.8em }
/* Extra small devices Phones (<768px) .col-xs */ /* Extra small devices Phones (<768px) .col-xs */
@media all and (max-width: 767px) { @media all and (max-width: 767px) {

View File

@@ -203,10 +203,25 @@ class theme_shortcodes extends e_shortcode
// Logged in. // Logged in.
//TODO Generic LANS. (not theme LANs) //TODO Generic LANS. (not theme LANs)
$text = '
if($placement == 'bottom')
{
$text = '
<ul class="nav navbar-nav navbar-right'.$direction.'"> <ul class="nav navbar-nav navbar-right'.$direction.'">
<li class="dropdown"><a href="#" class="voux-nav-avatar dropdown-toggle" data-toggle="dropdown">{SETIMAGE: w=20&h=20} {USER_AVATAR: shape=circle} <b class="caret"></b></a> <li class="dropdown"><a href="#" class="voux-nav-avatar dropdown-toggle" data-toggle="dropdown">{SETIMAGE: w=30&h=30} {USER_AVATAR: shape=circle} '.USERNAME.' <b class="caret"></b></a>';
}
else
{
$text = '
<ul class="nav navbar-nav navbar-right'.$direction.'">
<li class="dropdown"><a href="#" class="voux-nav-avatar dropdown-toggle" data-toggle="dropdown">{SETIMAGE: w=20&h=20} {USER_AVATAR: shape=circle} <b class="caret"></b></a>';
}
$text .= '
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="{LM_USERSETTINGS_HREF}"><span class="glyphicon glyphicon-cog"></span> '.LAN_SETTINGS.'</a> <a href="{LM_USERSETTINGS_HREF}"><span class="glyphicon glyphicon-cog"></span> '.LAN_SETTINGS.'</a>