Created
December 8, 2017 15:20
-
-
Save laymain/7b475b50896f812bd0adda1f76ef8cf9 to your computer and use it in GitHub Desktop.
This file contains 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 Redmine Taskboard beautifier | |
// @namespace http://atinternet.com/ | |
// @version 0.1 | |
// @description Let the Redmine Taskboard be readable | |
// @author Julien Opoix | |
// @match http://redmine.atinternet.tools/rb/taskboards/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$("head").append('<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans">'); | |
GM_addStyle(` | |
#top-menu { | |
display: none; | |
} | |
#board_header td { | |
background: #EEEEEE !important; | |
} | |
#taskboard { | |
font-familly: Open Sans; | |
} | |
#impediments { | |
display: none; | |
} | |
.id { | |
display: none; | |
} | |
#tasks { | |
padding-top: 40px; | |
} | |
td.swimlane:nth-child(4n) { | |
display: none; | |
} | |
.story { | |
background: #ffc !important; | |
} | |
.story_points { | |
font-size: 11px !important; | |
font-weight: bold; | |
} | |
.subject { | |
text-align: center; | |
} | |
.story .subject { | |
line-height: 22px !important; | |
font-weight: bold !important; | |
font-size: 14px; | |
} | |
.task { | |
background: #d4e1ec !important; | |
} | |
.issue .subject { | |
font-size: 15px; | |
line-height: 22px !important; | |
height: 100% !important; | |
word-wrap: break-word !important; | |
} | |
.assigned_to_id { | |
display: none; | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment