From dac658451e282a3eecdf09f0c0eb42a3c28f3707 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 1 Sep 2017 11:45:50 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EB=A7=88=20=EC=9D=BC=EB=B6=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/basic/css/default.css | 155 +++++++++++++++++++++-------------- theme/basic/group.php | 17 ++-- theme/basic/head.php | 157 +++++++++++++++++------------------- theme/basic/head.sub.php | 3 +- theme/basic/index.php | 11 ++- theme/basic/tail.php | 21 +++-- 6 files changed, 200 insertions(+), 164 deletions(-) diff --git a/theme/basic/css/default.css b/theme/basic/css/default.css index 870473fae..94e9ab7f8 100644 --- a/theme/basic/css/default.css +++ b/theme/basic/css/default.css @@ -44,46 +44,57 @@ border: 1px solid #558ab7 !important; .placeholdersjs { color: #aaa !important; } /* 팝업레이어 */ -#hd_pop {z-index:1000;position:relative;margin:0 auto;width:940px;height:0} +#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1080px;height:0} #hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff} +.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff;} +.hd_pops img{max-width:100%} .hd_pops_con {} -.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right} -.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff} +.hd_pops_footer {padding: 0;background:#000;color:#fff;text-align:left;position:relative;} +.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""} +.hd_pops_footer button {padding: 10px;border:0;color:#fff} +.hd_pops_footer .hd_pops_reject{background:#000;text-align:left} +.hd_pops_footer .hd_pops_close{background:#393939;position:absolute;top:0;right:0} /* 상단 레이아웃 */ -#hd {z-index:4;position:relative;min-width:940px;background:#fff;border-bottom:1px solid #d4d4d4; --webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.1); --moz-box-shadow: 0 1px 5px rgba(0,0,0,0.1); -box-shadow: 0 1px 5px rgba(0,0,0,0.1); -} -.hd_zindex {z-index:10 !important} +#hd {min-width:1100px;} #hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#hd_wrapper {position:relative;margin:0 auto;width:940px;height:70px;zoom:1} + +#hd_wrapper {position:relative;margin:0 auto;padding:20px 0;height:115px;width:1080px;zoom:1} #hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""} #logo {float:left;padding:25px 0 0} -#tnb {background:#eee;border-bottom:1px solid #d4d4d4;zoom:1} +.hd_sch_wr{position:absolute;top:35px;left:50%;width:431px;margin-left:-215px;} +/*#hd_sch {position:absolute;top:35px;left:50%;width:430px;margin-left:-215px;}*/ +#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} +#hd_sch form.fsearchbox {zoom:1} +#hd_sch form.fsearchbox:after {display:block;visibility:hidden;clear:both;content:""} +#hd_sch #sch_stx {padding-left:10px;height:45px;background:#fff;border:1px solid #000;width:370px;border-right:0;float:left;border-radius:5px 0 0 5px;font-size:1.25em} +#hd_sch #sch_submit {height:45px;border:0;background:#fff;border:1px solid #000;border-left:0;color:#333;width:50px;float:left;cursor:pointer;border-radius:0 5px 5px 0;font-size:18px} + +#sbn_side{position:absolute;top:20px;right:0} + +#tnb {border-bottom:1px solid #e9e9e9} +#tnb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} +#tnb ul {margin:0 auto;width:1080px;zoom:1} #tnb ul:after {display:block;visibility:hidden;clear:both;content:""} -#tnb ul{margin:0 auto;max-width:940px;border-left:1px solid #d4d4d4;border-right:1px solid #d4d4d4} -#tnb li {float:left;height:33px;line-height:33px;border-right:1px solid #d4d4d4} -#tnb li i{font-size:13px} -#tnb a {padding:0 10px;font-size:0.92em} -#tnb li.tnb_right{float:right;border-left:1px solid #d4d4d4;border-right:0} -#tnb li .visit span{display:inline-block;line-height:18px;height:18px;padding:0 5px;background:#ffa74d;color:#fff;border-radius:9px} -#tnb li .tnb_admin{color:#d13f4a} - -/* 전체 검색 */ -.hd_sch_wr{position:absolute;top:0;right:0} -#sch_op_btn{height:50px;width:50px;border:0;margin-top:10px;background:none;font-size:18px} -#sch_cl_btn{height:50px;width:50px;text-indent:-999px;overflow:hidden;background:url(../img/close_btn.png) no-repeat 50% 50% ;border:0;} -#hd_sch {display:none;position:absolute;top:0;right:0;padding:0;background:#fff;z-index:99999;height:70px;padding:10px;width:800px;text-align:right} -#hd_sch form{} -#hd_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} -#hd_sch #sch_stx {padding-left:5px;width:380px;height:24px;border:0;background:#dedede;border-radius:5px;height:40px;} -#hd_sch #sch_submit {position:absolute;top:50%;;right:65px;margin-top:-20px;height:40px;width:40px;cursor:pointer;;background:none;border:0;font-size:15px} +#tnb li {float:right;border-left:1px solid #e9e9e9;margin-bottom:-1px;font-size:0.92em} +#tnb a {display:inline-block;padding:0 10px;color:#646464;line-height:35px;border-bottom:1px solid #e9e9e9} +#tnb a:focus, #tnb a:hover {color:#333;border-bottom:1px solid #444} +#tnb .tnb_admin a{color:#ff0000;} +#tnb .tnb_left{float:left} +#tnb .tnb_left a{;padding:0 14px} +#tnb .tnb_cart{border-right:1px solid #e9e9e9;} +#tnb .tnb_community{border-right:1px solid #e9e9e9} +#tnb .tnb_community i{font-size:15px} +#tnb .tnb_community{background:#fff;font-weight:bold;} +#tnb .tnb_community:focus, #tnb .tnb_community:hover {color:#333;border-bottom:0} +#tnb .tnb_community a{color:#5865de;border-bottom:1px solid #fff;} +#hd_qnb{float:right;margin-top:20px} +#hd_qnb:after {display:block;visibility:hidden;clear:both;content:""} +#hd_qnb li{float:left;font-size:1.083em;padding:10px;line-height:20px;} +#hd_qnb .visit span{display:inline-block;line-height:18px;padding:0 5px;border-radius:10px;background:#bc5dce;color:#fff;font-size:10px} /* 텍스트 크기 조절 */ #text_size{text-align:center;} #text_size div{margin:20px auto 10px;text-align:center;display:inline-block;padding:7px 20px;background:#e6e7e9;border-radius:25px;height:48px;} @@ -96,19 +107,20 @@ box-shadow: 0 0 5px rgba(100,100,100,0.2);} .ts_up2 {font-size:1.3em !important} /* 메인메뉴 */ -#gnb {float:right;padding-right:70px} -#gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#gnb_1dul {margin:0 auto !important;padding:0;zoom:1} -#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_1dli {z-index:10;position:relative;float:left;padding:0 15px;} -.gnb_1dli .bg{display:inline-block;width:10px;height:10px;overflow:hidden;background:url(../img/gnb_bg.gif) no-repeat 50% 50%;text-indent:-999px} -/*.gnb_1dli:hover{border-bottom:2px solid #959cdf}*/ -.gnb_1dli:hover .bg{background:url(../img/gnb_bg2.gif) no-repeat 50% 50%;} + +#gnb{background:#f2f2f2;border-top:1px solid #ddd;border-bottom:1px solid #ddd} +#gnb h2{position:absolute;font-size:0;line-height:0;overflow:hidden} +#gnb #gnb_1dul {margin:0 auto;width:1080px;font-size:1.083em;padding: 0;zoom:1} +#gnb ul:after {display:block;visibility:hidden;clear:both;content:""} +#gnb .gnb_1dli{float:left;line-height:44px;padding:0 25px 0 0;position:relative;} .gnb_1dli:hover .gnb_1da{color :#7e85ce} -.gnb_1da {display:inline-block;font-weight:bold;text-decoration:none;line-height:70px} +.gnb_1dli:hover .bg{background:url(../img/gnb_bg2.gif) no-repeat 50% 50%;} + +.gnb_1dli .bg{display:inline-block;width:10px;height:10px;overflow:hidden;background:url(../img/gnb_bg.gif) no-repeat 50% 50%;text-indent:-999px} +.gnb_1da {display:inline-block;font-weight:bold;text-decoration:none;} .gnb_2dli{border-top:1px solid #eee} .gnb_2dli:first-child{border:0} -.gnb_2dul {display:none;position:absolute;top:70px;min-width:140px;background:#fff;border:1px solid #d4d4d4;padding: 0; +.gnb_2dul {display:none;position:absolute;top:45px;min-width:140px;background:#fff;border:1px solid #d4d4d4;padding: 0; -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.1); -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.1); box-shadow: 0 1px 5px rgba(0,0,0,0.1);} @@ -119,34 +131,46 @@ a.gnb_2da:hover{background:#f9f9f9;color:#000} .gnb_2da:focus, .gnb_2da:hover {color:#959cdf} .gnb_1dli_over .gnb_2dul {display:block;left:0;background:#fff} .gnb_1dli_over2 .gnb_2dul {display:block;right:0;background:#fff} - #gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2em} -#gnb_empty a {text-decoration:underline} + /* 중간 레이아웃 */ -#wrapper{} +#wrapper{min-width:1100px} #container_wr:after {display:block;visibility:hidden;clear:both;content:""} -#container_wr {z-index:5;margin:0 auto;width:940px;height:100%;;zoom:1} -#aside {float:right;width:271px;padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px;height:100%;} +#container_wr {z-index:5;margin:0 auto;width:1080px;height:100%;zoom:1;} +#aside {float:right;width:270px;height:100%;} +#aside .aside_inner{padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px} -#container {z-index:4;position:relative;float:left;padding:20px 20px 20px 0;width:670px;border-right:1px solid #e8e8e8;min-height:500px;height:auto !important;height:500px;font-size:1em;zoom:1} -#container.aside_disable {float:none;width:100%;padding-right:0px;border-right:none 0} -#container:after {display:block;visibility:hidden;clear:both;content:""} +#container {z-index:4;position:relative;float:left;width:810px;min-height:500px;height:auto !important;height:500px;font-size:1em} +#container .container_inner{border-right:1px solid #e8e8e8;padding:20px 20px 20px 0} #container_title {font-size:1.25em;;font-weight:bold;border-bottom:1px solid #e8e8e8} -#container_title span{margin:0 auto;display:block;width:940px;height:60px;line-height:30px;padding:15px 0;} +#container_title span{margin:0 auto;display:block;width:1080px;height:60px;line-height:30px;padding:15px 0;} +.latest_wrap {zoom:1;margin-left:-10px;margin-right:-10px;padding:0} +.latest_wrap:after {display:block;visibility:hidden;clear:both;content:""} + +.latest_wrap .col-row{float:left} +.latest_wrap .box_clear{clear:both} +.latest_wrap .col-gn-0, .latest_wrap .col-gn-1{width:100%} +.latest_wrap .col-gn-2{width:50%} +.latest_wrap .col-gn-3{width:33.333%} +.latest_wrap .col-gn-4{width:25%} +.latest_wrap .col-gn-5{width:20%} + +.lt_wr{width:49%} .lt_wr:nth-child(2n+0){clear:both} /* 하단 레이아웃 */ -#ft {min-width:940px;border-top:1px solid #d4d4d4;background:#eee;padding-bottom:40px} +#ft {min-width:1100px;border-top:1px solid #d4d4d4;background:#eee;padding-bottom:40px} #ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#ft_wr {width:940px;margin:0 auto;position:relative;} +#ft_wr {width:1080px;margin:0 auto;position:relative;} #ft_link{margin:30px 0 10px} #ft_link a{border-left:1px solid #aaa;display:inline-block;padding:0 5px;line-height:1.083em;font-weight:bold} #ft_link a:first-child{border:0} #ft_catch{position:absolute;top:0;right:0} #ft_copy{color:#555;font-size:0.92em} -#ft_totop{position:fixed;bottom:20px;right:20px;width:50px;height:50px;background:url(../img/btn_top.gif) no-repeat 50% 50% rgba(0,0,0,0.7);border-radius:50%;;text-indent:-999px;overflow:hidden;} +#top_btn {position:fixed;bottom:20px;right:20px;width:50px;height:50px;line-height:46px;border:2px solid #333;color:#333;text-align:center;font-size:15px;z-index:90;background:rgba(255,255,255,0.5)} +#top_btn:hover{border-color:#3059c7;background:#3059c7;color:#fff} /* 게시물 선택복사 선택이동 */ #copymove {} @@ -168,19 +192,19 @@ a.gnb_2da:hover{background:#f9f9f9;color:#000} #captcha {display:inline-block;position:relative} #captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden;} #captcha #captcha_img {;height:40px;border:1px solid #898989;;vertical-align:top;padding:0;margin:0} -#captcha #captcha_mp3 {;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;width:40px;height:40px;background:url('../../../img/captcha.png') no-repeat;text-indent:-999px;;border-radius:3px} -#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px} +#captcha #captcha_mp3 {;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;width:40px;height:40px;background:url('../img/captcha.png') no-repeat;text-indent:-999px;;border-radius:3px} +#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px} #captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top} #captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em} /* 캡챠 자동등록(입력)방지 기본 - mobile */ #captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px} #captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block;} -#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha.png') no-repeat 0 -40px;text-indent:-999px} +#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha.png') no-repeat 0 -40px;text-indent:-999px} #captcha.m_captcha #captcha_reload span{display:none;} #captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px} #captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em} -#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../../../img/captcha.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none} +#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../img/captcha.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none} /* ckeditor 단축키 */ .cke_sc {margin:0 0 5px;text-align:right} @@ -228,18 +252,16 @@ a.btn_admin,.btn_admin {display:inline-block;background:#d13f4a;color:#fff;text- .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold} /* 기본테이블 */ -.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing: 0 5px} +.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing: 0 5px;border-bottom:1px solid #ccc} .tbl_wrap caption {padding:10px 0;font-weight:bold;text-align:left} - .tbl_head01 {margin:0 0 10px} .tbl_head01 caption {padding:0;font-size:0;line-height:0;overflow:hidden} -.tbl_head01 thead th {padding:10px 0;font-weight:normal;text-align:center;border-bottom:2px solid #333;} -/*.tbl_head01 thead th:first-child{border-radius:3px 0 0 3px}*/ -/*.tbl_head01 thead th:last-child{border-radius:0 3px 3px 0}*/ +.tbl_head01 thead th {padding:10px 0;font-weight:normal;text-align:center;border-bottom:2px solid #333;font-size:0.92em;color:#444} +.tbl_head01 thead th a{color:#444;} .tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ .tbl_head01 tfoot th, .tbl_head01 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center} .tbl_head01 tbody th {padding:8px 0;border-bottom:1px solid #e8e8e8} -.tbl_head01 td {color:#888;background:#fff;;padding:12px 5px;border-bottom:1px solid #ecf0f1;line-height:1.4em;height:70px;word-break:break-all} +.tbl_head01 td {color:#888;background:#fff;;padding:12px 5px;border-top:1px solid #ecf0f1;line-height:1.4em;height:70px;word-break:break-all} .tbl_head01 tbody tr:hover td{background:#fafafa;} .tbl_head01 a {} @@ -372,3 +394,14 @@ box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);} /* Mobile화면으로 */ #device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} +@media all and (min-width:1217px) { +#hd_pop{width:1200px} +#hd_wrapper{width:1200px} +#tnb ul{width:1200px} +#gnb #gnb_1dul{width:1200px} +#container_wr{width:1200px} +#container_title span{width:1200px} +#ft{min-width:1200px} +#ft_wr{width:1200px} +#container{width:930px} +} diff --git a/theme/basic/group.php b/theme/basic/group.php index 35583312f..3bb514014 100644 --- a/theme/basic/group.php +++ b/theme/basic/group.php @@ -16,32 +16,35 @@ include_once(G5_LIB_PATH.'/latest.lib.php'); +
'mobile' "; if(!$is_admin) $sql .= " and bo_use_cert = '' "; $sql .= " order by bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { - $lt_style = ""; - if ($i%2==1) $lt_style = "margin-left:15px"; - if ($i%2==0) $lt_style = "clear:both"; + $mod_cnt = 2; + $lt_class = 'col-row col-gn-'.$mod_cnt; + $lt_class .= ($i % $mod_cnt === 0) ? ' box_clear' : ''; ?> -
+
+
+

@@ -29,19 +30,17 @@ include_once(G5_LIB_PATH.'/popular.lib.php'); @@ -51,63 +50,15 @@ include_once(G5_LIB_PATH.'/popular.lib.php'); <?php echo $config['cf_title']; ?>
-
-
사이트 내 전체검색 -
+ -
-
+ +
+
+ + - +
@@ -160,21 +156,12 @@ jQuery(function($){

-
- - - - - -
-
- - - - -
+
+ + +
- -
\ No newline at end of file +
+
\ No newline at end of file diff --git a/theme/basic/head.sub.php b/theme/basic/head.sub.php index 6f3aa6949..a8a2ded99 100644 --- a/theme/basic/head.sub.php +++ b/theme/basic/head.sub.php @@ -62,7 +62,8 @@ var g5_sca = ""; var g5_editor = ""; var g5_cookie_domain = ""; - + + diff --git a/theme/basic/index.php b/theme/basic/index.php index 972b45924..5d8389d42 100644 --- a/theme/basic/index.php +++ b/theme/basic/index.php @@ -12,6 +12,7 @@ include_once(G5_THEME_PATH.'/head.php');

최신글

+
-
+
+
- -
-
-
+
+
+
+

@@ -28,7 +28,16 @@ if (G5_IS_MOBILE) {
Copyright © 소유하신 도메인. All rights reserved.
- 상단으로 + +