-
Notifications
You must be signed in to change notification settings - Fork 0
/
jira.user.css
156 lines (142 loc) · 4.06 KB
/
jira.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* ==UserStyle==
@name Compact Jira Board
@namespace github.com/openstyles/stylus
@version 1.4.1
@author Aytackydln@github
@homepageURL https://github.com/Aytackydln/MyUsercss
@updateURL https://aytackydln.github.io/MyUsercss/jira.user.css
@preprocessor less
@var text jiraUrl "Jira Board URL" "http://jira/secure/RapidBoard.jspa"
@var checkbox noMinHeight "Remove minimum card height" 1
@var checkbox smallerDone "Smaller done cards" 1
@var checkbox inlineHeader "Inline board header" 1
@var checkbox compactFolders "Compact folders" 1
@var checkbox compactHeaders "Compact headers" 1
@var checkbox hideScrollbar "Hide Scroll Bar" 0
@var checkbox admin "I am a jira admin" 0
==/UserStyle== */
@-moz-document regexp('^https?://.*/RapidBoard.jspa.*') {
#ghx-header {
padding: 0;
}
#ghx-pool {
padding: 0;
}
.ghx-quick-content.aui-expander-content {
margin: 0;
}
.ghx-controls-filters dt,
.ghx-controls-filters dd {
margin: 0;
}
.ghx-controls-plan,
.ghx-header-compact .ghx-controls-report,
.ghx-controls-work {
min-height: 0;
}
.ghx-rapid-views #gh #ghx-work #ghx-pool-column {
overflow-y: scroll;
margin: 0!important;
}
.ghx-move-count {
visibility: hidden;
display: none;
}
/* tighter columns */
.ghx-rapid-views #gh #ghx-work #ghx-pool-column .ghx-columns,
.ghx-rapid-views #gh #ghx-work #ghx-pool-column #ghx-column-headers,
.ghx-rapid-views #gh #ghx-work #ghx-pool-column .ghx-zone-overlay-table {
grid-column-gap: 1px;
}
/* compact headers */
& when (@compactHeaders =1) {
.ghx-column-headers .ghx-column {
padding: 2px!important;
}
.ghx-rapid-views #gh #ghx-work #ghx-pool-column .ghx-swimlane .ghx-swimlane-header {
top: 30px;
}
}
/* compact folders */
& when (@compactFolders =1) {
.ghx-heading {
margin: 0!important;
}
}
/* smaller cards */
& when (@noMinHeight =1) {
.ghx-issue .ghx-issue-content {
min-height: unset;
}
}
/* smaller done cards */
& when (@smallerDone =1) {
.ghx-column:nth-child(5) .ghx-issue {
padding-top: 1px;
padding-bottom: 1px;
}
.ghx-column:nth-child(5) .ghx-highlighted-fields {
display: none;
visibility: hidden;
}
.ghx-column:nth-child(5) .ghx-card-footer {
margin: 0;
}
.ghx-column:nth-child(5) .ghx-days {
/* Hide days past in done cards */
display: none;
visibility: hidden;
}
.ghx-column:nth-child(5) .ghx-issue:not(:first-child) {
margin-top: -8px;
border-top: 0.5px gray solid;
}
}
/* hide scroll bar */
& when (hideScrollbar =1) {
#ghx-pool-column::-webkit-scrollbar {
display: none;
}
}
/* Hide verifiers of todo cards */
.ghx-column:nth-child(1) .ghx-extra-field.ghx-fa {
display: none;
visibility: hidden;
}
/* Highlight fixed issues with no verifier */
.ghx-column:nth-child(3) .ghx-extra-field.ghx-fa {
background: red;
color: black;
border: 1px red solid;
border-radius: 5px;
padding: 0 5px;
}
/* admin errors */
& when (@admin =0) {
.ghx-exception-wrapper {
display: none;
}
.ghx-swimlane:last-of-type {
margin-bottom: 0;
}
}
/* inline board header */
& when (@inlineHeader =1) {
#ghx-view-selector > h1 {
display: inline-block;
margin: 0 10px 0 10px;
}
#ghx-board-name,
#ghx-sprint-goal {
display: inline-block;
vertical-align: middle;
padding: 0!important;
}
span.subnav-container {
display: inline;
}
#ghx-view-selector #ghx-sprint-goal {
margin: 0;
}
}
}