쇼핑몰관리자: lnb 추가 및 gnb 스타일 수정
This commit is contained in:
@ -113,6 +113,22 @@ function imageview(id, w, h)
|
||||
|
||||
</header>
|
||||
|
||||
<?php if($sub_menu) { ?>
|
||||
<ul id="lnb">
|
||||
<?php
|
||||
$menu_key = substr($sub_menu, 0, 3);
|
||||
$nl = '';
|
||||
foreach($menu['menu'.$menu_key] as $key=>$value) {
|
||||
if($key > 0) {
|
||||
if ($menu_key == substr($menu['menu'.$key][0][0], 0, 2)) echo 1;
|
||||
echo $nl.'<li><a href="'.$value[2].'">'.$value[1].'</a></li>';
|
||||
$nl = PHP_EOL;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<div id="text_size">
|
||||
|
||||
@ -51,7 +51,7 @@ h2.h2_frm {padding-top:15px}
|
||||
#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli {z-index:13;clear:both;zoom:1}
|
||||
.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli a {display:block;float:left;width:110px;height:35px;color:#e0e0e0;font-weight:bold;line-height:2.95em;text-decoration:none}
|
||||
.gnb_1dli a {display:block;float:left;padding:10px 0;width:110px;color:#e0e0e0;font-weight:bold;text-decoration:none}
|
||||
.gnb_1dli a:focus, .gnb_1dli a:hover {text-decoration:none}
|
||||
.gnb_2dul {float:left;width:auto}
|
||||
.gnb_2dli {float:left}
|
||||
@ -62,10 +62,10 @@ h2.h2_frm {padding-top:15px}
|
||||
.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_js .gnb_1dli {clear:none;position:relative;float:left;margin:0 0 0 -1px;border:1px solid #333;border-top:0;border-bottom:0}
|
||||
.gnb_js .gnb_1dli a {color:#fff;text-align:center}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#222;color:#fff}
|
||||
.gnb_js .gnb_1dli_on a {float:none;background:#fff;color:#000}
|
||||
.gnb_js .gnb_2dul {display:none;position:absolute;top:35px;width:181px;border:1px solid #999;border-top:0;background:#fff}
|
||||
.gnb_js .gnb_2dli a {display:inline-block;float:none;padding:0 10px;width:161px;background:#fff;color:#000;text-align:left}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#fff;color:#000}
|
||||
.gnb_js .gnb_1dli_on a {float:none;background:#282828;color:#fff}
|
||||
.gnb_js .gnb_2dul {display:none;position:absolute;top:34px;width:181px;border:1px solid #999;border-top:0;background:#fff}
|
||||
.gnb_js .gnb_2dli a {display:inline-block;float:none;padding:8px 10px;width:161px;background:#fff;color:#000;text-align:left}
|
||||
.gnb_js .gnb_2dli a:focus, .gnb_js .gnb_2dli a:hover {background:#484848;color:#fff}
|
||||
.gnb_1dli_over .gnb_2dul {display:block;left:-1px}
|
||||
.gnb_1dli_over2 .gnb_2dul {display:block;right:-1px}
|
||||
@ -74,6 +74,11 @@ h2.h2_frm {padding-top:15px}
|
||||
.gnb_js .gnb_grp_style:focus, .gnb_js .gnb_grp_style:hover {background:#484848 !important}
|
||||
.gnb_js .gnb_grp_div {border-top:1px solid #eee}
|
||||
|
||||
#lnb {margin:0;padding:10px 15px;border-bottom:1px solid #e9e9e9;list-style:none;zoom:1}
|
||||
#lnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#lnb li {float:left}
|
||||
#lnb a {display:inline-block;padding:5px;font-size:0.95em;letter-spacing:-0.1em}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:20px 0;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
Reference in New Issue
Block a user