From bc10f9b3128f6d6986138914b3b53f5d974a2d09 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 11 Apr 2011 21:49:36 -0400 Subject: [PATCH] Eliminated most session usage. --- src/com/gitblit/wicket/resources/gitblit.css | 45 ++++++++++++++++++++++++++++----------------- 1 files changed, 28 insertions(+), 17 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 675a258..c089560 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -103,6 +103,12 @@ font-size: inherit; } +div.link em, div.link span em { + font-style: normal; + font-family: inherit; + font-size: inherit; +} + div.page_header { height: 25px; padding: 5px; @@ -157,6 +163,10 @@ text-decoration: underline; } +div.page_nav em { + font-style: normal; +} + div.page_nav2 { padding: 2px 5px 7px 5px; } @@ -177,7 +187,7 @@ div.commit_message { padding: 8px; border: solid #bbb; - border-width: 1px 0px 1px; + border-width: 1px 0px 0px; } div.bug_open, span.bug_open { @@ -295,10 +305,8 @@ } table.pretty, table.repositories { - margin-top:5px; margin-bottom:5px; border-spacing: 0px; - border-top: 1px solid #bbb; border-left: 1px solid #bbb; border-right: 1px solid #bbb; } @@ -377,8 +385,7 @@ } td.date { - font-style: italic; - width:90px; + font-style: italic; } td.sha1, td.sha1 span { @@ -402,41 +409,45 @@ text-align: right; } -span.refs span { +span .tagRef, span .headRef, span .remoteRef, span .otherRef { padding: 0px 4px; + margin-right:2px; font-family: sans-serif; - font-size: 70%; + font-size: 9px; font-weight: normal; border: 1px solid; - background-color: #ffaaff; - border-color: #ffccff #ff00ee #ff00ee #ffccff; color: black; } -span.refs span a { +span .tagRef a span, span .headRef a span, span .remoteRef a span, span .otherRef a span { + font-size: 9px; +} + +span .tagRef a, span .headRef a, span .remoteRef a, span .otherRef a { text-decoration: none; color: inherit; } -span.refs span a:hover { - text-decoration: underline; +span .tagRef a:hover, span .headRef a:hover, span .remoteRef a:hover, span .otherRef a:hover { + color: inherit; } -span.refs span.indirect { - font-style: italic; +span .otherRef { + background-color: #ffaaff; + border-color: #ffccff #ff00ee #ff00ee #ffccff; } -span.refs span.ref { +span .remoteRef { background-color: #aaaaff; border-color: #ccccff #0033cc #0033cc #ccccff; } -span.refs span.tag { +span .tagRef { background-color: #ffffaa; border-color: #ffffcc #ffee00 #ffee00 #ffffcc; } -span.refs span.head { +span .headRef { background-color: #aaffaa; border-color: #ccffcc #00cc33 #00cc33 #ccffcc; } \ No newline at end of file -- Gitblit v1.9.1