Isto é uma pré-visualização de um tema em Hitskin.com
Instalar o tema • Voltar para a ficha do tema
Menu personalizado
2 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Menu personalizado
Detalhes da questão
Endereço do fórum: http://rpgteste.forumeiros.com/
Versão do fórum: PunBB
Descrição
Gostaria que meu menu fica se igual o da imagem:
quando o usuario clica se em minha conta apareceria a opção de login e de registrar, o menu é deslizante.
overall_header:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
</head>
<body>
<div class="barra">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<ul class="menu"><div class="meio">
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<header><div class="meio"><div class="logo"></div>
<div id="search" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div>
</div></header>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
CSS
- Código:
@import url("http://pokodesigns.zz.mu/forum/media/css/font-awesome.min.css") print;
@import "font-awesome-sprockets";
@import "font-awesome";
*{padding:0;margin:0;}
body{
background:#f5f5f5;
font-family: segoe ui;
}
a{text-decoration: none;}
.barra{
background: #fff;
border-bottom: 1px solid rgba(0,0,0,0.1);
color: #222;
font-size: 13px;
font-weight: 600;
height: 34px;
line-height: 31px;
text-indent: 8px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: 100%;
z-index: 1;
}
.barra .social {
color: #ccc;
float: right;
margin-top: 10px;
margin-left: -6px;
font-size: 14px;
}
.barra .social:hover{opacity:0.9;}
.menu{
background: #18360ab0;
box-shadow: rgba(0,0,0,0.7) 0 1px 5px;
height: 60px;
line-height: 38px;
width: 100%;
z-index: 999;
position: sticky;
top: 0px;
}
.menu .div{
color: #fff;
float: left;
font-size: 14px;
font-weight: 400;
margin-right: 5px;
padding: 10px;
list-style: none;
transition: 0.05s all;
}
.menu .div:hover{
border-bottom: 2px solid #b0ad6b;
}
header{
background: url()
background-position: center;
background-size: 100%;
border-bottom: 1px solid rgba(0,0,0,.10);
height: 245px;
width: 100%;
}
header .logo{
background: url(
) no-repeat;
width: 800px;
height: 160px;
position: absolute;
margin-top: 30px;
}
.noti_right{
color: #fff;
font-size: 14px;
font-weight: 300;
padding: 10px;
text-shadow: 0 1px 2px rgba(0,0,0,.3);
float: right;list-style: none;}
.right {
float: right;
}
.meio{ margin: auto;
width: 75%;
height: auto;
}
.attach {
float: right;
}
#search {
margin: 105px 0
}
#search_wrap {
-webkit-transition: all .1s ease-in 0!important;
background: #fff;
border-radius: 2px;
display: block;
height: 26px;
line-height: 25px;
min-width: 20px;
padding: 0 26px 0 4px;
position: relative;
transition: all .5s ease-in 0!important;
}
#main_search {
-webkit-transition: all 1s ease-in-out;
background: transparent;
border: 0;
color: #777;
font-size: 11px;
margin-top: 5px;
outline: 0;
padding: 0;
transition: all 1s ease-in-out;
width: 130px;
font-family: segoe ui;
}
#main_search:focus {
color: #5a5a5a;
width:200px;
transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
}
#search .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
border-radius: 2px;
}
fieldset {
border: 0px groove threedface;
}
.pun {
background: #fff;
line-height: 160%;
margin: 0 auto;
min-width: 960px;
padding: 5px;
width: 98%;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-top: -15px;
margin-bottom: 5px;
border-radius: 0 0 3px 3px;
}
.pun input{
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.03) 0 1px 3px;
font-size: 12px;
height: 25px!important;
outline: none;
text-indent: 4px;
}
.pun-crumbs {
background: rgba(0,0,0,0.04);
border-radius: 3px;
border-top: 1px solid rgba(0,0,0,0.06);
color: #333;
font-weight: 600;
margin: 0 1px 1em;
padding: 5px 11px 7px;
margin-top: 5px;
font-size: 11px;
}
#pun-visit, .main-box {
background-color: #fafafa;
border-color: #e5e5e5;
border-style: solid;
border-width: 1px;
margin: 0 0 1em;
padding: .6em 1em;
border-radius: 3px;
margin-top: 5px;
}
.pun .main-content {https://i.servimg.com/u/f74/19/93/56/19/anunci10.png
background: #000;
border: 0px solid rgba(0, 0, 0, 0.05);
border-radius: 0px;
padding: 0px;
margin-top:0px;
}
.pun table.table {
background: rgba(0, 0, 0, 0.03);
border-collapse: collapse;
empty-cells: show;
table-layout: fixed;
width: 100%;
}
.pun .statused{border-radius: 3px;}
.pun .statused tr:hover{background:#f5f5f5;}
.pun h2, .pun h3, .pun input, .pun select, .pun th {
font-family: segoe ui;
font-size: 13px;
font-weight: normal;
font-style: normal;
font-variant: normal;
text-decoration: none;
}
.pun table.table td {
background-color: transparent;
border-color: transparent;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
padding-left: 7px;
font-size: 11px;
}
.pun .forumtitle{font-weight: 600!important;}
.pun a:visited {
color: #555;
text-decoration: none;
}
.pun a:link {
color: #666;
text-decoration: none;
}
.pun a:link:hover{color:#444;}
.pun .main table td.tc2, .pun .main table td.tc3 {background:transparent;}
.pun .paged-foot, .pun .paged-head {
padding: 12px 12px 12px 10px;
background: #fff;
border: 0;
border-top: 1px solid #b22d2d;
border-bottom: 1px solid #cc2525;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-bottom: 5px;
font-size: 16px;
font-weight: 400;
color: #555;
text-transform: uppercase;
}
.pun .main-content {
background: #fff;
border: 1px solid rgba(0,0,0,0.05);
border-radius: 3px;
padding: 3px;
}
.pun .post {
background:#fff!important;
border: 1px solid rgba(0,0,0,0.1);
margin-bottom: 5px;
border-radius: 2px;
}
.pun .postmain {
background-color: #fff;
margin-left: 18em;
border-left: 1px solid #eee;
}
.pun .posthead {
background: #f9f9f9;
border-bottom: 1px solid rgba(0,0,0,0.1);
padding: 9px 10px 11px;
}
.postfoot {
background: rgba(0,0,0,0.014);
border-top: 1px solid rgba(0,0,0,0.08);
clear: both;
padding: 5px;
text-align: right;
margin-left: 0;
}
.pun .main-head a.exthelp, .pun .main-head a.exthelp:link, .pun .main-head a.exthelp:visited {
background: none;
color: #fff;
margin-right: 10px;
font-size: 11px;
line-height: 32px;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
color: #fff;
margin-left: 3px;
margin-right: 5px;
text-decoration: none;
font-size: 12px;
}
.pun .main, .pun .main-category {
margin: 0;
}
.pun tbody.statused td.tcl {
padding-left:10px;
}
.pun .main .options {
color: #ccc;
float: right;
text-align: right;
margin-top: 4px;
}
.pun form[action^="/search?"] .tdtopics .status,
.pun form[action^="/privmsg?"] .tdtopics .status {
position: static !important;
margin-left: 0px !important;
margin-right: 5px;
}
.pun .entry-content {
font-size: 15px;
}
.main .main-foot, .main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin-top:5px;
}
.main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.main .main-head .page-title {
font-weight: 400;
font-size: 14px;
}
#chatbox_header.main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 30px;
line-height: 25px;
margin-bottom: 4px;
padding: 0;
text-indent: 4px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.chatbox-title {
float: left;
margin: 0;
padding: 2px 5px 0;
width: 15em;
}
.chatbox-options {
float: right;
font-size: 11px;
list-style: none;
margin: .7em .5em .5em;
}
.chatbox-options li, .chatbox-options li a, .chatbox-options li label {
color: #fff;
line-height: 14px;
font-size: 11px;
}
#chatbox_members {
background: #fff;
border: 1px solid #eee;
bottom: 30px;
color: #333;
overflow: auto;
position: absolute;
top: 32px;
width: 180px;
margin-top: 1px;
border-radius: 3px 0;
}
#chatbox_members .member-title {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-family: segoe ui;
font-size: 12px;
padding: 7px 7px 9px;
text-indent: 4px;
line-height: 14px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-transform: capitalize;
margin: 4px;
text-align: left;
}
#chatbox {
background: #fff;
bottom: 30px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
border: 1px solid #eee;
margin-top: 3px;
border-radius: 0 3px 0;
}
.chatbox-title, .chatbox-title a.chat-title {
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
#chatbox p {
line-height: 1.2em;
margin: 4px;
padding: 7px 7px 8px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.04);
color: #000;
font-family: segoe ui;
}
#chatbox .date-and-time{
float: right;
color: #777;
text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
#chatbox_footer {
background: #fafafa;
border: 1px solid #eee;
bottom: 0;
left: 0;
position: absolute;
right: 0;
padding: 0 0 3px;
border-radius: 0 0 3px 3px;
}
label[for="message"] {
display: none;
}
#chatbox_contextmenu {
background: #fff;
border: 1px solid #ddd!important;
border-radius: 2px;
box-shadow: none!important;
padding: 2px;
}
#chatbox_contextmenu p {
background: #fff;
font-family: segoe ui;
margin: 0;
padding: 1px 4px;
border-bottom: 0;
}
.cb-menu-title {
background: #eee!important;
border-bottom: 1px solid #ddd!important;
font-weight: 600!important;
}
.cb-menu-close {
color: #222!important;
font-size: 17px!important;
margin-right: 4px;
margin-top: -2px;
}
#message {
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
height: 25px!important;
margin-right: 5px;
margin-top: 3px!important;
width: 350px!important;
outline: none;
text-indent: 10px;
font-size: 12px;
}
#submit_button {
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
outline: none;
}
#chatbox_messenger_form {margin: 0!important;}
#help-button {display: none!important;}
#divcolor, #divsmilies, #help-button, #submit_button, .format-message + label {
border: 0;
border-radius: 2px;
display: inline-block;
height: 20px;
line-height: 16px;
text-align: center;
width: 21px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
box-shadow: inset rgba(0,0,0,0.1) 0 0px 1px;
}
.fontbutton {
background: rgba(0, 0, 0, 0.05) none repeat scroll 0;
border: medium none;
color: #000;
cursor: pointer;
float: left;
margin-right: 10px;
padding: 1px;
text-align: left;
}
label[for='format-bold'] {
font-weight: 700;
margin-top: 5px;
}
label[for="format-italic"] {
font-style: italic;
margin-top: 5px;
}
label[for="format-underline"] {
text-decoration: underline;
margin-top: 5px;
}
label[for="format-strike"] {
text-decoration: line-through;
margin-top: 5px;
}
#divcolor {
font-size: 13px;
line-height: 13px;
margin-top: 5px;
}
#divsmilies{margin-top: 5px;}
.format-message:checked + label {
background: #b82919!important;
border: 1px solid rgba(0,0,0,0.15);
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-align: center;
}
.login{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.registro{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px 0px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.login a{
color:#555;
border-right: 1px solid #eee;
padding-right: 9px;
margin-right: -2px;}
.registro a{color:#555;}
.anuncio{
background: url() no-repeat;
width: 728px;
height: 90px;
border: 0;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.sprite-icon_topic_latest {
display: none;
}
.hover_stats {
display: none;
position: absolute;
}
.stats_arrow {
margin-left: 150px;
margin-right: -1px;
margin-top: -1px;
position: relative;
}
.idx_stats {
background: rgb(66, 66, 66);
border-radius: 3px;
color: rgb(255, 255, 255);
display: inline;
font-size: 10px;
padding: 3px 5px;
}
.topico_button{
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
padding: 6px;
font-size: 12px;
text-transform: capitalize;
font-weight: 600;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin: -4px;
float: right;
}
.topico_button a{color:#fff!important;}
p#ir_a_pa > strong > a{
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
background: #b82919;
border-radius: 2px;
bottom: 15px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05),0 1px 1px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
cursor: pointer;
font-size: 12px;
position: fixed;
right: 15px;
text-align: center;
user-select: none;
z-index: 3;
padding: 10px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.mini_ava img {
-khtml-border-radius: 3px!important;
-moz-border-radius: 3px!important;
-webkit-border-radius: 100px!important;
background: #fff;
border: 1px solid #aaa!important;
border-radius: 3px;
height: 40px;
margin: 0px 5px;
padding: 1px;
width: 40px;
}
.pun .post .user {
background: #fff;
float: left;
overflow: visible;
margin-left: -212px;
margin-top: -31px;
position: relative;
width: 204px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 2px;
padding-bottom: 38px;
}
.pun .user .user-ident {
font-size: 12px;
padding: 0 0 0.1em;
}
.pun .username{
font-size: 12px;
margin-bottom: 8px;
margin-top: -10px;
text-align: center;
position: relative!important;
}
.user-basic-info a img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
margin-left: 21px;
max-width: 155px;
padding: 2px;
width: 170px;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 40px;
height: 40px;
margin: 0px 5px;
padding: 1px;
border: 1px solid #aaa;
background: white;
}
.mini_ava img:hover {
border-color: #a1a1a1;
}
.username-bg{}
.info-msgs{
color: #555;
font-size: 13px;
height: 34px;
margin: -8px auto auto;
text-align: center;
text-shadow: 0 1px 1px #eee;
}
div[style*="resize"]{display:none;}
div[style*="width: 1130px; height: 153px;"]{height:200px;!important;}
#textarea_content{
width: auto!important;
min-width: 100px!important;
max-width: 900px!important;
}
.codebox {
background-color: #fff;
border: 1px solid #ddd;
margin: 1em;
border-radius: 2px;
}
.codebox dt {
background: #fafafa;
border-bottom: 1px solid #ddd;
padding: 8px;
color: #00698C;
font-weight: 600;
font-family: segoe ui;
font-size: 11px;
}
.codebox dd {
background-color: #f5f5f5;
padding: .5em;
margin:0;
}
.postmain blockquote {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 2px;
padding: 4px;
}
.postmain cite {
background: #fafafa;
border-bottom: 1px solid #ddd;
color: #b82919;
font-family: segoe ui;
font-size: 11px;
font-weight: 600;
padding: 8px;
margin: -4px -4px 5px;
}
.pun .frm .frm-buttons input {
line-height: 1.2;
margin-right: 1em;
overflow: visible;
vertical-align: middle;
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
outline: none;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
}
.pun .frm .frm-form table {
border: 1px solid #ddd;
background: #fafafa;
}
.pun div.frm-form {
margin: 0;
padding: 0;
}
.pun table.table th {
background-color: #f4f4f4;
border-bottom: 1px solid #ddd;
color: #333;
padding: .5em 0;
}
#tabs ul li a {
background-color: #fafafa;
border: 1px solid #e5e5e5;
float: left;
color: #333;
font-size: 1.1em;
font-weight: 400;
line-height: 2em;
padding: 0 1em;
text-decoration: none;
}
#tabs ul li.activetab a {
background: #b82919;
color: #f4f9fd;
border: 0;
font-weight: 500;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
fieldset.frm-set dl dd {margin-left:0;}
fieldset.frm-set dl dt{display: none;}
fieldset.frm-set dl dt label{float: left!important;}
#profile-advanced-details div.separator{border-bottom: 1px dashed #e5e5e5;}
.main-content.clearfix.center img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
max-width: 155px;
padding: 2px;
width: 170px;
}
#updateAssuntos{
margin-left: 199px;
margin-top: -31px;
position: absolute;
}
#updateAssuntos img {
-webkit-transition: -webkit-transform .8s ease-in-out;
transition: transform .8s ease-in-out;
}
#updateAssuntos img:hover{
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
footer{
background-color: #18360ab0;
color: #fff;
font-size: 11px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
height: 170px;
width: 100%;
line-height: 130%;
}
.credits{
background: #18360ab0;;
padding: 1.4em;
color: #FAFAFA;
border: 1px solid rgba(0,0,0,0.10);
text-align: center;
}
.cont_footer{padding: 1.3em 13em;}
.footer-col{float: left;width: 25%;}
.footer-title{display: block;font-size: 17px;text-transform: uppercase;color:#fafafa;}
.footer-list{list-style: none;margin: 7px 0 10px;padding-left: 0;}
ul.footer-list li a {color:#fff!important;}
.vote .vote-bar {
margin-left: 5px;
border:0;
font-size: 0;
height: 50px;
margin: 0 auto;
width: 4px;
}
.vote .vote-bar-plus {
background-color: #bf4444; border-radius: 100px
}
.vote .vote-bar-minus {
background-color: #EA4335; border-radius: 100px
}
.i_post{margin-left: -125px}
.main-content.standalone .button:hover {
background-color: #fff;
border: 1px solid #b82919;
}
fieldset.frm-set dl dt {
display:block;
}
ul#pun-legend, ul.pun-legend{
display:none;
}
.sceditor-toolbar {background-color: #f7f7f7!important;}
.i_reply_locked{ position: relative!important;}
.pun .paging {font-size: 13px;line-height: 20px;}
.sprite-arrow_prosilver_left{display:none!important;}
div.sceditor-toolbar{float: left;margin-top: -20px!important;}
.pun .frm div.posting-block dd.frm-textarea{ width: 90%!important;}
#first-post-br{display: none;}
.rank{
color: #fff;
font-size: 13px;
font-weight: 600;
height: 36px;
width: 155px;
margin: 5px auto;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-align: center;
line-height: 33px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.rank.supr{background-color:#000}.rank.supr:before{content:"\f005";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.adm{background-color:#900}.rank.adm:before{content:"\f2bd";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.cor{background-color:#3e4842}.rank.cor:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.bope{background-color:#AD1818}.rank.bope:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.crh{background-color:#040D70}.rank.crh:before{content:"\f2c2";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dire{background-color:#C2C2C2}.rank.dire:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dmi{background-color:#8B864E}.rank.dmi:before{content:"\f006";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.p2{background-color:#424242}.rank.p2:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.sf{background-color:#E6B907}.rank.sf:before{content:"\f09d";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
imagem do banner: https://imgur.com/a/Esu3tKN
cor do fundo do menu: RGB(122, 122, 26) #7A7A1A
É possível diminuir a CSS? por que atualmente quando vou alterar as cores eu tenho que alterar por partes, como fundo do menu, fundo da categoria, fundo do rodapé... e eu gostaria que quando eu fosse alterar os fundos ele altera se tudo logo, tipo se eu alterar para cor verde automaticamente o fundo da categoria, menu e rodapé iria ser alterado, fazendo com quer eu não tivesse que alterar por partes.
Re: Menu personalizado
Olá @RPGU!
Você viu esse efeito em algum fórum?
Troque o CSS por este:
Até mais.
Você viu esse efeito em algum fórum?
Troque o CSS por este:
- Código:
@import url("http://pokodesigns.zz.mu/forum/media/css/font-awesome.min.css") print;
@import "font-awesome-sprockets";
@import "font-awesome";
*{padding:0;margin:0;}
body{
background:#f5f5f5;
font-family: segoe ui;
}
a{text-decoration: none;}
.barra{
background: #fff;
border-bottom: 1px solid rgba(0,0,0,0.1);
color: #222;
font-size: 13px;
font-weight: 600;
height: 34px;
line-height: 31px;
text-indent: 8px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: 100%;
z-index: 1;
}
.barra .social {
color: #ccc;
float: right;
margin-top: 10px;
margin-left: -6px;
font-size: 14px;
}
.barra .social:hover{opacity:0.9;}
.menu{
background: #18360ab0;
box-shadow: rgba(0,0,0,0.7) 0 1px 5px;
height: 60px;
line-height: 38px;
width: 100%;
z-index: 999;
position: sticky;
top: 0px;
}
.menu .div{
color: #fff;
float: left;
font-size: 14px;
font-weight: 400;
margin-right: 5px;
padding: 10px;
list-style: none;
transition: 0.05s all;
}
.menu .div:hover{
border-bottom: 2px solid #b0ad6b;
}
header{
background: url(https://imgur.com/a/Esu3tKN)
background-position: center;
background-size: 100%;
border-bottom: 1px solid rgba(0,0,0,.10);
height: 245px;
width: 100%;
}
header .logo{
background: url(
) no-repeat;
width: 800px;
height: 160px;
position: absolute;
margin-top: 30px;
}
.noti_right{
color: #fff;
font-size: 14px;
font-weight: 300;
padding: 10px;
text-shadow: 0 1px 2px rgba(0,0,0,.3);
float: right;list-style: none;}
.right {
float: right;
}
.meio{ margin: auto;
width: 75%;
height: auto;
}
.attach {
float: right;
}
#search {
margin: 105px 0
}
#search_wrap {
-webkit-transition: all .1s ease-in 0!important;
background: #fff;
border-radius: 2px;
display: block;
height: 26px;
line-height: 25px;
min-width: 20px;
padding: 0 26px 0 4px;
position: relative;
transition: all .5s ease-in 0!important;
}
#main_search {
-webkit-transition: all 1s ease-in-out;
background: transparent;
border: 0;
color: #777;
font-size: 11px;
margin-top: 5px;
outline: 0;
padding: 0;
transition: all 1s ease-in-out;
width: 130px;
font-family: segoe ui;
}
#main_search:focus {
color: #5a5a5a;
width:200px;
transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
}
#search .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
border-radius: 2px;
}
fieldset {
border: 0px groove threedface;
}
.pun {
background: #fff;
line-height: 160%;
margin: 0 auto;
min-width: 960px;
padding: 5px;
width: 98%;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-top: -15px;
margin-bottom: 5px;
border-radius: 0 0 3px 3px;
}
.pun input{
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.03) 0 1px 3px;
font-size: 12px;
height: 25px!important;
outline: none;
text-indent: 4px;
}
.pun-crumbs {
background: rgba(0,0,0,0.04);
border-radius: 3px;
border-top: 1px solid rgba(0,0,0,0.06);
color: #333;
font-weight: 600;
margin: 0 1px 1em;
padding: 5px 11px 7px;
margin-top: 5px;
font-size: 11px;
}
#pun-visit, .main-box {
background-color: #fafafa;
border-color: #e5e5e5;
border-style: solid;
border-width: 1px;
margin: 0 0 1em;
padding: .6em 1em;
border-radius: 3px;
margin-top: 5px;
}
.pun .main-content {https://i.servimg.com/u/f74/19/93/56/19/anunci10.png
background: #000;
border: 0px solid rgba(0, 0, 0, 0.05);
border-radius: 0px;
padding: 0px;
margin-top:0px;
}
.pun table.table {
background: rgba(0, 0, 0, 0.03);
border-collapse: collapse;
empty-cells: show;
table-layout: fixed;
width: 100%;
}
.pun .statused{border-radius: 3px;}
.pun .statused tr:hover{background:#f5f5f5;}
.pun h2, .pun h3, .pun input, .pun select, .pun th {
font-family: segoe ui;
font-size: 13px;
font-weight: normal;
font-style: normal;
font-variant: normal;
text-decoration: none;
}
.pun table.table td {
background-color: transparent;
border-color: transparent;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
padding-left: 7px;
font-size: 11px;
}
.pun .forumtitle{font-weight: 600!important;}
.pun a:visited {
color: #555;
text-decoration: none;
}
.pun a:link {
color: #666;
text-decoration: none;
}
.pun a:link:hover{color:#444;}
.pun .main table td.tc2, .pun .main table td.tc3 {background:transparent;}
.pun .paged-foot, .pun .paged-head {
padding: 12px 12px 12px 10px;
background: #fff;
border: 0;
border-top: 1px solid #b22d2d;
border-bottom: 1px solid #cc2525;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-bottom: 5px;
font-size: 16px;
font-weight: 400;
color: #555;
text-transform: uppercase;
}
.pun .main-content {
background: #fff;
border: 1px solid rgba(0,0,0,0.05);
border-radius: 3px;
padding: 3px;
}
.pun .post {
background:#fff!important;
border: 1px solid rgba(0,0,0,0.1);
margin-bottom: 5px;
border-radius: 2px;
}
.pun .postmain {
background-color: #fff;
margin-left: 18em;
border-left: 1px solid #eee;
}
.pun .posthead {
background: #f9f9f9;
border-bottom: 1px solid rgba(0,0,0,0.1);
padding: 9px 10px 11px;
}
.postfoot {
background: rgba(0,0,0,0.014);
border-top: 1px solid rgba(0,0,0,0.08);
clear: both;
padding: 5px;
text-align: right;
margin-left: 0;
}
.pun .main-head a.exthelp, .pun .main-head a.exthelp:link, .pun .main-head a.exthelp:visited {
background: none;
color: #fff;
margin-right: 10px;
font-size: 11px;
line-height: 32px;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
color: #fff;
margin-left: 3px;
margin-right: 5px;
text-decoration: none;
font-size: 12px;
}
.pun .main, .pun .main-category {
margin: 0;
}
.pun tbody.statused td.tcl {
padding-left:10px;
}
.pun .main .options {
color: #ccc;
float: right;
text-align: right;
margin-top: 4px;
}
.pun form[action^="/search?"] .tdtopics .status,
.pun form[action^="/privmsg?"] .tdtopics .status {
position: static !important;
margin-left: 0px !important;
margin-right: 5px;
}
.pun .entry-content {
font-size: 15px;
}
.main .main-foot, .main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin-top:5px;
}
.main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.main .main-head .page-title {
font-weight: 400;
font-size: 14px;
}
#chatbox_header.main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 30px;
line-height: 25px;
margin-bottom: 4px;
padding: 0;
text-indent: 4px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.chatbox-title {
float: left;
margin: 0;
padding: 2px 5px 0;
width: 15em;
}
.chatbox-options {
float: right;
font-size: 11px;
list-style: none;
margin: .7em .5em .5em;
}
.chatbox-options li, .chatbox-options li a, .chatbox-options li label {
color: #fff;
line-height: 14px;
font-size: 11px;
}
#chatbox_members {
background: #fff;
border: 1px solid #eee;
bottom: 30px;
color: #333;
overflow: auto;
position: absolute;
top: 32px;
width: 180px;
margin-top: 1px;
border-radius: 3px 0;
}
#chatbox_members .member-title {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-family: segoe ui;
font-size: 12px;
padding: 7px 7px 9px;
text-indent: 4px;
line-height: 14px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-transform: capitalize;
margin: 4px;
text-align: left;
}
#chatbox {
background: #fff;
bottom: 30px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
border: 1px solid #eee;
margin-top: 3px;
border-radius: 0 3px 0;
}
.chatbox-title, .chatbox-title a.chat-title {
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
#chatbox p {
line-height: 1.2em;
margin: 4px;
padding: 7px 7px 8px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.04);
color: #000;
font-family: segoe ui;
}
#chatbox .date-and-time{
float: right;
color: #777;
text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
#chatbox_footer {
background: #fafafa;
border: 1px solid #eee;
bottom: 0;
left: 0;
position: absolute;
right: 0;
padding: 0 0 3px;
border-radius: 0 0 3px 3px;
}
label[for="message"] {
display: none;
}
#chatbox_contextmenu {
background: #fff;
border: 1px solid #ddd!important;
border-radius: 2px;
box-shadow: none!important;
padding: 2px;
}
#chatbox_contextmenu p {
background: #fff;
font-family: segoe ui;
margin: 0;
padding: 1px 4px;
border-bottom: 0;
}
.cb-menu-title {
background: #eee!important;
border-bottom: 1px solid #ddd!important;
font-weight: 600!important;
}
.cb-menu-close {
color: #222!important;
font-size: 17px!important;
margin-right: 4px;
margin-top: -2px;
}
#message {
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
height: 25px!important;
margin-right: 5px;
margin-top: 3px!important;
width: 350px!important;
outline: none;
text-indent: 10px;
font-size: 12px;
}
#submit_button {
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
outline: none;
}
#chatbox_messenger_form {margin: 0!important;}
#help-button {display: none!important;}
#divcolor, #divsmilies, #help-button, #submit_button, .format-message + label {
border: 0;
border-radius: 2px;
display: inline-block;
height: 20px;
line-height: 16px;
text-align: center;
width: 21px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
box-shadow: inset rgba(0,0,0,0.1) 0 0px 1px;
}
.fontbutton {
background: rgba(0, 0, 0, 0.05) none repeat scroll 0;
border: medium none;
color: #000;
cursor: pointer;
float: left;
margin-right: 10px;
padding: 1px;
text-align: left;
}
label[for='format-bold'] {
font-weight: 700;
margin-top: 5px;
}
label[for="format-italic"] {
font-style: italic;
margin-top: 5px;
}
label[for="format-underline"] {
text-decoration: underline;
margin-top: 5px;
}
label[for="format-strike"] {
text-decoration: line-through;
margin-top: 5px;
}
#divcolor {
font-size: 13px;
line-height: 13px;
margin-top: 5px;
}
#divsmilies{margin-top: 5px;}
.format-message:checked + label {
background: #b82919!important;
border: 1px solid rgba(0,0,0,0.15);
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-align: center;
}
.login{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.registro{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px 0px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.login a{
color:#555;
border-right: 1px solid #eee;
padding-right: 9px;
margin-right: -2px;}
.registro a{color:#555;}
.anuncio{
background: url() no-repeat;
width: 728px;
height: 90px;
border: 0;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.sprite-icon_topic_latest {
display: none;
}
.hover_stats {
display: none;
position: absolute;
}
.stats_arrow {
margin-left: 150px;
margin-right: -1px;
margin-top: -1px;
position: relative;
}
.idx_stats {
background: rgb(66, 66, 66);
border-radius: 3px;
color: rgb(255, 255, 255);
display: inline;
font-size: 10px;
padding: 3px 5px;
}
.topico_button{
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
padding: 6px;
font-size: 12px;
text-transform: capitalize;
font-weight: 600;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin: -4px;
float: right;
}
.topico_button a{color:#fff!important;}
p#ir_a_pa > strong > a{
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
background: #b82919;
border-radius: 2px;
bottom: 15px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05),0 1px 1px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
cursor: pointer;
font-size: 12px;
position: fixed;
right: 15px;
text-align: center;
user-select: none;
z-index: 3;
padding: 10px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.mini_ava img {
-khtml-border-radius: 3px!important;
-moz-border-radius: 3px!important;
-webkit-border-radius: 100px!important;
background: #fff;
border: 1px solid #aaa!important;
border-radius: 3px;
height: 40px;
margin: 0px 5px;
padding: 1px;
width: 40px;
}
.pun .post .user {
background: #fff;
float: left;
overflow: visible;
margin-left: -212px;
margin-top: -31px;
position: relative;
width: 204px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 2px;
padding-bottom: 38px;
}
.pun .user .user-ident {
font-size: 12px;
padding: 0 0 0.1em;
}
.pun .username{
font-size: 12px;
margin-bottom: 8px;
margin-top: -10px;
text-align: center;
position: relative!important;
}
.user-basic-info a img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
margin-left: 21px;
max-width: 155px;
padding: 2px;
width: 170px;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 40px;
height: 40px;
margin: 0px 5px;
padding: 1px;
border: 1px solid #aaa;
background: white;
}
.mini_ava img:hover {
border-color: #a1a1a1;
}
.username-bg{}
.info-msgs{
color: #555;
font-size: 13px;
height: 34px;
margin: -8px auto auto;
text-align: center;
text-shadow: 0 1px 1px #eee;
}
div[style*="resize"]{display:none;}
div[style*="width: 1130px; height: 153px;"]{height:200px;!important;}
#textarea_content{
width: auto!important;
min-width: 100px!important;
max-width: 900px!important;
}
.codebox {
background-color: #fff;
border: 1px solid #ddd;
margin: 1em;
border-radius: 2px;
}
.codebox dt {
background: #fafafa;
border-bottom: 1px solid #ddd;
padding: 8px;
color: #00698C;
font-weight: 600;
font-family: segoe ui;
font-size: 11px;
}
.codebox dd {
background-color: #f5f5f5;
padding: .5em;
margin:0;
}
.postmain blockquote {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 2px;
padding: 4px;
}
.postmain cite {
background: #fafafa;
border-bottom: 1px solid #ddd;
color: #b82919;
font-family: segoe ui;
font-size: 11px;
font-weight: 600;
padding: 8px;
margin: -4px -4px 5px;
}
.pun .frm .frm-buttons input {
line-height: 1.2;
margin-right: 1em;
overflow: visible;
vertical-align: middle;
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
outline: none;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
}
.pun .frm .frm-form table {
border: 1px solid #ddd;
background: #fafafa;
}
.pun div.frm-form {
margin: 0;
padding: 0;
}
.pun table.table th {
background-color: #f4f4f4;
border-bottom: 1px solid #ddd;
color: #333;
padding: .5em 0;
}
#tabs ul li a {
background-color: #fafafa;
border: 1px solid #e5e5e5;
float: left;
color: #333;
font-size: 1.1em;
font-weight: 400;
line-height: 2em;
padding: 0 1em;
text-decoration: none;
}
#tabs ul li.activetab a {
background: #b82919;
color: #f4f9fd;
border: 0;
font-weight: 500;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
fieldset.frm-set dl dd {margin-left:0;}
fieldset.frm-set dl dt{display: none;}
fieldset.frm-set dl dt label{float: left!important;}
#profile-advanced-details div.separator{border-bottom: 1px dashed #e5e5e5;}
.main-content.clearfix.center img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
max-width: 155px;
padding: 2px;
width: 170px;
}
#updateAssuntos{
margin-left: 199px;
margin-top: -31px;
position: absolute;
}
#updateAssuntos img {
-webkit-transition: -webkit-transform .8s ease-in-out;
transition: transform .8s ease-in-out;
}
#updateAssuntos img:hover{
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
footer{
background-color: #18360ab0;
color: #fff;
font-size: 11px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
height: 170px;
width: 100%;
line-height: 130%;
}
.credits{
background: #18360ab0;;
padding: 1.4em;
color: #FAFAFA;
border: 1px solid rgba(0,0,0,0.10);
text-align: center;
}
.cont_footer{padding: 1.3em 13em;}
.footer-col{float: left;width: 25%;}
.footer-title{display: block;font-size: 17px;text-transform: uppercase;color:#fafafa;}
.footer-list{list-style: none;margin: 7px 0 10px;padding-left: 0;}
ul.footer-list li a {color:#fff!important;}
.vote .vote-bar {
margin-left: 5px;
border:0;
font-size: 0;
height: 50px;
margin: 0 auto;
width: 4px;
}
.vote .vote-bar-plus {
background-color: #bf4444; border-radius: 100px
}
.vote .vote-bar-minus {
background-color: #EA4335; border-radius: 100px
}
.i_post{margin-left: -125px}
.main-content.standalone .button:hover {
background-color: #fff;
border: 1px solid #b82919;
}
fieldset.frm-set dl dt {
display:block;
}
ul#pun-legend, ul.pun-legend{
display:none;
}
.sceditor-toolbar {background-color: #f7f7f7!important;}
.i_reply_locked{ position: relative!important;}
.pun .paging {font-size: 13px;line-height: 20px;}
.sprite-arrow_prosilver_left{display:none!important;}
div.sceditor-toolbar{float: left;margin-top: -20px!important;}
.pun .frm div.posting-block dd.frm-textarea{ width: 90%!important;}
#first-post-br{display: none;}
.rank{
color: #fff;
font-size: 13px;
font-weight: 600;
height: 36px;
width: 155px;
margin: 5px auto;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-align: center;
line-height: 33px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.rank.supr{background-color:#000}.rank.supr:before{content:"\f005";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.adm{background-color:#900}.rank.adm:before{content:"\f2bd";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.cor{background-color:#3e4842}.rank.cor:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.bope{background-color:#AD1818}.rank.bope:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.crh{background-color:#040D70}.rank.crh:before{content:"\f2c2";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dire{background-color:#C2C2C2}.rank.dire:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dmi{background-color:#8B864E}.rank.dmi:before{content:"\f006";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.p2{background-color:#424242}.rank.p2:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.sf{background-color:#E6B907}.rank.sf:before{content:"\f09d";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
Até mais.
Re: Menu personalizado
Olá!
Experimente trocar novamente por este:
Até mais.
Experimente trocar novamente por este:
- Código:
@import url("http://pokodesigns.zz.mu/forum/media/css/font-awesome.min.css") print;
@import "font-awesome-sprockets";
@import "font-awesome";
*{padding:0;margin:0;}
body{
background:#f5f5f5;
font-family: segoe ui;
}
a{text-decoration: none;}
.barra{
background: #fff;
border-bottom: 1px solid rgba(0,0,0,0.1);
color: #222;
font-size: 13px;
font-weight: 600;
height: 34px;
line-height: 31px;
text-indent: 8px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: 100%;
z-index: 1;
}
.barra .social {
color: #ccc;
float: right;
margin-top: 10px;
margin-left: -6px;
font-size: 14px;
}
.barra .social:hover{opacity:0.9;}
.menu{
background: #18360ab0;
box-shadow: rgba(0,0,0,0.7) 0 1px 5px;
height: 60px;
line-height: 38px;
width: 100%;
z-index: 999;
position: sticky;
top: 0px;
}
.menu .div{
color: #fff;
float: left;
font-size: 14px;
font-weight: 400;
margin-right: 5px;
padding: 10px;
list-style: none;
transition: 0.05s all;
}
.menu .div:hover{
border-bottom: 2px solid #b0ad6b;
}
header{
background: url(https://i.imgur.com/KrSIAdK.png)
background-position: center;
background-size: 100%;
border-bottom: 1px solid rgba(0,0,0,.10);
height: 245px;
width: 100%;
}
header .logo{
background: url(
) no-repeat;
width: 800px;
height: 160px;
position: absolute;
margin-top: 30px;
}
.noti_right{
color: #fff;
font-size: 14px;
font-weight: 300;
padding: 10px;
text-shadow: 0 1px 2px rgba(0,0,0,.3);
float: right;list-style: none;}
.right {
float: right;
}
.meio{ margin: auto;
width: 75%;
height: auto;
}
.attach {
float: right;
}
#search {
margin: 105px 0
}
#search_wrap {
-webkit-transition: all .1s ease-in 0!important;
background: #fff;
border-radius: 2px;
display: block;
height: 26px;
line-height: 25px;
min-width: 20px;
padding: 0 26px 0 4px;
position: relative;
transition: all .5s ease-in 0!important;
}
#main_search {
-webkit-transition: all 1s ease-in-out;
background: transparent;
border: 0;
color: #777;
font-size: 11px;
margin-top: 5px;
outline: 0;
padding: 0;
transition: all 1s ease-in-out;
width: 130px;
font-family: segoe ui;
}
#main_search:focus {
color: #5a5a5a;
width:200px;
transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
}
#search .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
border-radius: 2px;
}
fieldset {
border: 0px groove threedface;
}
.pun {
background: #fff;
line-height: 160%;
margin: 0 auto;
min-width: 960px;
padding: 5px;
width: 98%;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-top: -15px;
margin-bottom: 5px;
border-radius: 0 0 3px 3px;
}
.pun input{
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.03) 0 1px 3px;
font-size: 12px;
height: 25px!important;
outline: none;
text-indent: 4px;
}
.pun-crumbs {
background: rgba(0,0,0,0.04);
border-radius: 3px;
border-top: 1px solid rgba(0,0,0,0.06);
color: #333;
font-weight: 600;
margin: 0 1px 1em;
padding: 5px 11px 7px;
margin-top: 5px;
font-size: 11px;
}
#pun-visit, .main-box {
background-color: #fafafa;
border-color: #e5e5e5;
border-style: solid;
border-width: 1px;
margin: 0 0 1em;
padding: .6em 1em;
border-radius: 3px;
margin-top: 5px;
}
.pun .main-content {https://i.servimg.com/u/f74/19/93/56/19/anunci10.png
background: #000;
border: 0px solid rgba(0, 0, 0, 0.05);
border-radius: 0px;
padding: 0px;
margin-top:0px;
}
.pun table.table {
background: rgba(0, 0, 0, 0.03);
border-collapse: collapse;
empty-cells: show;
table-layout: fixed;
width: 100%;
}
.pun .statused{border-radius: 3px;}
.pun .statused tr:hover{background:#f5f5f5;}
.pun h2, .pun h3, .pun input, .pun select, .pun th {
font-family: segoe ui;
font-size: 13px;
font-weight: normal;
font-style: normal;
font-variant: normal;
text-decoration: none;
}
.pun table.table td {
background-color: transparent;
border-color: transparent;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
padding-left: 7px;
font-size: 11px;
}
.pun .forumtitle{font-weight: 600!important;}
.pun a:visited {
color: #555;
text-decoration: none;
}
.pun a:link {
color: #666;
text-decoration: none;
}
.pun a:link:hover{color:#444;}
.pun .main table td.tc2, .pun .main table td.tc3 {background:transparent;}
.pun .paged-foot, .pun .paged-head {
padding: 12px 12px 12px 10px;
background: #fff;
border: 0;
border-top: 1px solid #b22d2d;
border-bottom: 1px solid #cc2525;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-bottom: 5px;
font-size: 16px;
font-weight: 400;
color: #555;
text-transform: uppercase;
}
.pun .main-content {
background: #fff;
border: 1px solid rgba(0,0,0,0.05);
border-radius: 3px;
padding: 3px;
}
.pun .post {
background:#fff!important;
border: 1px solid rgba(0,0,0,0.1);
margin-bottom: 5px;
border-radius: 2px;
}
.pun .postmain {
background-color: #fff;
margin-left: 18em;
border-left: 1px solid #eee;
}
.pun .posthead {
background: #f9f9f9;
border-bottom: 1px solid rgba(0,0,0,0.1);
padding: 9px 10px 11px;
}
.postfoot {
background: rgba(0,0,0,0.014);
border-top: 1px solid rgba(0,0,0,0.08);
clear: both;
padding: 5px;
text-align: right;
margin-left: 0;
}
.pun .main-head a.exthelp, .pun .main-head a.exthelp:link, .pun .main-head a.exthelp:visited {
background: none;
color: #fff;
margin-right: 10px;
font-size: 11px;
line-height: 32px;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
color: #fff;
margin-left: 3px;
margin-right: 5px;
text-decoration: none;
font-size: 12px;
}
.pun .main, .pun .main-category {
margin: 0;
}
.pun tbody.statused td.tcl {
padding-left:10px;
}
.pun .main .options {
color: #ccc;
float: right;
text-align: right;
margin-top: 4px;
}
.pun form[action^="/search?"] .tdtopics .status,
.pun form[action^="/privmsg?"] .tdtopics .status {
position: static !important;
margin-left: 0px !important;
margin-right: 5px;
}
.pun .entry-content {
font-size: 15px;
}
.main .main-foot, .main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin-top:5px;
}
.main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.main .main-head .page-title {
font-weight: 400;
font-size: 14px;
}
#chatbox_header.main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 30px;
line-height: 25px;
margin-bottom: 4px;
padding: 0;
text-indent: 4px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.chatbox-title {
float: left;
margin: 0;
padding: 2px 5px 0;
width: 15em;
}
.chatbox-options {
float: right;
font-size: 11px;
list-style: none;
margin: .7em .5em .5em;
}
.chatbox-options li, .chatbox-options li a, .chatbox-options li label {
color: #fff;
line-height: 14px;
font-size: 11px;
}
#chatbox_members {
background: #fff;
border: 1px solid #eee;
bottom: 30px;
color: #333;
overflow: auto;
position: absolute;
top: 32px;
width: 180px;
margin-top: 1px;
border-radius: 3px 0;
}
#chatbox_members .member-title {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-family: segoe ui;
font-size: 12px;
padding: 7px 7px 9px;
text-indent: 4px;
line-height: 14px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-transform: capitalize;
margin: 4px;
text-align: left;
}
#chatbox {
background: #fff;
bottom: 30px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
border: 1px solid #eee;
margin-top: 3px;
border-radius: 0 3px 0;
}
.chatbox-title, .chatbox-title a.chat-title {
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
#chatbox p {
line-height: 1.2em;
margin: 4px;
padding: 7px 7px 8px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.04);
color: #000;
font-family: segoe ui;
}
#chatbox .date-and-time{
float: right;
color: #777;
text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
#chatbox_footer {
background: #fafafa;
border: 1px solid #eee;
bottom: 0;
left: 0;
position: absolute;
right: 0;
padding: 0 0 3px;
border-radius: 0 0 3px 3px;
}
label[for="message"] {
display: none;
}
#chatbox_contextmenu {
background: #fff;
border: 1px solid #ddd!important;
border-radius: 2px;
box-shadow: none!important;
padding: 2px;
}
#chatbox_contextmenu p {
background: #fff;
font-family: segoe ui;
margin: 0;
padding: 1px 4px;
border-bottom: 0;
}
.cb-menu-title {
background: #eee!important;
border-bottom: 1px solid #ddd!important;
font-weight: 600!important;
}
.cb-menu-close {
color: #222!important;
font-size: 17px!important;
margin-right: 4px;
margin-top: -2px;
}
#message {
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
height: 25px!important;
margin-right: 5px;
margin-top: 3px!important;
width: 350px!important;
outline: none;
text-indent: 10px;
font-size: 12px;
}
#submit_button {
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
outline: none;
}
#chatbox_messenger_form {margin: 0!important;}
#help-button {display: none!important;}
#divcolor, #divsmilies, #help-button, #submit_button, .format-message + label {
border: 0;
border-radius: 2px;
display: inline-block;
height: 20px;
line-height: 16px;
text-align: center;
width: 21px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
box-shadow: inset rgba(0,0,0,0.1) 0 0px 1px;
}
.fontbutton {
background: rgba(0, 0, 0, 0.05) none repeat scroll 0;
border: medium none;
color: #000;
cursor: pointer;
float: left;
margin-right: 10px;
padding: 1px;
text-align: left;
}
label[for='format-bold'] {
font-weight: 700;
margin-top: 5px;
}
label[for="format-italic"] {
font-style: italic;
margin-top: 5px;
}
label[for="format-underline"] {
text-decoration: underline;
margin-top: 5px;
}
label[for="format-strike"] {
text-decoration: line-through;
margin-top: 5px;
}
#divcolor {
font-size: 13px;
line-height: 13px;
margin-top: 5px;
}
#divsmilies{margin-top: 5px;}
.format-message:checked + label {
background: #b82919!important;
border: 1px solid rgba(0,0,0,0.15);
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-align: center;
}
.login{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.registro{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px 0px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.login a{
color:#555;
border-right: 1px solid #eee;
padding-right: 9px;
margin-right: -2px;}
.registro a{color:#555;}
.anuncio{
background: url() no-repeat;
width: 728px;
height: 90px;
border: 0;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.sprite-icon_topic_latest {
display: none;
}
.hover_stats {
display: none;
position: absolute;
}
.stats_arrow {
margin-left: 150px;
margin-right: -1px;
margin-top: -1px;
position: relative;
}
.idx_stats {
background: rgb(66, 66, 66);
border-radius: 3px;
color: rgb(255, 255, 255);
display: inline;
font-size: 10px;
padding: 3px 5px;
}
.topico_button{
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
padding: 6px;
font-size: 12px;
text-transform: capitalize;
font-weight: 600;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin: -4px;
float: right;
}
.topico_button a{color:#fff!important;}
p#ir_a_pa > strong > a{
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
background: #b82919;
border-radius: 2px;
bottom: 15px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05),0 1px 1px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
cursor: pointer;
font-size: 12px;
position: fixed;
right: 15px;
text-align: center;
user-select: none;
z-index: 3;
padding: 10px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.mini_ava img {
-khtml-border-radius: 3px!important;
-moz-border-radius: 3px!important;
-webkit-border-radius: 100px!important;
background: #fff;
border: 1px solid #aaa!important;
border-radius: 3px;
height: 40px;
margin: 0px 5px;
padding: 1px;
width: 40px;
}
.pun .post .user {
background: #fff;
float: left;
overflow: visible;
margin-left: -212px;
margin-top: -31px;
position: relative;
width: 204px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 2px;
padding-bottom: 38px;
}
.pun .user .user-ident {
font-size: 12px;
padding: 0 0 0.1em;
}
.pun .username{
font-size: 12px;
margin-bottom: 8px;
margin-top: -10px;
text-align: center;
position: relative!important;
}
.user-basic-info a img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
margin-left: 21px;
max-width: 155px;
padding: 2px;
width: 170px;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 40px;
height: 40px;
margin: 0px 5px;
padding: 1px;
border: 1px solid #aaa;
background: white;
}
.mini_ava img:hover {
border-color: #a1a1a1;
}
.username-bg{}
.info-msgs{
color: #555;
font-size: 13px;
height: 34px;
margin: -8px auto auto;
text-align: center;
text-shadow: 0 1px 1px #eee;
}
div[style*="resize"]{display:none;}
div[style*="width: 1130px; height: 153px;"]{height:200px;!important;}
#textarea_content{
width: auto!important;
min-width: 100px!important;
max-width: 900px!important;
}
.codebox {
background-color: #fff;
border: 1px solid #ddd;
margin: 1em;
border-radius: 2px;
}
.codebox dt {
background: #fafafa;
border-bottom: 1px solid #ddd;
padding: 8px;
color: #00698C;
font-weight: 600;
font-family: segoe ui;
font-size: 11px;
}
.codebox dd {
background-color: #f5f5f5;
padding: .5em;
margin:0;
}
.postmain blockquote {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 2px;
padding: 4px;
}
.postmain cite {
background: #fafafa;
border-bottom: 1px solid #ddd;
color: #b82919;
font-family: segoe ui;
font-size: 11px;
font-weight: 600;
padding: 8px;
margin: -4px -4px 5px;
}
.pun .frm .frm-buttons input {
line-height: 1.2;
margin-right: 1em;
overflow: visible;
vertical-align: middle;
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
outline: none;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
}
.pun .frm .frm-form table {
border: 1px solid #ddd;
background: #fafafa;
}
.pun div.frm-form {
margin: 0;
padding: 0;
}
.pun table.table th {
background-color: #f4f4f4;
border-bottom: 1px solid #ddd;
color: #333;
padding: .5em 0;
}
#tabs ul li a {
background-color: #fafafa;
border: 1px solid #e5e5e5;
float: left;
color: #333;
font-size: 1.1em;
font-weight: 400;
line-height: 2em;
padding: 0 1em;
text-decoration: none;
}
#tabs ul li.activetab a {
background: #b82919;
color: #f4f9fd;
border: 0;
font-weight: 500;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
fieldset.frm-set dl dd {margin-left:0;}
fieldset.frm-set dl dt{display: none;}
fieldset.frm-set dl dt label{float: left!important;}
#profile-advanced-details div.separator{border-bottom: 1px dashed #e5e5e5;}
.main-content.clearfix.center img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
max-width: 155px;
padding: 2px;
width: 170px;
}
#updateAssuntos{
margin-left: 199px;
margin-top: -31px;
position: absolute;
}
#updateAssuntos img {
-webkit-transition: -webkit-transform .8s ease-in-out;
transition: transform .8s ease-in-out;
}
#updateAssuntos img:hover{
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
footer{
background-color: #18360ab0;
color: #fff;
font-size: 11px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
height: 170px;
width: 100%;
line-height: 130%;
}
.credits{
background: #18360ab0;;
padding: 1.4em;
color: #FAFAFA;
border: 1px solid rgba(0,0,0,0.10);
text-align: center;
}
.cont_footer{padding: 1.3em 13em;}
.footer-col{float: left;width: 25%;}
.footer-title{display: block;font-size: 17px;text-transform: uppercase;color:#fafafa;}
.footer-list{list-style: none;margin: 7px 0 10px;padding-left: 0;}
ul.footer-list li a {color:#fff!important;}
.vote .vote-bar {
margin-left: 5px;
border:0;
font-size: 0;
height: 50px;
margin: 0 auto;
width: 4px;
}
.vote .vote-bar-plus {
background-color: #bf4444; border-radius: 100px
}
.vote .vote-bar-minus {
background-color: #EA4335; border-radius: 100px
}
.i_post{margin-left: -125px}
.main-content.standalone .button:hover {
background-color: #fff;
border: 1px solid #b82919;
}
fieldset.frm-set dl dt {
display:block;
}
ul#pun-legend, ul.pun-legend{
display:none;
}
.sceditor-toolbar {background-color: #f7f7f7!important;}
.i_reply_locked{ position: relative!important;}
.pun .paging {font-size: 13px;line-height: 20px;}
.sprite-arrow_prosilver_left{display:none!important;}
div.sceditor-toolbar{float: left;margin-top: -20px!important;}
.pun .frm div.posting-block dd.frm-textarea{ width: 90%!important;}
#first-post-br{display: none;}
.rank{
color: #fff;
font-size: 13px;
font-weight: 600;
height: 36px;
width: 155px;
margin: 5px auto;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-align: center;
line-height: 33px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.rank.supr{background-color:#000}.rank.supr:before{content:"\f005";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.adm{background-color:#900}.rank.adm:before{content:"\f2bd";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.cor{background-color:#3e4842}.rank.cor:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.bope{background-color:#AD1818}.rank.bope:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.crh{background-color:#040D70}.rank.crh:before{content:"\f2c2";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dire{background-color:#C2C2C2}.rank.dire:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dmi{background-color:#8B864E}.rank.dmi:before{content:"\f006";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.p2{background-color:#424242}.rank.p2:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.sf{background-color:#E6B907}.rank.sf:before{content:"\f09d";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
Até mais.
Re: Menu personalizado
Bem o banner foi adicionado, mais o menu está do mesmo jeito que antes, e a barra de pesquisa também.
Re: Menu personalizado
Olá!
Vamos ir por passos, tudo bem?
Troque o template por este:
E ainda o CSS:
Vamos ir por passos, tudo bem?
Troque o template por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
position: absolute;
left: 1em;
}
</style>
</head>
<body>
<div class="barra">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div>
<div id="search" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div>
</div></header>
<ul class="menu"><div class="meio"><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
E ainda o CSS:
- Código:
@import url("http://pokodesigns.zz.mu/forum/media/css/font-awesome.min.css") print;
@import "font-awesome-sprockets";
@import "font-awesome";
*{padding:0;margin:0;}
body{
background:#f5f5f5;
font-family: segoe ui;
}
a{text-decoration: none;}
.barra{
background: #fff;
border-bottom: 1px solid rgba(0,0,0,0.1);
color: #222;
font-size: 13px;
font-weight: 600;
height: 34px;
line-height: 31px;
text-indent: 8px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: 100%;
z-index: 1;
}
.barra .social {
color: #ccc;
float: right;
margin-top: 10px;
margin-left: -6px;
font-size: 14px;
}
.barra .social:hover{opacity:0.9;}
.menu{
background: #7A7A1A;
box-shadow: rgba(0,0,0,0.7) 0 1px 5px;
height: 60px;
line-height: 38px;
width: 100%;
z-index: 999;
position: sticky;
top: 0px;
}
.menu .div{
color: #fff;
float: left;
font-size: 14px;
font-weight: 400;
margin-right: 5px;
padding: 10px;
list-style: none;
transition: 0.05s all;
}
.menu .div:hover{
border-bottom: 2px solid #b0ad6b;
}
header{
background: url(https://i.imgur.com/KrSIAdK.png)
background-position: center;
background-size: 100%;
border-bottom: 1px solid rgba(0,0,0,.10);
height: 245px;
width: 100%;
}
header .logo{
background: url(
) no-repeat;
width: 800px;
height: 160px;
position: absolute;
margin-top: 30px;
}
.noti_right{
color: #fff;
font-size: 14px;
font-weight: 300;
padding: 10px;
text-shadow: 0 1px 2px rgba(0,0,0,.3);
float: right;list-style: none;}
.right {
float: right;
}
.meio{ margin: auto;
width: 75%;
height: auto;
}
.attach {
float: right;
}
#search {
margin: 105px 0
}
#search_wrap {
-webkit-transition: all .1s ease-in 0!important;
background: #fff;
border-radius: 2px;
display: block;
height: 26px;
line-height: 25px;
min-width: 20px;
padding: 0 26px 0 4px;
position: relative;
transition: all .5s ease-in 0!important;
}
#main_search {
-webkit-transition: all 1s ease-in-out;
background: transparent;
border: 0;
color: #777;
font-size: 11px;
margin-top: 5px;
outline: 0;
padding: 0;
transition: all 1s ease-in-out;
width: 130px;
font-family: segoe ui;
}
#main_search:focus {
color: #5a5a5a;
width:200px;
transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
}
#search .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
border-radius: 2px;
}
fieldset {
border: 0px groove threedface;
}
.pun {
background: #fff;
line-height: 160%;
margin: 0 auto;
min-width: 960px;
padding: 5px;
width: 98%;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-top: -15px;
margin-bottom: 5px;
border-radius: 0 0 3px 3px;
}
.pun input{
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.03) 0 1px 3px;
font-size: 12px;
height: 25px!important;
outline: none;
text-indent: 4px;
}
.pun-crumbs {
background: rgba(0,0,0,0.04);
border-radius: 3px;
border-top: 1px solid rgba(0,0,0,0.06);
color: #333;
font-weight: 600;
margin: 0 1px 1em;
padding: 5px 11px 7px;
margin-top: 5px;
font-size: 11px;
}
#pun-visit, .main-box {
background-color: #fafafa;
border-color: #e5e5e5;
border-style: solid;
border-width: 1px;
margin: 0 0 1em;
padding: .6em 1em;
border-radius: 3px;
margin-top: 5px;
}
.pun .main-content {https://i.servimg.com/u/f74/19/93/56/19/anunci10.png
background: #000;
border: 0px solid rgba(0, 0, 0, 0.05);
border-radius: 0px;
padding: 0px;
margin-top:0px;
}
.pun table.table {
background: rgba(0, 0, 0, 0.03);
border-collapse: collapse;
empty-cells: show;
table-layout: fixed;
width: 100%;
}
.pun .statused{border-radius: 3px;}
.pun .statused tr:hover{background:#f5f5f5;}
.pun h2, .pun h3, .pun input, .pun select, .pun th {
font-family: segoe ui;
font-size: 13px;
font-weight: normal;
font-style: normal;
font-variant: normal;
text-decoration: none;
}
.pun table.table td {
background-color: transparent;
border-color: transparent;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
padding-left: 7px;
font-size: 11px;
}
.pun .forumtitle{font-weight: 600!important;}
.pun a:visited {
color: #555;
text-decoration: none;
}
.pun a:link {
color: #666;
text-decoration: none;
}
.pun a:link:hover{color:#444;}
.pun .main table td.tc2, .pun .main table td.tc3 {background:transparent;}
.pun .paged-foot, .pun .paged-head {
padding: 12px 12px 12px 10px;
background: #fff;
border: 0;
border-top: 1px solid #b22d2d;
border-bottom: 1px solid #cc2525;
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
margin-bottom: 5px;
font-size: 16px;
font-weight: 400;
color: #555;
text-transform: uppercase;
}
.pun .main-content {
background: #fff;
border: 1px solid rgba(0,0,0,0.05);
border-radius: 3px;
padding: 3px;
}
.pun .post {
background:#fff!important;
border: 1px solid rgba(0,0,0,0.1);
margin-bottom: 5px;
border-radius: 2px;
}
.pun .postmain {
background-color: #fff;
margin-left: 18em;
border-left: 1px solid #eee;
}
.pun .posthead {
background: #f9f9f9;
border-bottom: 1px solid rgba(0,0,0,0.1);
padding: 9px 10px 11px;
}
.postfoot {
background: rgba(0,0,0,0.014);
border-top: 1px solid rgba(0,0,0,0.08);
clear: both;
padding: 5px;
text-align: right;
margin-left: 0;
}
.pun .main-head a.exthelp, .pun .main-head a.exthelp:link, .pun .main-head a.exthelp:visited {
background: none;
color: #fff;
margin-right: 10px;
font-size: 11px;
line-height: 32px;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
color: #fff;
margin-left: 3px;
margin-right: 5px;
text-decoration: none;
font-size: 12px;
}
.pun .main, .pun .main-category {
margin: 0;
}
.pun tbody.statused td.tcl {
padding-left:10px;
}
.pun .main .options {
color: #ccc;
float: right;
text-align: right;
margin-top: 4px;
}
.pun form[action^="/search?"] .tdtopics .status,
.pun form[action^="/privmsg?"] .tdtopics .status {
position: static !important;
margin-left: 0px !important;
margin-right: 5px;
}
.pun .entry-content {
font-size: 15px;
}
.main .main-foot, .main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin-top:5px;
}
.main .main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 40px;
line-height: 40px;
margin-bottom: 6px;
padding: 0;
text-indent: 10px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.main .main-head .page-title {
font-weight: 400;
font-size: 14px;
}
#chatbox_header.main-head {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-size: 14px;
font-weight: 400;
height: 30px;
line-height: 25px;
margin-bottom: 4px;
padding: 0;
text-indent: 4px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.chatbox-title {
float: left;
margin: 0;
padding: 2px 5px 0;
width: 15em;
}
.chatbox-options {
float: right;
font-size: 11px;
list-style: none;
margin: .7em .5em .5em;
}
.chatbox-options li, .chatbox-options li a, .chatbox-options li label {
color: #fff;
line-height: 14px;
font-size: 11px;
}
#chatbox_members {
background: #fff;
border: 1px solid #eee;
bottom: 30px;
color: #333;
overflow: auto;
position: absolute;
top: 32px;
width: 180px;
margin-top: 1px;
border-radius: 3px 0;
}
#chatbox_members .member-title {
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
font-family: segoe ui;
font-size: 12px;
padding: 7px 7px 9px;
text-indent: 4px;
line-height: 14px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-transform: capitalize;
margin: 4px;
text-align: left;
}
#chatbox {
background: #fff;
bottom: 30px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
border: 1px solid #eee;
margin-top: 3px;
border-radius: 0 3px 0;
}
.chatbox-title, .chatbox-title a.chat-title {
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
#chatbox p {
line-height: 1.2em;
margin: 4px;
padding: 7px 7px 8px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.04);
color: #000;
font-family: segoe ui;
}
#chatbox .date-and-time{
float: right;
color: #777;
text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
#chatbox_footer {
background: #fafafa;
border: 1px solid #eee;
bottom: 0;
left: 0;
position: absolute;
right: 0;
padding: 0 0 3px;
border-radius: 0 0 3px 3px;
}
label[for="message"] {
display: none;
}
#chatbox_contextmenu {
background: #fff;
border: 1px solid #ddd!important;
border-radius: 2px;
box-shadow: none!important;
padding: 2px;
}
#chatbox_contextmenu p {
background: #fff;
font-family: segoe ui;
margin: 0;
padding: 1px 4px;
border-bottom: 0;
}
.cb-menu-title {
background: #eee!important;
border-bottom: 1px solid #ddd!important;
font-weight: 600!important;
}
.cb-menu-close {
color: #222!important;
font-size: 17px!important;
margin-right: 4px;
margin-top: -2px;
}
#message {
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 2px;
box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
height: 25px!important;
margin-right: 5px;
margin-top: 3px!important;
width: 350px!important;
outline: none;
text-indent: 10px;
font-size: 12px;
}
#submit_button {
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
outline: none;
}
#chatbox_messenger_form {margin: 0!important;}
#help-button {display: none!important;}
#divcolor, #divsmilies, #help-button, #submit_button, .format-message + label {
border: 0;
border-radius: 2px;
display: inline-block;
height: 20px;
line-height: 16px;
text-align: center;
width: 21px;
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 1px 3px;
box-shadow: inset rgba(0,0,0,0.1) 0 0px 1px;
}
.fontbutton {
background: rgba(0, 0, 0, 0.05) none repeat scroll 0;
border: medium none;
color: #000;
cursor: pointer;
float: left;
margin-right: 10px;
padding: 1px;
text-align: left;
}
label[for='format-bold'] {
font-weight: 700;
margin-top: 5px;
}
label[for="format-italic"] {
font-style: italic;
margin-top: 5px;
}
label[for="format-underline"] {
text-decoration: underline;
margin-top: 5px;
}
label[for="format-strike"] {
text-decoration: line-through;
margin-top: 5px;
}
#divcolor {
font-size: 13px;
line-height: 13px;
margin-top: 5px;
}
#divsmilies{margin-top: 5px;}
.format-message:checked + label {
background: #b82919!important;
border: 1px solid rgba(0,0,0,0.15);
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
text-align: center;
}
.login{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.registro{
list-style: none;
color: #fff;
float: left;
font-size: 12px;
font-weight: 400;
list-style: none;
padding: 10px 0px;
transition: .05s all;
text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.login a{
color:#555;
border-right: 1px solid #eee;
padding-right: 9px;
margin-right: -2px;}
.registro a{color:#555;}
.anuncio{
background: url() no-repeat;
width: 728px;
height: 90px;
border: 0;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.sprite-icon_topic_latest {
display: none;
}
.hover_stats {
display: none;
position: absolute;
}
.stats_arrow {
margin-left: 150px;
margin-right: -1px;
margin-top: -1px;
position: relative;
}
.idx_stats {
background: rgb(66, 66, 66);
border-radius: 3px;
color: rgb(255, 255, 255);
display: inline;
font-size: 10px;
padding: 3px 5px;
}
.topico_button{
background: #b82919;
border-radius: 2px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
padding: 6px;
font-size: 12px;
text-transform: capitalize;
font-weight: 600;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
margin: -4px;
float: right;
}
.topico_button a{color:#fff!important;}
p#ir_a_pa > strong > a{
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
background: #b82919;
border-radius: 2px;
bottom: 15px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05),0 1px 1px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
color: #fff;
cursor: pointer;
font-size: 12px;
position: fixed;
right: 15px;
text-align: center;
user-select: none;
z-index: 3;
padding: 10px;
font-weight: 500;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.mini_ava img {
-khtml-border-radius: 3px!important;
-moz-border-radius: 3px!important;
-webkit-border-radius: 100px!important;
background: #fff;
border: 1px solid #aaa!important;
border-radius: 3px;
height: 40px;
margin: 0px 5px;
padding: 1px;
width: 40px;
}
.pun .post .user {
background: #fff;
float: left;
overflow: visible;
margin-left: -212px;
margin-top: -31px;
position: relative;
width: 204px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 2px;
padding-bottom: 38px;
}
.pun .user .user-ident {
font-size: 12px;
padding: 0 0 0.1em;
}
.pun .username{
font-size: 12px;
margin-bottom: 8px;
margin-top: -10px;
text-align: center;
position: relative!important;
}
.user-basic-info a img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
margin-left: 21px;
max-width: 155px;
padding: 2px;
width: 170px;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 40px;
height: 40px;
margin: 0px 5px;
padding: 1px;
border: 1px solid #aaa;
background: white;
}
.mini_ava img:hover {
border-color: #a1a1a1;
}
.username-bg{}
.info-msgs{
color: #555;
font-size: 13px;
height: 34px;
margin: -8px auto auto;
text-align: center;
text-shadow: 0 1px 1px #eee;
}
div[style*="resize"]{display:none;}
div[style*="width: 1130px; height: 153px;"]{height:200px;!important;}
#textarea_content{
width: auto!important;
min-width: 100px!important;
max-width: 900px!important;
}
.codebox {
background-color: #fff;
border: 1px solid #ddd;
margin: 1em;
border-radius: 2px;
}
.codebox dt {
background: #fafafa;
border-bottom: 1px solid #ddd;
padding: 8px;
color: #00698C;
font-weight: 600;
font-family: segoe ui;
font-size: 11px;
}
.codebox dd {
background-color: #f5f5f5;
padding: .5em;
margin:0;
}
.postmain blockquote {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 2px;
padding: 4px;
}
.postmain cite {
background: #fafafa;
border-bottom: 1px solid #ddd;
color: #b82919;
font-family: segoe ui;
font-size: 11px;
font-weight: 600;
padding: 8px;
margin: -4px -4px 5px;
}
.pun .frm .frm-buttons input {
line-height: 1.2;
margin-right: 1em;
overflow: visible;
vertical-align: middle;
background: #b82919;
border: 0!important;
border-radius: 2px!important;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.1)!important;
color: #fff;
font-size: 12px;
height: 25px!important;
outline: none;
padding: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
width: auto!important;
}
.pun .frm .frm-form table {
border: 1px solid #ddd;
background: #fafafa;
}
.pun div.frm-form {
margin: 0;
padding: 0;
}
.pun table.table th {
background-color: #f4f4f4;
border-bottom: 1px solid #ddd;
color: #333;
padding: .5em 0;
}
#tabs ul li a {
background-color: #fafafa;
border: 1px solid #e5e5e5;
float: left;
color: #333;
font-size: 1.1em;
font-weight: 400;
line-height: 2em;
padding: 0 1em;
text-decoration: none;
}
#tabs ul li.activetab a {
background: #b82919;
color: #f4f9fd;
border: 0;
font-weight: 500;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
fieldset.frm-set dl dd {margin-left:0;}
fieldset.frm-set dl dt{display: none;}
fieldset.frm-set dl dt label{float: left!important;}
#profile-advanced-details div.separator{border-bottom: 1px dashed #e5e5e5;}
.main-content.clearfix.center img{
background-color: #fff;
border: 1px solid #d5d5d5;
border-radius: 1px;
height: 250px;
max-width: 155px;
padding: 2px;
width: 170px;
}
#updateAssuntos{
margin-left: 199px;
margin-top: -31px;
position: absolute;
}
#updateAssuntos img {
-webkit-transition: -webkit-transform .8s ease-in-out;
transition: transform .8s ease-in-out;
}
#updateAssuntos img:hover{
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
footer{
background-color: #18360ab0;
color: #fff;
font-size: 11px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
height: 170px;
width: 100%;
line-height: 130%;
}
.credits{
background: #18360ab0;;
padding: 1.4em;
color: #FAFAFA;
border: 1px solid rgba(0,0,0,0.10);
text-align: center;
}
.cont_footer{padding: 1.3em 13em;}
.footer-col{float: left;width: 25%;}
.footer-title{display: block;font-size: 17px;text-transform: uppercase;color:#fafafa;}
.footer-list{list-style: none;margin: 7px 0 10px;padding-left: 0;}
ul.footer-list li a {color:#fff!important;}
.vote .vote-bar {
margin-left: 5px;
border:0;
font-size: 0;
height: 50px;
margin: 0 auto;
width: 4px;
}
.vote .vote-bar-plus {
background-color: #bf4444; border-radius: 100px
}
.vote .vote-bar-minus {
background-color: #EA4335; border-radius: 100px
}
.i_post{margin-left: -125px}
.main-content.standalone .button:hover {
background-color: #fff;
border: 1px solid #b82919;
}
fieldset.frm-set dl dt {
display:block;
}
ul#pun-legend, ul.pun-legend{
display:none;
}
.sceditor-toolbar {background-color: #f7f7f7!important;}
.i_reply_locked{ position: relative!important;}
.pun .paging {font-size: 13px;line-height: 20px;}
.sprite-arrow_prosilver_left{display:none!important;}
div.sceditor-toolbar{float: left;margin-top: -20px!important;}
.pun .frm div.posting-block dd.frm-textarea{ width: 90%!important;}
#first-post-br{display: none;}
.rank{
color: #fff;
font-size: 13px;
font-weight: 600;
height: 36px;
width: 155px;
margin: 5px auto;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.14),inset 0 0 1px 1px rgba(0,0,0,.1);
text-align: center;
line-height: 33px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.rank.supr{background-color:#000}.rank.supr:before{content:"\f005";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.adm{background-color:#900}.rank.adm:before{content:"\f2bd";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.cor{background-color:#3e4842}.rank.cor:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.bope{background-color:#AD1818}.rank.bope:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.crh{background-color:#040D70}.rank.crh:before{content:"\f2c2";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dire{background-color:#C2C2C2}.rank.dire:before{content:"\f24e";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.dmi{background-color:#8B864E}.rank.dmi:before{content:"\f006";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.p2{background-color:#424242}.rank.p2:before{content:"\f21b";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
.rank.sf{background-color:#E6B907}.rank.sf:before{content:"\f09d";font-family:FontAwesome;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;line-height:1;margin-right:5px}
Re: Menu personalizado
Que felicidade, ta ficando do jeito que eu queria, mas o nome fórum ficou misturado com a frase servir e proteger como também quando clico nele não funciona, e a barra de pesquisar ainda está no banner.
Re: Menu personalizado
Olá!
Troque o template por este:
Até mais.
Troque o template por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
margin-left: -10em;
}
#searchmenu .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
border-radius: 2px;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
}
div#account {
background: #79791b;
float: right;
padding: 1em;
margin-top: 8em;
color: white;
border-radius: 5px;
font-size: 14px;
}
</style>
</head>
<body>
<div class="barra">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div><div id="account">Minha Conta</div>
</div></header>
<ul class="menu"><div class="meio"><div id="search" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
Até mais.
Re: Menu personalizado
Só teve um problema por que o botão de pesquisar não ficou no menu, ficou abaixo e ta cortando a frase servir e proteger, o botão minha conta não funciona, e como vai ter ele não tem a necessidade de ficar o login e registrar no menu.
Re: Menu personalizado
Olá!
Troque novamente por este:
Até mais.
Troque novamente por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
margin-left: -5em;
}
.acclog {
display: none;
margin-top: 5px;
background: #ffffff;
padding: 5px;
color: #79791b;
cursor: pointer;
}
#searchmenu .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
border-radius: 2px;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
}
div#account {
background: #79791b;
float: right;
padding: 1em;
margin-top: 8em;
color: white;
border-radius: 5px;
font-size: 14px;
}
div#account:hover .acclog {
display: block;
}
</style>
</head>
<body>
<div class="barra">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div><div id="account"><i class="fa fa-user" aria-hidden="true"></i> Minha Conta<div class="acclog"><a href="/login">Fazer login</a></div><div class="acclog"><a href="/register">Registrar-se</a></div></div>
</div></header>
<ul class="menu"><div class="meio"><div id="searchmenu" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
Até mais.
Re: Menu personalizado
Rsrsrs, o botão está no menu, só que ele ta mau encachado por causa do login e registrar que ainda estão no menu, e também quero tirar essa parte que ta acima do banner, onde contém as redes sociais e uma frase.
Re: Menu personalizado
Olá!
Troque novamente por este:
Até mais.
obs: você deve estar usando uma resolução bem pequena, porque aqui está tudo certo!
Troque novamente por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
margin-left: -5em;
}
.acclog {
display: none;
margin-top: 5px;
background: #ffffff;
padding: 5px;
color: #79791b;
cursor: pointer;
}
.acclog a {
color: #79791b;
}
#searchmenu .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
border-radius: 2px;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
}
div#account {
background: #79791b;
float: right;
padding: 1em;
margin-top: 8em;
color: white;
border-radius: 5px;
font-size: 14px;
}
div#account:hover .acclog {
display: block;
}
</style>
</head>
<body>
<div class="barra" style="display:none">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div><div id="account"><i class="fa fa-user" aria-hidden="true"></i> Minha Conta<div class="acclog"><a href="/login">Fazer login</a></div><div class="acclog"><a href="/register">Registrar-se</a></div></div>
</div></header>
<ul class="menu"><div class="meio"><div id="searchmenu" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in" style="display:none">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
Até mais.
obs: você deve estar usando uma resolução bem pequena, porque aqui está tudo certo!
Re: Menu personalizado
Olá,
Troque novamente por este:
Até mais.
Troque novamente por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
margin-left: -5em;
}
.acclog {
display: none;
margin-top: 5px;
background: #ffffff;
padding: 5px;
color: #79791b;
cursor: pointer;
}
.acclog a {
color: #79791b;
}
#searchmenu .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
border-radius: 2px;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
}
div#account {
background: #79791b;
float: right;
padding: 1em;
margin-top: 8em;
color: white;
border-radius: 5px;
font-size: 14px;
}
div#account:hover .acclog {
display: block;
}
#searchmenu {
margin: 7px;
}
</style>
</head>
<body>
<div class="barra" style="display:none">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div><div id="account"><i class="fa fa-user" aria-hidden="true"></i> Minha Conta<div class="acclog"><a href="/login">Fazer login</a></div><div class="acclog"><a href="/register">Registrar-se</a></div></div>
</div></header>
<ul class="menu"><div class="meio"><div id="searchmenu" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in" style="display:none">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
Até mais.
Re: Menu personalizado
Olá!
Troque novamente por este:
Até mais.
Troque novamente por este:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
{RICH_SNIPPET_GOOGLE}
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<style>
div#logo {
font-weight: 700;
font-size: 20px;
margin-left: -5em;
}
.acclog {
display: none;
margin-top: 5px;
background: #ffffff;
padding: 5px;
color: #79791b;
cursor: pointer;
}
.acclog a {
color: #79791b;
}
#searchmenu .submit_input {
background: #FFF url(https://i.imgur.com/4TSqpQ3.png) no-repeat 50%!important;
border: 0!important;
border-radius: 2px;
bottom: 0;
box-shadow: none;
display: block;
height: 26px;
margin-right: 1px;
outline: none!important;
padding: 0!important;
position: absolute;
right: 0;
text-indent: -3000em;
top: 0;
transition: all .1s ease-in 0!important;
width: 26px;
}
div#account {
background: #79791b;
float: right;
padding: 1em;
margin-top: 8em;
color: white;
border-radius: 5px;
font-size: 14px;
}
div#account:hover .acclog {
display: block;
}
#searchmenu {
margin: 17px;
}
</style>
</head>
<body>
<div class="barra" style="display:none">
<div class="meio">
{SITENAME} - {SITE_DESCRIPTION}
<div class="right">
Redes Sociais, Acesse:
<a href="https://www.facebook.com/simi.habblet"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
</div>
</div></div>
<header><div class="meio"><div class="logo"></div><div id="account"><i class="fa fa-user" aria-hidden="true"></i> Minha Conta<div class="acclog"><a href="/login">Fazer login</a></div><div class="acclog"><a href="/register">Registrar-se</a></div></div>
</div></header>
<ul class="menu"><div class="meio"><div id="searchmenu" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Pesquisar..." onclick="if (this.value == 'Pesquisar...') this.value = '';" onblur="if (this.value == '') this.value = 'Pesquisar...';"/>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div><div id="logo" class="div">SERVIR & PROTEGER</div>
<a href="/"><li class="div"><i class="fa fa-home" aria-hidden="true"></i> FÓRUM</li></a>
<a href="/memberlist"><li class="div"><i class="fa fa-users" aria-hidden="true"></i> MEMBROS</li></a>
<a href="/groups"><li class="div"><i class="fa fa-newspaper-o" aria-hidden="true"></i> GRUPOS</li></a>
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in">
<a href="/profile?mode=editprofile&page_profil=preferences"><li class="div"> <i class="fa fa-user-circle" aria-hidden="true"></i> Perfil</li></a>
<a href="/login?logout"><li class="div" id="perfil"> <i class="fa fa-user-times" aria-hidden="true"></i> Desconectar</li></a>
<div class="right">
<a id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><li class="noti_right"><i class="fa fa-envelope-o" aria-hidden="true"></i></li></a>
<a id="notify_link" href="/search?search_id=watchsearch" title="Notificações"><li class="noti_right"><i class="fa fa-bell-o" aria-hidden="true"></i></li></a>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="user_navigation" class="not_logged_in" style="display:none">
<ul class="ipsList_inline right">
<li class="login">
<a href="/login">Fazer login</a>
</li>
<li class="registro">
<a href="/register">Registrar-se</a>
</li>
</ul>
</div>
<!-- END switch_user_logged_out -->
</div>
</div>
</ul>
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div class="main-content" style=" margin-bottom: 5px;"><a href="http://cliente.bhservers.com.br/aff.php?aff=12"><div class="banner1"></div></a></div>
<!-- começo dos avisos -->
<div class="aviso_box"><div class="aviso_titulo"></div><div class="aviso_texto"></div></div>
<!-- final dos avisos -->
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</body>
</html>
<!-- END html_validation -->
Até mais.
Tópicos semelhantes
» Menu original x menu personalizado
» Menu Personalizado
» Menu personalizado
» Menu personalizado
» Menu personalizado
» Menu Personalizado
» Menu personalizado
» Menu personalizado
» Menu personalizado
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos