From bc9d4a0f2266e5ac1a018f0b691c76d53479b9e5 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 29 Apr 2011 20:46:44 -0400 Subject: [PATCH] Working on error handling. --- src/com/gitblit/wicket/resources/gitblit.css | 101 +++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 82 insertions(+), 19 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 12c43ed..3d0a1cd 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -32,14 +32,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 +72,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 { @@ -172,15 +186,20 @@ color:yellow; text-align:right; float:right; - padding:4px 4px 3px 3px; + padding:4px 4px 3px 3px; + border-left: 1px solid #8080f0; + margin: 0px; + height: 23px; } div.search input { + vertical-align: top; background: url(/com/gitblit/wicket/resources/search-icon.png) no-repeat 4px center; color: #ddd; background-color: #000070; border: 1px solid transparent; - padding: 0px 2px 2px 22px; + padding: 2px 2px 2px 22px; + margin: 0px; } div.search input:hover, div.search input:focus { @@ -260,7 +279,7 @@ } span.diff.remove { - color: #cc0000; + color: #FFDDDD; font-family: inherit; } @@ -361,7 +380,7 @@ } span.addition { - background-color: #bbffbb; + background-color: #ccffcc; } span.modification { @@ -369,17 +388,18 @@ } span.deletion { - background-color: #ff8888; + background-color: #f8bbbb; } span.rename { - background-color: #8888ff; + background-color: #cAc2f5; } div.commitLegend { float: right; padding: 0.4em; vertical-align:top; + margin: 0px; } div.commitLegend span { @@ -424,6 +444,21 @@ padding: 8px; } +table.plain td.edit { + padding: 3px; +} + +table.plain td.edit input { + margin: 0px; + outline: 1px solid transparent; + border: 1px solid #ccc; + padding-left:5px; +} + +table.plain td.edit input:focus, table.plain td.edit input:hover{ + border: 1px solid orange; +} + table.pretty, table.repositories, table.comments { margin-bottom:5px; border-spacing: 0px; @@ -436,8 +471,8 @@ } table.pretty td.icon { - padding: 0px; - width: 20px; + padding: 0px 0px 0px 2px; + width: 18px; } table.pretty td.icon img { @@ -456,11 +491,16 @@ table.repositories th { background-color:#D2C3AF; padding: 4px; + border-top: 1px solid #808080; border-bottom: 1px solid #808080; } table.repositories td { - padding: 4px; + padding: 2px; +} + +table.repositories td.icon img { + vertical-align: top; } table.repositories th a { @@ -532,19 +572,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 { @@ -577,16 +623,33 @@ } span .remoteRef { - background-color: #aaaaff; + background-color: #cAc2f5; border-color: #ccccff #0033cc #0033cc #ccccff; } span .tagRef { background-color: #ffffaa; - border-color: #ffffcc #ffee00 #ffee00 #ffffcc; + border-color: #ffcc00 #ffcc00 #ffcc00 #ffcc00; } span .headRef { - background-color: #aaffaa; + background-color: #ccffcc; border-color: #ccffcc #00cc33 #00cc33 #ccffcc; +} + +.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; } \ No newline at end of file -- Gitblit v1.9.1