사용자: 리디자인 18, 게시판스킨 목록 스타일

This commit is contained in:
whitedot
2013-02-19 21:21:43 +09:00
parent b919eab182
commit 2444480f29
2 changed files with 50 additions and 32 deletions

View File

@ -415,8 +415,8 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
/* 게시판 목록 */
#bo_list_title {margin-bottom:20px;font-size:1.1em;letter-spacing:-0.1em}
#bo_list_total {margin-bottom:10px}
#bo_cate {margin-bottom:15px;padding-left:1px}
/*
#bo_cate {margin-bottom:10px;padding-left:1px}
#bo_cate h2 {width:0;height:0;overflow:hidden}
#bo_cate_ul {zoom:1}
#bo_cate_ul:after {display:block;visibility:hidden;clear:both;content:""}
@ -424,12 +424,27 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
#bo_cate_ul a {display:block;padding:7px 0 5px;width:70px;text-align:center;text-decoration:none}
#bo_cate_ul #bo_cate_on {background:#f7f7f2;color:#000;font-weight:bold}
#bo_cate {clear:both;position:relative;float:left;width:727px;margin-bottom:5px;padding-left:1px;border-bottom:1px solid #e0e0e0;zoom:1}
#bo_cate:after {display:block;visibility:hidden;clear:both;height:0;content:''}
#bo_cate li {float:left;margin-bottom:-1px}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;border:1px solid #e0e0e0;border-bottom:0;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#bo_cate #bo_cate_on {z-index:2;padding:6px 0;border:1px solid #e0e0e0;border-bottom:0;background:#fff;color:#ff3061;font-weight:bold}
*/
#bo_cate h2 {width:0;height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:90px;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #555;background:#fff;color:#555;font-weight:bold}
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_sch {float:left}
#bo_sch legend {width:0;height:0;overflow:hidden}
#bo_sch .fs_submit {background:#795089}
#bo_list_total {float:left;padding-top:5px}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
@ -443,8 +458,11 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
.td_subject img {margin-left:3px}
.cnt_cmt {color:#ff5300}
#bo_sch {margin-bottom:10px;text-align:center}
#bo_sch legend {width:0;height:0;overflow:hidden}
/* 게시판 읽기 */
#bo_v_title {color:#76a5a8;font-size:1.1em;font-weight:bold}
#bo_v_title {margin:0;padding:0 0 10px;color:#76a5a8;font-weight:bold;line-height:1em}
#bo_v {margin-bottom:20px;padding-bottom:20px}

View File

@ -11,11 +11,6 @@ if ($is_nogood) $colspan++;
<? if (!$wr_id) {?><h1 id="bo_list_title"><?=$g4['title']?></h1><?}?>
<!-- <p id="bo_list_total">
<span>Total <?=number_format($total_count)?>건</span>
<?=$page?> 페이지
</p>
<? if ($is_category) { ?>
<form id="fcategory" name="fcategory" method="get">
<nav id="bo_cate">
@ -28,26 +23,10 @@ if ($is_nogood) $colspan++;
<? } ?>
<div class="bo_fx">
<fieldset id="bo_sch">
<legend>게시물 검색</legend>
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="sca" value="<?=$sca?>">
<input type="hidden" name="sop" value="and">
<select name="sfl" title="검색대상">
<option value="wr_subject"<?=get_selected($sfl, 'wr_subject', true);?>>제목</option>
<option value="wr_content"<?=get_selected($sfl, 'wr_content');?>>내용</option>
<option value="wr_subject||wr_content"<?=get_selected($sfl, 'wr_subject||wr_content');?>>제목+내용</option>
<option value="mb_id,1"<?=get_selected($sfl, 'mb_id,1');?>>회원아이디</option>
<option value="mb_id,0"<?=get_selected($sfl, 'mb_id,0');?>>회원아이디(코)</option>
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
</select>
<input name="stx" class="fs_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
<input type="submit" class="fs_submit" value="검색">
</form>
</fieldset>
<div id="bo_list_total">
<span>Total <?=number_format($total_count)?>건</span>
<?=$page?> 페이지
</div>
<? if ($rss_href || $write_href) {?>
<ul class="btn_bo_user">
@ -56,7 +35,7 @@ if ($is_nogood) $colspan++;
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
</ul>
<? } ?>
</div> -->
</div>
<!-- 게시판 목록 시작 -->
<div id="bo_list">
@ -164,6 +143,27 @@ if ($is_nogood) $colspan++;
<!-- 페이지 -->
<? echo $write_pages; ?>
<fieldset id="bo_sch">
<legend>게시물 검색</legend>
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="sca" value="<?=$sca?>">
<input type="hidden" name="sop" value="and">
<select name="sfl" title="검색대상">
<option value="wr_subject"<?=get_selected($sfl, 'wr_subject', true);?>>제목</option>
<option value="wr_content"<?=get_selected($sfl, 'wr_content');?>>내용</option>
<option value="wr_subject||wr_content"<?=get_selected($sfl, 'wr_subject||wr_content');?>>제목+내용</option>
<option value="mb_id,1"<?=get_selected($sfl, 'mb_id,1');?>>회원아이디</option>
<option value="mb_id,0"<?=get_selected($sfl, 'mb_id,0');?>>회원아이디(코)</option>
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
</select>
<input name="stx" class="fs_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
<input type="submit" class="fs_submit" value="검색">
</form>
</fieldset>
<? if ($is_checkbox) { ?>
<script>
function all_checked(sw) {