Revert "XEDITION 업데이트"

This reverts commit 64085a2f63.
This commit is contained in:
bnu 2015-07-06 10:52:35 +09:00
parent aee0763292
commit 9cdcaace7d
16 changed files with 110 additions and 64 deletions

View file

@ -2,8 +2,8 @@
<layout version="0.2">
<title xml:lang="ko">XEDITION</title>
<description xml:lang="ko">XE 1.8 기본 테마</description>
<version>1.9</version>
<date>2015-06-25</date>
<version>1.8</version>
<date>2015-04-08</date>
<author email_address="developer@xpressengine.com" link="https://www.xpressengine.com/">
<name xml:lang="ko">NAVER</name>
</author>

View file

@ -0,0 +1 @@
.swiper-container{margin:0 auto;position:relative;overflow:hidden;direction:ltr;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-wrapper{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0px,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0px,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transition-timing-function:ease;-o-transform:translate(0px,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0px,0,0);-ms-transition-timing-function:ease;transition-property:transform,left,top;transition-duration:0s;transform:translate3d(0px,0,0);transition-timing-function:ease;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{float:left;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}

View file

@ -2,7 +2,6 @@
/* Common */
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea,button,select{margin:0;padding:0;-webkit-text-size-adjust:none}
body, html { width:100%; height:100%; }
body,input,textarea,select,button,table{font-family:'Open Sans','나눔바른고딕',NanumBarunGothic,ng,'맑은 고딕','Malgun Gothic','돋움',Dotum,'애플 SD 산돌고딕 Neo','Apple SD Gothic Neo',AppleGothic,Helvetica,sans-serif;font-size:12px;-webkit-font-smoothing:antialiased}
img,fieldset,button{border:0}
ul,ol{list-style:none}
@ -39,8 +38,8 @@ a:hover,a:active,a:focus{text-decoration:none}
/* Fixed Header */
.container.fixed_header{padding-top:100px}
.fixed_header .header_wrap{position:absolute;top:0;left:0;right:0;width:auto;z-index:1000;padding:0 20px}
.fixed_header .header_wrap.shrink{position:fixed;top:0;width:auto;z-index:1000;border-bottom:1px solid #e1e1e1;background-color:#fff;-webkit-animation:ani-header 0.5s forwards;animation:ani-header 0.5s forwards;left:0;right:0;}
.fixed_header .header_wrap{position:absolute;top:0;left:0;width:100%;z-index:1000}
.fixed_header .header_wrap.shrink{position:fixed;top:0;width:100%;z-index:1000;border-bottom:1px solid #e1e1e1;background-color:#fff;-webkit-animation:ani-header 0.5s forwards;animation:ani-header 0.5s forwards}
.fixed_header .header_wrap.shrink .header>h1{padding:0}
.fixed_header .header_wrap.shrink .gnb>ul>li>a{line-height:60px}
.fixed_header .header_wrap.shrink .header>.side{margin:19px 0 0 22px}
@ -211,23 +210,17 @@ a:hover,a:active,a:focus{text-decoration:none}
.btn_top i{line-height:48px}
.swiper-container { height:600px; font-family: Raleway,'나눔바른고딕',NanumBarunGothic,ng,'돋움',Dotum,AppleGothic,Helvetica,serif; }
.swiper-container > div > div { display: table; height:600px; color:#fff; }
.swiper-container > div > div { display: table; height:600px; color:#fff; background-size:cover; }
.swiper-container > div > div > div { display: table-cell; vertical-align: middle; }
.swiper-container > div > div > div > div { width:1200px; margin:0 auto; }
.swiper-container h1 { font-weight:700; margin:0 0 19px 0; font-size:60px; line-height:70px; text-decoration: none; }
.swiper-container p { font-size: 20px; line-height: 22px; }
.swiper-button { position:absolute; top:50%; display:none; margin-bottom:25px; }
.swiper-container:hover .swiper-button { display:block; }
.swiper-button.left { left:20px; }
.swiper-button.right { right:20px; }
.swiper-button i { width:50px; line-height:50px; text-align:center; font-size:24px; color:#fff; }
.swiper-button button { background:rgba(0,0,0,0.3); cursor:pointer; }
.pagination {
position: absolute;
left: 0;
text-align: center;
bottom:5px;
bottom:15px;
width: 100%;
}
.swiper-pagination-switch {
@ -266,6 +259,9 @@ a:hover,a:active,a:focus{text-decoration:none}
.header > h1 img { max-height:15px; padding:0; margin:0; }
.header.sub_type3 { position:absolute; }
.onepage .header>h1 { padding:0; }
.onepage .header>h1>a { padding-left:14px; }
/* Fixed Header */
/* Fixed Header */
.container.fixed_header{padding-top:0}
@ -318,20 +314,20 @@ a:hover,a:active,a:focus{text-decoration:none}
.search_wrap{display:none;}
.gnb{float:none;position:static;z-index:1;max-width:100%;height:100%;font-size:1em}
.gnb a{text-decoration:none;white-space: normal}
.gnb>ul>li{float:none;position:static;text-align:left}
.gnb>ul:after{display:block;clear:both;content:''}
.gnb>ul>li>a{display:block;position:static;padding:10px 0;line-height:normal;font-size:normal;font-weight:normal;color:#888}
.gnb>ul>li>a:hover,.gnb>ul>li>a:focus,.gnb>ul>li>a:focus,.gnb>ul>li.on>a{color:#444}
.gnb>ul .depth2{display:block;position:static;z-index:2;padding:0;background-color:#fff}
.gnb>ul .depth2>li{position:static}
.gnb>ul .depth2:after{display: none}
.gnb>ul .depth2 a{display:block;position:static;min-width:100%;height:auto;padding:10px 0;line-height:normal;font-size:13px;color:#9d9d9d}
.gnb>ul .depth2 a:hover,.gnb>ul .depth2 a:active,.gnb>ul .depth2 a:focus,.gnb>ul .depth2>li.on>a{color:#cda25a}
.gnb>ul .depth3{display:block;position:static;background-color:#fff;padding:0;}
.gnb>ul .depth2>li.more>a:after{display:none;}
.gnb{float:none;position:static;z-index:1;max-width:100%;height:100%;font-size:1em}
.gnb a{text-decoration:none;white-space: normal}
.gnb>ul>li{float:none;position:static;text-align:left}
.gnb>ul:after{display:block;clear:both;content:''}
.gnb>ul>li>a{display:block;position:static;padding:10px 0;line-height:normal;font-size:normal;font-weight:normal;color:#888}
.gnb>ul>li>a:hover,.gnb>ul>li>a:focus,.gnb>ul>li>a:focus,.gnb>ul>li.on>a{color:#444}
.gnb>ul .depth2{display:block;position:static;z-index:2;padding:0;background-color:#fff}
.gnb>ul .depth2>li{position:static}
.gnb>ul .depth2:after{display: none}
.gnb>ul .depth2 a{display:block;position:static;min-width:100%;height:auto;padding:10px 0;line-height:normal;font-size:13px;color:#9d9d9d}
.gnb>ul .depth2 a:hover,.gnb>ul .depth2 a:active,.gnb>ul .depth2 a:focus,.gnb>ul .depth2>li.on>a{color:#cda25a}
.gnb>ul .depth3{display:block;position:static;background-color:#fff;padding:0;}
.gnb>ul .depth2>li.more>a:after{display:none;}
/* GNB */
.gnb{ display:block; position: static; max-width: auto; }
@ -348,36 +344,29 @@ a:hover,a:active,a:focus{text-decoration:none}
.gnb .menu_btn.opened .menu_bar div.btn2 { top:6px; display:none; }
.gnb .menu_btn.opened .menu_bar div.btn3 { top:6px; width:20px; -webkit-transform:rotate(-45deg); -o-transform:rotate(-45deg); transform:rotate(-45deg); }
.gnb > ul { display:none; padding:0 14px 14px 14px; max-height:240px; overflow-x: scroll; border-bottom:1px solid #eaeaea; background:#fff; -webkit-overflow-scrolling:touch; }
.gnb { background-color:#fff; }
.gnb > ul { display:none; padding:0 14px 14px 14px; max-height:240px; overflow-x: scroll; border-bottom:1px solid #eaeaea; background:#fff; -webkit-overflow-scrolling:touch; z-index:3333; }
.gnb > ul > li { }
.gnb > ul > li > a { color:#555; font-weight:bold; }
.gnb a { font-size:14px; display:block; padding:10px 0; border-top:1px solid #eee; }
.gnb > ul > li:first-child > a { border-top:0; }
.gnb > ul > li > ul > li > a { color:#555; }
.gnb > ul > li > ul > li > ul > li > a { color:#999; }
.onepage .gnb { margin-top:0; }
.onepage .gnb>ul>li>a { line-height:normal; color:#555; }
.body { }
.body .lnb { display:none; }
.body .content { overflow:hidden; }
.visual { box-sizing:border-box; }
.visual.sub{position:relative;padding:15px 14px 30px 14px;background-color:#f6f6f6;line-height:30px}
.visual.sub .sub_title{position:relative;z-index:2;width:;margin:0 auto}
.visual.sub .sub_title h1{position:relative;font-weight:700;font-family:Raleway,'나눔바른고딕',NanumBarunGothic,ng,'맑은 고딕','Malgun Gothic','돋움',Dotum,'애플 SD 산돌고딕 Neo','Apple SD Gothic Neo',AppleGothic,Helvetica,sans-serif;font-size:17px;color:#444}
.visual.sub .sub_title h1:after{position:absolute;top:115%;left:0;width:22px;height:2px;background-color:#444;content:''}
.visual.sub .bg_img{display:none;position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;background-position:50% 50%;background-repeat:no-repeat;background-size:cover}
.visual.sub.sub_type2{padding:70px 0}
.visual.sub.sub_type2 .bg_img{display:block}
.visual.sub.sub_type2 .sub_title h1{color:#fff;font-weight:400;font-size:23px;letter-spacing:1px}
.visual.sub.sub_type2 .sub_title h1:after,
.visual.sub.sub_type3 .sub_title h1:after{background:none}
.visual.sub.sub_type3{padding:100px 0 90px;line-height:40px;text-align:center}
.visual.sub.sub_type3 .bg_img{display:block;background-attachment:fixed;background-size:auto auto}
.visual.sub.sub_type3 .sub_title h1{font-size:39px;font-weight:400;color:#fff;letter-spacing:2px}
.onepage .visual.sub.sub_type3 { margin-top:0; }
.visual.sub.sub_type3 { padding:120px 0 100px 0; }
.visual.sub .sub_title { width:auto; }
.visual.sub .sub_title h1 { font-size:28px; }
.swiper-container { height:270px; font-family: Raleway,'나눔바른고딕',NanumBarunGothic,ng,'돋움',Dotum,AppleGothic,Helvetica,serif; }
.swiper-container > div > div { display: table; height:270px; color:#fff; }
.swiper-container > div > div > div { display: table-cell; vertical-align: middle; }
.swiper-container > div > div { display: table; height:270px; color:#fff; background-size:cover; }
.swiper-container > div > div > div { display: table-cell; vertical-align: middle; background-size:cover; }
.swiper-container > div > div > div > div { padding:0 14px; width:auto; margin:0; }
.swiper-container h1 { font-weight:600; margin:0 0 10px 0; font-size:30px; line-height:40px; text-decoration: none; }
.swiper-container p { font-size: 15px; line-height: 18px; }

1
layouts/xedition/css/layout.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
layouts/xedition/css/welcome.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -55,7 +55,7 @@
@media all and (max-width:479px) {
.XEicon .fixedwidth {width:auto;}
.XEicon .main_title h1 { margin-bottom: 28px; font-size: 21px; }
.XEicon .main_title h1 { margin-bottom: 28px; font-size: 21px; padding:0 14px; }
.XEicon .main_title p { padding:0 14px; text-align:left; }
.XEicon .tit h1 {font-size:20px; text-align:center; letter-spacing:2px;}

1
layouts/xedition/css/xeicon.min.css vendored Normal file
View file

@ -0,0 +1 @@
@charset "utf-8";.body.sub{width:100%!important;margin:0}.body.sub.full_width .content{width:100%!important;padding-bottom:0!important}.XEicon{padding-top:60px}.XEicon .fixedwidth{width:1200px;margin:0 auto}.XEicon .tit{position:relative}.XEicon .tit h1{font-size:29px;text-align:center;letter-spacing:2px}.XEicon .tit h1:after{position:absolute;top:115%;left:49%;width:20px;height:3px;background-color:#cda25a;content:""}.XEicon p a{color:#444}.XEicon p a:active,.XEicon p a:focus,.XEicon p a:hover{color:#cda25a;border-bottom:1px solid #cda25a}.XEicon .main_title h1{margin-bottom:47px;font-size:34px;font-weight:600;color:#cda25a;text-align:center;font-family:Raleway,'나눔바른고딕',NanumBarunGothic,ng,'맑은 고딕','Malgun Gothic','돋움',Dotum,'애플 SD 산돌고딕 Neo','Apple SD Gothic Neo',AppleGothic,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:1px}.XEicon .main_title p{font-size:15px;line-height:28px;color:#444;text-align:center}.XEicon .feature{height:518px;padding-top:120px}.XEicon .feature ul{padding-top:80px}.XEicon .feature li{position:relative;float:left;width:314px;min-height:140px;padding:0 16px 0 70px;margin:0 0 30px}.XEicon .feature h2{padding:7px 24px 13px 0;font-size:17px;font-weight:600;line-height:23px;color:#333}.XEicon .feature p{padding:0 24px 0 0;font-size:14px;line-height:26px;color:#888}.XEicon .feature .ico{position:absolute;top:0;left:0;width:48px;height:48px;font-size:22px;text-align:center;line-height:50px;color:#555}.XEicon .get_started{height:550px;padding-top:80px;background:#f6f6f6;box-sizing:border-box}.XEicon .get_started .cont{font-size:15px;margin-top:75px;color:#888}.XEicon .get_started ul{margin-top:34px}.XEicon .get_started li{position:relative;float:left;width:286px;height:212px;margin-right:15px;border:1px solid #e8e8e8;background:#fff;text-align:center}.XEicon .get_started li:last-child{margin-right:0}.XEicon .get_started li h2{padding:33px 0 19px;font-size:17px;font-weight:600}.XEicon .get_started li p{padding:0 37px;font-size:14px;line-height:26px;color:#888}.XEicon .get_started li>a{position:absolute;display:block;bottom:0;width:100%;height:50px;background:#888;border-top:1px solid #e1e1e1;line-height:50px;font-size:14px;font-weight:600;text-transform:uppercase;color:#fff;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.XEicon .get_started li>a:active,.XEicon .get_started li>a:focus,.XEicon .get_started li>a:hover{background-color:#cda25a;color:#fff}.XEicon .get_started li>a .xeicon{display:none;margin-right:6px;font-size:140%;vertical-align:middle}.XEicon .get_started li>a:hover .xeicon{display:inline-block;margin-top:-4px}.XEicon .contribution{height:442px;padding-top:93px;box-sizing:border-box;text-align:center}.XEicon .contribution .cont{font-size:15px;line-height:26px;text-align:center;margin-top:58px;color:#888}.XEicon .contribution .btn_github{display:inline-block;margin:50px 0;padding:0 40px;height:52px;border:2px solid #cda25a;background-color:#fff;font-size:15px;line-height:52px;font-weight:600;letter-spacing:1px;color:#cda25a;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.XEicon .contribution .btn_github:active .XEicon .contribution .btn_github:focus,.XEicon .contribution .btn_github:hover{background-color:#cda25a;color:#fff}@media all and (max-width:479px){.XEicon .fixedwidth{width:auto}.XEicon .main_title h1{margin-bottom:28px;font-size:21px;padding:0 14px}.XEicon .main_title p{padding:0 14px;text-align:left}.XEicon .tit h1{font-size:20px;text-align:center;letter-spacing:2px}.XEicon .tit h1:after{left:50%;margin-left:-10px}.XEicon .feature{height:auto;padding-top:90px}.XEicon .feature ul{padding:50px 14px 0}.XEicon .feature li{clear:both;width:auto;padding:0 0 0 70px}.XEicon .get_started{height:auto;padding:80px 14px 20px}.XEicon .get_started li{float:none;width:auto;margin-right:0;margin-bottom:15px}.XEicon .contribution .cont{padding:0 14px;text-align:left}}

View file

@ -1,6 +1,6 @@
<!-- WelcomeXE -->
<div class="welcomeXE">
<section class="xeicon bg-holder" data-width="1240" data-height="500">
<section class="xeicon bg-holder" data-width="1200" data-height="500">
<h1>Beautiful iconpack<br>XEIcon</h1>
<div class="button-area">
<a class="btn_item" target="_blank" href="http://xpressengine.github.io/XEIcon">HOMEPAGE</a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

View file

@ -0,0 +1,8 @@
// SmoothScroll for websites v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Michael Herf (Pulse Algorithm)
!function(){function e(){var e=!1;e&&c("keydown",r),v.keyboardSupport&&!e&&u("keydown",r)}function t(){if(document.body){var t=document.body,o=document.documentElement,n=window.innerHeight,r=t.scrollHeight;if(S=document.compatMode.indexOf("CSS")>=0?o:t,w=t,e(),x=!0,top!=self)y=!0;else if(r>n&&(t.offsetHeight<=n||o.offsetHeight<=n)){var a=!1,i=function(){a||o.scrollHeight==document.height||(a=!0,setTimeout(function(){o.style.height=document.height+"px",a=!1},500))};if(o.style.height="auto",setTimeout(i,10),S.offsetHeight<=n){var l=document.createElement("div");l.style.clear="both",t.appendChild(l)}}v.fixedBackground||b||(t.style.backgroundAttachment="scroll",o.style.backgroundAttachment="scroll")}}function o(e,t,o,n){if(n||(n=1e3),d(t,o),1!=v.accelerationMax){var r=+new Date,a=r-C;if(a<v.accelerationDelta){var i=(1+30/a)/2;i>1&&(i=Math.min(i,v.accelerationMax),t*=i,o*=i)}C=+new Date}if(M.push({x:t,y:o,lastX:0>t?.99:-.99,lastY:0>o?.99:-.99,start:+new Date}),!T){var l=e===document.body,u=function(){for(var r=+new Date,a=0,i=0,c=0;c<M.length;c++){var s=M[c],d=r-s.start,f=d>=v.animationTime,h=f?1:d/v.animationTime;v.pulseAlgorithm&&(h=p(h));var m=s.x*h-s.lastX>>0,w=s.y*h-s.lastY>>0;a+=m,i+=w,s.lastX+=m,s.lastY+=w,f&&(M.splice(c,1),c--)}l?window.scrollBy(a,i):(a&&(e.scrollLeft+=a),i&&(e.scrollTop+=i)),t||o||(M=[]),M.length?E(u,e,n/v.frameRate+1):T=!1};E(u,e,0),T=!0}}function n(e){x||t();var n=e.target,r=l(n);if(!r||e.defaultPrevented||s(w,"embed")||s(n,"embed")&&/\.pdf/i.test(n.src))return!0;var a=e.wheelDeltaX||0,i=e.wheelDeltaY||0;return a||i||(i=e.wheelDelta||0),!v.touchpadSupport&&f(i)?!0:(Math.abs(a)>1.2&&(a*=v.stepSize/120),Math.abs(i)>1.2&&(i*=v.stepSize/120),o(r,-a,-i),void e.preventDefault())}function r(e){var t=e.target,n=e.ctrlKey||e.altKey||e.metaKey||e.shiftKey&&e.keyCode!==H.spacebar;if(/input|textarea|select|embed/i.test(t.nodeName)||t.isContentEditable||e.defaultPrevented||n)return!0;if(s(t,"button")&&e.keyCode===H.spacebar)return!0;var r,a=0,i=0,u=l(w),c=u.clientHeight;switch(u==document.body&&(c=window.innerHeight),e.keyCode){case H.up:i=-v.arrowScroll;break;case H.down:i=v.arrowScroll;break;case H.spacebar:r=e.shiftKey?1:-1,i=-r*c*.9;break;case H.pageup:i=.9*-c;break;case H.pagedown:i=.9*c;break;case H.home:i=-u.scrollTop;break;case H.end:var d=u.scrollHeight-u.scrollTop-c;i=d>0?d+10:0;break;case H.left:a=-v.arrowScroll;break;case H.right:a=v.arrowScroll;break;default:return!0}o(u,a,i),e.preventDefault()}function a(e){w=e.target}function i(e,t){for(var o=e.length;o--;)z[N(e[o])]=t;return t}function l(e){var t=[],o=S.scrollHeight;do{var n=z[N(e)];if(n)return i(t,n);if(t.push(e),o===e.scrollHeight){if(!y||S.clientHeight+10<o)return i(t,document.body)}else if(e.clientHeight+10<e.scrollHeight&&(overflow=getComputedStyle(e,"").getPropertyValue("overflow-y"),"scroll"===overflow||"auto"===overflow))return i(t,e)}while(e=e.parentNode)}function u(e,t,o){window.addEventListener(e,t,o||!1)}function c(e,t,o){window.removeEventListener(e,t,o||!1)}function s(e,t){return(e.nodeName||"").toLowerCase()===t.toLowerCase()}function d(e,t){e=e>0?1:-1,t=t>0?1:-1,(k.x!==e||k.y!==t)&&(k.x=e,k.y=t,M=[],C=0)}function f(e){if(e){e=Math.abs(e),D.push(e),D.shift(),clearTimeout(A);var t=D[0]==D[1]&&D[1]==D[2],o=h(D[0],120)&&h(D[1],120)&&h(D[2],120);return!(t||o)}}function h(e,t){return Math.floor(e/t)==e/t}function m(e){var t,o,n;return e*=v.pulseScale,1>e?t=e-(1-Math.exp(-e)):(o=Math.exp(-1),e-=1,n=1-Math.exp(-e),t=o+n*(1-o)),t*v.pulseNormalize}function p(e){return e>=1?1:0>=e?0:(1==v.pulseNormalize&&(v.pulseNormalize/=m(1)),m(e))}var w,g={frameRate:150,animationTime:800,stepSize:120,pulseAlgorithm:!0,pulseScale:8,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0,excluded:""},v=g,b=!1,y=!1,k={x:0,y:0},x=!1,S=document.documentElement,D=[120,120,120],H={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},v=g,M=[],T=!1,C=+new Date,z={};setInterval(function(){z={}},1e4);var A,N=function(){var e=0;return function(t){return t.uniqueID||(t.uniqueID=e++)}}(),E=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e,t,o){window.setTimeout(e,o||1e3/60)}}(),K=/chrome/i.test(window.navigator.userAgent),L="onmousewheel"in document;L&&K&&(u("mousedown",a),u("mousewheel",n),u("load",t))}();

1
layouts/xedition/js/gnb.mobile.min.js vendored Normal file
View file

@ -0,0 +1 @@
!function(a){a(function(){a(".gnb");a("#mobile_menu_btn").on("click",function(){var b=a(this);b.hasClass("opened")?a("#gnb").find(">ul").slideUp(200):a("#gnb").find(">ul:not(:animated)").slideDown(200),b.toggleClass("opened")})})}(jQuery);

1
layouts/xedition/js/gnb.pc.min.js vendored Normal file
View file

@ -0,0 +1 @@
!function(a){a(function(){var b=(a(".fixed_header .header_wrap"),a(".gnb"));a(".hover"),a(".click > a"),a(".search_area");b.find(">ul>li>a").mouseover(function(){b.find(">ul>li>ul:visible").hide().parent("li").removeClass("on"),a(this).next("ul:hidden").stop().fadeIn(200).parent("li").addClass("on")}).focus(function(){a(this).mouseover()}).end().mouseleave(function(){b.find(">ul>li>ul").hide().parent().removeClass("on")}),b.find(">ul>li>ul>li>a").mouseover(function(){b.find(">ul>li>ul>li>ul:visible").hide().parent("li").removeClass("on"),a(this).next("ul:hidden").stop().fadeIn(200).parent("li").addClass("on")}).focus(function(){a(this).mouseover()}).end().mouseleave(function(){b.find(">ul>li>ul>li>ul").hide().parent().removeClass("on")})})}(jQuery);

View file

@ -102,10 +102,60 @@
})
})(jQuery);
(function($) {
"use strict";
var $window = $(window);
var windowHeight = $window.height();
$window.resize(function() {
windowHeight = $window.height()
});
$.fn.parallax = function(xpos, speedFactor, outerHeight) {
var $this = $(this);
var getHeight;
var firstTop;
$this.each(function() {
firstTop = $this.offset().top;
});
if (outerHeight) {
getHeight = function(object) {
return object.outerHeight(true)
}
} else {
getHeight = function(object) {
return object.height()
}
}
if (arguments.length < 1 || xpos === null)
xpos = "50%";
if (arguments.length < 2 || speedFactor === null)
speedFactor = 0.1;
if (arguments.length < 3 || outerHeight === null)
outerHeight = true;
function update() {
var pos = $window.scrollTop();
$this.each(function() {
var $element = $(this);
var top = $element.offset().top;
var height = getHeight($element);
if (top + height < pos || top > pos + windowHeight) {
return
}
$this.css('backgroundPosition', xpos + " " + Math.round((firstTop - pos) * speedFactor) + "px")
})
}
$window.bind('scroll', update).resize(update);
update()
}
})(jQuery);
(function($){
$(function(){
$('.bg-holder').parallaxScroll({
friction: 0.2
friction: 0.5
});
});
})(jQuery);

1
layouts/xedition/js/layout.min.js vendored Normal file
View file

@ -0,0 +1 @@
!function(a){"use strict";a(function(){var b=300,c=a(".fixed_header .header_wrap"),d=(a(".gnb"),a(".hover"),a(".click > a")),e=a(".search_area");if(c.length){var f=(c.height(),!1),g=c.find(".header h1 img"),h=g.data("logo"),i=g.attr("src");a(window).scroll(function(){var d=a(this).scrollTop();d>=b?f||(c.addClass("shrink"),h&&g.attr("src",h),f=!0):f&&(c.removeClass("shrink"),h&&g.attr("src",i),f=!1)}),a(window).triggerHandler("scroll")}d.click(function(){return e.is(":hidden")&&(e.fadeIn().find("input").focus(),a(".magazine").length>0?(a(".custom_area").css("opacity",0),a(".side").css("opacity",0)):a(".header").css("opacity",0)),!1}),a(".btn_close").click(function(){var b=a(this);return b.parent().fadeOut().find("input").val(""),a(".magazine").length>0?(a(".custom_area").css("opacity",1),a(".side").css("opacity",1)):a(".header").css("opacity",1),d.focus(),!1}),a.isFunction(a.fn.camera)&&a(".camera_wrap").length&&a(".camera_wrap").camera({height:"600px",pagination:!0,thumbnails:!1,playPause:!1,loader:"none",fx:"simpleFade",time:3e3});var j=function(){var b=a(".btn_top"),c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;a(window).scroll(function(){a(this).scrollTop()>150&&c>1e3?b.fadeIn(100):b.fadeOut(100)}),b.click(function(){return a("html, body").animate({scrollTop:0},400),!1})};j(),a(".sub_type3 .bg_img").parallax("50%",.4)})}(jQuery),function(a){"use strict";var b=a(window),c=b.height();b.resize(function(){c=b.height()}),a.fn.parallax=function(d,e,f){function g(){var f=b.scrollTop();j.each(function(){var b=a(this),g=b.offset().top,k=h(b);f>g+k||g>f+c||j.css("backgroundPosition",d+" "+Math.round((i-f)*e)+"px")})}var h,i,j=a(this);j.each(function(){i=j.offset().top}),h=f?function(a){return a.outerHeight(!0)}:function(a){return a.height()},(arguments.length<1||null===d)&&(d="50%"),(arguments.length<2||null===e)&&(e=.1),(arguments.length<3||null===f)&&(f=!0),b.bind("scroll",g).resize(g),g()}}(jQuery),function(a){a(function(){a(".bg-holder").parallaxScroll({friction:.5})})}(jQuery);

1
layouts/xedition/js/welcome.min.js vendored Normal file
View file

@ -0,0 +1 @@
!function(a){"user strict";a(function(){a(".fe_box").on("mouseenter mouseleave",function(b){$this=a(this),"mouseenter"==b.type?$this.addClass("on"):$this.removeClass("on")})})}(jQuery),function(a){"user strict";var b=a(window),c=b.height();b.resize(function(){c=b.height()}),a.fn.parallax=function(d,e,f){function g(){var f=b.scrollTop();j.each(function(){var b=a(this),g=b.offset().top,k=h(b);f>g+k||g>f+c||j.css("backgroundPosition",d+" "+Math.round((i-f)*e)+"px")})}var h,i,j=a(this);j.each(function(){i=j.hasClass("xeicon")?j.offset().top+600:j.offset().top}),h=f?function(a){return a.outerHeight(!0)}:function(a){return a.height()},(arguments.length<1||null===d)&&(d="50%"),(arguments.length<2||null===e)&&(e=.1),(arguments.length<3||null===f)&&(f=!0),b.bind("scroll",g).resize(g),g()}}(jQuery);

View file

@ -158,6 +158,7 @@
<load target="./js/gnb.pc.js" cond="!Mobile::isMobileCheckByAgent()" />
<load target="./js/gnb.mobile.js" cond="Mobile::isMobileCheckByAgent()" />
<load cond="$layout_info->use_demo ==='Y' && !Mobile::isMobileCheckByAgent()" target="./js/welcome.js" />
<load target="./js/SmoothScroll.min.js" />
<load target="./js/jquery.parallax-scroll.min.js" />
@ -294,11 +295,11 @@
<!-- END:HEADER -->
<!-- VISUAL-SUBHEADER -->
{@ $_subheader_img = 'sub_banner_01.jpg'}
<block cond="$layout_info->menu_type_sub === 'onepage_parallax'">{@ $_subheader_img = 'sub_banner_02.jpg'}</block>
<block cond="$mid === 'xeicon'">{@ $_subheader_img = 'sub_banner_xeicon.jpg'}</block>
<div cond="$layout_info->layout_type === 'sub'" class="visual {$_visual_class} bg-holder" style="background-image:url('{$layout_info->path}img/{$_subheader_img}'); width:100%; height:100%;" data-width="1240" data-height="500">
<span class="bg_img"></span>
<div cond="$layout_info->layout_type === 'sub'" class="visual {$_visual_class}">
{@ $_subheader_img = 'sub_banner_01.jpg'}
<block cond="$layout_info->menu_type_sub === 'onepage_parallax'">{@ $_subheader_img = 'sub_banner_02.jpg'}</block>
<block cond="$mid === 'xeicon'">{@ $_subheader_img = 'sub_banner_xeicon.jpg'}</block>
<span class="bg_img" style="background-image:url('{$layout_info->path}img/{$_subheader_img}')"></span>
<span class="mask"></span>
<div class="sub_title">
<h1>{$sub_header_title}</h1>
@ -351,8 +352,6 @@
<!-- END:슬라이드 -->
<!-- Add Pagination -->
<div class="pagination"></div>
<div class="swiper-button left"><button type="button" class="swiper-button-prev"><i class="xi-angle-left"></i></button></div>
<div class="swiper-button right"><button type="button" class="swiper-button-next"><i class="xi-angle-right"></i></button></div>
</div>
<!-- /VISUAL -->
@ -529,19 +528,11 @@
</script>
</section>
<!-- /Login widget -->
<script>
<script cond="$_enable_slide">
var swiper = new Swiper('.swiper-container', {
autoplay: 6000,
autoplay: 3000,
loop: true,
pagination: '.pagination',
paginationClickable: true
});
jQuery('.swiper-button-next').on('click', function(e){
e.preventDefault();
swiper.swipeNext();
});
jQuery('.swiper-button-prev').on('click', function(e){
e.preventDefault();
swiper.swipePrev();
});
</script>