first commit
This commit is contained in:
commit
09a14bf0a3
1088 files changed
+145132
No files matched your search
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
|
||||
Version: 2.1.0
|
||||
Author: Sean Ngu
|
||||
Website: http://www.seantheme.com/color-admin-v2.1/frontend/one-page-parallax/
|
||||
*/@media (min-width:1920px){.content.has-bg .content-bg img{width:100%}}@media (max-width:1200px){.content.has-bg .content-bg img{max-height:100%;max-width:inherit}.content .content-desc{margin-bottom:30px}}@media (min-width:768px) and (max-width:992px){.header.navbar .navbar-nav>li>a{padding:25px 10px}.header.navbar.navbar-small .navbar-nav>li>a{padding-left:10px;padding-right:10px}.home-content h1{font-size:48px}.home-content h3{font-size:24px}.home-content h1,.home-content h2,.home-content h3,.home-content h4{margin:0 0 15px}.home-content p{margin-bottom:30px}}@media (max-width:992px){.about-author .author{padding-left:80px}.about-author .author .image{width:80px}}@media (max-width:767px){.header.navbar .navbar-nav>li>a{padding:10px 15px}.header.navbar-small.navbar-transparent .navbar-collapse,.navbar-transparent .navbar-collapse{background:#000;background:rgba(0,0,0,.9)}.header.navbar-small.navbar-transparent .navbar-collapse .navbar-nav>li>a{color:#8F8E8E}.header.navbar.navbar-small .navbar-nav>li>a{padding:10px 15px}.navbar-nav>li.dropdown:focus>.dropdown-menu,.navbar-nav>li.dropdown:hover>.dropdown-menu{display:none}.navbar-nav>li.dropdown.open:hover>.dropdown-menu,.navbar-nav>li.dropdown.open>.dropdown-menu{display:block;-webkit-animation:none;animation:none}.navbar-nav>li.dropdown>.dropdown-menu{border-top:1px solid #444;border-bottom:1px solid #444}.navbar-default .navbar-nav>li.dropdown>.dropdown-menu,.navbar-default .navbar-nav>li.dropdown>.dropdown-menu>li+li{border-color:#e7e7e7}.home-content h1{font-size:36px}.home-content h3{font-size:18px}.home-content h1,.home-content h2,.home-content h3,.home-content h4{margin:0 0 15px}.home-content p{margin-bottom:30px}.milestone-col+.milestone-col{border:none;border-top:1px solid rgba(255,255,255,.2);margin-top:15px;padding-top:15px!important}.team{margin-bottom:30px}.action-box .btn{margin-top:15px}.pricing-table.col-3>li,.pricing-table.col-4>li{width:100%}.pricing-table .highlight{margin-top:0!important;padding:10px!important}}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
|
||||
Version: 2.1.0
|
||||
Author: Sean Ngu
|
||||
Website: http://www.seantheme.com/color-admin-v2.1/frontend/one-page-parallax/
|
||||
*/body{background:#fff;font-family:'Open Sans',"Helvetica Neue",Helvetica,Arial,sans-serif;color:#707478;font-size:12px}.ie8 body{font-family:Arial,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:500;color:#242a30;margin-top:0;margin-bottom:15px;line-height:1.25}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-size:60%;font-weight:300;color:#7c7f83}a{-webkit-transition:all .2s linear;-moz-transition:all .2s linear;transition:all .2s linear}a:focus{outline:0}label{color:#242a30}p{font-size:12px;line-height:20px}.contentAnimated{-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.finishAnimated{-webkit-animation:none!important;animation:none!important}body.page-navbar-fixed-top{padding-top:70px}body.page-navbar-fixed-top-sm{padding-top:51px}.header.navbar{border-bottom:none;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;transition:all .2s linear}.header.navbar .navbar-nav>li>a{font-size:16px;line-height:20px;color:#2d353c;font-weight:600;padding:25px 15px}.header.navbar .navbar-nav>li.active>a,.header.navbar .navbar-nav>li>a:focus,.header.navbar .navbar-nav>li>a:hover{background:0 0}.header .navbar-brand{padding:25px 15px}.brand-logo{float:left;border:15px solid;border-color:#4DCACA #31A3A3 #1D8888;margin-right:10px;margin-top:-5px;border-radius:4px}.brand-logo+.brand-text{margin-left:42px;color:#2d353c;font-size:26px;line-height:20px;display:block}.navbar-toggle{margin-top:18px;margin-bottom:18px;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;transition:all .2s linear}.header.navbar.navbar-default{background:#fff}.header.navbar.navbar-transparent{border-bottom:1px solid rgba(255,255,255,.2)}.header.navbar.navbar-inverse .navbar-nav>li>a,.header.navbar.navbar-transparent .navbar-nav>li>a{color:#8F8E8E}.header.navbar.navbar-inverse .brand-text,.header.navbar.navbar-transparent .brand-text{color:#fff}.navbar-inverse .navbar-toggle,.navbar-transparent .navbar-toggle{border-color:#8F8E8E}.navbar-inverse .navbar-toggle .icon-bar,.navbar-transparent .navbar-toggle .icon-bar{background:#8f8e8e}.header.navbar.navbar-small{border-bottom:none;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.header.navbar.navbar-small .navbar-brand,.header.navbar.navbar-small .navbar-nav>li>a{padding:15px}.header.navbar.navbar-transparent.navbar-small{background:#fff}.header.navbar.navbar-transparent.navbar-small .brand-logo+.brand-text,.header.navbar.navbar-transparent.navbar-small .navbar-nav>li>a{color:#2d353c}.navbar-small .navbar-toggle{border-color:#ddd;margin-top:8px;margin-bottom:8px}.navbar-small .navbar-toggle .icon-bar{background:#888}.navbar-nav>li.dropdown:focus>.dropdown-menu,.navbar-nav>li.dropdown:hover>.dropdown-menu{display:block}.navbar-nav .dropdown-menu{background:#333;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;font-size:12px;padding:0;margin-top:0;border:none}.navbar-nav .dropdown-menu>li>a{color:#999;padding:10px 15px}.navbar-nav .dropdown-menu>li.active>a,.navbar-nav .dropdown-menu>li>a:focus,.navbar-nav .dropdown-menu>li>a:hover{background:#222;color:#00acac}.navbar-nav .dropdown-menu>li+li{border-top:1px solid #444}.content{padding:60px 15px 75px}.content .content-title{text-align:center;position:relative;margin-bottom:30px;padding-bottom:15px;margin-top:0}.content .content-title:after{content:'';display:block;position:absolute;width:40px;background:#242a30;height:2px;bottom:0;left:50%;margin-left:-20px}.content .content-desc{text-align:center;margin-bottom:60px;color:#242a30}.content.has-bg{padding-bottom:60px;overflow:hidden;position:relative}.content.has-bg .content-bg{position:absolute;top:0;left:0;bottom:0;right:0}.content.has-bg .content-bg img{max-width:100%}.content.has-bg .content-title:after{background:#fff}.content.has-bg .content-bg:before{content:'';background:url(../img/content-bg-cover.png);position:absolute;left:0;right:0;top:0;bottom:0}.content.has-bg .container{position:relative}.content.has-bg .container .content-title{color:#fff}.content.has-bg .container .content-desc{color:rgba(255,255,255,.6)}.content.has-bg h1,.content.has-bg h2,.content.has-bg h3,.content.has-bg h4,.content.has-bg h5,.content.has-bg h6{color:#fff}.home{padding:0!important;color:#fff}.home-content{z-index:1020;position:absolute;top:50%;left:0;right:0;color:#8F8E8E;margin-top:-120px;padding:0 15px;text-align:center}.home-content h1,.home-content h2,.home-content h3,.home-content h4{color:#fff;margin:0 0 30px;font-weight:300}.home-content h1{font-size:64px;font-weight:600}.home-content h3{font-size:32px}.home-content p{margin-bottom:60px}.home-content a:focus,.home-content a:hover{color:#fff}.home-content .btn+.btn{margin-left:15px}.about-author{position:relative}.about-author .quote{position:relative;padding:30px 60px;border-radius:12px;margin-bottom:15px}.about-author .quote:before{content:'';position:absolute;bottom:-20px;left:95px;border:10px solid transparent;border-tLine truncated
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4
|
||||
Version: 4.0.0
|
||||
Author: Sean Ngu
|
||||
Website: https://www.seantheme.com/color-admin-v4.0/frontend/one-page-parallax/
|
||||
*/
|
||||
|
||||
.btn.btn-theme {
|
||||
background: #348fe2;
|
||||
border-color: #348fe2;
|
||||
color: #fff;
|
||||
}
|
||||
.btn.btn-theme:hover,
|
||||
.btn.btn-theme:focus {
|
||||
background: #2a72b5;
|
||||
border-color: #2a72b5;
|
||||
}
|
||||
.header.navbar .navbar-nav > li.active > a,
|
||||
.header.navbar .navbar-nav > li > a:hover,
|
||||
.header.navbar .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-default .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:focus,
|
||||
.text-theme,
|
||||
.navbar-nav .dropdown-menu > li.active > a,
|
||||
.navbar-nav .dropdown-menu > li > a:hover,
|
||||
.navbar-nav .dropdown-menu > li > a:focus,
|
||||
.pricing-table .price .price-number,
|
||||
a {
|
||||
color: #348fe2;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #2a72b5;
|
||||
}
|
||||
.pricing-table .highlight h3,
|
||||
.pace-progress {
|
||||
background: #2a72b5;
|
||||
}
|
||||
.pricing-table .highlight .price {
|
||||
background: #348fe2;
|
||||
}
|
||||
.pace .pace-activity {
|
||||
border-top-color: #348fe2;
|
||||
border-left-color: #348fe2;
|
||||
}
|
||||
.brand-logo,
|
||||
.footer .footer-brand-logo {
|
||||
border-color: #2F83CF #2a72b5 #1f5688;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
|
||||
Version: 2.1.0
|
||||
Author: Sean Ngu
|
||||
Website: http://www.seantheme.com/color-admin-v2.1/frontend/one-page-parallax/
|
||||
*/
|
||||
|
||||
.btn.btn-theme {
|
||||
background: #00acac;
|
||||
border-color: #00acac;
|
||||
color: #fff;
|
||||
}
|
||||
.btn.btn-theme:hover,
|
||||
.btn.btn-theme:focus {
|
||||
background: #008a8a;
|
||||
border-color: #008a8a;
|
||||
}
|
||||
.header.navbar .navbar-nav > li.active > a,
|
||||
.header.navbar .navbar-nav > li > a:hover,
|
||||
.header.navbar .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-default .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:focus,
|
||||
.text-theme,
|
||||
.navbar-nav .dropdown-menu > li.active > a,
|
||||
.navbar-nav .dropdown-menu > li > a:hover,
|
||||
.navbar-nav .dropdown-menu > li > a:focus,
|
||||
.pricing-table .price .price-number,
|
||||
a {
|
||||
color: #00acac;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #008a8a;
|
||||
}
|
||||
.pricing-table .highlight h3,
|
||||
.pace-progress {
|
||||
background: #008a8a;
|
||||
}
|
||||
.pricing-table .highlight .price {
|
||||
background: #00acac;
|
||||
}
|
||||
.pace .pace-activity {
|
||||
border-top-color: #00acac;
|
||||
border-left-color: #00acac;
|
||||
}
|
||||
.brand-logo,
|
||||
.footer .footer-brand-logo {
|
||||
border-color: #4DCACA #31A3A3 #1D8888;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4
|
||||
Version: 4.0.0
|
||||
Author: Sean Ngu
|
||||
Website: https://www.seantheme.com/color-admin-v4.0/frontend/one-page-parallax/
|
||||
*/
|
||||
|
||||
.btn.btn-theme {
|
||||
background: #f59c1a;
|
||||
border-color: #f59c1a;
|
||||
color: #fff;
|
||||
}
|
||||
.btn.btn-theme:hover,
|
||||
.btn.btn-theme:focus {
|
||||
background: #c47d15;
|
||||
border-color: #c47d15;
|
||||
}
|
||||
.header.navbar .navbar-nav > li.active > a,
|
||||
.header.navbar .navbar-nav > li > a:hover,
|
||||
.header.navbar .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-default .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:focus,
|
||||
.text-theme,
|
||||
.navbar-nav .dropdown-menu > li.active > a,
|
||||
.navbar-nav .dropdown-menu > li > a:hover,
|
||||
.navbar-nav .dropdown-menu > li > a:focus,
|
||||
.pricing-table .price .price-number,
|
||||
a {
|
||||
color: #f59c1a;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #c47d15;
|
||||
}
|
||||
.pricing-table .highlight h3,
|
||||
.pace-progress {
|
||||
background: #c47d15;
|
||||
}
|
||||
.pricing-table .highlight .price {
|
||||
background: #f59c1a;
|
||||
}
|
||||
.pace .pace-activity {
|
||||
border-top-color: #f59c1a;
|
||||
border-left-color: #f59c1a;
|
||||
}
|
||||
.brand-logo,
|
||||
.footer .footer-brand-logo {
|
||||
border-color: #DF8F19 #c47d15 #935e10;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4
|
||||
Version: 4.0.0
|
||||
Author: Sean Ngu
|
||||
Website: https://www.seantheme.com/color-admin-v4.0/frontend/one-page-parallax/
|
||||
*/
|
||||
|
||||
.btn.btn-theme {
|
||||
background: #727cb6;
|
||||
border-color: #727cb6;
|
||||
color: #fff;
|
||||
}
|
||||
.btn.btn-theme:hover,
|
||||
.btn.btn-theme:focus {
|
||||
background: #5b6392;
|
||||
border-color: #5b6392;
|
||||
}
|
||||
.header.navbar .navbar-nav > li.active > a,
|
||||
.header.navbar .navbar-nav > li > a:hover,
|
||||
.header.navbar .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-default .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:focus,
|
||||
.text-theme,
|
||||
.navbar-nav .dropdown-menu > li.active > a,
|
||||
.navbar-nav .dropdown-menu > li > a:hover,
|
||||
.navbar-nav .dropdown-menu > li > a:focus,
|
||||
.pricing-table .price .price-number,
|
||||
a {
|
||||
color: #727cb6;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #5b6392;
|
||||
}
|
||||
.pricing-table .highlight h3,
|
||||
.pace-progress {
|
||||
background: #5b6392;
|
||||
}
|
||||
.pricing-table .highlight .price {
|
||||
background: #727cb6;
|
||||
}
|
||||
.pace .pace-activity {
|
||||
border-top-color: #727cb6;
|
||||
border-left-color: #727cb6;
|
||||
}
|
||||
.brand-logo,
|
||||
.footer .footer-brand-logo {
|
||||
border-color: #6670AC #5b6392 #444a6d;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4
|
||||
Version: 4.0.0
|
||||
Author: Sean Ngu
|
||||
Website: https://www.seantheme.com/color-admin-v4.0/frontend/one-page-parallax/
|
||||
*/
|
||||
|
||||
.btn.btn-theme {
|
||||
background: #ff5b57;
|
||||
border-color: #ff5b57;
|
||||
color: #fff;
|
||||
}
|
||||
.btn.btn-theme:hover,
|
||||
.btn.btn-theme:focus {
|
||||
background: #cc4946;
|
||||
border-color: #cc4946;
|
||||
}
|
||||
.header.navbar .navbar-nav > li.active > a,
|
||||
.header.navbar .navbar-nav > li > a:hover,
|
||||
.header.navbar .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-default .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-default .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-inverse .navbar-nav > li > a:focus,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li.active > a,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:hover,
|
||||
.header.navbar.navbar-transparent.navbar-small .navbar-nav > li > a:focus,
|
||||
.text-theme,
|
||||
.navbar-nav .dropdown-menu > li.active > a,
|
||||
.navbar-nav .dropdown-menu > li > a:hover,
|
||||
.navbar-nav .dropdown-menu > li > a:focus,
|
||||
.pricing-table .price .price-number,
|
||||
a {
|
||||
color: #ff5b57;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #cc4946;
|
||||
}
|
||||
.pricing-table .highlight h3,
|
||||
.pace-progress {
|
||||
background: #cc4946;
|
||||
}
|
||||
.pricing-table .highlight .price {
|
||||
background: #ff5b57;
|
||||
}
|
||||
.pace .pace-activity {
|
||||
border-top-color: #ff5b57;
|
||||
border-left-color: #ff5b57;
|
||||
}
|
||||
.brand-logo,
|
||||
.footer .footer-brand-logo {
|
||||
border-color: #F8504B #cc4946 #993734;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 394 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 276 KiB |
+6
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
|
||||
Version: 2.1.0
|
||||
Author: Sean Ngu
|
||||
Website: http://www.seantheme.com/color-admin-v2.1/frontend/one-page-parallax/
|
||||
*/var handleHomeContentHeight=function(){$("#home").height($(window).height())},handleHeaderNavigationState=function(){$(window).on("scroll load",function(){if("disabled"!=$("#header").attr("data-state-change")){var e=$(window).scrollTop(),t=$("#header").height();e>=t?$("#header").addClass("navbar-small"):$("#header").removeClass("navbar-small")}})},handleAddCommasToNumber=function(e){return e.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")},handlePageContainerShow=function(){$("#page-container").addClass("in")},handlePaceLoadingPlugins=function(){Pace.on("hide",function(){$(".pace").addClass("hide")})},handlePageScrollContentAnimation=function(){$('[data-scrollview="true"]').each(function(){var e=$(this),t=scrollMonitor.create(e,60);t.enterViewport(function(){$(e).find("[data-animation=true]").each(function(){var e=$(this).attr("data-animation-type"),t=$(this);if(!$(t).hasClass("contentAnimated"))if("number"==e){var a=parseInt($(t).attr("data-final-number"));$({animateNumber:0}).animate({animateNumber:a},{duration:1e3,easing:"swing",step:function(){var e=handleAddCommasToNumber(Math.ceil(this.animateNumber));$(t).text(e).addClass("contentAnimated")}})}else $(this).addClass(e+" contentAnimated"),setTimeout(function(){$(t).addClass("finishAnimated")},1500)})})})},handleHeaderScrollToAction=function(){$("[data-click=scroll-to-target]").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).attr("href"),a=50;if($("html, body").animate({scrollTop:$(t).offset().top-a},500),"dropdown"==$(this).attr("data-toggle")){var n=$(this).closest("li.dropdown");$(n).hasClass("open")?$(n).removeClass("open"):$(n).addClass("open")}}),$(document).click(function(e){e.isPropagationStopped()||$(".dropdown.open").removeClass("open")})},handleTooltipActivation=function(){0!==$("[data-toggle=tooltip]").length&&$("[data-toggle=tooltip]").tooltip()},handleThemePanelExpand=function(){$('[data-click="theme-panel-expand"]').live("click",function(){var e=".theme-panel",t="active";$(e).hasClass(t)?$(e).removeClass(t):$(e).addClass(t)})},handleThemePageControl=function(){if($.cookie&&$.cookie("theme")){0!==$(".theme-list").length&&($(".theme-list [data-theme]").closest("li").removeClass("active"),$('.theme-list [data-theme="'+$.cookie("theme")+'"]').closest("li").addClass("active"));var e=staticroot+"css/theme/"+$.cookie("theme")+".css";$("#theme").attr("href",e)}$(".theme-list [data-theme]").live("click",function(){var e=staticroot+"css/theme/"+$(this).attr("data-theme")+".css";$("#theme").attr("href",e),$(".theme-list [data-theme]").not(this).closest("li").removeClass("active"),$(this).closest("li").addClass("active"),$.cookie("theme",$(this).attr("data-theme"))})},App=function(){"use strict";return{init:function(){handleHomeContentHeight(),handleHeaderNavigationState(),handlePageContainerShow(),handlePaceLoadingPlugins(),handlePageScrollContentAnimation(),handleHeaderScrollToAction(),handleTooltipActivation(),handleThemePanelExpand(),handleThemePageControl()}}}();
|
||||
Reference in new issue
Block a user