-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Snyder
committed
Apr 12, 2016
0 parents
commit 5963d72
Showing
14 changed files
with
4,298 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
License | ||
|
||
Copyright 2016, Weebly All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Weebly nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Weebly, Inc BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#Weebly Base Theme - CSS Version | ||
|
||
## Get Started with Weebly Themes | ||
|
||
Themes provide the general look and feel used throughout a website. While Weebly provides a number of great themes, you may find you want to change a few things in a theme. Or maybe you want to change everything! You can do those and everything in between. And once you're done, you can use it on your site or share with your client or friends. | ||
|
||
A Weebly theme provides a general structure and design palette for any website built using the Weebly editor. Weebly strives to provide ultimate flexibility for our users, so our themes don't dictate a template or a mandatory organization of content. Instead, they provide a beautiful backdrop for the site's content. | ||
|
||
To get started, create a web site that you can use to test your theme. Then download our Base theme as a starting point, and start building from there! Or find a theme you mostly like and then change the things you don't. | ||
|
||
[Weebly Theme Documentation](https://dev.weebly.com/get-started-with-themes.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
jQuery(function($) { | ||
|
||
// Define Theme specific functions | ||
var Theme = { | ||
// Anchored Header with Waypoints.js | ||
header: function(header) { | ||
$(header).waypoint('sticky'); | ||
}, | ||
// Mobile Submenu expand + collapse | ||
submenu: function(menu) { | ||
$(menu).each(function() { | ||
var menu = $(this); | ||
menu.addClass("submenu"); | ||
menu.prepend(menu.prev("a.wsite-menu-item")); | ||
menu.prepend('<span> </span>'); | ||
menu.children('span').click(function() { | ||
menu.toggleClass('open'); | ||
}); | ||
}); | ||
}, | ||
// Swiping mobile galleries wwith Hammer.js | ||
swipeGallery: function() { | ||
setTimeout(function() { | ||
var touchGallery = document.getElementsByClassName("fancybox-wrap")[0]; | ||
var mc = new Hammer(touchGallery); | ||
mc.on("panleft panright", function(ev) { | ||
if (ev.type == "panleft") { | ||
$("a.fancybox-next").trigger("click"); | ||
} else if (ev.type == "panright") { | ||
$("a.fancybox-prev").trigger("click"); | ||
} | ||
Theme.swipeGallery(); | ||
}); | ||
}, 500); | ||
}, | ||
swipeInit: function() { | ||
if ('ontouchstart' in window) { | ||
$("body").on("click", "a.w-fancybox", function() { | ||
Theme.swipeGallery(); | ||
}); | ||
} | ||
}, | ||
hideCart: function(){ | ||
$('#banner, #main, #footer').on('click', function () { | ||
$('#wsite-mini-cart').fadeOut("fast"); | ||
}); | ||
} | ||
} | ||
|
||
$(document).ready(function() { | ||
Theme.header('#header'); | ||
Theme.submenu('#mobile-nav .wsite-menu-item-wrap .wsite-menu-wrap'); | ||
Theme.swipeInit(); | ||
Theme.hideCart(); | ||
}); | ||
|
||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0;"> | ||
</head> | ||
|
||
<body class="landing-page"> | ||
|
||
<div id="wrapper"> | ||
|
||
<div id="header"> | ||
<div class="container"> | ||
<label id="menu-button" class="hamburger" for="mobile-input"><span></span></label> | ||
{logo} | ||
<div id="nav">{menu}</div> | ||
</div> | ||
<div id="mobile-nav"> | ||
<input type="checkbox" id="mobile-input"> | ||
{menu} | ||
</div> | ||
</div> | ||
|
||
<div id="banner" class="wsite-background"> | ||
<div class="banner-content"> | ||
<div class="container"> | ||
<h2>{headline:text global="false"}</h2> | ||
<p>{headline-paragraph:text global="false"}</p> | ||
<div class="button-wrap">{action:button global="false"}</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="main"> | ||
<div class="container">{content}</div> | ||
</div> | ||
|
||
<div id="footer">{footer}</div> | ||
|
||
</div> | ||
|
||
<script type="text/javascript" src="/files/theme/plugins.js"></script> | ||
<script type="text/javascript" src="/files/theme/custom.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.