diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-03-06 23:59:56 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-03-06 23:59:56 +0100 |
commit | 962a24892feb9e3d69542bcf0a219dc14836e921 (patch) | |
tree | 991b67cd914a708d83f08dd7f859a9cadbb74490 /cgit.c | |
parent | html.c: add html_intoption() (diff) | |
download | cgit-pink-962a24892feb9e3d69542bcf0a219dc14836e921.tar.gz cgit-pink-962a24892feb9e3d69542bcf0a219dc14836e921.zip |
ui-diff.c: create a control panel for diff options
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.css | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css index 1d90057..55afa94 100644 --- a/cgit.css +++ b/cgit.css @@ -331,6 +331,33 @@ table.commit-info { margin-top: 1.5em; } +div.cgit-panel { + float: right; + margin-top: 1.5em; +} + +div.cgit-panel table { + border-collapse: collapse; + border: solid 1px #aaa; + background-color: #eee; +} + +div.cgit-panel th { + text-align: center; +} + +div.cgit-panel td { + padding: 0.25em 0.5em; +} + +div.cgit-panel td.label { + padding-right: 0.5em; +} + +div.cgit-panel td.ctrl { + padding-left: 0.5em; +} + table.commit-info th { text-align: left; font-weight: normal; |