From db653ae29c54163c7ca2dd6d2b5063d4623c3a8c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sun, 29 May 2011 14:04:38 -0400 Subject: [PATCH] Unit testing. --- src/com/gitblit/wicket/resources/gitblit.css | 135 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 123 insertions(+), 12 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 3d0a1cd..64484d2 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; } @@ -180,6 +191,22 @@ div.page_nav2 { 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 { @@ -440,12 +467,27 @@ 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; } -table.plain td.edit { +table.plain td.edit { padding: 3px; +} + +table.plain td.editButton { + padding:0px; + padding-top: 10px; } table.plain td.edit input { @@ -459,7 +501,7 @@ 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; @@ -488,6 +530,11 @@ line-height: 17px; } +table.repositories { + margin-bottom:5px; + border-spacing: 0px; +} + table.repositories th { background-color:#D2C3AF; padding: 4px; @@ -495,9 +542,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; @@ -517,6 +582,33 @@ color: black; 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; + background-color: #D2C3AF !important; + padding: 3px !important; + border: 1px solid #808080 !important; + border-bottom: 0px solid !important; + border-radius: 3px 3px 0 0; +} +table.palette td.pane { + padding: 0px; +} tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; } tr th.wicket_orderDown a {background-image: url(arrow_down.png); } @@ -619,22 +711,22 @@ span .otherRef { background-color: #ffaaff; - border-color: #ffccff #ff00ee #ff00ee #ffccff; + border-color: #ff00ee; } span .remoteRef { background-color: #cAc2f5; - border-color: #ccccff #0033cc #0033cc #ccccff; + border-color: #6c6cbf; } span .tagRef { background-color: #ffffaa; - border-color: #ffcc00 #ffcc00 #ffcc00 #ffcc00; + border-color: #ffcc00; } span .headRef { background-color: #ccffcc; - border-color: #ccffcc #00cc33 #00cc33 #ccffcc; + border-color: #00cc33; } .feedbackPanelERROR { @@ -652,4 +744,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