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
// ==UserScript== | |
// @description Make Trello more awesome | |
// @downloadURL https://gist.github.com/curtisj44/9491644 | |
// @grant none | |
// @include https://trello.com/* | |
// @name Trello | |
// @namespace trello | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js | |
// @version 2.3.0 | |
// ==/UserScript== |
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
var windowBottom = $(window).scrollTop() + $(window).height(); | |
$(window).scroll(function () { | |
$('.hideme').each(function (i) { | |
var $this = $(this), | |
objectBottom = $(this).position().top + $(this).outerHeight(); | |
if (windowBottom > objectBottom) { | |
$(this).animate({'opacity': '1'}, 500); | |
} |
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
@-moz-viewport { | |
width: device-width; | |
} | |
@-ms-viewport { | |
width: device-width; | |
@media screen and (max-width: 400px) { | |
width: 320px; | |
} |
NewerOlder