about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-05-23 23:29:24 +0200
committerLars Hjemli <hjemli@gmail.com>2011-05-23 23:29:24 +0200
commit2ffeecb7a6827dcf0f81cf543ed312155f6e8f83 (patch)
tree328117f4fe71862b7432359b4d6a7237affd42fe /cgit.c
parentMerge branch 'fh/filter-api' (diff)
parentui-stats.c: create a control panel for stat options (diff)
downloadcgit-pink-2ffeecb7a6827dcf0f81cf543ed312155f6e8f83.tar.gz
cgit-pink-2ffeecb7a6827dcf0f81cf543ed312155f6e8f83.zip
Merge branch 'lh/panel'
Diffstat (limited to '')
-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;