diff --git a/css/admin.css b/css/admin.css index b868e880d..145844801 100644 --- a/css/admin.css +++ b/css/admin.css @@ -41,7 +41,7 @@ h2 {font-size:1.2em} /* gnb js off */ #gnb {z-index:12;background:#383a3f} -#gnb h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} +#gnb h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} #gnb_1dul {margin:0 auto;padding:0;width:1000px;zoom:1} #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} .gnb_1dli {z-index:13;clear:both;zoom:1} @@ -59,10 +59,10 @@ h2 {font-size:1.2em} .gnb_js .gnb_1dli a {color:#fff;text-align:center} .gnb_js .gnb_1dli_air a {float:none;background:#f5f6fa;color:#000} .gnb_js .gnb_1dli_on a {float:none;background:#fff;color:#000} -.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden} +.gnb_js .gnb_2dul {display:none;position:absolute;top:35px} .gnb_js .gnb_2dli a {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left} -.gnb_1dli_over .gnb_2dul {left:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} -.gnb_1dli_over2 .gnb_2dul {right:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} +.gnb_1dli_over .gnb_2dul {display:block;left:-1px;width:181px;border:1px solid #c3c7c5;border-top:0;background:#fff} +.gnb_1dli_over2 .gnb_2dul {display:block;right:-1px;width:181px;border:1px solid #c3c7c5;border-top:0;background:#fff} .gnb_js .gnb_grp_style {background:#f7f7f7 !important} .gnb_js .gnb_grp_div {border-top:1px solid #eee} diff --git a/css/default.css b/css/default.css index 9d94cc2a1..3fd62bd54 100644 --- a/css/default.css +++ b/css/default.css @@ -41,7 +41,7 @@ a:active {color:#000;text-decoration:underline} /* gnb js off */ #gnb {position:relative;margin:-1px 0 0;border-bottom:1px solid #c3c7c5;background:#f0f4f8} -#gnb h2 {position:absolute;margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} +#gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #gnb_1dul {margin:0 auto;padding:0;width:980px;zoom:1} #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} .gnb_1dli {z-index:10;clear:both;zoom:1} @@ -60,10 +60,10 @@ a:active {color:#000;text-decoration:underline} .gnb_js .gnb_1da {text-align:center} .gnb_js .gnb_1dli_air a {float:none;background:#333;color:#fff} .gnb_js .gnb_1dli_on a {float:none;background:#333;color:#fff} -.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden} +.gnb_js .gnb_2dul {display:none;position:absolute;top:35px} .gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left} -.gnb_1dli_over .gnb_2dul {left:0;width:180px;height:auto;background:#fff} -.gnb_1dli_over2 .gnb_2dul {right:0;width:180px;height:auto;background:#fff} +.gnb_1dli_over .gnb_2dul {display:block;left:0;background:#fff} +.gnb_1dli_over2 .gnb_2dul {display:block;right:0;width:180px;background:#fff} .gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em}