diff --git a/theme/54/css/default.css b/theme/54/css/default.css index 2fcd528b5..c0ece1a38 100644 --- a/theme/54/css/default.css +++ b/theme/54/css/default.css @@ -107,17 +107,19 @@ border:1px solid #558ab7 !important; #gnb .gnb_wrap {margin:0 auto;position:relative;z-index:10} #gnb #gnb_1dul {font-size:1.083em;padding:0;border-bottom:1px solid #e0e2e5;zoom:1} #gnb ul:after {display:block;visibility:hidden;clear:both;content:""} -#gnb .gnb_1dli {float:left;line-height:55px;padding:0 15px;position:relative} +#gnb .gnb_1dli {float:left;line-height:55px;padding:0px;position:relative} #gnb .gnb_1dli:hover > a {color:#3a8afd; -webkit-transition:background-color 2s ease-out; -moz-transition:background-color 0.3s ease-out; -o-transition:background-color 0.3s ease-out; transition:background-color 0.3s ease-out} -.gnb_1dli .bg {display:inline-block;width:10px;height:10px;overflow:hidden;background:url('../img/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px} -.gnb_1da {display:inline-block;font-weight:bold;color:#080808;text-decoration:none} +.gnb_1dli .bg {position:absolute;top:24px;right:8px;display:inline-block;width:10px;height:10px;overflow:hidden;background:url('../img/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px} +.gnb_1da {display:block;font-weight:bold;padding:0 15px;color:#080808;text-decoration:none} +.gnb_1dli.gnb_al_li_plus .gnb_1da{padding-right:25px} .gnb_2dli:first-child {border:0} -.gnb_2dul {display:none;position:absolute;top:56px;min-width:140px;border:1px solid #e0e2e5;border-top:0;padding:0; +.gnb_2dul {display:none;position:absolute;top:54px;min-width:140px;padding-top:2px} +.gnb_2dul .gnb_2dul_box {border:1px solid #e0e2e5;border-top:0;padding:0; -webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2); -moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2); box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)} diff --git a/theme/54/head.php b/theme/54/head.php index ed3896e39..6ea95d57f 100644 --- a/theme/54/head.php +++ b/theme/54/head.php @@ -132,9 +132,10 @@ include_once(G5_LIB_PATH.'/popular.lib.php'); $i = 0; foreach( $menu_datas as $row ){ - if( empty($row) ) continue; + if( empty($row) ) continue; + $add_class = (isset($row['sub']) && $row['sub']) ? 'gnb_al_li_plus' : ''; ?> -
  • +
  • 하위분류'.PHP_EOL; ?>
  • ', 0
  • 글쓰기
  • - +