Skip to content

Instantly share code, notes, and snippets.

@stephen304
Last active September 30, 2015 19:48
Show Gist options
  • Select an option

  • Save stephen304/3321c45c1bdfd17aa152 to your computer and use it in GitHub Desktop.

Select an option

Save stephen304/3321c45c1bdfd17aa152 to your computer and use it in GitHub Desktop.

Revisions

  1. stephen304 revised this gist Sep 30, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion asanafix.user.js
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    // @namespace com.stephen304.asanafix
    // @include http://app.asana.com*
    // @include https://app.asana.com*
    // @version 1
    // @version 2
    // @grant none
    // ==/UserScript==

  2. stephen304 revised this gist Sep 30, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion asanafix.user.js
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@
    // @grant none
    // ==/UserScript==

    addStyleString(".circularButtonView--active.circularButtonView--onWhiteBackground.running {fill: rgb(2, 255, 76);}");
    addStyleString(".circularButtonView--active.circularButtonView--onWhiteBackground.running {fill: #FFF;background-color: #FE6A85;border-color: transparent;}");

    // ##############################################################
    // ##############################################################
  3. stephen304 created this gist Sep 30, 2015.
    20 changes: 20 additions & 0 deletions asanafix.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    // ==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 1
    // @grant none
    // ==/UserScript==

    addStyleString(".circularButtonView--active.circularButtonView--onWhiteBackground.running {fill: rgb(2, 255, 76);}");

    // ##############################################################
    // ##############################################################

    function addStyleString(str) {
    var node = document.createElement('style');
    node.innerHTML = str;
    document.body.appendChild(node);
    }