Skip to content

Instantly share code, notes, and snippets.

@stephen304
Last active September 30, 2015 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephen304/3321c45c1bdfd17aa152 to your computer and use it in GitHub Desktop.
Save stephen304/3321c45c1bdfd17aa152 to your computer and use it in GitHub Desktop.
A script to highlight asana's harvest clock icon when it runs
// ==UserScript==
// @name AsanaFix
// @description Adds CSS to make the asana harvest clock highlight when it runs.
// @namespace com.stephen304.asanafix
// @include http://app.asana.com*
// @include https://app.asana.com*
// @version 2
// @grant none
// ==/UserScript==
addStyleString(".circularButtonView--active.circularButtonView--onWhiteBackground.running {fill: #FFF;background-color: #FE6A85;border-color: transparent;}");
// ##############################################################
// ##############################################################
function addStyleString(str) {
var node = document.createElement('style');
node.innerHTML = str;
document.body.appendChild(node);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment