Browse Source

퍼블 최신화

card007 5 years ago
parent
commit
4a0ac2c782

+ 15 - 7
src/main/webapp/ux/mo/css/common_m.css

@@ -249,7 +249,7 @@ input[type="reset"], input[type="button"], input[type="submit"], button {line-he
 
 /* 체크박스 */
 .form_field input[type="checkbox"]{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; } 
-.form_field input[type="checkbox"] + label{ display:inline-block; position:relative; padding-left:2.6rem; cursor:pointer; font-size: 1.2rem; line-height: 2.0;font-weight: 300;letter-spacing: 0;} 
+.form_field input[type="checkbox"] + label{ display:inline-block; position:relative; padding-left:2.6rem; cursor:pointer; font-size: 1.2rem; line-height: 2.0;font-weight: 300;letter-spacing: 0;text-align: right;} 
 .form_field input[type="checkbox"] + label:before{ 
   content:''; position:absolute; left:0; top:50%; margin-top:-10px; width:20px; height:20px; text-align:center; background:#fff; /*border:1px solid #ccc;*/ border-radius: 100%; box-sizing:border-box; 
   background: url('/images/mo/ico_chk_rdi.png') no-repeat;
@@ -669,8 +669,8 @@ body.gnb_on {height: 100vh;overflow: hidden;}
 /* header, htop, btn_gnb, header.main, hmenu, bng, bnb */
 header {
   position: fixed;left: 0;top: 0;width: 100%;z-index: 80;
-  position: sticky;left: 0;top: 0;width: 100%;transition: top 0.3s;/* background-color: #fff; */
-}
+  /*position: sticky;*/left: 0;top: 0;width: 100%;transition: top 0.3s;/* background-color: #fff; */
+} /* 210526_ main.container 여백 때문에 sticky 속성 주석. */
 header::after{content: '';display: block;clear: both;}
 header .htop {position: relative;height: 55px;-webkit-box-sizing: border-box;box-sizing: border-box;/*border: rgba(0, 0, 0, 0.1) solid 1px;*/ border-bottom: 1px solid rgba(0, 0, 0, 0.0); background-color: #fff;}
 header .htop:after {content: '';display: block; clear: both;}
@@ -868,11 +868,16 @@ body.header-show .app .gnb{top: 50px;}
 .app .gnb.expand .btn-expand::before{display:none}
 .app .gnb.expand .btn-expand::after {background: url(/images/mo/ico_btn_narrow.png) center bottom/1.8rem 2.0rem no-repeat;}
 
-main.container{margin-top: 0px; overflow: hidden;}
+main.container{margin-top: 0; overflow: hidden;}
 main.container .inner:last-child{padding-bottom: 6.0rem; margin-bottom: 0;}
 
+/* 페이지별 헤더 세팅 */
+section.content {margin-top: 5.5rem;}
+section.main, section.ev_list, section.dp_exhibition, section.dp_lookbook, section.dp_outlets, section.dp_submain, section.dp_hotdeal, section.br_main, section.dp_best {margin-top: 11.1rem;}
+section.main.scr, section.ev_list.scr, section.dp_exhibition.scr, section.dp_lookbook.scr, section.dp_outlets.scr, section.dp_submain.scr, section.dp_hotdeal.scr, section.br_main.scr, section.dp_best.scr {margin-top: 5.5rem;}
+
 /* .tabbar */
-.tabbar{-webkit-transform: translate(0, 55px);-ms-transform: translate(0, 55px);-moz-transform: translate(0, 55px); transform: translate(0, 55px);transition-duration: 0.3s; position: fixed;width: 100%;bottom: 0;background-color: #f8f8f8;z-index: 10; padding-bottom: constant(safe-area-inset-bottom);padding-bottom: env(safe-area-inset-bottom);}
+.tabbar{-webkit-transform: translate(0, 55px);-ms-transform: translate(0, 55px);-moz-transform: translate(0, 55px); transform: translate(0, 55px);transition-duration: 0.3s; position: fixed;width: 100%;bottom: 0;background-color: #f8f8f8;z-index: 20; padding-bottom: constant(safe-area-inset-bottom);padding-bottom: env(safe-area-inset-bottom);}
 .tabbar.fixed{-webkit-transform: translate(0, 0);-ms-transform: translate(0, 0);-moz-transform: translate(0, 0);transform: translate(0, 0);}
 .tabbar .tabbar-inner{display: -webkit-box;display: -moz-box;display: -webkit-flex;display: -ms-flexbox;display: flex; -webkit-box-pack: justify;-moz-box-pack: justify;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between; padding: 10px 20px;}
 .tabbar .tabbar-inner [class*=btn-]{display: block;width: 2.50rem; height: 2.2666rem; font-size: 0;position: relative;background: url(/images/mo/ico_tabbar.png) no-repeat center;background-size: 18.0rem 2.16rem;}
@@ -927,7 +932,7 @@ main.container .inner:last-child{padding-bottom: 6.0rem; margin-bottom: 0;}
 
 /* footer */
 footer{background-color: #f1f1f1;}
-footer .btn_top{position: fixed; bottom: 6.0rem; right: 2.5rem; opacity: 0; background-color: rgba(0, 0, 0, 0.4); width: 4.1rem; height: 4.0rem; font-size: 0; z-index: 50; background:url(/images/mo/mo_btn_top.png) no-repeat;}
+footer .btn_top{position: fixed; bottom: 8%; right: 2.0rem; opacity: 0; background-color: rgba(0, 0, 0, 0.4); width: 4.1rem; height: 4.0rem; font-size: 0; z-index: 50; background:url(/images/mo/mo_btn_top.png) no-repeat;}
 footer .btn_top span{display: block;width: 2.4rem;height: 2.4rem;margin: 0 auto;position: relative;opacity: 1;color: #222222;font-size: 1.1rem;font-weight: 600;line-height: 3.4rem;letter-spacing: -0.025em;}
 footer .f1{background-color: #f1f1f1;padding: 0 0 4.5rem; position: relative;}
 footer .f1 .inner{padding: 0 2.0rem 2.0rem;}
@@ -1400,7 +1405,9 @@ button.alertCls {-webkit-appearance: none;padding: 0;cursor: pointer;background:
 .dialog-mobile button[i='1']{
 	color: #000 !important;
 	background:#fff !important;
-	border:1px solid #777;
+	border: 0;
+    border-top: 1px solid #dddddd;
+	/* border:1px solid #777; */
 	/* min-width:10.0rem; */
 }
 .dialog-mobile button[class$='-button']:nth-last-child(2){width: 50%;}
@@ -2003,6 +2010,7 @@ button.alertCls {-webkit-appearance: none;padding: 0;cursor: pointer;background:
 
 /* etc_noticeApp */
 .app-only .notice {background: #f5f5f5;position: relative;}
+.app-only .notice.nodata{min-height: 58vh;}
 .app-only .notice.nodata::after{content: '알림이 없습니다.';width: 100%;height: auto;display: inline-block;position: absolute;top:13.6rem;left: auto;text-align: center;color: #888888;font-size: 1.3rem;}
 .app-only .notice .inner{background: #ffffff; margin-bottom: 0rem;padding-bottom:0;border-bottom:1px solid #eeeeee;}
 .app-only .notice .inner:last-child{padding-bottom: 0rem;}

+ 15 - 11
src/main/webapp/ux/mo/css/layout_m.css

@@ -420,11 +420,11 @@
 .item_prod .itemPic .pd_mov {position: absolute;width: 100%;height: 100%;top: 50%;left: 0px;transform: translateY(-50%);z-index: 2;}
 .item_prod .itemBrand {display: inline-block; margin: 0px 0.5rem 0.3rem; font-size: 1rem;font-weight: 300;color: rgb(137, 137, 137); text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;width:10rem;overflow:hidden;}
 .item_prod .itemComment{margin: 0.8rem 0.5rem 0px;line-height: 1; font-size: 1.1rem;font-weight: 300;color: #fd4802;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
-.item_prod .itemName {margin: 0px 0.5rem 0.8rem; font-size: 1.1rem; font-weight:300; color: rgb(31, 31, 31); max-height: 3rem; position: relative; overflow: hidden; white-space: normal; overflow-wrap: break-word; display: block; letter-spacing: -0.025rem;}
+.item_prod .itemName {margin: 0px 0.5rem 0.8rem; font-size: 1.1rem; font-weight:300; color: rgb(31, 31, 31); height: 3rem; max-height: 3rem; position: relative; overflow: hidden; white-space: normal; overflow-wrap: break-word; display: block; letter-spacing: -0.025rem;}
 /*.item_prod .itemName {display: -webkit-box;text-overflow: ellipsis;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}*/
 .item_prod .itemName .tit_option{font-weight:500;}
-.item_prod .itemPrice {position: relative; line-height: 1;font-size: 1.5rem; font-weight: 300; color:#222; margin: 0px 0.5rem; text-align: left;}
-.item_prod .itemPrice_original {position: relative; margin-bottom:0.5rem; display:block; line-height:1; font-size: 1rem; font-weight: 300; color: rgb(204, 204, 204); text-decoration:line-through;}
+.item_prod .itemPrice {position: relative; line-height: 1;font-size: 1.5rem; font-weight: 300; color:#222; margin: 0px 0.5rem; margin-top: 2.3rem;text-align: left;}
+.item_prod .itemPrice_original {position: relative; margin-top: -1.5rem; margin-bottom:0.5rem; display:block; line-height:1; font-size: 1rem; font-weight: 300; color: rgb(204, 204, 204); text-decoration:line-through;}
 .item_prod .itemText{margin-top:0.5rem; font-size:1.1rem; color:#888888; font-weight:300;} 
 /* .item_prod .itemPrice_original::after{content: ''; display: inline-block; position: absolute; top: 50%; left: 0; bottom:auto; right:auto; width: 100%; height: 1px; background: rgb(204, 204, 204) ; transform: translateY(-50%);} */
 .item_prod .itemPercent {position: absolute;top: auto;right: 0px;bottom: 0;left: auto;margin-left: 1.5rem;line-height:1;font-size: 1.5rem;font-weight: 300;color: #fd4802;}
@@ -803,7 +803,7 @@
 
 
 /* 플롯팅 메뉴 > 구매하기 */
-.product_floormenu{position:fixed; bottom:0; left:0; width:100%; height:5.8rem; line-height:5.8rem; z-index:20;}
+.product_floormenu{position:fixed; bottom:0; left:0; width:100%; height:5.8rem; line-height:5.8rem; z-index:30;}
 .product_floormenu > div{float:left; color:#fff; text-align:center;}
 .product_floormenu > div:nth-child(1){width:37%;}
 .product_floormenu > div:nth-child(2){width:63%; background-color:#fd4802;}
@@ -853,6 +853,8 @@
 .pd_pop.Purchase_pop .form_wrap .form_field{display: block; margin-bottom:1rem;}
 
 /* 토스트팝업 > 구매하기 > 옵션선택팝업 */
+.pd .pd_detail .pd_pop.Purchase_pop .form_field:nth-child(1) .select_custom.option_open .combo .select{min-height: 4.5rem;}
+.pd .pd_detail .pd_pop.Purchase_pop .form_field:nth-child(1) .select_custom.option_open .combo .select::before{content: '옵션을 선택해주세요';display: inline-block;width: 100%;height: 0;position: absolute;left: 1rem; color:#333333}
 .pd_pop.Purchase_pop .pop_option_select{display:none; position:absolute; bottom:0; left:0; width:100%; box-sizing:border-box; z-index:500; background: #fff; height:100%;}
 .pd_pop.Purchase_pop .pop_option_select .pp_body{position:relative; padding:2rem; overflow:auto; max-height:100%; background-color:#fff;}
 .pd_pop.Purchase_pop .pop_option_select .close{opacity: 1; position: absolute; z-index: 98; top: -3.8rem; left: 50%; transform: translate(-50%); display: block; border: 0; width:3.6rem; height:1.6rem; background-image: url(/images/mo/ico_pop_cls_w.png); text-indent: -9999px; background-size: contain; background-repeat: no-repeat; background-position: center center; background-color: transparent;}
@@ -868,7 +870,7 @@
 .pd.deal .pd_detail .pd_pop.Purchase_pop .form_field:nth-child(1) .select_custom.option_open .combo .select::before{content: '옵션을 선택해주세요';display: inline-block;width: 0;height: 0;position: absolute;left: 1rem; color:#333333}
 .pd.deal .pd_detail .pd_pop.Purchase_pop .form_field:nth-child(2) .select_custom .combo .select::before{content: '옵션1';display: inline-block;width: 0;height: 0;position: absolute;left: 1rem; color:#333333}
 .pd.deal .pd_detail .pd_pop.Purchase_pop .form_field:nth-child(3) .select_custom .combo .select::before{content: '옵션2';display: inline-block;width: 0;height: 0;position: absolute;left: 1rem; color:#333333}
-.pd.deal .pd_detail .select_custom .select .item_prod .item_state .itemLink .itemName{text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;width:100%;overflow:hidden;}
+.pd.deal .pd_detail .select_custom .select .item_prod .item_state .itemLink .itemName{text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;width:100%;overflow:hidden; color:#777;}
 .pd_pop.Purchase_pop .pop_option_select .setOption{}
 .pd_pop.Purchase_pop .pop_option_select .setOption .title{margin-bottom:1rem;}
 .pd_pop.Purchase_pop .pop_option_select .setOption .form_wrap{margin-top:2rem;}
@@ -1059,6 +1061,8 @@
 .modal.pd_pop.info_size_pop .tbl.type1 table tr td {border-top:1px solid #eeeeee;}
 .modal.pd_pop.info_size_pop .tbl.type1 table tr:first-child th,
 .modal.pd_pop.info_size_pop .tbl.type1 table tr:first-child td {border-top:none;}
+/* 임시 스타일, 차주 제거 예정 */
+.modal.pd_pop.info_size_pop .tbl.type2 {width: 100%;overflow: auto;} 
 .modal.pd_pop.info_size_pop .tbl.type2 {padding:0; border-top:1px solid #000;} 
 .modal.pd_pop.info_size_pop .tbl.type2 table {width:100%; word-break:keep-all;}
 .modal.pd_pop.info_size_pop .tbl.type2 table th,
@@ -1411,7 +1415,7 @@
 
 /* 리뷰 리스트 */
 .pop_detail .review_list {border-top:1px solid #ddd;}
-.pop_detail .review_list > ul > li {padding:0; border-bottom:1px solid #ddd; }
+.pop_detail .review_list > ul > li {padding:0;}
 .pop_detail .review_list > ul > li .review {}
 .pop_detail .review_list .review .info_box {}
 .pop_detail .review_list .review .info_box .star_score {float:left}
@@ -1806,9 +1810,9 @@
 .dp .dp_exhibition .list_content .list_item > div{padding-bottom:6rem;}
 .dp .dp_exhibition .list_content .list_item .visual{position:relative; margin-bottom:2rem;}
 .dp .dp_exhibition .list_content .list_item .visual img {width: 100%;}
-.dp .dp_exhibition .list_content .list_item .visual .txtWrap {position: absolute; left: 2rem; bottom: 4rem; color: fff;}
-.dp .dp_exhibition .list_content .list_item .visual .txtWrap p {color: #fff; font-size: 2.4rem; font-weight: 500; line-height: 1.2;}
-.dp .dp_exhibition .list_content .list_item .visual .txtWrap p.txt_xs {font-size: 1.2rem; margin-top:1.6rem; font-weight: 300;}
+.dp .dp_exhibition .list_content .list_item .visual .txtWrap {position: absolute; left: 0; bottom: 2rem; padding: 2rem; color: #fff; width: 100%;}
+.dp .dp_exhibition .list_content .list_item .visual .txtWrap p:first-child {display: -webkit-box; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font-size: 2.4rem; font-weight: 500; line-height: 1.2;}
+.dp .dp_exhibition .list_content .list_item .visual .txtWrap p.txt_xs {font-size: 1.2rem; margin-top:1.6rem; font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
 
 /* 기획전 - dp_detail-case */
 .dp .dp_subtitle{padding-top:4rem;}
@@ -2203,8 +2207,8 @@
 
 /*===================== item_prod쪽으로 이동 예정===================*/
 /* 아이템컬러칩 */
-.itemcolorchip {margin:1.5rem 0.5rem 0;}
-.itemcolorchip [class*="chip_"] {position: relative;display: inline-block;width:1rem; height:1rem; font-size: 0; vertical-align: middle; margin:0 0 0 2px;}
+.itemcolorchip {margin:1.5rem 0.5rem 0; max-width: 20.8rem;}
+.itemcolorchip [class*="chip_"] {position: relative;display: inline-block;width:1rem; height:1rem; font-size: 0; vertical-align: middle; margin:0 0 0 2px;border-radius: 50%;box-sizing: border-box;}
 .itemcolorchip [class*="chip_"]:before {content: "";display: inline-block;width: 100%;height: 100%;border-radius: 50%;box-sizing: border-box;}
 .itemcolorchip [class*="chip_"]:first-child {margin-left:0}
 .chip_color40::before {background-color: #ffffff;border: 1px solid #ddd;}

+ 21 - 15
src/main/webapp/ux/mo/css/style24_m.css

@@ -332,12 +332,14 @@
 .main_trendy .item_state {padding-bottom: 0;}
 .main_trendy .post-trendy {position: relative;top: 2rem;display: block;padding: 0px 0vw 4.8vw;}
 .main_trendy .post-trendy .swiper-slide {overflow: hidden;margin: 0px 0vw;}
-.main_trendy .item_prod {width: 49%;margin-bottom: 36px;margin-right: 0rem;position: relative;padding: 0px 0.7vw;box-sizing: border-box;vertical-align: top;display: inline-block;}
+.main_trendy .item_prod {width: 49.4%;margin-bottom: 36px;margin-right: 0rem;position: relative;padding: 0px 0.7vw;box-sizing: border-box;vertical-align: top;display: inline-block;}
+.main_trendy .item_prod:nth-child(odd) {padding-left: 0;}
+.main_trendy .item_prod:nth-child(even) {padding-right: 0;}
 
-.main_it {position: relative;padding-bottom: 4rem}
+.main_it {position: relative;padding-bottom: 4rem;}
 .main_it .titWrap{padding: 6rem 0 0 0;}
 .main_it::after {content: '';display: block;clear: both;}
-.main_it .it_nav {display: flex;padding: 0 0.8rem;height: 5rem;line-height: 5rem;justify-content: center;}
+.main_it .it_nav {display: flex;padding: 0 0.8rem; margin-bottom: 0.8rem; height: 5rem;line-height: 5rem;justify-content: center;}
 .main_it .swiper-scrollbar {margin: 0; background: #ddd !important; height: 2px;}
 .main_it .swiper-scrollbar-drag {background:#222222 !important;}
 
@@ -347,22 +349,25 @@
 .it_nav li .btn.btn_link:hover{text-decoration: none;}
 .it_nav li .btn.btn_link.active {color: #fd4802; font-weight: 500;}
 .it_nav li .btn.btn_link.active span {border-bottom: 2px solid #fd4802;}
-.main_it .it_item {overflow: visible;}
+.main_it .it_item {overflow: visible;
+  margin-right: 4rem;margin-left: -2rem;padding-left: 2rem; /* 아이템 사이즈 조정 */
+}
 .main_it .it_item {display: none;}
 .main_it .it_item::after {content: '';display: block;clear: both;}
 .it_item.active {display: block;}
 
-.main_2stage {padding: 6rem 0 3rem 0;}
+.main_2stage {padding: 3rem 0 3rem 0;}
 .main_2stage .post-bnnEvent{padding: 0 0px 3.5rem 0;}
 .main_2stage .bnnbox {position: relative; padding-top: 26%; overflow: hidden;}
 .main_2stage a{border: 0px;}
 .main_2stage img{/*width: 100%; height: auto; object-fit: none; */ position: absolute; top: 50%; left: 50%; transform:translate(-50%, -50%); max-width:none; width:auto; height:100%;}
 
 /* deal countdown */
-.main_deal .count {border: 1px solid #ffffff;border-radius: 5.0rem;padding: 0.4rem 2.6rem 0.4rem 4.8rem;width: auto;display: inline-block;}
-.main_deal .count_tit {font-size: 1.3rem;}
+.inner.bg_dark + .inner{margin-top: 6rem;} /* bg_dark는 .main_deal 에서 사용 */
+.main_deal .count {border: 1px solid #ffffff;border-radius: 5.0rem;padding: 0.4rem 2.6rem 0.4rem 4.8rem;width: auto;min-width:20.0rem;display: inline-block;}
+.main_deal .count_tit {font-size: 1.5rem;}
 .hotdealcount{display: inline-block;width: auto;}
-.main_deal .count #countdown #tiles span {width: auto;font-size: 1.3rem;font-weight: 300;text-align: center;color: #fff;display: inline-block;position: relative;}
+.main_deal .count #countdown #tiles span {width: auto;font-size: 1.5rem;font-weight: 300;text-align: center;color: #fff;display: inline-block;position: relative;}
 .main_deal .count #countdown #tiles span:first-child:before {content: '';position: absolute;top: 1.0rem;right: -0.6rem;background: #fff;width: 0.2rem;height: 0.2rem;border-radius: 50%;}
 .main_deal .count #countdown #tiles span:first-child:after {content: '';position: absolute;top: 0.5rem;right: -0.6rem;background: #fff;width: 0.2rem;height: 0.2rem;border-radius: 50%;}
 .main_deal .count #countdown #tiles span:nth-child(2) {margin: 0 1.0rem;}
@@ -372,9 +377,10 @@
 .main_deal::after {content: '';display: block;clear: both;}
 .main_deal .titWrap {padding: 3rem 0 2rem 0px;}
 .main_deal .titWrap a h2:after{filter: invert(100%);}
-.main_deal .titWrap .count{margin-top: 1.5rem;}
+.main_deal .titWrap .count{margin-top: 1.2rem;}
 .main_deal .titWrap .count .count_tit{position:relative;}
 .main_deal .titWrap .count .count_tit:before{content: '';display: inline-block;background: url(/images/mo/ico_count.png) no-repeat;width: 2.4rem;height: 2.4rem;background-size: 2.4rem 2.4rem;position: absolute;left: -2.7rem;bottom: -0.5rem;}
+.main_deal .swiper-container {margin-right: -2rem;margin-left: -2rem;padding-left: 2rem;}
 .main_deal .item_prod .itemName {color: rgb(204, 204, 204);}
 .main_deal .item_prod .itemPrice {color: #ffffff;}
 
@@ -412,8 +418,8 @@
 
 .main_1stage {padding: 2rem 0 0rem 0;}
 .main_1stage .bnnbox{position: relative; /*height:11.3rem;*/ overflow:hidden; padding-top: 35%;}
-.main_1stage .txtWrap{margin: 0 auto; position: absolute; top: 50%; left: 50%; transform:translate(-50%, -50%); z-index: 1;}
-.main_1stage .txtWrap p{font-size: 1.8rem;font-weight: 500;letter-spacing: -0.025em;text-align: center;line-height: 1;color: #222222;padding-bottom:1.0rem;}
+.main_1stage .txtWrap{margin: 0 auto; position: absolute; top: 50%; left: 10%; transform:translate(-10%, -50%); z-index: 1;}
+.main_1stage .txtWrap p{font-size: 1.8rem;font-weight: 500;letter-spacing: -0.025em;text-align: left;line-height: 1;color: #222222;padding-bottom:1.0rem;}
 .main_1stage .txtWrap p:last-child {padding-bottom:0px;}
 .main_1stage img {position: absolute; top: 50%; left:50%; transform:translate(-50%, -50%); max-width:none; width:auto; height:100%;}
 
@@ -427,8 +433,8 @@
 .main_recomm .item_state {}
 .main_recomm .recomm-head, 
 .main_recomm .recomm-post {margin-bottom: 2.5rem;overflow: visible;}
-.main_recomm .recomm-head button {height:3.5rem;font-size:1.23rem;border-radius: 5.0rem;transition: all 1ms ease;}
-.main_recomm .recomm-head button.active {line-height: 1;background: #222222;color: #ffffff;transition: all 200ms cubic-bezier(0.42, -0.04, 1, 1);}
+.main_recomm .recomm-head button {height:3.5rem;font-size:1.23rem;height:4.0rem;font-size:1.28rem;border-radius: 5.0rem;transition: all 1ms ease;}
+.main_recomm .recomm-head button.active {line-height: 1;background: #222222;border-color: #222222;color: #ffffff;transition: all 200ms cubic-bezier(0.42, -0.04, 1, 1);}
 .main_recomm .recomm-post {display: none;transition: ease-in, 1000;}
 .main_recomm .recomm-post.active {display: block;transition: ease-out, 1000;}
 
@@ -646,7 +652,6 @@ main.container .inner h2[data-style~="unusual"] {font-size:2.0rem;top: 0;positio
 .ev .survey_wrap .survey_con .btn_wrap button.btn {width: 100%; padding:1.6rem 0; font-size: 1.4rem; font-weight: 500; height:auto; } 
 
 /* ev_comment_1 */
-.dp {background: #f5f5f5;}
 .dp .inner {background: #fff; padding-bottom: 0; margin-bottom:1.2rem;}
 .dp .inner::after {content:''; clear:none;}
 .cmt_wrap {background: #f5f5f5;}
@@ -2600,7 +2605,8 @@ main.container .od_extra .inner:last-child {padding-bottom: 0;}
 .modal.reclaim_pop .modal-body .pop_cont .goods_tbl .tblWrap table tr th, .modal.reclaim_pop .modal-body .pop_cont .goods_tbl .tblWrap table tr td {border-left: 0; word-break: break-all;}
 
 /* main_띠배너 */
-.bnrtype_banner {background: #fd4801; position: relative;}
+.bnrtype_banner {background: #fd4801; position: absolute; top:11.0rem; left:0; width: 100%; z-index: 2;}
+.bnrtype_banner.scr {top: 5.5rem;}
 .bnrtype_banner a {display: block; padding:1.3rem 2rem; padding-right:4rem;}
 .bnrtype_banner a > div {color:#fff; font-size:1.3rem; font-weight:300;}
 .bnrtype_banner a > div span {font-weight: 500;}

+ 76 - 170
src/main/webapp/ux/mo/js/common_m.js

@@ -28,85 +28,6 @@ $(document).ready(function() {
             }, 50);
         });
 
-        var lastScrollTop = 0;
-        $(window).on('mousewheel',function(e){
-            if($('body').hasClass('gnb_on') === false && $('main').hasClass('pd') === false){
-                var wheel = e.originalEvent.wheelDelta;
-                if(wheel>0){
-                    //스크롤 올릴때
-                    $(".tabbar").addClass('fixed');
-                    $(".gnb").addClass('fixed');
-                    $(".pnb_mo").addClass('fixed');
-                    $("header").css("display", "block");
-                    $("header").css("position", "fixed");
-                    if($(".gnb").hasClass("fixed")){
-                        $("header").css("display", "none");
-                    }
-                    if($(".pnb_mo").hasClass("fixed")){
-                        $("header").css("display", "none");
-                    }
-                    if($(window).scrollTop() < 10){
-                        $(".gnb").css('position', 'relative');
-                        $(".pnb_mo").css('position', 'relative');
-                        $("header").css("position", "relative");
-                        $("header").css("display", "block");
-                    } else {
-                        $(".gnb").css('position', 'fixed');
-                        $(".pnb_mo").css('position', 'fixed');
-                    }
-                } else {
-                    //스크롤 내릴때
-                    $(".tabbar").removeClass('fixed');
-                    $(".pnb_mo").addClass('fixed');
-                    $(".pnb_mo").css('position', 'fixed');
-                    $(".gnb").addClass('fixed');
-                    $(".gnb").css('position', 'fixed');
-                    $("header").css("display", "none");
-                }
-            }
-        });
-        $(window).on('mousewheel',function(e){
-            if($('header').hasClass('main') === true){
-                var wheel = e.originalEvent.wheelDelta;
-                if(wheel>0){
-                    //스크롤 올릴때
-                    $(".tabbar").addClass('fixed');
-                    $(".gnb").addClass('fixed');
-                    $(".gnb").css("top", "5.5rem");
-                    $(".pnb_mo").addClass('fixed');
-                    $("header").css("display", "block");
-                    $("header").css("position", "fixed");
-                    if($(".gnb").hasClass("fixed")){
-                        $("header").css("display", "none");
-                    }
-                    if($(".pnb_mo").hasClass("fixed")){
-                        $("header").css("display", "none");
-                    }
-                    if($(window).scrollTop() < 10){
-                        $(".gnb").css('position', 'relative');
-                        $(".pnb_mo").css('position', 'relative');
-                        $("header").css("position", "relative");
-                        $("header").css("display", "block");
-                        $(".bnrtype_banner").css("z-index", "999");
-                        $(".bnrtype_banner").css("top", "5.5rem");
-                        $("main.container").css("margin-top", "5.5rem");
-                    } else {
-                        $(".gnb").css('position', 'fixed');
-                        $(".pnb_mo").css('position', 'fixed');
-                    }
-                } else {
-                    //스크롤 내릴때
-                    $(".bnrtype_banner").css("z-index", "0");
-                    $(".gnb").css("top", "0");
-                    $(".tabbar").removeClass('fixed');
-                    $(".pnb_mo").addClass('fixed');
-                    $(".pnb_mo").css('position', 'fixed');
-                    $(".gnb").addClass('fixed');
-                    $(".gnb").css('position', 'fixed');
-                    $("header").css("display", "none");
-                }
-            }
-        });
         $(window).scroll(function (event) {
 
             // header height 가 아닌, 스크롤 감지로 변경할 것
@@ -380,6 +301,71 @@ $( document ).ready( function() {
 
 * * * * * * * * * * * * * * * * * * * * * */
 $(document).ready(function () {
+        //210525_마우스 휠을 스크롤 이벤트로 변경 및 3가지 경우의 수 헤더 정리
+        var lastScrollTop = 0;
+        $(window).scroll(function (event) {
+            //경우1 : only htopMain
+            if($('section').is('#htopMain') === true && $('div').is('#gnb') === false){
+                console.log("vvvv");
+                var commonSt = $(this).scrollTop();
+                //스크롤 올릴때
+                if (commonSt > lastScrollTop) {
+                    $("header").css('display', 'none');
+                    $("header").css('position', 'fixed');
+                    $(".tabbar").removeClass("fixed");
+                //스크롤 내릴때
+                } else {
+                    $("header").css('display', 'block');
+                    $("header").css('position', 'fixed');
+                    $(".tabbar").addClass("fixed");
+                }
+                lastScrollTop = commonSt;
+            //경우2 : htopMian + gnb
+            } else if($('section').is('#htopMain') === true && $('div').is('#gnb') === true) {
+                console.log("bvbb");
+                var commonSt = $(this).scrollTop();
+                //스크롤 올릴때
+                if (commonSt > lastScrollTop) {
+                    $("header").css('display', 'none');
+                    $("header").css('position', 'fixed');
+                    $("#gnb").css('display', 'block');
+                    $("#gnb").css('position', 'fixed');
+                    $("#gnb").css('top', '0');
+                    $(".tabbar").removeClass("fixed");
+                    $("section.content, section.main, .bnrtype_banner").addClass('scr');
+                //스크롤 내릴때
+                } else {
+                    $("header").css('display', 'block');
+                    $("header").css('position', 'fixed');
+                    $("#gnb").css('display', 'block');
+                    $("#gnb").css('position', 'fixed');
+                    $("#gnb").css('top', '55px');
+                    $(".tabbar").addClass("fixed");
+                    $("section.content, section.main, .bnrtype_banner").removeClass('scr');
+                }
+                lastScrollTop = commonSt;
+            //경우3 : only htopSub
+            } else {
+                var commonSt = $(this).scrollTop();
+                $("header").css('display', 'block');
+                $("header").css('position', 'fixed');
+                //스크롤 올릴때
+                if (commonSt > lastScrollTop) {
+                    $(".tabbar").removeClass("fixed");
+                //스크롤 내릴때
+                } else {
+                    $(".tabbar").addClass("fixed");
+                }
+                lastScrollTop = commonSt;
+            }
+        })
+        //210525_초기화 시 top:0 이동
+        window.onload = function() {
+            setTimeout (function () {
+                scrollTo(0,0);
+            },1);
+        }
+
         // GNB
         $(".btn_gnb").on("click", function () {
             $(this).toggleClass("on");
@@ -803,83 +789,6 @@ $(document).ready(function () {
             return false;
         });
 
-        // 210407_사이즈 선택유지 스크립트
-        //$('.option_box .form_field div label').click(function(){
-        //    var a = [];
-        //    a = document.querySelectorAll(".option_box .form_field div label span");
-        //    sizeLine = document.querySelectorAll(".option_box .form_field div label");
-        //    sizeGap = this.innerText;
-
-        //    if(sizeGap === "90"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "90"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "95"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "95"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "100"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "100"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "105"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "105"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "110"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "110"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "115"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "115"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //    if(sizeGap === "free"){
-        //        for(var i=0; i<a.length; i++){
-        //            sizeLine[i].style.border="1px solid #ddd";
-        //            if(a[i].innerText === "free"){
-        //                sizeLine[i].style.border="1px solid #fd4802";
-        //            }
-        //        }
-        //    }
-        //});
-
-        // 210407_텍스트 카운팅
-        //$('.doc_itemqna').keyup(function (e){
-        //    var content = $(this).val();
-        //    $('#itemqna_cnt').html("<em class='c_primary'>"+content.length+"</em>/500자");//글자수 실시간 카운팅
-        
-        //    if (content.length > 200){
-        //        mcxDialog.alert("최대 500자까지 입력 가능합니다."); //210420_수정 : 시스템 alert -> dialog 변경.
-        //        $(this).val(content.substring(0, 500));
-        //        $('#itemqna_cnt').html("<em class='c_primary'>500</em>/500자");
-        //    }
-        //});
-
         // 210407_스크롤감지 헤더 그림자
         $('.pd_delivery_pop').scroll(function(){
             $(".pd_delivery_pop .modal-header").css("box-shadow", "rgb(0 0 0 / 20%) 0px 0px 5px");
@@ -1024,18 +933,15 @@ $( document ).ready( function() {
         //     $("body").css({"overflow":"visible"});
         // })
 
-        $(window).on('mousewheel',function(e){
-            var wheel = e.originalEvent.wheelDelta;
-            //스크롤값을 가져온다.
-            if(wheel>0){
-            //스크롤 올릴때
-            $("header").css('display', 'block');
-            $("header").css('position', 'fixed');
-            } else {
-            //스크롤 내릴때
-            $("header").css('display', 'none');
-            $("header").css('position', 'fixed');
-            }
-        });
-
+        //$(window).on('scroll',function(e){
+        //    var wheel = e.originalEvent.wheelDelta;
+        //    if(wheel>0){
+        //    $("header").css('display', 'block');
+        //    $("header").css('position', 'fixed');
+        //    } else {
+        //    $("header").css('display', 'none');
+        //    $("header").css('position', 'fixed');
+        //    }
+        //});
+          
 });

+ 2 - 2
src/main/webapp/ux/pc/css/layout.css

@@ -1898,8 +1898,8 @@ ul.maintabs li [class^='box_depth'] {display:none; position:absolute; left:100%;
 	.dp_review .cont_body {padding-left:70px; padding-right:70px;}
 	.dp_review .review_list {}
 	.dp_review .review_list::after {content:''; display:block; clear:both;}
-	.dp_review .review_list .reviw_box {float:left; width:calc((100% - 80px)/5); margin-left:20px; background:#fff; }
-	.dp_review .review_list .reviw_box:first-child {margin-left:0}
+	.dp_review .review_list .reviw_box {float:left; width:calc((100% - 80px)/5); margin-right:20px; margin-bottom: 20px; background:#fff; }
+	.dp_review .review_list .reviw_box:nth-child(5n) {margin-right:0}
 	.dp_review .review_list .reviw_box .best_review {}
 	.dp_review .review_list .reviw_box .best_review .pic .thumb {display:block; position:relative; width:100%; padding-top:100%; background-repeat:no-repeat; background-position:50% 50%; background-size:cover;}
 	.dp_review .review_list .reviw_box .best_review .pic .thumb.mov::after {content:''; position:absolute; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.3) url('/images/pc/ico_play.png') no-repeat 50% 50%; z-index:2;}