From 9dd59a4ab693ba485819b5637ab783da663c0881 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Sun, 7 Aug 2011 19:03:17 -0600 Subject: [PATCH] Updated gitweb.css supports code highlighting w/new gitweb.cgi --- in/gitweb/gitweb.css | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/in/gitweb/gitweb.css b/in/gitweb/gitweb.css index 35651ff..4baef91 100644 --- a/in/gitweb/gitweb.css +++ b/in/gitweb/gitweb.css @@ -183,6 +183,10 @@ img.avatar { vertical-align: middle; } +a.list img.avatar { + border-style: none; +} + div.page_header { height: 25px; padding: 8px; @@ -223,9 +227,17 @@ div.page_footer { div.page_footer_text { float: left; + color: #555555; font-style: italic; } +div#generating_info { + margin: 4px; + font-size: smaller; + text-align: center; + color: #505050; +} + div.page_body { padding: 8px; font-family: monospace; @@ -401,6 +413,11 @@ tr.no-previous td.linenr { font-weight: bold; } +/* for 'blame_incremental', during processing */ +tr.color1 { background-color: #f6fff6; } +tr.color2 { background-color: #f6f6ff; } +tr.color3 { background-color: #fff6f6; } + td { padding: 2px 5px; font-size: 100%; @@ -492,6 +509,23 @@ td.mode { font-family: monospace; } +/* progress of blame_interactive */ +div#progress_bar { + height: 2px; + margin-bottom: -2px; + background-color: #d8d9d0; +} +div#progress_info { + float: right; + text-align: right; +} + +/* format of (optional) objects size in 'tree' view */ +td.size { + font-family: monospace; + text-align: right; +} + /* styling of diffs (patchsets): commitdiff and blobdiff views */ div.diff.header, div.diff.extended_header { @@ -505,14 +539,18 @@ div.diff.header { margin-top: 4px; padding: 4px 0px 2px 0px; + border: solid #d9d8d1; + border-width: 1px 0px 1px 0px; } div.diff.header a.path { + text-decoration: underline; } div.diff.extended_header, div.diff.extended_header a.path, div.diff.extended_header a.hash { + color: #777777; } div.diff.extended_header .info { @@ -687,7 +725,31 @@ div.binary { font-style: italic; } +div.remote { + margin: .5em; + border: 1px solid #d9d8d1; + display: inline-block; +} + table.shortlog td.author { font-size: 70%; vertical-align: middle; } + +/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ + +/* Highlighting theme definition: */ + +.num { color:#2928ff; } +.esc { color:#ff00ff; } +.str { color:#ff0000; } +.dstr { color:#818100; } +.slc { color:#838183; font-style:italic; } +.com { color:#838183; font-style:italic; } +.dir { color:#008200; } +.sym { color:#000000; } +.line { color:#555555; } +.kwa { color:#000000; font-weight:bold; } +.kwb { color:#830000; } +.kwc { color:#000000; font-weight:bold; } +.kwd { color:#010181; } -- 2.39.2