Clean up simple mode views

- 간단보기(모바일) 상태시 최근 글은 날짜 대신 시간을 표시
- 간단보기/상세보기 토글 위치를 일관성있게 변경
- 간단보기/상세보기 토글 버튼과 다른 버튼들 사이에 여백 확보
This commit is contained in:
Kijin Sung 2018-08-20 11:19:05 +09:00
parent e7fc36f87b
commit 666be26ca7
5 changed files with 24 additions and 13 deletions

View file

@ -209,6 +209,9 @@ body>.x,
.x .x_btn-group {
zoom: 1;
}
.x .x_btn-group.margin_after {
margin-right: 10px;
}
.x .x_btn-group:after {
content: "";
display: block;

View file

@ -1432,15 +1432,17 @@ jQuery(function($){
$t.addClass('tg').find('>*:not(:first-child)').hide();
}
});
$('.x .dsTg .rx_detail_marks').hide();
var details = $('.x .dsTg td.tg>*:not(:first-child),.x .dsTg .rx_detail_marks');
var details = $('.x .dsTg td.tg>*:not(:first-child),.x .dsTg .rx_detail_marks').hide();
var simples = $('.x .dsTg td.tg>*:not(:first-child),.x .dsTg .rx_simple_marks').show();
var simpleBtnFn = function(){
details.hide();
simples.show();
detailBtn.removeClass('x_active');
simpleBtn.addClass('x_active');
};
var detailBtnFn = function(){
details.show();
simples.hide();
detailBtn.addClass('x_active');
simpleBtn.removeClass('x_active');
};