From dd7961bc443c732d0bbdd6bda47d6c2cfda5b290 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 17 May 2011 22:06:07 -0400 Subject: [PATCH] Building site content and documentation from Markdown. --- src/com/gitblit/wicket/resources/gitblit.css | 129 +++++++++++++++++++++++++++++++++++------- 1 files changed, 107 insertions(+), 22 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 3200381..2d41872 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; } @@ -32,14 +31,14 @@ /* age0: age < 60*60*2 */ .age0 { - color: #009900; + color: #008000; font-style: italic; font-weight: bold; } /* age1: 60*60*2 <= age < 60*60*24*2 */ .age1 { - color: #009900; + color: #008000; font-style: italic; } @@ -72,25 +71,39 @@ line-height: inherit; } -div.header { +div.header, div.commitHeader { background-color: #D2C3AF; padding: 3px; border: 1px solid #808080; +} + +div.header { border-radius: 3px 3px 0 0; } -div.header a { +div.commitHeader { + border-radius: 3px; +} + +div.header a, div.commitHeader a { color: black; text-decoration: none; font-weight: bold; } -div.header a:hover { +div.header a:hover, div.commitHeader a:hover { text-decoration: underline; } div.pager { padding: 0px 0px 15px 5px; +} + +span.empty { + font-size: 0.9em; + font-style: italic; + padding-left:10px; + color: #008000; } span.link, span.link a { @@ -130,7 +143,7 @@ } div.page_header a:hover { - color: E66C2C; + color: #E66C2C; text-decoration: underline; } @@ -166,6 +179,18 @@ div.page_nav2 { padding: 2px 5px 7px 5px; +} + +div.admin_nav { + padding: 5px 5px 5px 2px; +} + +div.admin_nav a { + text-decoration: none; +} + +div.admin_nav a:hover { + text-decoration: underline; } div.search { @@ -265,7 +290,7 @@ } span.diff.remove { - color: #cc0000; + color: #FFDDDD; font-family: inherit; } @@ -366,7 +391,7 @@ } span.addition { - background-color: #bbffbb; + background-color: #ccffcc; } span.modification { @@ -374,11 +399,11 @@ } span.deletion { - background-color: #ff8888; + background-color: #f8bbbb; } span.rename { - background-color: #8888ff; + background-color: #cAc2f5; } div.commitLegend { @@ -430,8 +455,13 @@ 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 { @@ -504,6 +534,19 @@ font-weight: bold; } +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); } tr th.wicket_orderUp a { background-image: url(arrow_up.png); } @@ -558,19 +601,25 @@ } td.mode { + text-align: right; font-family: monospace; - width:90px; + width: 8em; padding-right:15px; } td.size { text-align: right; - width:100px; + width: 8em; padding-right:15px; } td.rightAlign { text-align: right; +} + +td.treeLinks { + text-align: right; + width: 13em; } span .tagRef, span .headRef, span .remoteRef, span .otherRef { @@ -599,20 +648,56 @@ span .otherRef { background-color: #ffaaff; - border-color: #ffccff #ff00ee #ff00ee #ffccff; + border-color: #ff00ee; } span .remoteRef { - background-color: #aaaaff; - border-color: #ccccff #0033cc #0033cc #ccccff; + background-color: #cAc2f5; + border-color: #6c6cbf; } span .tagRef { background-color: #ffffaa; - border-color: #ffffcc #ffee00 #ffee00 #ffffcc; + border-color: #ffcc00; } span .headRef { - background-color: #aaffaa; - border-color: #ccffcc #00cc33 #00cc33 #ccffcc; -} \ No newline at end of file + background-color: #ccffcc; + border-color: #00cc33; +} + +.feedbackPanelERROR { + color: red; + list-style-image: url(bullet_error.png); + font-weight: bold; + vertical-align: top; + padding:0; + margin:0; +} + +.feedbackPanelINFO { + color: green; + list-style: none; + font-weight: bold; + padding:0; + margin:0; +} + +/* 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