diff --git a/css/default_shop.css b/css/default_shop.css index d20213d95..3026e5335 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -311,8 +311,10 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important .sct_admin {margin:0 0 10px;text-align:right} /* 상품 목록 현재 위치 */ -#sct_location {border:1px solid #e9e9e9;background:#f7f7f7} -#sct_location a {display:inline-block;padding:10px 10px 8px} +#sct_location {margin:0 0 10px;border:1px solid #e9e9e9;background:#f7f7f7;letter-spacing:-4px} +#sct_location a {display:inline-block;padding:10px 10px 8px;text-decoration:none;letter-spacing:0 !important} +.sct_here {font-weight:bold} +.sct_bg {padding-right:15px !important;background:url('../img/shop/sct_bg_toright.gif') right 11px no-repeat} /* 상품 정렬 */ #sct_sort {margin:0 0 10px;zoom:1} diff --git a/img/shop/sct_bg_toright.gif b/img/shop/sct_bg_toright.gif new file mode 100644 index 000000000..0d180544f Binary files /dev/null and b/img/shop/sct_bg_toright.gif differ diff --git a/shop/navigation1.inc.php b/shop/navigation1.inc.php index 0f86aa8c2..ceddaee44 100644 --- a/shop/navigation1.inc.php +++ b/shop/navigation1.inc.php @@ -12,12 +12,15 @@ if ($ca_id) $sql = " select ca_name from {$g4['shop_category_table']} where ca_id = '$code' "; $row = sql_fetch($sql); - $style = ''; - if ($ca_id == $code) - $style = 'style="font-weight:bold;"'; + $sct_here = ''; + if ($ca_id == $code) // 현재 분류와 일치하면 + $sct_here = 'sct_here'; - $str .= $bar.''.$row['ca_name'].''; - $bar = ' > '; + if ($i != $len) // 현재 위치의 마지막 단계가 아니라면 + $sct_bg = 'sct_bg'; + else $sct_bg = ''; + + $str .= $bar.''.$row['ca_name'].''; } } else @@ -27,5 +30,6 @@ else ?>