View shop.js
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
window.timber = window.timber || {}; | |
timber.cacheSelectors = function () { | |
timber.cache = { | |
// Product Page | |
$productImageWrap: $('#productPhoto'), | |
$productImage: $('#productPhotoImg'), | |
$thumbImages: $('#productThumbs').find('a.product-photo-thumb') | |
} | |
}; |
View shop.js
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
// Create a global function that handles all cart-related JS | |
initCart = function (obj) { | |
// Do all cart things here | |
// If running as the ajax cart callback, an object is returned | |
if (obj.is_visible) { | |
// the cart is shown | |
} else { | |
// the cart was hidden | |
} |
View supply-theme-product-review-styles
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
/*============================================================================ | |
#Product Reviews - Free Shopify App | |
- https://apps.shopify.com/product-reviews | |
==============================================================================*/ | |
#shopify-product-reviews { | |
margin: 0; | |
.spr-header-title { | |
@extend h1; | |
} |
View timber-js-final
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
/* Simple jQuery Equal Heights @version 1.5.1. Copyright (c) 2013 Matt Banks. Dual licensed under the MIT and GPL licenses. */ | |
!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c=a(this).innerHeight();c>b&&(b=c)}),c.css("height",b)},a("[data-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery); | |
window.timber = window.timber || {}; | |
timber.cache = { | |
// General | |
html: $('html'), | |
body: $('body'), | |
equalHeight: $('.equal-height'), |
View timber-cart-search-styles
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
.header-cart-btn { | |
@extend .btn; | |
position: relative; | |
font-size: 19px; | |
line-height: 19px; | |
padding-top: 12px; | |
padding-bottom: 10px; | |
border: 0 none; | |
margin-left: $gutter/2; | |
vertical-align: top; |
NewerOlder