Jira Condensed

Makes Jira board more condensed

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Jira Condensed
// @namespace    http://tampermonkey.net/
// @version      0.2.2
// @author       Bartosz Petrynski
// @description  Makes Jira board more condensed
// @include      https://*.atlassian.net/jira/software/c/projects/*
// @icon         https://www.google.com/s2/favicons?domain=bitbucket.org
// @grant        none
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('#ghx-header {margin-bottom: 0px !important;}');

addGlobalStyle('.adg3 #ghx-header {padding: 0px 0 0px 0 !important;}');

addGlobalStyle('.jkaXwY {margin: 0px 0px 0px 36px !important;}');

addGlobalStyle('.adg3 .ghx-column-headers .ghx-column {padding: 0px 10px !important;}');

addGlobalStyle('#ghx-swimlane-header-stalker {display: none !important;}');

addGlobalStyle('#ghx-quick-filters { display: flex');

addGlobalStyle('#ghx-quick-filters .fnn7p0-0.ghyPuo li { margin-top: 4px');



// addGlobalStyle('#jira-frontend > div > div > div.css-8rawpz{ --topNavigationHeight: 40px !important;}');

// addGlobalStyle('#ak-jira-navigation {height: 40px !important;}');