Wersja skryptu MyBB: 1.8
Adres forum: rh.xaa.pl
Na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Shoutbox wystaje poza pole mu przeznaczone (http://scr.hu/7xit/b2eub). Po wylogowaniu w miejscu pola tekstowego robi się "dziura" (http://scr.hu/7xit/en2ib).
shoutbox.css:
W global.css są jeszcze pozostałości po starym shoutboxie:
index:
Adres forum: rh.xaa.pl
Na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Shoutbox wystaje poza pole mu przeznaczone (http://scr.hu/7xit/b2eub). Po wylogowaniu w miejscu pola tekstowego robi się "dziura" (http://scr.hu/7xit/en2ib).
shoutbox.css:
#shoutbox{
margin-bottom: 10px; border: solid 2px rgba(0,0,0,0.1); height: 340px; width: 100%;
}
#shoutbox .head {
background-color: #efefef;
color: #444;
font-size: 17px;
font-weight: bold;
padding: 10px 15px;
text-transform: uppercase;
}
#shoutbox .head a{
display: none;
cursor: pointer;
}
#shoutbox .body{
position: relative;
padding-top: 160px;
margin-bottom: 10px;
}
#shoutbox .window {
position: absolute;
top: 0;
width: 100%;
background-color: #0F0F0F;
padding: 13px;
overflow-y: scroll;
}
#shoutbox .data {
font-size: 13px;
font-family: inherit;
}
#shoutbox .entry {
border-bottom: 1px solid #000;
margin-bottom: 5px;
padding-bottom: 5px;
display: block !important;
overflow: hidden;
clear: left;
background: #0F0F0F;
position: relative;
}
#shoutbox .entry > div {
border: none;
}
#shoutbox .entry .avatar {
float: left;
margin-right: 10px;
padding: 0;
}
#shoutbox .entry .avatar img {
height: 50px;
width: 50px;
padding: 1px;
box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; border-radius: 50%;
}
#shoutbox .entry .info {
color: #777;
position: absolute;
margin-top: 5px;
right: 0;
font-size: 10px;
}
#shoutbox .entry .user {
display: inline;
padding: 0;
font-size: 14px;
text-transform: uppercase;
}
#shoutbox .entry .user em{
font-style: normal;
}
#shoutbox .body .panel{
position: absolute;
top: 257px;
width: 100%;
margin: 0;
padding: 10px 10px;
border-top: 2px dotted #0F0F0F;
background-color: #0F0F0F;
}
#shoutbox .body .panel form{
}
#shoutbox input.text {
color: #555;
border: 1px solid #ccc;
font-size: 13px;
height: 30px;
line-height: 1.5;
padding: 5px 10px;
box-shadow: none;
width: 100%;
}
#shoutbox input.text:focus {
border-color: #3c8dbc;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(60, 141, 188, 0.6);
}
#shoutbox .user {
border-right: 0px solid rgba(0,0,0,0.05);
font-size: 11px;
}
#shoutbox .mod:nth-of-type(2) {
margin-right: 5px;
border-left: solid 0px rgba(0,0,0,0.1);
}
.codeblock {
background: transparent;
border: 0px solid #ccc;
padding: 0px;
}
.codeblock .title {
border-bottom: 1px solid #ccc;
font-weight: bold;
padding-bottom: 3px;
margin: 0 0 10px 0;
}
.codeblock code {
overflow: auto;
height: auto;
height: 200px;
display: block;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}
#shoutbox .entry {
padding-bottom: 10px;
border-bottom: 2px dotted #1a1a1a;
}
#shoutbox .entry .text {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
position: relative;
padding: 5px 10px 5px;
background: #1a1a1a;
box-shadow: 0 0 2px rgba(0,0,0,0.1);
margin: 5px 0 0 50px;
margin-left: 65px;
color: #BDBDBD;
}
#shoutbox .entry .text:after,
#shoutbox .entry .text:before {
position: absolute;
right: 100%;
top: 16px;
border: solid transparent;
border-right-color: #1a1a1a;
box-shadow: 0 0 2px rgba(0,0,0,0.1);
content: ' ';
height: 0;
width: 0;
pointer-events: none;
}
#shoutbox .entry .text:after {
border-width: 5px;
margin-top: -16px;
}
#shoutbox .entry .text:before {
border-width: 6px;
margin-top: -16px;
}
#shoutbox .entry .user {
font-size: 11px;
}
#shoutbox .entry .info {
top: -5px;
}
W global.css są jeszcze pozostałości po starym shoutboxie:
#shoutbox { margin-bottom: 10px; border: solid 2px rgba(0,0,0,0.1); }
#shoutbox .head { padding: 8px; }
#shoutbox.front .head { cursor: pointer; }
#shoutbox .head .right { float: right; margin: 0; font-size: 13px; }
#shoutbox.collapsed .head { opacity: 0.6; }
#shoutbox.collapsed .body { display: none; }
#shoutbox .panel { border-top: solid 2px rgba(0,0,0,0.1); }
#shoutbox input.text { margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-family: Arial, sans-serif; font-size: 12px; color: #000; }
#shoutbox .minposts, #shoutbox .blocked { padding: 6px; font-size: 11px; }
#shoutbox .panel.minposts { background: #FFFED8; color: #727250; }
#shoutbox .panel.blocked { background: #FCEFEF; color: #543A3A; }
#shoutbox .panel p { margin: 0; }
#shoutbox .window { border-top: solid 2px rgba(0,0,0,0.1); overflow-y: scroll; }
#shoutbox .data { display: table; width: 100%; border-top: solid 2px rgba(0,0,0,0.1); font-family: Arial, sans-serif; font-size: 12px; }
#shoutbox.front .data { border-top: none; }
#shoutbox .entry { display: table-row !important; width: 100%; transition: background-color 0.2s; }
#shoutbox .entry:nth-child(even) { background-color: rgba(0,0,0,0.01); }
#shoutbox .entry.new { background-color: rgba(255,255,100,0.1); }
#shoutbox .entry > div { border-bottom: dashed 1px rgba(0,0,0,0.05); }
#shoutbox .entry:last-child > div { border-bottom: none; }
#shoutbox .entry > div { display: table-cell; padding: 6px; }
#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; height: 30px; width: 30px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; border-radius: 50%; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #fff; }
#shoutbox .info { font-size: 11px; color: #AAA; white-space: nowrap; text-align: right; }
#shoutbox .mod { padding: 6px 8px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; }
#shoutbox .mod:nth-of-type(2) { margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1); }
#shoutbox .ip { margin-right: 10px; color: #CECECE; }
p.right {
float: right;
margin-top: 1px;
}
index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body class="bodyimg">
{$header}
<div class="sidebar" style="float: right; width: 23%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat2" style="text-align:center;">
<div class="theadtitle2" style="float:none;"><a href="#"><center><i class="fa fa-microphone"></i> Ogłoszenia</center></a></div>
</td>
</tr>
<tbody>
<td class="trow1">
<div class="tgnewsticker">
<ul>
<li>Zapisy do Turnieju kończą się 27 stycznia 23:59.</li>
<li> Zapraszamy do działu Nabory!</li>
<li> Link do mapy: <a href="http://haxmaps.com/map/4923">POBIERZ!</a>
</li>
</ul>
</div>
</td>
</tbody>
</table>
<br />
<tr>
<td class="tcat2" style="text-align:center;">
</td>
</tr>
<tbody>
<td class="trow1">
</td>
</tbody>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat2" style="text-align:center;">
<div class="theadtitle2" style="float:none;"><a href="#"><center><i class="fa fa-link"></i> Ogólne</center></a></div>
</td>
</tr>
<tbody>
<td class="trows">
<div class="sidebarlinks">
<ul>
{$topStats['LastActiveThreads']}
{$topStats['LastThreads']}
{$topStats['NewestUsers']}
{$viewgroups}
</ul>
</div>
</td>
</tbody>
</table>
<br />
</div>
<li><a href=""<center><img src="http://i.imgur.com/p0J7SyG.png"></center>
<div class="forums" style="float: left; width: 70%;">
{$dvz_shoutbox}{$forums}
</div>
{$boardstats}
{$footer}
</body>
</html>