From 67d4f89b0cddb3de05c20e08c20f1bea714c2a9e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 18 Jun 2012 16:09:44 -0400 Subject: [PATCH] Added setting to control Groovy Grape folder (issue 91) --- resources/gitblit.css | 90 +++++++++++++++++++++++++++++++------------- 1 files changed, 63 insertions(+), 27 deletions(-) diff --git a/resources/gitblit.css b/resources/gitblit.css index 0e8e753..e2a4941 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; @@ -37,8 +40,16 @@ color: #0069D6; } -.navbar { - height:40px !important; +.navbar .brand { + padding: 7px 20px; +} + +.navbar .pull-right { + margin: 0; +} + +.navbar ul.nav { + margin: 0 !important; } .navbar ul.nav li a { @@ -49,10 +60,14 @@ .navbar ul.nav li a:hover { color: #abd4ff !important; + text-decoration: underline; +} + +.navbar .nav .active > a:hover { + text-decoration: underline; } .navbar-inner { - height:40px !important; background-color:#000050; background-repeat:repeat-x; background-image:-khtml-gradient(linear, left top, left bottom, from(#000060), to(#000040)); @@ -74,6 +89,7 @@ background-image: url(arrow_page.png); background-position: center bottom; outline: 0; + padding-bottom:1px; } .navbar .active a { @@ -131,7 +147,7 @@ } table { - margin-bottom:5px !important; + margin-bottom: 5px; font-size: inherit; } @@ -267,7 +283,7 @@ } div.searchResult { - padding:5px; + padding: 10px 5px 10px 5px; } div.searchResult .summary { @@ -295,23 +311,29 @@ } div.searchResult .highlight { - background-color: #ffffaa; - border: 1px solid #ffcc00; + background-color: #ccff66; padding: 0 2px; } -div.searchResult .ellipses { - font-family: sans-serif; - font-size: 9px; - font-weight: normal; - background-color: #eee; - border: 1px solid #ccc; - padding: 0 3px; - margin: 0px; +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 { @@ -335,6 +357,7 @@ border: 1px solid #ddd; border-bottom: 0; border-radius: 3px 3px 0 0; + font-weight: bold; } div.commitHeader { @@ -650,6 +673,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; @@ -753,6 +786,12 @@ table.activity { width: 100%; + margin-top: 10px; +} + +table.activity td { + padding-top:7px; + padding-bottom:7px; } tr th a { background-position: right; padding-right: 15px; background-repeat:no-repeat; } @@ -785,7 +824,7 @@ } td.date { - /*font-style: italic !important;*/ + /*font-style: italic !important;*/ } span.sha1, span.sha1 a, span.sha1 a span, pre.commit_message { @@ -823,7 +862,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; @@ -833,41 +872,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