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
| // ==UserScript== | |
| // @name Trello Board Level Colours | |
| // @namespace http://your.homepage/ | |
| // @version 0.2 | |
| // @description Styl'n | |
| // @author Dominic Whittle | |
| // @match https://trello.com/b/* | |
| // @grant none | |
| // ==/UserScript== |
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
| #16161A,#000000,#2E2E2E,#FFFFFF,#FFFFFF,#E8E8E8,#00C4FF,#FC5B5B |
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
| span.select | |
| select.select__control | |
| option(val="") Select an option... | |
| option(val="1") Option 1 | |
| option(val="2") Option 2 |
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
| /* --------------------------------------------------------------------------- | |
| Debounce | |
| --------------------------------------------------------------------------- */ | |
| var debounce = function(func, wait, immediate) { | |
| var timeout; | |
| return function() { | |
| var context = this, args = arguments; |
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
| /* --------------------------------------------------------------------------- | |
| NOTE: | |
| - forceRebuild doesn't do anything yet (I don't think). I'm planning to have | |
| a param for autoload:false (so it could be used with a lazyloader or | |
| scroll events) but I haven't done that yet. | |
| - requires jQuery | |
| srcset.js |
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
| /* --------------------------------------------------------------------------- | |
| Toolkit: Rem | |
| ============ | |
| .rem() takes a @property, and @list of values (in px or unitless) and | |
| converts to rem. | |
| e.g., | |
| .selector { |