/* ==UserStyle==
@name Jira compact theme. For jira versions 6.1 - 8.19.1+
@namespace hubbitus.info
@version 2.5
@description Compact most things of JIRA for more rationale use it. For example to see tens (most) issues on a kanban board instead 2-3 by default. Mostly usefull for the big displays (and not for the mobile devices!).
@author Pavel Alexeev <Pahan@Hubbitus.info>
==/UserStyle== */
@-moz-document regexp("^https?://jira[-\\d\\w]*\\..*"), regexp("^https?://((?!scriptrunner\\.adaptavist\\.com).)*/jira/.*") {
[lang|="en"], body { /* Drop "Droid Sans" which looks ugly */
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Helvetica Neue,sans-serif;
}
body {
line-height: 1;
}
img {
border-radius: 5px 5px;
}
dl {
padding: 0;
}
ul, ol {
padding: 0 0 0 2em;
}
/** Top menu header **/
.aui-dropdown2 .aui-icon-container {
padding-left: 25px;
}
.aui-dropdown2 .aui-icon-container > img {
left: 6px;
top: 1px;
}
.aui-dropdown2 .aui-icon-container .icon {
height: 15px;
width: 15px;
}
nav.aui-header {
height: 33px;
}
#quicksearch-menu {
margin-top: -8px;
}
/** /Top menu header **/
/********************************************
***** Search and Issues
********************************************/
/* Reset most paddings and margin */
p, .issue-body-content .module>.mod-content, .issue-body-content .item-details dl>dd, .property-list>li, .property-list>li, .issuePanelWrapper, .tabwrap>.tabs.horizontal>li, .editable-field, .links-list .link-content, .issue-header .issue-header-content>.aui-page-header, .people-details>dl, .people-details>dl:first-child, .people-details>dl:first-child+dl, .issue-body-content .module + .module {
padding: 0 !important;
margin: 0 !important;
font-size: small;
line-height: 0.95em;
}
p {
text-indent: 1em;
}
/*
p:first-letter {
color: green;
/ *
text-decoration: underline;
Unfortunately it does not work in Chromium (http://stackoverflow.com/questions/27210066/underline-single-letter-in-an-input-placeholder, test http://jsfiddle.net/mqchen/cQCSp/3/), use background workaround
* /
border-bottom: 1px solid darkgreen;
border-radius: 0.2em;
text-transform: uppercase; / * quirqs * /
}
*/
blockquote {
padding: 0 2px;
margin: 0 19px;
background-color: aliceblue;
border: 2px solid var(--aui-border);
border-left: 5px solid var(--aui-border);
}
blockquote::before {
content: "❞";
font-size: 19pt;
float: left;
line-height: 0.8;
}
pre {
margin: 0 1px !important;
padding: 0 !important;
}
/* Highlight terms */
code, kbd, tt {
font-family: monospace;
background-color: #F3F3F3;
border-radius: 4px;
padding: 0 3px;
}
/* Filter name header */
.saved-search-selector {
padding: 0;
}
/* Issue status labels */
.aui-lozenge {
padding: 1px 2px;
}
.jira-editor-container {
width: 100%;
}
/***************************************/
/*** Compact left search list sidebar **/
/***************************************/
.list-panel {
padding: 0 !important;
}
.details-layout .split-view .list-results-panel {
padding-left: 2px;
}
.issue-list .issue-link-key {
display: inline !important;
font-size: 80%;
font-weight: bold;
}
.issue-list .issue-link-key:after {
content: ": ";
}
.issue-list .issue-link-summary {
white-space: normal !important;
display: inline !important;
font-size: 70%;
}
.issue-list {
overflow: inherit !important;
}
.issue-list li {
padding: 0 !important;
line-height: 70%;
}
.issue-list > li img {
vertical-align: baseline !important; /* Affect line height! */
}
.list-panel {
padding: 0;
}
.split-view .list-results-panel {
padding: 0;
}
.splitview-issue-link br {
display: none;
}
.details-layout .split-view .list-results-panel .list-panel .issue-list>li img { /* Issue type icon */
height: 11px;
width: 11px;
}
.issue-list > li .splitview-issue-link > div > div.issue-content-container {
margin-left: 1px;
}
/********************************************/
/*** end/ Compact left search list sidebar **/
/********************************************/
/*** Compact message representation at right **/
.detail-panel .module {
padding: 0 !important;
margin: 0 !important;
}
header.aui-page-header {
padding: 0;
}
.issue-header .command-bar .toolbar-group {
margin-bottom: 0;
}
/*** Buttons **/
.toolbar-item+.toolbar-item .toolbar-trigger, .toolbar-item+.toolbar-item a.aui-dd-trigger,
.aui-toolbar .toolbar-group .toolbar-trigger, .aui-toolbar .aui-dd-parent a.aui-dd-trigger {
padding: 0 3px !important;
}
div.command-bar {
padding: 0 !important;
}
.issue-main-column {
padding-right: 0.3em;
border: 1px dashed lightgray;
}
/*** Details move to right **/
/* There are #peoplemodule, #datesmodule */
#viewissuesidebar {
padding: 0 0.3em!important;
position: relative;
top: 10em;
line-height: 0.9em;
}
/* Description block at right and do not wider than content, but not edit form */
#description-val {
/* float: right; // It do smaller with on small test content, but it also break editor */
/* color: brown; */
width: 100%;
}
/*
#details-module - That is all details of Issue including: "Custom description", "Test Case", "Epic link" +
#issuedetails include only base common fields like: Type, Priority, Status…
*/
/* .issue-main-column #details-module { */
.issue-main-column #issuedetails {
padding-left: 0.3em !important;
position: absolute;
right: 4px;
width: 35%;
max-height: 10.1em;
overflow: auto;
}
/* Dashboard right sidebar task view */
.ghx-detail-view.gh-editable-detail-view .ghx-detail-section.module .mod-content .property-list .wrap .name {
margin-left: 0;
width: auto;
}
#DETAILS > div {
margin: 1px !important;
border: 1px dotted grey;
border-radius: 6px;
box-shadow: 1px 3px 2px #1a9cb0;
}
.ghx-detail-view.gh-editable-detail-view .ghx-detail-issue .module.toggle-wrap .toggle-title {
background-color: transparent;
}
/* /Dashboard right sidebar task view */
/* Hide "Custom description" label */
#rowForcustomfield_10800 div strong {
display: none;
}
.mod-content .type-textarea {
float: right;
font-size: 90%;
margin-right: 10px !important;
}
/* search in action */
.property-list .wrap {
padding: 0 !important;
}
.property-list .wrap strong.name {
margin-left: 0;
font-weight: bold;
padding: 0 5px 0 0;
}
.property-list .item .name {
width: auto;
min-width: 9em;
}
.property-list .item .value {
display: run-in;
}
.links-list dd .delete-link {
top: 0 !important;
}
/** Edit field */
.editable-field form.aui {
margin: 0;
}
/*** end "Details move to right" **/
/***************************************/
/*** Issue itself **/
/***************************************/
#summary-val.editable-field {
font-size: 16pt;
color: green;
width: 100%;
text-shadow: 1px 1px 3px #116ebf;
}
.twixi-block .twixi, .toggle-wrap .twixi, .twixi-block .icon-twixi, .toggle-wrap .icon-twixi, .twixi-block .twixi-opened, .toggle-wrap .twixi-opened, .twixi-block .twixi-closed, .toggle-wrap .twixi-closed {
left: 8px;
}
.property-list .item .value, .status-view {
padding: 0;
}
.aui-toolbar2 .aui-button {
margin-top: 1px;
}
/* Show linked issues full list always with scrolling in blocks */
.collapsed-link, .collapsed-links-list {
display: inherit;
}
.mod-content dl.links-list {
overflow-y: auto;
max-height: 9em;
}
#show-more-links {
display: none;
}
.links-list dd:hover .delete-link a, .links-list dd .delete-link a:focus {
top: 0 !important;
right: 1px; /* Fix to do not appear horisontal scrolling*/
}
/* /Show linked issues full list always */
/** Editable fields, task right status **/
.aui-avatar-small, .aui-avatar-small .aui-avatar-inner, .aui-avatar-small .aui-avatar-inner img {
width: 16px;
height: 16px;
overflow: clip;
}
.editable-field .overlay-icon, .aui-iconfont-edit {
width: 16px;
}
.editable-field {
display: flex;
min-height: 16px;
}
.editable-field .overlay-icon.aui-iconfont-edit:before {
left: -1px;
top: 8px;
}
.editable-field .overlay-icon.aui-iconfont-edit {
right: -13px;
border: 1px ridge #ccc;
border-radius: 3px;
top: -1px;
}
.issue-body-content .item-details dl>dt {
padding: 0;
}
/** Editable fields **/
/* Special highlight custom field "Block reason" */
strong[title='Block reason'], strong[title='Block reason'] + div{
border: 1px solid magenta;
background-color: #ff00006b;
}
strong[title='Block reason'] + div{
background-color: #ff000024;
}
/* /Special highlight custom field "Block reason" */
#status-val, #resolution-val, #fixfor-val, #customfield_10040-val {
background-color: gold;
}
.aui-tabs {
font-size: inherit !important;
}
#view-subtasks td.stsummary {
width: auto; /* was 100% - it give strange issue for heigh increase */
}
/* Buttons and menus on issue like "edit", "comment", "assign"… */
.aui-toolbar .toolbar-group .toolbar-trigger, .aui-toolbar .aui-dd-parent a.aui-dd-trigger {
height: 17px;
}
/** Sub-tasks task list **/
#issuetable>tbody>tr>td {
vertical-align: middle;
display: table-cell;
}
#issuetable>tbody>tr>td {
border-right: 1px solid #EAEAEA; /* Add td borders */
}
/* Base 16px is too small for status. Issues list in Epic */
#issuetable .status {
width: inherit;
}
.command-bar .aui-button, .command-bar .aui-button:visited, .command-bar a.aui-button {
height: 1em;
line-height: 1em;
padding: 0 10px;
}
.ops-menus .aui-toolbar2-inner .icon {
vertical-align: top;
}
.aui-icon-large::before, .aui-icon-small::before {
top: 38%;
}
.aui-button.aui-button-compact {
font-size: 8px;
padding: 0 2px;
height: 16px;
}
.issue_actions .aui-icon-small {
width: 14px;
margin-left: -2px;
}
.subtask-reorder .aui-i...