From 644ed8eb0570dd8d4390d4050f61a5a9b0155f9f Mon Sep 17 00:00:00 2001 From: MinSoo Kim Date: Thu, 28 Jan 2016 03:59:26 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=A0=EA=B3=A0=20=EC=84=A0=ED=83=9D?= =?UTF-8?q?=EC=A7=80=20=EC=B6=94=EA=B0=80,=20=EB=AA=A8=EB=B0=94=EC=9D=BC?= =?UTF-8?q?=20=EC=8B=A0=EA=B3=A0=20=ED=99=98=EA=B2=BD=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 신고 사유를 선택지 중 선택할 수 있게 함 - 팝업 메뉴의 스타일을 개선하여 모바일에서 적절하게 터치할 수 있게 함. --- common/css/xe.css | 35 +++++++++++++------ common/js/common.js | 2 +- modules/document/document.controller.php | 5 ++- modules/document/lang/lang.xml | 34 ++++++++++++++++++ modules/document/tpl/css/declare_document.css | 12 +++++++ modules/document/tpl/declare_document.html | 29 +++++++++++++-- 6 files changed, 101 insertions(+), 16 deletions(-) create mode 100644 modules/document/tpl/css/declare_document.css diff --git a/common/css/xe.css b/common/css/xe.css index 1c186ff08..de39e72c3 100644 --- a/common/css/xe.css +++ b/common/css/xe.css @@ -63,14 +63,16 @@ a img { /* Popup Menu Area */ #popup_menu_area { position: absolute; + z-index:9999; margin: 10px 0; - padding: 10px; - border: 1px solid #e9e9e9; - border-radius: 3px; + padding: 0; + border: 1px solid #eeeeee; + border-radius: 2px; font-size: 12px; - box-shadow: 0 0 6px #666; - filter: progid: DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5); + box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); background: #fff; + min-width:80px; + outline:none; } #popup_menu_area ul { margin: 0; @@ -80,20 +82,31 @@ a img { #popup_menu_area li { margin: 0; padding: 0; - line-height: 1.25; + line-height: 1.5; } #popup_menu_area a { display: block; - padding: 1px 3px; - border-radius: 2px; + padding: 5px; text-decoration: none; - color: #333; + color: #212121; } #popup_menu_area a:hover, #popup_menu_area a:active, #popup_menu_area a:focus { - color: #fff; - background: #666; + background: #eeeeee; +} +@media screen and (max-width: 400px) { + #popup_menu_area { + min-width:120px; + max-width:95%; + font-size: 13px; + } + #popup_menu_area a { + display: block; + padding: 10px; + text-decoration: none; + color: #212121; + } } /* Message */ diff --git a/common/js/common.js b/common/js/common.js index ef829e480..29164bc60 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -945,7 +945,7 @@ jQuery(function($){ // display popup menu that contains member actions and document actions $(document).on('click', function(evt) { var $area = $('#popup_menu_area'); - if(!$area.length) $area = $('