From 232890f03476b8bb231d17883eb0faff93ec5049 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 05 Apr 2011 22:26:37 -0400 Subject: [PATCH] Simplified links some more. Added TicGit browser. --- resources/gitblit.css | 94 ++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 84 insertions(+), 10 deletions(-) diff --git a/resources/gitblit.css b/resources/gitblit.css index eebfdab..d126a8a 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -8,9 +8,14 @@ } body { + width: 980px; margin: 5px; background-color: #ffffff; color: #000000; + margin-right: auto; + margin-left: auto; + margin-top: none; + padding: 0px; } pre.prettyprint, pre.plainprint { @@ -51,6 +56,12 @@ border-width: 0px; } +img.activityGraph { + float: right; + border-width: 0px; + padding: 8px; +} + div.header { background-color: #D2C3AF; padding: 3px; @@ -74,11 +85,17 @@ div.link { padding: 2px 5px; font-family: sans-serif; - font-size: 9px; + font-size: 11px; +} + +div.link span { + font-family: inherit; + font-size: inherit; } div.link a { - font-size: 9px; + font-family: inherit; + font-size: inherit; } div.page_header { @@ -87,7 +104,7 @@ font-family: sans-serif; font-weight: bold; font-size: 150%; - color: #ccc; + color: #bbb; background-color: #ffffff; } @@ -112,6 +129,7 @@ } div.page_footer { + height: 17px; color: black; background-color: #ffffff; padding: 5px; @@ -120,7 +138,7 @@ } div.page_nav { - color: #ccc; + color: #ddd; background-color: #000070; padding: 5px; } @@ -155,6 +173,32 @@ padding: 8px; border: solid #bbb; border-width: 1px 0px 1px; +} + +div.bug_open { + padding: 2px; + background-color: #800000; + color: white; + text-align: center; +} + +div.bug_resolved { + padding: 2px; + background-color: #008000; + color: white; + text-align: center; +} + +div.bug_invalid { + padding: 2px; + background-color: gray; + text-align: center; +} + +div.bug_hold { + padding: 2px; + background-color: orange; + text-align: center; } a.list { @@ -195,15 +239,33 @@ } table.repositories th { - background-color:#D3BDA1; - padding: 5px; + background-color:#000070; + padding: 4px; border-bottom: 1px solid #bbb; } +table.repositories td { + padding: 4px; +} + +table.repositories th a { + color:#ddd; + text-decoration: none; + font-weight: normal; +} + +table.repositories th a:hover { + text-decoration: underline; +} + +table.repositories th.wicket_orderDown a, table.repositories th.wicket_orderUp a { + color: yellow; +} + tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; } -tr th.wicket_orderDown a {font-weight: bold; background-image: url(arrow_down.png); } -tr th.wicket_orderUp a { font-weight: bold; background-image: url(arrow_up.png); } -tr th.wicket_orderNone a { font-weight: normal; background-image: url(arrow_off.png); } +tr th.wicket_orderDown a {background-image: url(arrow_down.png); } +tr th.wicket_orderUp a { background-image: url(arrow_up.png); } +tr th.wicket_orderNone a { background-image: url(arrow_off.png); } tr.light { background-color: #ffffff; @@ -225,7 +287,14 @@ /* currently both use the same, but it can change */ tr.light:hover, tr.dark:hover { - background-color: #f6a234; + /*background-color: #0099b7;*/ + background-color: #000070; + color: white; +} + +tr.light:hover a, +tr.dark:hover a { + color: white; } td { @@ -259,6 +328,10 @@ padding-right:15px; } +td.rightAlign { + text-align: right; +} + span.refs span { padding: 0px 4px; font-family: sans-serif; @@ -267,6 +340,7 @@ border: 1px solid; background-color: #ffaaff; border-color: #ffccff #ff00ee #ff00ee #ffccff; + color: black; } span.refs span a { -- Gitblit v1.9.1