author | Lars Hjemli <hjemli@gmail.com> | 2006-12-17 22:07:28 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-17 22:07:28 (UTC) |
commit | 6cb326c83b3c0b35d472305294afee3105b3088d (patch) (side-by-side diff) | |
tree | fcceeec36ae6f1b3b8e9f861064e2d6ba962a6e0 /cgit.css | |
parent | 9c5229ea394808f90433ee84439503bee124e1de (diff) | |
download | cgit-6cb326c83b3c0b35d472305294afee3105b3088d.zip cgit-6cb326c83b3c0b35d472305294afee3105b3088d.tar.gz cgit-6cb326c83b3c0b35d472305294afee3105b3088d.tar.bz2 |
Show list of modified files in ui-commit.c
Compare current commit with 1.parent, and for each affected file display
current filemode, old filemode if changed, current filename and source
filename if it was a copy/rename.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 51 |
1 files changed, 43 insertions, 8 deletions
@@ -1,131 +1,166 @@ body { font-family: arial; font-size: normal; background: white; padding: 0em; - margin: 0.5em; + margin: 0.5em 1em; } h2 { font-size: normal; font-weight: bold; margin-bottom: 0.1em; } a { color: blue; text-decoration: none; } a:hover { text-decoration: underline; } table.list { border: solid 1px black; border-collapse: collapse; border: solid 1px #aaa; } table.list tr { background: white; } table.list tr:hover { background: #eee; } table.list th { font-weight: bold; background: #ddd; border-bottom: solid 1px #aaa; padding: 0.1em 0.5em 0.1em 0.5em; vertical-align: baseline; } table.list td { border: none; padding: 0.1em 0.5em 0.1em 0.5em; } img { border: none; } div#header { - background-color: #ddd; + background-color: #eee; padding: 0.25em 0.25em 0.25em 0.5em; font-size: 150%; font-weight: bold; - border: solid 1px #aaa; + border: solid 1px #ccc; vertical-align: middle; } div#header img#logo { float: right; } +div#header a { + color: black; +} div#content { margin: 0.5em 0.5em; } div#blob { border: solid 1px black; } div.error { color: red; font-weight: bold; margin: 1em 2em; } div.ls-dir a { font-weight: bold; } th.filesize, td.filesize { text-align: right; } th.filemode, td.filemode { text-align: center; } td.blob { white-space: pre; font-family: courier; font-size: 100%; background-color: white; } table.log td { white-space: nowrap; } table.commit-info { border-collapse: collapse; - margin-top: 1em; - + margin-top: 1.5em; } table.commit-info th { text-align: left; font-weight: normal; padding: 0.1em 1em 0.1em 0.1em; } table.commit-info td { font-weight: normal; padding: 0.1em 1em 0.1em 0.1em; } div.commit-subject { font-weight: bold; - font-size: 110%; - margin: 1em 0em 1em; + font-size: 125%; + margin: 1.5em 0em 0.5em 0em; + padding: 0em; } div.commit-msg { white-space: pre; - font-family: courier; + font-family: monospace; +} +table.diffstat { + border-collapse: collapse; + margin-top: 1.5em; +} +table.diffstat th { + font-weight: normal; + text-align: left; + text-decoration: underline; + padding: 0.1em 1em 0.1em 0.1em; font-size: 100%; } +table.diffstat td { + padding: 0.1em 1em 0.1em 0.1em; + font-size: 100%; +} +table.diffstat td span.modechange { + padding-left: 1em; + color: red; +} +table.diffstat td.add a { + color: green; +} +table.diffstat td.del a { + color: red; +} +table.diffstat td.upd a { + color: blue; +} +table.diffstat td.summary { + /* border-top: solid 1px black; */ + color: #888; + padding-top: 0.5em; +} .sha1 { font-family: courier; font-size: 90%; } .left { text-align: left; } .right { text-align: right; } |