From 81f881a10f2c8456cc4ebfa26327e15655db4646 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 09 Jun 2011 19:06:09 -0400 Subject: [PATCH] Build script improvements for release management. --- src/com/gitblit/wicket/resources/gitblit.css | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 159 insertions(+), 17 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 13e761d..7143f85 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -17,8 +17,7 @@ background-color: #ffffff; color: #000000; margin-right: auto; - margin-left: auto; - margin-top: none; + margin-left: auto; padding: 0px; background: url(background.png) repeat-x scroll 0 0 #FFFFFF; } @@ -28,6 +27,10 @@ font-family: monospace; font-size:12px; border:0px; +} + +pre.prettyprint ol { + padding-left:25px; } /* age0: age < 60*60*2 */ @@ -48,6 +51,10 @@ font-style: italic; } +img.inlineIcon { + padding-left: 1px; + padding-right: 1px; +} a { color: #0000cc; @@ -107,15 +114,19 @@ color: #008000; } +span.link { + color: #888; +} + span.link, span.link a { font-family: sans-serif; - font-size: 11px; + font-size: 11px; } span.link em, div.link span em { font-style: normal; font-family: sans-serif; - font-size: 11px; + font-size: 11px; } div.page_header { @@ -144,7 +155,7 @@ } div.page_header a:hover { - color: E66C2C; + color: #E66C2C; text-decoration: underline; } @@ -182,6 +193,22 @@ padding: 2px 5px 7px 5px; } +div.admin_nav { + border: 1px solid #888; + border-bottom: 0px; + background:#dae0d2; + text-align: right; + padding: 5px 5px 5px 2px; +} + +div.admin_nav a { + text-decoration: none; +} + +div.admin_nav a:hover { + text-decoration: underline; +} + div.search { color:yellow; text-align:right; @@ -216,9 +243,14 @@ } div.commit_message { + font-family: monospace; padding: 8px; border: solid #bbb; border-width: 1px 0px 0px; +} + +div.commit_message a { + font-family: monospace; } div.bug_open, span.bug_open { @@ -397,7 +429,7 @@ div.commitLegend { float: right; - padding: 0.4em; + padding: 0.4em 0.4em 0.2em 0.4em; vertical-align:top; margin: 0px; } @@ -440,6 +472,16 @@ text-align: left; } +table.screenshots td { + text-align: center; + padding-bottom: 10px; +} + +table.screenshots img { + border: 1px solid #ccc; + margin: 5px; +} + table.plain { padding: 8px; } @@ -464,14 +506,14 @@ border: 1px solid orange; } -table.pretty, table.repositories, table.comments { +table.pretty, table.comments { margin-bottom:5px; border-spacing: 0px; border-left: 1px solid #bbb; border-right: 1px solid #bbb; } -table.pretty, table.comments, table.repositories { +table.pretty, table.comments, table.repositories, table.gitnotes { width:100%; } @@ -493,6 +535,11 @@ line-height: 17px; } +table.repositories { + margin-bottom:5px; + border-spacing: 0px; +} + table.repositories th { background-color:#D2C3AF; padding: 4px; @@ -500,9 +547,27 @@ border-bottom: 1px solid #808080; } +table.repositories th.left, table.repositories td.left { + border-left: 1px solid #808080; + padding-left: 5px; +} + +table.repositories td.left { + padding-left: 10px; +} + +table.repositories th.right, table.repositories td.right { + border-right: 1px solid #808080; +} + table.repositories td { padding: 2px; } + +table.repositories td.rightAlign { + text-align: right; + border-right: 1px solid #808080; +} table.repositories td.icon img { vertical-align: top; @@ -523,6 +588,20 @@ font-weight: bold; } +table.repositories tr.group { + background-color: #E66C2C; +} + +table.repositories tr.group td { + font-weight: bold; + border-bottom: 1px solid orange; + color: white; + background-color: #E66C2C; + border-left: 1px solid #808080; + border-right: 1px solid #808080; + padding-left: 5px; +} + table.palette { border:0;} table.palette td.header { font-weight: bold; @@ -534,7 +613,42 @@ } table.palette td.pane { padding: 0px; -} +} + +table.gitnotes { + padding-bottom: 5px; +} +table.gitnotes td { + border-top: 1px solid #ccc; + padding-top: 3px; + vertical-align:top; +} + +table.gitnotes td table td { + border: none; + padding-top: 0px; +} + +table.gitnotes td.info { +} + +table.gitnotes td.message { + width: 65%; + border-left: 1px solid #ccc; +} + +table.annotated { + width: 100%; + border: 1px solid #bbb; +} + +table.annotated tr.even { + background-color: white; +} + +table.annotated tr.odd { + background-color: #fdfbdf; +} tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; } tr th.wicket_orderDown a {background-image: url(arrow_down.png); } @@ -611,7 +725,11 @@ width: 13em; } -span .tagRef, span .headRef, span .remoteRef, span .otherRef { +span.metricsTitle { + font-size: 2em; +} + +span .tagRef, span .headRef, span .localBranch, span .remoteBranch, span .otherRef { padding: 0px 3px; margin-right:2px; font-family: sans-serif; @@ -621,26 +739,26 @@ color: black; } -span .tagRef a span, span .headRef a span, span .remoteRef a span, span .otherRef a span { +span .tagRef a span, span .headRef a span, span .localBranch a span, span .remoteBranch a span, span .otherRef a span { font-size: 9px; } -span .tagRef a, span .headRef a, span .remoteRef a, span .otherRef a { +span .tagRef a, span .headRef a, span .localBranch a, span .remoteBranch a, span .otherRef a { text-decoration: none; color: black !important; } -span .tagRef a:hover, span .headRef a:hover, span .remoteRef a:hover, span .otherRef a:hover { +span .tagRef a:hover, span .headRef a:hover, span .localBranch a:hover, span .remoteBranch a:hover, span .otherRef a:hover { color: black !important; text-decoration: underline; } span .otherRef { - background-color: #ffaaff; - border-color: #ff00ee; + background-color: #b0e0f0; + border-color: #80aaaa; } -span .remoteRef { +span .remoteBranch { background-color: #cAc2f5; border-color: #6c6cbf; } @@ -651,6 +769,11 @@ } span .headRef { + background-color: #ffaaff; + border-color: #ff00ee; +} + +span .localBranch { background-color: #ccffcc; border-color: #00cc33; } @@ -670,4 +793,23 @@ font-weight: bold; padding:0; margin:0; -} \ No newline at end of file +} + +/* google-code-prettify line numbers */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { color: #888; border-left: 1px solid #ccc; padding-left:5px; list-style-type: decimal !important; } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { background: #fafafa !important; } \ No newline at end of file -- Gitblit v1.9.1