Authored by yyq

帮助中心样式调整

19.3 KB | W: | H:

19.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -23,13 +23,10 @@ var problemBox = function() {
$problemBox.find('.a-area').html(ask);
$problemBox.find('.q-area').html(answer);
$problemBox.show();
$('body').css({overflow: 'hidden'});
});
$('.problem-box .close, .problem-box .mark').on('click', function() {
$problemBox.hide();
$('body').css({overflow: 'auto'});
});
};
... ...
... ... @@ -64,12 +64,9 @@ if (keywords) {
});
}
if (!$cate.hasClass('big-category')) {
parentID = $cate.data('parentId');
$('.parentId-' + parentID).show();
$('.cateId-' + parentID).find('.icon').removeClass('plus').addClass('minus');
}
$('.center-content').css('border-top-color', '#fff');
... ...
... ... @@ -122,7 +122,7 @@
content: "";
width: 18px;
height: 18px;
background: url("/help/a.png") no-repeat;
background: url("/help/q.png") no-repeat;
position: absolute;
left: 0;
top: 2px;
... ... @@ -132,7 +132,7 @@
content: "";
width: 18px;
height: 18px;
background: url("/help/q.png") no-repeat;
background: url("/help/a.png") no-repeat;
position: absolute;
left: 0;
}
... ...
... ... @@ -184,11 +184,11 @@
}
.a-area:before {
background: url("/help/a.png") no-repeat;
background: url("/help/q.png") no-repeat;
}
.q-area:before {
background: url("/help/q.png") no-repeat;
background: url("/help/a.png") no-repeat;
}
.iconfont {
... ...