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="pagination-wrapper"> | |
| <ul class="pagination"> | |
| {% if news.has_previous %} | |
| <li><a class="prev" href="{% url 'news_page' news.previous_page_number %}">◀</a></li> | |
| {% else %} | |
| <li><span class="prev disabled">◀</span></li> | |
| {% endif %} | |
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
| var trackerName = ga.getAll()[0].get('name'); | |
| ga(trackerName + '.send', 'event', { eventCategory: 'form', eventAction: 'submit', eventValue: 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
| // YT api | |
| $.getScript('http://www.youtube.com/iframe_api'); | |
| var player; | |
| function onYouTubeIframeAPIReady() { | |
| player = new YT.Player('player', { | |
| height: '400', | |
| width: '100%', | |
| videoId: 'u2ZgCSgFrv4', | |
| events: { |
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
| -webkit-transform: translate3d(0, 0, 0); | |
| -moz-transform: translate3d(0, 0, 0); | |
| transform: translate3d(0, 0, 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
| @mixin vendor-prefix($name, $argument) { | |
| -webkit-#{$name}: #{$argument}; | |
| -ms-#{$name}: #{$argument}; | |
| -moz-#{$name}: #{$argument}; | |
| -o-#{$name}: #{$argument}; | |
| #{$name}: #{$argument}; | |
| } | |
| p { | |
| @include vendor-prefix(hyphens, auto) | |
| } |
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
| // Shuffle func | |
| $.fn.random = function() { | |
| return this.eq(Math.floor(Math.random() * this.length)); | |
| } | |
| $("#pickupme").random(); |
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
| $('#from-id').click(function(){ | |
| $('html, body, #carcas_wrapper_id').animate({ | |
| scrollTop: $('#to-id').offset().top | |
| }, 500); | |
| return false; | |
| }); |
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
| $(window).load(function() { | |
| var sidebar_h = $('.right').height(); | |
| var offset_stamps = 111; | |
| $('#stamps_wrapper').height(sidebar_h - offset_stamps); | |
| }); |
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
| $(window).load(function() { | |
| $("#loaderInner").fadeOut(); | |
| $("#loader").delay(400).fadeOut("slow"); | |
| }); |
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
| @mixin accelerate($name) { | |
| will-change: $name; | |
| transform: translateZ(0); | |
| backface-visibility: hidden; | |
| perspective: 1000px; | |
| } | |
| .foo { | |
| @include accelerate(transform); | |
| } |