Last active
December 16, 2019 17:32
-
-
Save wolfspelz/fd6170c209fe0ea834b18799cfc32635 to your computer and use it in GitHub Desktop.
JIRA Taskboard: Reduce Size of Task Zettel
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 JIRA taskboard (seven2one) | |
// @namespace http://wolfspelz.de/ | |
// @version 0.2 | |
// @description Reduce size of task Zettel | |
// @author Heiner Wolf | |
// @match https://servicedesk.seven2one.de/secure/RapidBoard.jspa* | |
// @grant 2019+, wolfspelz | |
// ==/UserScript== | |
// Needs: http://tampermonkey.net/ | |
function style(css) { | |
var head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } | |
var style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); | |
} | |
style('.ghx-column-headers, .ghx-columns { margin: 0 20px; }'); | |
style('.ghx-issue .ghx-type { left:1px; top:2px }'); // { display:none!important } | |
//style('.ghx-issue .ghx-type img { height: 12px; width: 12px; }'); | |
style('.ghx-issue .ghx-type[title=Testaufgabe] img { filter: brightness(70%); }'); | |
style('.ghx-issue-fields .ghx-summary .ghx-inner { margin-left: 18px; margin-right: 22px; }'); | |
style('.ghx-issue .ghx-flags { display: none!important; }'); | |
style('.ghx-issue .ghx-avatar { }'); | |
style('.ghx-avatar-img { width:16px; height:16px; margin:-8px; vertical-align:top; }'); | |
style('.ghx-issue .ghx-days { display: none!important; }'); | |
style('.ghx-issue .ghx-extra-fields { display:none!important }'); | |
style('.ghx-issue-fields .ghx-key { display:none!important }'); | |
style('.ghx-issue .ghx-highlighted-fields { display:none!important }'); | |
style('.ghx-issue { font-size: 13px; display: inline-block; }'); | |
style('.ghx-issue .ghx-issue-content { min-height: 1px; padding: 2px; margin: 1px; }'); | |
style('.ghx-issue.ghx-has-avatar .ghx-issue-fields { padding-right: unset; }'); | |
style('.ghx-issue-fields .ghx-summary .ghx-inner { max-height: none; }'); | |
style('.ghx-issue .ghx-end { top: 3px; right: 1px; }'); | |
style('.ghx-band-2 .ghx-issue .ghx-issue-content { padding: 2px; }'); | |
style('.ghx-swimlane-header .ghx-heading { margin: 2px 0 '); | |
style('.ghx-swimlane.ghx-closed .ghx-swimlane-header .ghx-expander .ghx-iconfont { margin-top:6px; }'); | |
style('.ghx-swimlane-header .ghx-expander .ghx-iconfont { margin: 6px 0 0 -4px; }'); | |
style('.ghx-swimlane-header .ghx-bandaid button { margin-top: unset }'); | |
style('.aui-button, a.aui-button, .aui-button:visited { padding: 0px 2px; }'); | |
style('aui-badge, .aui-badge { padding: 1px 3px; }'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment