From 997edf95e627b72c4ae2d17de5012dd2eec58f39 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 21 Oct 2014 09:33:29 -0400 Subject: [PATCH] Adjust priority & severity CSS --- src/main/resources/gitblit.css | 96 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 93 insertions(+), 3 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index 9c76378..e517cfa 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -55,7 +55,7 @@ white-space: nowrap; vertical-align: baseline; } - + [class^="icon-"], [class*=" icon-"] i { /* override for a links that look like bootstrap buttons */ vertical-align: text-bottom; @@ -782,6 +782,10 @@ td.ticket-list-state { vertical-align: middle; +} + +td.ticket-list-priority { + vertical-align: middle; } .ticket-list-details { @@ -990,6 +994,11 @@ a.list { text-decoration: none; + color: inherit; +} + +a.list-strikethrough { + text-decoration: line-through; color: inherit; } @@ -1712,6 +1721,14 @@ color: white; } +.merge { + opacity: 0.5; +} + +.merge:hover { + opacity: 1; +} + td.author { font-style: italic !important; white-space: nowrap; @@ -1768,7 +1785,7 @@ font-size: 9px; font-weight: normal; border: 1px solid; - color: black; + color: black; } .tagRef a, .headRef a, .localBranch a, .remoteBranch a, .otherRef a, .pullRef a { @@ -2066,4 +2083,77 @@ background-color: #fff; border-color: #ece7e2; color: #815b3a; -} \ No newline at end of file +} +.severity-catastrophic { + color:#D51900; +} +.severity-catastrophic:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: "S5\a●●●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-critical { + color:#D55900; +} +.severity-critical:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: "S4\a●●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-serious { + color:#E69F00; +} +.severity-serious:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " S3\a ●●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-minor { + color:#009E73; +} +.severity-minor:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " S2\a ●●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-negligible { + color:#0072B2; +} +.severity-negligible:after { + font-family: Helvetica,arial,freesans,clean,sans-serif ; + content: " S1\a ●"; + font-weight:900; + font-size:.45em; + font-variant:small-caps; + display:flex; + white-space: pre; +} +.severity-unrated { +} +.priority-urgent { + color:#D51900; +} +.priority-high { + color:#D55900; +} +.priority-normal { +} +.priority-low { + color:#0072B2; +} -- Gitblit v1.9.1