From a69ce967dc87ea02494ee95614225f4e2d397557 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 8 Jan 2014 10:14:31 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EA=B3=B5=ED=86=B5:=20p=20=ED=83=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=B4=88=EA=B8=B0=ED=99=94=20=EC=88=98=EC=A0=95,?= =?UTF-8?q?=20=ED=91=B8=EB=A5=B8=ED=95=98=EB=8A=983(thebest1)=EB=8B=98=20?= =?UTF-8?q?=EA=B1=B4=EC=9D=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 2 +- css/mobile.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/default.css b/css/default.css index 1ebce0786..8230b0c9f 100644 --- a/css/default.css +++ b/css/default.css @@ -16,7 +16,7 @@ button {cursor:pointer} textarea, select {font-family:dotum;font-size:1em} select {margin:0} -p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all} +p {margin:0;padding:0;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} a:link, a:visited {color:#000;text-decoration:none} diff --git a/css/mobile.css b/css/mobile.css index ebcf9e377..d7cb83b1e 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -16,7 +16,7 @@ input[type=text], input[type=password], input[type=submit], input[type=image], b textarea, select {font-size:1em} textarea {border-radius:0;-webkit-appearance:none} select {margin:0} -p {margin:0;padding:1em 0;line-height:1.7em;word-break:break-all} +p {margin:0;padding:0;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} a:link, a:visited {color:#000;text-decoration:none} From dda4b73f266458fe22783f604f9c78c019de87da Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 8 Jan 2014 11:32:03 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EC=82=AC?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=EB=B7=B0=20=EC=82=AC=EC=9A=A9=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 8 +++++++- lib/common.lib.php | 46 ++++++++++++++++++++++------------------------ 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index d7cb83b1e..0366596f5 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -200,6 +200,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} /* 새창 기본 스타일 */ .new_win {} .new_win #win_title {margin:0 0 20px;padding:20px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em} +.new_win #win_title .sv {font-size:0.75em;line-height:1.2em} .new_win .tbl_wrap {margin:0 20px} .new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none} .new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""} @@ -213,7 +214,12 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} .new_win .win_btn input {padding:0 10px;height:2.5em;line-height:2.5em} /* 사이드뷰 */ -/* 모바일에서는 사이드뷰를 지원하지 않습니다. */ +.sv_wrap {display:inline-block;position:relative;font-weight:normal} +.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646} +.sv_wrap .sv a {display:inline-block;margin:0;padding:3px;width:94px;border-bottom:1px solid #283646;background:#111;color:#fff !important} +.sv_wrap a:focus, .sv_wrap a:hover, .sv_wrap a:active {text-decoration:none} +.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto} +.sv_nojs .sv {display:block} /* 페이징 */ .pg_wrap {clear:both;margin:0 0 20px;padding:20px 0 0;text-align:center} diff --git a/lib/common.lib.php b/lib/common.lib.php index 299fd28e4..1e4193448 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1226,32 +1226,30 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $str = "\n"; $str .= $tmp_name."\n"; - if(!G5_IS_MOBILE) { - $str2 = "\n"; + $str2 = "\n"; + if($mb_id) + $str2 .= "쪽지보내기\n"; + if($email) + $str2 .= "메일보내기\n"; + if($homepage) + $str2 .= "홈페이지\n"; + if($mb_id) + $str2 .= "자기소개\n"; + if($bo_table) { if($mb_id) - $str2 .= "쪽지보내기\n"; - if($email) - $str2 .= "메일보내기\n"; - if($homepage) - $str2 .= "홈페이지\n"; - if($mb_id) - $str2 .= "자기소개\n"; - if($bo_table) { - if($mb_id) - $str2 .= "아이디로 검색\n"; - else - $str2 .= "이름으로 검색\n"; - } - if($mb_id) - $str2 .= "전체게시물\n"; - if($is_admin == "super" && $mb_id) { - $str2 .= "회원정보변경\n"; - $str2 .= "포인트내역\n"; - } - $str2 .= "\n"; - $str .= $str2; - $str .= "\n"; + $str2 .= "아이디로 검색\n"; + else + $str2 .= "이름으로 검색\n"; } + if($mb_id) + $str2 .= "전체게시물\n"; + if($is_admin == "super" && $mb_id) { + $str2 .= "회원정보변경\n"; + $str2 .= "포인트내역\n"; + } + $str2 .= "\n"; + $str .= $str2; + $str .= "\n"; $str .= ""; From 80ed9701e412fcadabd653a7b932f0da31594090 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 8 Jan 2014 11:35:07 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EB=A9=94?= =?UTF-8?q?=EC=9D=BC=EB=B3=B4=EB=82=B4=EA=B8=B0=20=ED=83=80=EC=9D=B4?= =?UTF-8?q?=ED=8B=80=20=EB=A7=88=ED=81=AC=EC=97=85,=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=95=84=20=EC=9D=B8=EC=82=AC=EB=A7=90=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/skin/member/basic/formmail.skin.php | 2 +- mobile/skin/member/basic/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/skin/member/basic/formmail.skin.php b/mobile/skin/member/basic/formmail.skin.php index 047aacf8c..e25d4c997 100644 --- a/mobile/skin/member/basic/formmail.skin.php +++ b/mobile/skin/member/basic/formmail.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-

님께 메일보내기

+

님께 메일보내기

diff --git a/mobile/skin/member/basic/style.css b/mobile/skin/member/basic/style.css index e9d220875..df012e38d 100644 --- a/mobile/skin/member/basic/style.css +++ b/mobile/skin/member/basic/style.css @@ -161,7 +161,7 @@ /* 자기소개 */ #profile table {margin-bottom:0} -#profile section {padding:10px} +#profile section {padding:10px 20px} #profile h2 {margin:0} #profile .sv_wrap a {margin:0 0 5px;padding:0;font-weight:bold;line-height:10px} From 1ad8cbda8acfe3754889a3cfbd92d54892ce8b0f Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 8 Jan 2014 11:57:32 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20p=20?= =?UTF-8?q?=ED=8C=A8=EB=94=A9=20=EC=A1=B0=EC=A0=95=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=A5=B8=20=ED=95=98=EB=8B=A8=20=EC=B9=B4=ED=94=BC=EB=9D=BC?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8=20p=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/default.css b/css/default.css index 8230b0c9f..e2fbdc6ee 100644 --- a/css/default.css +++ b/css/default.css @@ -93,7 +93,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #ft_catch {position:relative;margin:0 auto;padding:20px 0;width:970px;text-align:center} #ft_copy {background:#414141} -#ft_copy p {position:relative;margin:0 auto;width:970px;color:#fff} +#ft_copy p {position:relative;margin:0 auto;padding:10px 0;width:970px;color:#fff} #ft_copy a {position:absolute;top:10px;right:0;color:#fff} /* 게시물 선택복사 선택이동 */