Created
October 25, 2011 16:30
-
-
Save davidlamarwheeler/1313350 to your computer and use it in GitHub Desktop.
Recolor OnTime
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 Recolor OnTime | |
// @namespace http://www.davidlamarwheeler.com/ | |
// @description Recolors the eye-bleeding awful of OnTime into something a little more reasonable | |
// @include http://pm.unitymg.com/projects/* | |
// @include https://pm.unitymg.com/projects/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js | |
// @version 0.1.2 | |
// ==/UserScript== | |
(function($) { | |
$(document).bind('DOMSubtreeModified', function(e){ | |
var pclass = 'ontime-color-coding-foreground-priority-'; | |
$('.' + pclass + '0').removeClass(pclass + '0').css('font-style', 'italic'); | |
$('.' + pclass + '1').removeClass(pclass + '1').css('color', '#c00'); | |
$('.' + pclass + '2').removeClass(pclass + '2').css({ | |
color: '#222' | |
}); | |
$('.' + pclass + '3').removeClass(pclass + '3').css({ | |
color: '#999' | |
}); | |
$('.ontime-bold-user-items').css('font-weight', 'normal').css('background-color', '#e0e9ff'); | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@adamclerk Here's that GM Script