Skip to content

Instantly share code, notes, and snippets.

@sebastianludwig
Last active June 24, 2021 13:32
Show Gist options
  • Save sebastianludwig/e7effa18e333a2ed044d033fabb68dfd to your computer and use it in GitHub Desktop.
Save sebastianludwig/e7effa18e333a2ed044d033fabb68dfd to your computer and use it in GitHub Desktop.
User CSS to increase JIRA's and GitHub's information desity
/* GitHub */
/* project view */
/* pack columns tighter together */
div.project-columns-container > div {
margin-right: 8px !important;
}
/* reduce card to column spacing */
div.js-project-column-cards {
padding: 0px !important;
}
/* reduce card spacing */
div.issue-card {
margin: 3px !important;
}
/* hide issue number and author */
div.issue-card small.text-gray {
display: none !important;
}
/* reduce content left padding */
div.issue-card div.pl-5 {
padding-left: 8px !important;
}
/* hide state icon */
div.issue-card span.card-octicon {
display: none !important;
}
/* issue list */
div.issues-listing li.js-issue-row div.text-gray
{
display: none !important;
}
/* JIRA */
/* thin header */
header.aui-page-header {
padding-top: 5px !important;
padding-bottom: 0px !important;
}
/* Hide way outdated IBM JIRA & Confluence host change announcement */
#announcement-banner {
display: none !important;
}
/* make dropdown entries smaller */
li.aui-list-item a {
padding: 0px 8px !important;
}
li.aui-list-item a.aui-iconised-link {
padding-left: 31px !important;
}
div.aui-dropdown2-section ul.aui-list-truncate li a.aui-icon-container {
padding-top: 2px !important;
padding-bottom: 2px !important;
background-position-y: 2px !important;
}
aui-dropdown-menu aui-item-link a {
padding-top: 0px !important;
padding-bottom: 0px !important;
}
/* hide right backlog side panel (story details) */
div.ghx-detail-view {
display: none !important;
}
/* gray out done stories */
div.ghx-done,
div.ghx-done div.ghx-key a.js-key-link
{
color: #b7b7b7 !important;
}
div.ghx-done div.ghx-end {
opacity: 0.4 !important;
}
div.ghx-done .ghx-avatar-img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
opacity: 0.4 !important;
}
/* Display epic names completely */
span[data-epickey] {
max-width: 20em !important;
}
/* Milestones */
/* highlight */
span[data-tooltip^='Milestone:'] {
color: white !important;
background-color: #8CC5FD;
padding: 0em 0.5em;
border-radius: 3px;
}
/* hide "None" milestones */
span[data-tooltip='Milestone: None'] {
display: none !important;
}
/* reduced sprint padding */
div.ghx-sprint-active div.ghx-issues {
padding-bottom: 0px !important;
}
div.ghx-backlog-header {
padding-top: 5px !important;
}
div.ghx-sprint-planned div.ghx-sprint-info,
div.ghx-assigned-work-stats,
div.ghx-no-issues
{
display: none !important;
}
div.iic-agile-plan button {
padding-top: 0px !important;
padding-bottom: 0px !important;
min-height: 0px !important;
}
div.ghx-stat-total {
padding-top: 0px !important;
}
div.ghx-marker {
height: auto !important;
}
/* Active sprints view */
/* hide label and platform */
div.ghx-issue-content div.ghx-extra-fields {
display: none !important;
}
/* hide info at the bottom of each card */
div.ghx-card-footer div.ghx-type,
div.ghx-card-footer div.ghx-flags,
div.ghx-card-footer div.ghx-end,
div.ghx-card-footer div.ghx-days
{
display: none !important;
}
/* make cards as small as possible */
div.ghx-issue-content {
min-height: auto !important;
}
/* hide epic name */
div.ghx-issue-content div.ghx-highlighted-fields {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment