From 1aa6e081ffe319ff3ddfa246783cb65dc1c71b3b Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 28 Mar 2012 17:57:35 -0400 Subject: [PATCH] Fixed symlink absolute path/canonical path mixup with JGit (issue 78) --- resources/gitblit.css | 72 +++++++++++++++++++++++++++++------ 1 files changed, 59 insertions(+), 13 deletions(-) diff --git a/resources/gitblit.css b/resources/gitblit.css index 8f65986..f53d3e7 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -16,6 +16,9 @@ ul, ol { margin-bottom: 10px !important; } +a:focus { + outline: none; +} hr { margin-top: 10px; @@ -131,7 +134,7 @@ } table { - margin-bottom:5px !important; + margin-bottom: 5px; font-size: inherit; } @@ -267,7 +270,7 @@ } div.searchResult { - padding:5px; + padding: 10px 5px 10px 5px; } div.searchResult .summary { @@ -284,6 +287,40 @@ div.searchResult .date { color:#999; +} + +div.searchResult .body { + padding-left:20px; +} + +div.searchResult .fragment { + padding: 7px 0; +} + +div.searchResult .highlight { + background-color: #ccff66; + padding: 0 2px; +} + +div.searchResult .ellipses { + padding-left:25px; + color: #aaa; +} + +div.searchResult pre { + margin: 1px 0px; + border: 0px; +} + +div.searchResult .text { + border-left: 2px solid #ccc; + border-radius: 0px; + + padding: 0 0 0 15px; +} + +div.searchResult ol { + margin-bottom: 0px !important; } div.header, div.commitHeader, table.repositories th { @@ -307,6 +344,7 @@ border: 1px solid #ddd; border-bottom: 0; border-radius: 3px 3px 0 0; + font-weight: bold; } div.commitHeader { @@ -622,6 +660,16 @@ border-left: 0; } +table.pretty td.message { + padding: 0px; +} + +table.pretty table.nestedTable { + width: 100%; + margin-left: 4px !important; + margin-bottom: 0px !important; +} + table.comments td { padding: 4px; line-height: 17px; @@ -725,6 +773,7 @@ table.activity { width: 100%; + margin-top: 10px; } tr th a { background-position: right; padding-right: 15px; background-repeat:no-repeat; } @@ -795,7 +844,7 @@ 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; @@ -805,41 +854,38 @@ 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; } -- Gitblit v1.9.1