From dc0b0fb0874dae7dec2dbc0329420a6aac116db7 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 28 Feb 2014 16:39:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20gnb=20=ED=95=98?= =?UTF-8?q?=EC=9C=84=EB=B6=84=EB=A5=98=20=EC=9E=88=EB=8A=94=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=EC=97=90=EB=A7=8C=20=ED=99=94=EC=82=B4=ED=91=9C=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/shop/basic/boxcategory.skin.php | 10 +++++----- {shop => skin/shop/basic}/img/gnb_bg00.gif | Bin {shop => skin/shop/basic}/img/gnb_bg01.gif | Bin skin/shop/basic/style.css | 6 ++++-- 4 files changed, 9 insertions(+), 7 deletions(-) rename {shop => skin/shop/basic}/img/gnb_bg00.gif (100%) rename {shop => skin/shop/basic}/img/gnb_bg01.gif (100%) diff --git a/skin/shop/basic/boxcategory.skin.php b/skin/shop/basic/boxcategory.skin.php index 710856688..e76932277 100644 --- a/skin/shop/basic/boxcategory.skin.php +++ b/skin/shop/basic/boxcategory.skin.php @@ -11,17 +11,17 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 $hsql = " select ca_id, ca_name from {$g5['g5_shop_category_table']} where length(ca_id) = '2' and ca_use = '1' order by ca_id "; $hresult = sql_query($hsql); $gnb_zindex = 999; // gnb_1dli z-index 값 설정용 - $count = count($hresult); for ($i=0; $row=sql_fetch_array($hresult); $i++) { $gnb_zindex -= 1; // html 구조에서 앞선 gnb_1dli 에 더 높은 z-index 값 부여 - ?> -
  • - - +
  • + + '; diff --git a/shop/img/gnb_bg00.gif b/skin/shop/basic/img/gnb_bg00.gif similarity index 100% rename from shop/img/gnb_bg00.gif rename to skin/shop/basic/img/gnb_bg00.gif diff --git a/shop/img/gnb_bg01.gif b/skin/shop/basic/img/gnb_bg01.gif similarity index 100% rename from shop/img/gnb_bg01.gif rename to skin/shop/basic/img/gnb_bg01.gif diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css index 973eeb0d0..04866e98b 100644 --- a/skin/shop/basic/style.css +++ b/skin/shop/basic/style.css @@ -6,8 +6,10 @@ #gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} .gnb_1dli {position:relative} .gnb_1dli_on {color:#fff;text-decoration:none} -.gnb_1da {display:block;padding:7px 10px;border-bottom:1px solid #f4f4f4;background:url('../shop/img/gnb_bg00.gif') #fff center right no-repeat;font-weight:bold;text-decoration:none} -.gnb_1dli_on .gnb_1da {background:url('../shop/img/gnb_bg01.gif') #626870 center right no-repeat;color:#fff;text-decoration:none} +.gnb_1da {display:block;padding:7px 10px;border-bottom:1px solid #f4f4f4;background-color:#fff;font-weight:bold;text-decoration:none} +.gnb_1dam {background:url('img/gnb_bg00.gif') #fff center right no-repeat} +.gnb_1dli_on .gnb_1da {background-color:#626870;color:#fff;text-decoration:none} +.gnb_1dli_on .gnb_1dam {background:url('img/gnb_bg01.gif') #626870 center right no-repeat;color:#fff;text-decoration:none} .gnb_2dul {display:none;z-index:1000;position:absolute;border:1px solid #787f89} .gnb_1dli_over .gnb_2dul, .gnb_1dli_over2 .gnb_2dul {display:block;top:-1px;left:127px;width:130px;background:#fff} .gnb_2da {display:none}