From 962a24892feb9e3d69542bcf0a219dc14836e921 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 6 Mar 2011 23:59:56 +0100 Subject: ui-diff.c: create a control panel for diff options Signed-off-by: Lars Hjemli --- cgit.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'cgit.css') 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; -- cgit v1.2.3-24-g4f1b