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
//SMOTH SCROLL MENU | |
$('.sp-megamenu-parent > li > a').click(function(){ | |
$('html, body').animate({ | |
scrollTop: $( $.attr(this, 'href') ).offset().top - 59 /* Minus 59 pixels */ | |
}, 500); | |
return false; | |
}); | |
//END |
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
/* Large devices (desktops, 992px and up) */ | |
@media (min-width: 992px) and (max-width: 1199.98px) { | |
/*===============================*/ | |
/*===============================*/ | |
}/* END */ | |
@media (max-width: 1199.98px) { | |
/*===============================*/ | |
/*===============================*/ | |
}/* END */ |
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
function CarouselInit() { | |
var checkWidth = $(window).width(); | |
var carousel = $(".js-carousel-catmain"); | |
if (checkWidth < 980) { | |
carousel.addClass('owl-carousel').owlCarousel({ | |
items: 1, | |
margin: 20, | |
nav: true, | |
navText: [], |
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
html { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
-webkit-box-sizing: inherit; | |
-moz-box-sizing: inherit; | |
box-sizing: inherit; | |
} |
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
overflow: auto; | |
overflow-y: hidden; | |
-webkit-overflow-scrolling:touch; |
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
/* | |
TODO: | |
- Option to wait to apply anything until all <link>s are parsed or inject what we have and update as each <link> returns | |
*/ | |
var cssVarPoly = { | |
init: function() { | |
if (window.CSS && window.CSS.supports && window.CSS.supports('(--foo: red)')) { | |
return; | |
} | |
cssVarPoly.ratifiedVars = {}; |
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
<script> | |
$(function(){ | |
//begin title fixed | |
$(document).load($(window).bind("resize", listenWidth)); | |
function listenWidth( e ) { | |
var windowWidth = $(window).width(); | |
if (windowWidth > 767) { | |
stick(); | |
} |
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
<script> | |
$(window).scroll(function () { | |
if ($(this).scrollTop() > 300) $('.js-scrollup>a').fadeIn(200); | |
else $('.js-scrollup>a').fadeOut(400); | |
}); | |
$('.js-scrollup>a').click(function () { | |
$('html,body').animate({ | |
scrollTop: 0 | |
}, 800); | |
return false; |
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
<style> | |
.b-linkbox {} | |
.b-linkbox .linkbox__row { | |
margin: 0 -5px 25px; | |
padding: 12px; | |
background-color: #f7f7f7; | |
} | |
.b-linkbox .linkbox__item { | |
display: inline-block; | |
vertical-align: top; |
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
-webkit-backface-visibility: hidden; | |
-webkit-transform: translateZ(0) scale(1.0, 1.0); |
NewerOlder