From 1e83907b001a2df3f14a35fc36c47ea8f49155c4 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 25 Apr 2011 21:52:38 -0400 Subject: [PATCH] Sprinkled some icons throughout ui. Centralized icon retrieval. --- src/com/gitblit/wicket/resources/gitblit.css | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 52 insertions(+), 8 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index fa78cec..3200381 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -172,13 +172,26 @@ 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; } -.repositories_message { - border: solid #bbb; - border-width: 0px 0px 1px; - padding: 8px; +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: 2px 2px 2px 22px; + margin: 0px; +} + +div.search input:hover, div.search input:focus { + color: white; + border-bottom: 1px solid orange; + outline: none; } div.page_path { @@ -196,14 +209,14 @@ div.bug_open, span.bug_open { padding: 2px; - background-color: #800000; + background-color: #803333; color: white; text-align: center; } div.bug_resolved, span.bug_resolved { padding: 2px; - background-color: #008000; + background-color: #408040; color: white; text-align: center; } @@ -372,6 +385,7 @@ float: right; padding: 0.4em; vertical-align:top; + margin: 0px; } div.commitLegend span { @@ -416,6 +430,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; @@ -426,6 +455,16 @@ table.pretty, table.comments, table.repositories { width:100%; } + +table.pretty td.icon { + padding: 0px 0px 0px 2px; + width: 18px; +} + +table.pretty td.icon img { + vertical-align: top; +} + table.pretty td { padding: 2px 4px; } @@ -438,11 +477,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 { -- Gitblit v1.9.1