Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-03-07 01:59:56 +0300
committerLars Hjemli <hjemli@gmail.com>2011-03-07 01:59:56 +0300
commit962a24892feb9e3d69542bcf0a219dc14836e921 (patch)
tree991b67cd914a708d83f08dd7f859a9cadbb74490 /cgit.css
parent1a64fd2f83affda41fb9903b7c299d35170bfc05 (diff)
ui-diff.c: create a control panel for diff options
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css27
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;