Исправим ситуацию!
Берём нормальный спрайт от AdequateBBcode, кладём в папку images/bbcodes/
В engine.css удаляем код, начинающийся с
/*---BB Редактор---*/
и до
.clr {
(строки 246-293)
А в конец файла дописываем:
/* ==========================================================================
Bbcode-editor
========================================================================== */
.bb-pane:before,
.bb-pane:after {
content: "";
display: table;
}
.bb-pane:after {
clear: both;
}
.bb-pane {
*zoom: 1;
}
.bb-pane .bb-btn,
.bb-pane .bb-sep {
width: 26px;
height: 26px;
margin: 0 4px 4px 0;
float: left;
background: url(../bbcodes/bbcodes.png) no-repeat 0 0;
overflow: hidden;
text-align: left;
text-indent: -9999px;
cursor: pointer;
border-radius: 4px;
-moz-box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
-webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.bb-pane .bb-btn:hover,
.bb-pane .bb-sep:hover {
background-color: #fff;
background-color: rgba(255, 255, 255, 0.4);
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.bb-pane .bb-sep:hover {
background-color: transparent;
-moz-box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
-webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.bb-pane #b_b {
background-position: 0 -900px;
}
.bb-pane #b_b:hover {
background-position: -30px -900px;
}
.bb-pane #b_i {
background-position: 0 -570px;
}
.bb-pane #b_i:hover {
background-position: -30px -570px;
}
.bb-pane #b_u {
background-position: 0 -60px;
}
.bb-pane #b_u:hover {
background-position: -30px -60px;
}
.bb-pane #b_s {
background-position: 0 -180px;
}
.bb-pane #b_s:hover {
background-position: -30px -180px;
}
.bb-pane .bb-sep {
background-position: 0 -840px;
width: 5px;
background-color: transparent;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.bb-pane #b_emo {
background-position: 0 -660px;
}
.bb-pane #b_emo:hover {
background-position: -30px -660px;
}
.bb-pane #b_url {
background-position: 0 -450px;
}
.bb-pane #b_url:hover {
background-position: -30px -450px;
}
.bb-pane #b_leech {
background-position: 0 -480px;
}
.bb-pane #b_leech:hover {
background-position: -30px -480px;
}
.bb-pane #b_mail {
background-position: 0 -690px;
}
.bb-pane #b_mail:hover {
background-position: -30px -690px;
}
.bb-pane #b_video {
background-position: 0 -390px;
}
.bb-pane #b_video:hover {
background-position: -30px -390px;
}
.bb-pane #b_audio {
background-position: 0 -360px;
}
.bb-pane #b_audio:hover {
background-position: -30px -360px;
}
.bb-pane #b_hide {
background-position: 0 -600px;
}
.bb-pane #b_hide:hover {
background-position: -30px -600px;
}
.bb-pane #b_quote {
background-position: 0 -240px;
}
.bb-pane #b_quote:hover {
background-position: -30px -240px;
}
.bb-pane #b_code {
background-position: 0 -750px;
}
.bb-pane #b_code:hover {
background-position: -30px -750px;
}
.bb-pane #b_br {
background-position: 0 -270px;
}
.bb-pane #b_br:hover {
background-position: -30px -270px;
}
.bb-pane #b_pl {
background-position: 0 -300px;
}
.bb-pane #b_pl:hover {
background-position: -30px -300px;
}
.bb-pane #b_left {
background-position: 0 -510px;
}
.bb-pane #b_left:hover {
background-position: -30px -510px;
}
.bb-pane #b_center {
background-position: 0 -810px;
}
.bb-pane #b_center:hover {
background-position: -30px -810px;
}
.bb-pane #b_right {
background-position: 0 -210px;
}
.bb-pane #b_right:hover {
background-position: -30px -210px;
}
.bb-pane #b_color {
background-position: 0 -720px;
}
.bb-pane #b_color:hover {
background-position: -30px -720px;
}
.bb-pane #b_spoiler {
background-position: 0 -150px;
}
.bb-pane #b_spoiler:hover {
background-position: -30px -150px;
}
.bb-pane #b_fla {
background-position: 0 -630px;
}
.bb-pane #b_fla:hover {
background-position: -30px -630px;
}
.bb-pane #b_yt {
background-position: 0 0;
}
.bb-pane #b_yt:hover {
background-position: -30px 0;
}
.bb-pane #b_tf {
background-position: 0 -90px;
}
.bb-pane #b_tf:hover {
background-position: -30px -90px;
}
.bb-pane #b_list {
background-position: 0 -420px;
}
.bb-pane #b_list:hover {
background-position: -30px -420px;
}
.bb-pane #b_ol {
background-position: 0 -330px;
}
.bb-pane #b_ol:hover {
background-position: -30px -330px;
}
.bb-pane #b_up {
background-position: 0 -30px;
}
.bb-pane #b_up:hover {
background-position: -30px -30px;
}
.bb-pane #b_img {
background-position: 0 -540px;
}
.bb-pane #b_img:hover {
background-position: -30px -540px;
}
.bb-pane #b_translit {
background-position: 0 -120px;
}
.bb-pane #b_translit:hover {
background-position: -30px -120px;
}
.bb-pane #b-font,
.bb-pane #b-size,
.bb-pane .bb-sel {
float: left;
margin-right: 4px;
}
.bb-pane .bb-sel select {
font-size: 100%;
margin: 4px 0 0 0;
vertical-align: baseline;
*vertical-align: middle;
}
.bb-sep {
cursor: default !important;
}
.bb-btn + .tooltip {
text-shadow: none;
}
.comments-editor textarea,
textarea[id^="dleeditcomments"],
.editorcomm textarea {
width: 481px;
height: 150px;
padding: 10px;
}
#entryform .bb-editor textarea,
.ui-widget-content textarea {
width: 100%;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
В итоге имеем один http-запрос и нормальные эффекты при наведении на кнопки редактора.