24.08.2015, 14:01
wersja skryptu MyBB: 1.8
adres forum: aykrasz.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Otóż mam taki problem, że po najechaniu na belke ukazuje się tło tekstu, a nie belki (demo na forum). Pokażę wam mój forumbit_depth1_cat oraz klasę od tego fidu kategorii.
forumbit_depth1_cat
Klasa fidu
dodam jeszcze może .thead oraz wszystko co odpowiada za belke w kategoriach (maly pasek pod belka oraz ikona, której juz nie ma)
Z góry dziękuję za pomoc
adres forum: aykrasz.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Otóż mam taki problem, że po najechaniu na belke ukazuje się tło tekstu, a nie belki (demo na forum). Pokażę wam mój forumbit_depth1_cat oraz klasę od tego fidu kategorii.
forumbit_depth1_cat
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clearfix">
<thead>
<tr>
<td class="thead_{$forum['fid']} thead" colspan="9">
<div class="catname"><span class="cateffect1"><a href="{$forum_url}">{$forum['name']}</a></span></div><div class="catdesc">{$forum['description']}</div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr style="display: none;">
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
Kod:
.thead_1 {
background: #917631;
}
.thead_1 a:hover {
background: #98c22a;
}
Kod:
.thead > div > strong, .thead > span {
padding-left: 10px !important;
}
.thead {
background: #555D66;
padding: 9px 0;
margin: 0;
border-bottom: 3px solid #DFDFDF;
border-radius: 0px 2px 2px 0px;
color: #ffffff;
font-size: 16px;
}
.thead a:link, .thead a:visited, .thead a:hover, .thead a:active {
display: inline-block;
color: #ffffff;
text-decoration: none;
}
.catname {
font-family: 'Titillium Web', sans-serif;
font-size: 16px;
color: #ffffff;
float: left;
transition: all 0.3s ease;
}
.catdesc {
font-size: 14px;
font-weight: 400;
color: #ffffff;
text-transform: none;
float: left;
position: relative;
line-height: 23px;
margin: 0 0 -1px 5px;
opacity: 0;
transition: all 0.3s ease;
}
.catname:hover + .catdesc {
opacity: 1;
margin-left: 15px;
transition: all 0.3s ease;
}
.cateffect1 {
display: inline;
position: relative;
padding: 0 5px 7px 35px;
border-bottom: 4px solid #6F89A1;
}
.cateffect1:hover {
display: inline;
position: relative;
padding: 0 5px 7px 35px;
border-bottom: 4px solid #6F89A1;
}
transition: all 0.7s ease;
}
.cateffect1:before {
image: url(http://www.aykrasz.cba.pl/images/xstyled/1.jpg);
font-family: FontAwesome;
font-weight: 400;
color: #FAFAFA;
background: #527F76;
border-radius: 4px;
width: 26px;
height: 26px;
line-height: 26px;
text-align: center;
float: left;
position: absolute;
margin: -1px 0 0 0;
left: 0px;
.cateffect8 {
display: inline;
position: relative;
padding: 0 5px 7px 35px;
border-bottom: 4px solid #6F89A1;
}
.cateffect8:hover {
display: inline;
position: relative;
padding: 0 5px 7px 719px;
border-bottom: 7px solid #856363;
transition: all 0.7s ease;
}
.cateffect8:before {
content: "\f086";
font-family: FontAwesome;
font-weight: 400;
color: #FAFAFA;
background: #856363;
border-radius: 4px;
width: 26px;
height: 26px;
line-height: 26px;
text-align: center;
float: left;
position: absolute;
margin: -1px 0 0 0;
left: 0px;
}