summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-03-25 18:25:28 -0400
committerJames Moger <james.moger@gitblit.com>2012-03-25 18:25:28 -0400
commit86029025d1dda2f65f4ebbebc46729679efea566 (patch)
treed4a39c6e4f97bc579de8515c5e21484a2561c44a
parent74e73c7f2cd1f0ecc4e65d009e0d8ce2d9160e97 (diff)
downloadgitblit-86029025d1dda2f65f4ebbebc46729679efea566.tar.gz
gitblit-86029025d1dda2f65f4ebbebc46729679efea566.zip
Simplified refs panel layout and css
-rw-r--r--resources/gitblit.css19
-rw-r--r--src/com/gitblit/wicket/panels/RefsPanel.java1
2 files changed, 9 insertions, 11 deletions
diff --git a/resources/gitblit.css b/resources/gitblit.css
index 8934cb2d..7812ec49 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -831,7 +831,7 @@ span.metricsTitle {
font-size: 2em;
}
-span .tagRef, span .headRef, span .localBranch, span .remoteBranch, span .otherRef {
+.tagRef, .headRef, .localBranch, .remoteBranch, .otherRef {
padding: 0px 3px;
margin-right:2px;
font-family: sans-serif;
@@ -841,41 +841,38 @@ span .tagRef, span .headRef, span .localBranch, span .remoteBranch, span .otherR
color: black;
}
-span .tagRef a span, span .headRef a span, span .localBranch a span, span .remoteBranch a span, span .otherRef a span {
+.tagRef a, .headRef a, .localBranch a, .remoteBranch a, .otherRef a {
font-size: 9px;
-}
-
-span .tagRef a, span .headRef a, span .localBranch a, span .remoteBranch a, span .otherRef a {
text-decoration: none;
color: black !important;
}
-span .tagRef a:hover, span .headRef a:hover, span .localBranch a:hover, span .remoteBranch a:hover, span .otherRef a:hover {
+.tagRef a:hover, .headRef a:hover, .localBranch a:hover, .remoteBranch a:hover, .otherRef a:hover {
color: black !important;
text-decoration: underline;
}
-span .otherRef {
+.otherRef {
background-color: #b0e0f0;
border-color: #80aaaa;
}
-span .remoteBranch {
+.remoteBranch {
background-color: #cAc2f5;
border-color: #6c6cbf;
}
-span .tagRef {
+.tagRef {
background-color: #ffffaa;
border-color: #ffcc00;
}
-span .headRef {
+.headRef {
background-color: #ffaaff;
border-color: #ff00ee;
}
-span .localBranch {
+.localBranch {
background-color: #ccffcc;
border-color: #00cc33;
}
diff --git a/src/com/gitblit/wicket/panels/RefsPanel.java b/src/com/gitblit/wicket/panels/RefsPanel.java
index 86e74a14..b4676427 100644
--- a/src/com/gitblit/wicket/panels/RefsPanel.java
+++ b/src/com/gitblit/wicket/panels/RefsPanel.java
@@ -142,6 +142,7 @@ public class RefsPanel extends Panel {
lb.setVisible(breakLine);
lb.setRenderBodyOnly(true);
item.add(lb.setEscapeModelStrings(false));
+ item.setRenderBodyOnly(true);
}
};
add(refsView);