Skip to content

Instantly share code, notes, and snippets.

@Ashton-W
Created November 29, 2012 09:48
Show Gist options
  • Save Ashton-W/4167871 to your computer and use it in GitHub Desktop.
Save Ashton-W/4167871 to your computer and use it in GitHub Desktop.
Trello Style Tweaks
// ==UserScript==
// @name Trello Style Tweaks
// @namespace http://userstyles.org
// @description Personal tweaks for trello.com
// @author lmjabreu
// @homepage trello.com
// @include https://trello.com/*
// @include https://www.trello.com/*
// @run-at document-start
// ==/UserScript==
(function() {
var css = "#header {background: -webkit-gradient(linear,left top,left bottom,from(#333),to(#111)) !important;}\n.header-btn .header-btn-target {background: transparent !important;}\n.header-btn .header-btn-target:hover {background: #444 !important;color: #eee !important;}\n.header-btn .header-btn-target:active {background: #555 !important;}\n#board {background: none !important;background-image: url(https://twimg0-a.akamaihd.net/profile_background_images/339185512/ios-linen.jpg) !important;box-shadow: none !important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment