View product-badge-template.liquid
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
<div class="product-template__container page-width" | |
id="ProductSection-{{ section.id }}" | |
data-section-id="{{ section.id }}" | |
data-section-type="product" | |
data-enable-history-state="true" | |
data-ajax-enabled="{{ settings.enable_ajax }}" | |
> | |
{% comment %} | |
Get first variant, or deep linked one | |
{% endcomment %} |
View specific-device-slideshow.liquid
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
{%- if section.settings.slideshow_height == 'adapt' -%} | |
{% comment %} | |
'min_aspect_ratio' is the minimum aspect ratio of images shown without | |
whitespace when 'slideshow_height' is set to 'adapt'. | |
The aspect ratio values for the first image in the slideshow will be used | |
unless it is blank, in that case a ratio of 2:1 will be used. | |
{% endcomment %} | |
{%- assign first_block = section.blocks[0] -%} | |
{%- if first_block.settings.image.aspect_ratio == blank -%} |
View slick-slider.scss
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
/*================ Slick Slider SCSS ================*/ | |
.slick-slider { | |
position: relative; | |
display: block; | |
box-sizing: border-box; | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; |
View product-lightbox-template.liquid
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
<div class="product-template__container page-width" | |
id="ProductSection-{{ section.id }}" | |
data-section-id="{{ section.id }}" | |
data-section-type="product" | |
data-enable-history-state="true" | |
data-ajax-enabled="{{ settings.enable_ajax }}" | |
> | |
{% comment %} | |
Get first variant, or deep linked one | |
{% endcomment %} |
View product-sizechart-template.liquid
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
<div class="product-template__container page-width" | |
id="ProductSection-{{ section.id }}" | |
data-section-id="{{ section.id }}" | |
data-section-type="product" | |
data-enable-history-state="true" | |
data-ajax-enabled="{{ settings.enable_ajax }}" | |
> | |
{% comment %} | |
Get first variant, or deep linked one | |
{% endcomment %} |
View collection-variant-template.liquid
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
{% case section.settings.grid %} | |
{% when 2 %} | |
{%- assign max_height = 530 -%} | |
{% when 3 %} | |
{%- assign max_height = 345 -%} | |
{% when 4 %} | |
{%- assign max_height = 250 -%} | |
{% when 5 %} | |
{%- assign max_height = 195 -%} | |
{% endcase %} |
View photoswipe.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
/*! PhotoSwipe - v4.1.3 - 2019-01-08 | |
* http://photoswipe.com | |
* Copyright (c) 2019 Dmitry Semenov; */ | |
!(function (a, b) { | |
"function" == typeof define && define.amd | |
? define(b) | |
: "object" == typeof exports | |
? (module.exports = b()) | |
: (a.PhotoSwipe = b()); | |
})(this, function () { |
View photoswipe.js.liquid
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
/*! PhotoSwipe - v4.1.3 - 2019-01-08 | |
* http://photoswipe.com | |
* Copyright (c) 2019 Dmitry Semenov; */ | |
!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipe=b()}(this,function(){"use strict";var a=function(a,b,c,d){var e={features:null,bind:function(a,b,c,d){var e=(d?"remove":"add")+"EventListener";b=b.split(" ");for(var f=0;f<b.length;f++)b[f]&&a[e](b[f],c,!1)},isArray:function(a){return a instanceof Array},createEl:function(a,b){var c=document.createElement(b||"div");return a&&(c.className=a),c},getScrollY:function(){var a=window.pageYOffset;return void 0!==a?a:document.documentElement.scrollTop},unbind:function(a,b,c){e.bind(a,b,c,!0)},removeClass:function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(a,b){e.hasClass(a,b)||(a.className+=(a.className?" ":"")+b)},hasClass:function(a,b){return a.className&&new RegExp("(^|\\s)"+b+"(\\s|$)").test(a.cl |