This file contains hidden or 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
//opening external links in new tab | |
$(document.links).filter(function() { | |
return this.hostname != window.location.hostname || $(this).attr('href').split('/').pop().indexOf('.') > -1; | |
}).attr({ | |
'target': '_blank', | |
'rel': 'noopener' | |
}); |
This file contains hidden or 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 () { | |
jQuery(window).load(function () { | |
var ua = window.navigator.userAgent; | |
ms_ie = /MSIE|Trident/.test(ua); | |
if ( ! ms_ie ) { | |
jQuery('.new-home-section').parallaxie({ | |
speed: 0.5, | |
offset: 0, | |
}); |
This file contains hidden or 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
//tab-content | |
$(".tabs").lightTabs(); | |
(function($){ | |
jQuery.fn.lightTabs = function(options){ | |
var hash = window.location.hash.slice(1); | |
var createTabs = function(){ | |
var tabs = this; | |
var i = 0; |
This file contains hidden or 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="banner with-video" style="background-image: url({{root}}images/banner.jpg)"> | |
<div class="video-viewport"> | |
<video width="1920" height="1080" autoplay muted loop> | |
<source src="http://www.coverr.co/s3/mp4/Winter-Grass.mp4" type="video/mp4" /> | |
<source src="http://www.coverr.co/s3/mp4/Winter-Grass.webm" type="video/webm" /> | |
</video> | |
</div> | |
<!-- /.video --> | |
<div class="overlay"></div> | |
<div class="inner"> |
This file contains hidden or 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
@-moz-document url-prefix() { | |
.services-big-block .services-big-list li { | |
display: table; | |
} | |
} |
This file contains hidden or 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
jQuery(document).ready(function($) { | |
$('.popup-gallery').magnificPopup({ | |
delegate: 'a', | |
type: 'image', | |
tLoading: 'Loading image #%curr%...', | |
mainClass: 'mfp-img-mobile', | |
gallery: { | |
enabled: true, | |
navigateByImgClick: true, | |
preload: [0,1] // Will preload 0 - before current, and 1 after the current image |
This file contains hidden or 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
&::before, | |
&::after { | |
width: 20px; | |
height: 50%; | |
position: absolute; | |
left: 100%; | |
content: ""; | |
} | |
&:before { |
This file contains hidden or 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
table { | |
td { | |
display: block; | |
margin-bottom: 20px; | |
line-height: 20px; | |
font-size: 15px; | |
&:not(:empty)::before { | |
content: attr(data-title); | |
display: block; |
This file contains hidden or 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
.custom-iw { | |
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); | |
border-radius: 2px; | |
background-color: #0086aa; | |
width: auto !important; | |
max-width: 253px; | |
padding: 16px 26px; | |
color: #fff; | |
text-align: center; |
This file contains hidden or 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
&:extend(.section-title); |