-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.js
71 lines (65 loc) · 2.27 KB
/
custom.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
jQuery(window).load(function() {
var container = document.querySelector('#grid');
var msnry = new Masonry( container, {
percentPosition: true,
itemSelector: '#item',
columnWidth: '.grid-sizer',
columnHeight: '.bloco-img-noticias2'
});
});
jQuery(document).ready(function($) {
$('#slider').slick({
dots:true,
arrows: true,
slidesToShow: 1,
slidesToScroll: 1,
speed: 800,
autoplay: true,
infinite: true,
autoplaySpeed: 4000
});
});
jQuery(document).ready(function($) {
$('#slider-destaque').slick({
dots:false,
arrows: false,
slidesToShow: 1,
slidesToScroll: 1,
speed: 5000,
autoplay: true,
centerMode: false,
variableHeight: true,
infinite: true,
autoplaySpeed: 8000
});
});
jQuery(document).ready(function($) {
$('#tabs').tabs();
});
jQuery(document).ready(function($) {
jQuery(".nav-item-dropdown-button").dropdown({constrainWidth: false, hover: false, coverTrigger:false,});
jQuery(".side-menu-nav-item-dropdown-button").dropdown({constrainWidth: false, hover: false,});
jQuery(".sidenav").sidenav();
});
jQuery(document).ready(function($) {
$('#post').find('img').addClass('responsive-img');
$('.wp_pagination').find('ul').addClass('pagination');
$('.pagination').find('li').addClass('waves-effect');
$('.calendar_wrap').addClass('white-text');
$('#wp-calendar').addClass('centered');
$('.bump-view').addClass('news black-text collection-item');
$('.widget_top-posts').find('ul').addClass('collection');
$('#wp-calendar').find('a').addClass('chip orange lighten-4 red-text darken-text-3');
$(".nav-item-dropdown-button").dropdown({constrainWidth: false, hover: false, coverTrigger:false,});
$(".side-menu-nav-item-dropdown-button").dropdown({constrainWidth: false, hover: false,});
$(".sidenav").sidenav();
$(".parallax").parallax();
$(".modal").modal();
$(".wp-caption").width('auto').height('auto');
$(".wp-caption-text").width('auto').height('auto');
$(".collapsible").collapsible();
$(".rpwe-ul").addClass('collection');
$(".rpwe-li").addClass('collection-item');
$(".rpwe-title").find('a').addClass('grey-text text-darken-4 news-recente');
$('.current').addClass('chip blue darken-4 white-text');
});