Skip to content

Instantly share code, notes, and snippets.

@lazurey
Last active August 24, 2017 05:42
Show Gist options
  • Save lazurey/cbdebf6234e98a4781d305c2a8617a40 to your computer and use it in GitHub Desktop.
Save lazurey/cbdebf6234e98a4781d305c2a8617a40 to your computer and use it in GitHub Desktop.
Jira Prettier
// ==UserScript==
// @name Clean Jira Buttons
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Sause
// @include /^https://jira\.(.*)24\.com/(.*)/
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(function() {
$('.jpdf-agile-board-header .ghx-controls').hide();
$('.jpdf-agile-board-header > a').hide();
$('#ghx-column-headers .ghx-column h2').css({
lineHeight: '20px',
fontWeight: 'bold',
whiteSpace: 'nowrap',
letterSpacing: '-0.6px',
});
$('#ghx-pool').css({paddingTop: '30px'});
$('.ghx-column.jpdf-agile-board-header').css({ padding: '0' });
$('#ghx-column-headers').css({
minHeight: '30px',
height: '30px',
});
$('.ghx-column > .ghx-issue').hover(function() {
$(this).css({
transition: 'all 100ms ease-in',
transform: 'scale(1.4)',
zIndex: 999,
background: 'rgba(255, 255, 0, 0.8)'
});
}, function() {
$(this).css({
transform: 'scale(1)',
zIndex: 0,
background: 'white'
});
});
}, 3000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment