Bueno esta modificación le creara un caja de login algo parecida a la de PBTech
Demo url: http://www.ciudaddelanime.com

bueno empecemos
Abrimos el overall_header.html y buscamos
Código: Seleccionar todo
</head>
Código: Seleccionar todo
<!-- Start Custom popuplogin -->
<script type="text/javascript">
$(document).ready(function(){
$("input:checkbox").each( function() {
(this.checked) ? $("#fake"+this.id).addClass('fakechecked') : $("#fake"+this.id).removeClass('fakechecked');
});
$(".fakecheck").click(function(){
($(this).hasClass('fakechecked')) ? $(this).removeClass('fakechecked') : $(this).addClass('fakechecked');
$(this.hash).trigger("click");
return false;
});
});
</script>
<!-- End Custom popuplogin -->
Código: Seleccionar todo
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
Remplazamos con:
Código: Seleccionar todo
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN -->
<li class="icon-logout"><a href="#Login-box" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<div id="Login-box" class="modalDialog">
<div id="login-modal">
<div id="lb-li-content">
<a href="#" title="Close" class="close">X</a>
<form method="post" action="{S_LOGIN_ACTION}">
<fieldset>
<br /><span class="lb-form-label">{L_USERNAME}:</span><br />
<input type="text" name="username" class="lb-li-form" title="{L_USERNAME}" />
<br /><span class="lb-form-label">{L_PASSWORD}:</span><br />
<input type="password" name="password" class="lb-li-form" title="{L_PASSWORD}" />
<br /><a href="{ROOT_PATH}ucp.php?mode=sendpassword">{L_FORGOT_PASS}</a> <!-- IF S_REGISTER_ENABLED -->| <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF -->
<br />
<!-- IF S_AUTOLOGIN_ENABLED --><a href="#autologin2" class="fakecheck" id="fakeautologin2">{L_LOG_ME_IN}</a><input type="checkbox" name="autologin" id="autologin2" style="display: none;" /><!-- ENDIF -->
<div style="clear: both;"><a href="#hidestatus" class="fakecheck" id="fakehidestatus">{L_HIDE_ME}</a><input type="checkbox" name="viewonline" id="hidestatus" style="display: none;" /></div>
<input type="submit" name="login" value="" id="lb-li-button" />
</fieldset>
</form>
</div>
</div>
</div>
<!-- ELSE -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
Código: Seleccionar todo
/* Custom popuplogin */
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
opacity:0;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
pointer-events: none;
}
.modalDialog:target {
opacity:1;
pointer-events: auto;
}
.modalDialog div#login-modal {
width: 400px;
height: 243px;
background: url("{T_THEME_PATH}/images/login/login-box.png") no-repeat;
position: relative;
margin: 10% auto;
}
#lb-li-content {
padding: 20px;
color: #0870d1;
}
span.lb-form-label, #lb-li-content a {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 0.5px;
}
#lb-li-content a {
text-transform:none;
color: #0870d1;
letter-spacing: normal;
}
.lb-li-form {
width: 233px;
height: 24px;
line-height: 24px;
border: 1px solid #b8e3ff;
background: url("{T_THEME_PATH}/images/login/nli-form-bg.png") repeat-x;
margin-top: 4px;
margin-bottom: 6px;
color: #0a81d0;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
.fakecheck {
font: 12px Tahoma, Arial, Helvetica, sans-serif;
text-decoration: none;
outline: none;
background: url("{T_THEME_PATH}/images/login/checkbox.png") no-repeat;
height: 16px;
display: block;
float: left;
padding: 1px 0px 0px 20px;
margin-left: 110px
}
.fakechecked { background-position: left -25px; }
.fakechecked:hover { text-decoration: none; }
#lb-li-button {
width: 100px;
height: 26px;
background: url("{T_THEME_PATH}/images/login/login-button.png") no-repeat top;
border: none;
float: right;
margin-top: 6px;
}
#lb-li-button:hover { background-position: bottom; }
.close {
background: #222;
color: #FFFFFF;
line-height: 25px;
position: absolute;
right: -12px;
text-align: center;
top: -10px;
width: 24px;
text-decoration: none;
font-weight: bold;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
-moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000;
}
.close:hover { text-decoration: none; }
Por ejemplo:
styles/tuestilo/theme/images/aqui-la-carpeta-login
Después en el ACP actualizamos la plantilla y el tema y borramos cache El adjunto trae un PSD para poder editarlo a tu gusto
