From 5cc4f299b2a1138687cbaea73257abab08e245a4 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 04 Jun 2011 14:23:55 -0400
Subject: [PATCH] Fixed refs linking problem. Author metrics are lowercase.
---
src/com/gitblit/wicket/resources/gitblit.css | 273 +++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 239 insertions(+), 34 deletions(-)
diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css
index 451915a..5dd0f16 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;
}
@@ -30,16 +29,20 @@
border:0px;
}
+pre.prettyprint ol {
+ padding-left:25px;
+}
+
/* 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;
}
@@ -48,6 +51,10 @@
font-style: italic;
}
+img.inlineIcon {
+ padding-left: 1px;
+ padding-right: 1px;
+}
a {
color: #0000cc;
@@ -72,20 +79,27 @@
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;
}
@@ -93,15 +107,26 @@
padding: 0px 0px 15px 5px;
}
+span.empty {
+ font-size: 0.9em;
+ font-style: italic;
+ padding-left:10px;
+ 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 {
@@ -130,7 +155,7 @@
}
div.page_header a:hover {
- color: E66C2C;
+ color: #E66C2C;
text-decoration: underline;
}
@@ -168,17 +193,46 @@
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;
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 {
@@ -189,6 +243,7 @@
}
div.commit_message {
+ font-family: monospace;
padding: 8px;
border: solid #bbb;
border-width: 1px 0px 0px;
@@ -252,7 +307,7 @@
}
span.diff.remove {
- color: #cc0000;
+ color: #FFDDDD;
font-family: inherit;
}
@@ -353,7 +408,7 @@
}
span.addition {
- background-color: #bbffbb;
+ background-color: #ccffcc;
}
span.modification {
@@ -361,17 +416,18 @@
}
span.deletion {
- background-color: #ff8888;
+ background-color: #f8bbbb;
}
span.rename {
- background-color: #8888ff;
+ background-color: #cAc2f5;
}
div.commitLegend {
float: right;
- padding: 0.4em;
+ padding: 0.4em 0.4em 0.2em 0.4em;
vertical-align:top;
+ margin: 0px;
}
div.commitLegend span {
@@ -412,24 +468,54 @@
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.pretty, table.repositories, table.comments {
+table.plain td.edit {
+ padding: 3px;
+}
+
+table.plain td.editButton {
+ padding:0px;
+ padding-top: 10px;
+}
+
+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.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%;
}
table.pretty td.icon {
- padding: 0px;
- width: 20px;
+ padding: 0px 0px 0px 2px;
+ width: 18px;
}
table.pretty td.icon img {
@@ -445,14 +531,42 @@
line-height: 17px;
}
+table.repositories {
+ margin-bottom:5px;
+ border-spacing: 0px;
+}
+
table.repositories th {
background-color:#D2C3AF;
padding: 4px;
+ border-top: 1px solid #808080;
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: 4px;
+ padding: 2px;
+}
+
+table.repositories td.rightAlign {
+ text-align: right;
+ border-right: 1px solid #808080;
+}
+
+table.repositories td.icon img {
+ vertical-align: top;
}
table.repositories th a {
@@ -468,6 +582,55 @@
table.repositories th.wicket_orderDown a, table.repositories th.wicket_orderUp a {
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;
+}
+
+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;
}
tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; }
@@ -524,19 +687,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 {
@@ -565,20 +734,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