Skip to content

Commit

Permalink
issue #10
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Jun 5, 2015
1 parent 90e64b3 commit 3417909
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
11 changes: 11 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6704,4 +6704,15 @@ select {
/*.depois svg{display:none}*/
#animado{
background-color:white;
}
/*preload*/
#preloader{
position: absolute;
width:100%;
background:black url('../images/preloader-bg.gif') center center no-repeat;
height:100vh;
z-index: 999999;
}
#container-preload{
display: none;
}
Binary file added assets/images/preloader-bg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ t.push(c[e].getElementsByClassName("permalink")[0]),void 0!==m(c[e],"inline-medi
f[b].getAttribute("aria-label")+"</p>"))):a[b].innerText?(q&&(d+='<p class="user">'+g[b].innerText+"</p>"),d+='<p class="tweet">'+a[b].innerText+"</p>",v&&(d+='<p class="timePosted">'+f[b].innerText+"</p>")):(q&&(d+='<p class="user">'+g[b].textContent+"</p>"),d+='<p class="tweet">'+a[b].textContent+"</p>",v&&(d+='<p class="timePosted">'+f[b].textContent+"</p>"));E&&(d+='<p class="interact"><a href="https://twitter.com/intent/tweet?in_reply_to='+p[b]+'" class="twitter_reply_icon"'+(r?' target="_blank">':
">")+'Reply</a><a href="https://twitter.com/intent/retweet?tweet_id='+p[b]+'" class="twitter_retweet_icon"'+(r?' target="_blank">':">")+'Retweet</a><a href="https://twitter.com/intent/favorite?tweet_id='+p[b]+'" class="twitter_fav_icon"'+(r?' target="_blank">':">")+"Favorite</a></p>");F&&void 0!==h[b]&&(l=h[b],void 0!==l?(l=l.innerHTML.match(/data-srcset="([A-z0-9%_\.-]+)/i)[0],l=decodeURIComponent(l).split('"')[1]):l=void 0,d+='<div class="media"><img src="'+l+'" alt="Image from tweet" /></div>');
c.push(d);b++}if(null===A){a=c.length;g=0;f=document.getElementById(B);for(h="<ul>";g<a;)h+="<li>"+c[g]+"</li>",g++;f.innerHTML=h+"</ul>"}else A(c);x=!1;0<u.length&&(H.fetch(u[0]),u.splice(0,1))}};return window.twitterFetcher=H});
//preloader
var $ = jQuery.noConflict();
$(window).load(function() {
$('#preloader').fadeOut('slow');
$('#container-preload').fadeIn('slow');
});
jQuery(document).ready(function($) {
// fitVids.
$( '.entry-content' ).fitVids();
Expand Down
3 changes: 2 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
</head>

<body <?php body_class(); ?>>
<div class="container">
<div id="preloader"></div><!-- #preloader -->
<div class="container" id="container-preload">
<header id="header-principal" class ="row" id="header" role="banner">
<div id="menu-lado" class ="sumido">
<div id="triangulo_menu" ></div>
Expand Down

0 comments on commit 3417909

Please sign in to comment.