Skip to content

Instantly share code, notes, and snippets.

@PedroHLC
Last active April 7, 2021 12:28
Show Gist options
  • Save PedroHLC/2c124b8ae453c6b926dfe565faa14ccd to your computer and use it in GitHub Desktop.
Save PedroHLC/2c124b8ae453c6b926dfe565faa14ccd to your computer and use it in GitHub Desktop.
Compact JIRA with green stories (gold for the empties)
/* ==UserStyle==
@name Compact JIRA
@namespace https://gist.github.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd
@homepageURL https://gist.github.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd
@updateURL https://gist.githubusercontent.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd/raw/compact-jira.user.css
@version 0.9.6
@license Other
@description Slim, with green stories and gold for empty stories
@author PedroHLC (https://pedrohlc.com)
==/UserStyle== */
@-moz-document domain("atlassian.net") {
.ghx-column:last-child,
.ghx-column:last-child {
width: 240px !important;
opacity: 0.7
}
.ghx-issue-subtask,
.ghx-type-10001,
.ghx-type-10002,
.ghx-type-10004 {
display: flex;
}
.ghx-column:last-child .ghx-issue {
display: block !important;
height: 14px;
overflow: hidden;
}
.ghx-column:last-child .ghx-stat-fields {
display: none;
}
.ghx-summary {
flex: 1;
}
.ghx-issue .ghx-stat-fields > .ghx-row {
margin-top: 0;
}
.adg3 .ghx-column .ghx-parent-group {
background: lightgreen;
}
.js-parent-drag > .js-parent-drag{
background: darkgreen;
}
:not(.ghx-parent-group) > .js-parent-drag.ghx-type-10001 {
background: gold;
}
:not(.ghx-parent-group) > .js-parent-drag.ghx-type-10002 {
background: dodgerblue;
}
:not(.ghx-parent-group) > .js-parent-drag.ghx-type-10004 {
background: crimson;
}
.ghx-type-10001 > .ghx-summary {
color: white;
}
:not(.ghx-parent-group) > .ghx-type-10001.js-parent-drag > .ghx-summary {
color: black;
}
.ghx-group > .ghx-key {
color: lightgray;
}
.ghx-issue > section + section {
margin-top: 0;
}
.ghx-issue .ghx-summary {
flex: 10;
}
.ghx-issue > section:nth-child(2) {
flex: 3;
}
}
@PedroHLC
Copy link
Author

PedroHLC commented Sep 4, 2020

Preview:
image

@PedroHLC
Copy link
Author

PedroHLC commented Sep 4, 2020

Compatible with http://userstyles.org/styles/179379
(Dark theme)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment