X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/f214118c56aeeb8bc2c7f4618be58bbc463dd75f..cb92d05b6b729cd0e219b43d7a79aff832a9c1ac:/cgit.css

diff --git a/cgit.css b/cgit.css
index b8c3d81..e3b32e7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,49 +1,117 @@
+body, table, form {
+	padding: 0em;
+	margin: 0em;
+}
+
 body {
-	font-family: arial, sans-serif;
-	font-size: 11pt;
-	color: black;
+	font-family: sans-serif;
+	font-size: 10pt;
+	color: #333;
 	background: white;
+	padding: 4px;
 }
 
-body, table {
-	padding: 0em;
-	margin: 0em;
+a {
+	color: blue;
+	text-decoration: none;
+}
+
+a:hover {
+	text-decoration: underline;
 }
 
 table {
       border-collapse: collapse;
 }
 
-h2 {
-	font-size: 120%;
-	font-weight: bold;
-	margin-top: 0em;
-	margin-bottom: 0.25em;
+table#header {
+	width: 100%;
+	margin-bottom: 1em;
 }
 
-h3 {
-	margin-top: 0em;
-	font-size: 100%;
-	font-weight: normal;
+table#header td.logo {
+	width: 96px;
 }
 
-h4 {
-	margin-top: 1.5em;
-	margin-bottom: 0.1em;
-	font-size: 100%;
-	font-weight: bold;
+table#header td.main {
+	font-size: 250%;
+	padding-left: 10px;
+	white-space: nowrap;
 }
 
-a {
-	color: blue;
-	text-decoration: none;
+table#header td.main a {
+	color: #000;
 }
 
-a:hover {
-	text-decoration: underline;
+table#header td.form {
+	text-align: right;
+	vertical-align: bottom;
+	padding-right: 1em;
+	padding-bottom: 2px;
+	white-space: nowrap;
+}
+
+table#header td.form form,
+table#header td.form input,
+table#header td.form select {
+	font-size: 90%;
+}
+
+table#header td.sub {
+	color: #777;
+	border-top: solid 1px #ccc;
+	padding-left: 10px;
+}
+
+table.tabs {
+	/* border-bottom: solid 2px #ccc; */
+	border-collapse: collapse;
+	margin-top: 2em;
+	margin-bottom: 0px;
+	width: 100%;
+}
+
+table.tabs td {
+	padding: 0px 1em;
+	vertical-align: bottom;
+}
+
+table.tabs td a {
+	padding: 2px 0.75em;
+	color: #777;
+	font-size: 110%;
+}
+
+table.tabs td a.active {
+	color: #000;
+	background-color: #ccc;
+}
+
+table.tabs td.form {
+	text-align: right;
+}
+
+table.tabs td.form form {
+	padding-bottom: 2px;
+	font-size: 90%;
+	white-space: nowrap;
 }
 
+table.tabs td.form input,
+table.tabs td.form select {
+	font-size: 90%;
+}
+
+div.content {
+	margin: 0px;
+	padding: 2em;
+	border-top: solid 3px #ccc;
+	border-bottom: solid 3px #ccc;
+}
+
+
 table.list {
+	width: 100%;
 	border: none;
 	border-collapse: collapse;
 }
@@ -52,6 +120,10 @@ table.list tr {
 	background: white;
 }
 
+table.list tr.logheader {
+	background: #eee;
+}
+
 table.list tr:hover {
 	background: #eee;
 }
@@ -62,8 +134,11 @@ table.list tr.nohover:hover {
 
 table.list th {
 	font-weight: bold;
-	border-bottom: solid 1px #777;
-	padding: 0.1em 0.5em 0.1em 0.5em;
+	/* color: #888;
+	border-top: dashed 1px #888;
+	border-bottom: dashed 1px #888;
+	*/
+	padding: 0.1em 0.5em 0.05em 0.5em;
 	vertical-align: baseline;
 }
 
@@ -72,85 +147,46 @@ table.list td {
 	padding: 0.1em 0.5em 0.1em 0.5em;
 }
 
-img {
-	border: none;
-}
-
-table#layout {
-	width: 100%;
-	border-collapse: collapse;
-	margin: 0px;
-}
-
-td#header, td#logo {
-	color: #666;
-	background-color: #ddd;
-	border-bottom: solid 1px #000;
-}
-
-td#header {
-	font-size: 150%;
+table.list td.logsubject {
+	font-family: monospace;
 	font-weight: bold;
-	padding: 0.2em 0.5em;
-	vertical-align: text-bottom;
-}
-
-td#header a {
-	color: #666;
 }
 
-td#header a:hover {
-	text-decoration: underline;
-}
-
-td#logo {
-	text-align: right;
-	vertical-align: middle;
-	padding-right: 0.5em;
+table.list td.logmsg {
+	font-family: monospace;
+	white-space: pre;
+	padding: 1em 0.5em 2em 0.5em;
 }
 
-td#crumb, td#search {
-	color: #ccc;
-	border-top: solid 3px #555;
-	background-color: #666;
-	border-bottom: solid 1px #333;
-	padding: 2px 1em;
+table.list td a {
+	color: black;
 }
 
-td#crumb {
-	font-weight: bold;
+table.list td a:hover {
+	color: #00f;
 }
 
-td#crumb a {
-	color: #ccc;
-	background-color: #666;
-	padding: 0em 0.5em 0em 0.5em;
+img {
+	border: none;
 }
 
-td#crumb a:hover {
-	color: #666;
-	background-color: #ccc;
-	text-decoration: none;
+input#switch-btn {
+	margin: 2px 0px 0px 0px;
 }
 
-td#search {
-	text-align: right;
-	vertical-align: middle;
-	padding-right: 0.5em;
+td#sidebar input.txt {
+	width: 100%;
+	margin: 2px 0px 0px 0px;
 }
 
-td#search form {
+table#grid {
 	margin: 0px;
-	padding: 0px;
 }
 
-td#search input {
-	font-size: 9pt;
-	padding: 0px;
-	width: 10em;
-	border: solid 1px #333;
-	color: #333;
-	background-color: #fff;
+td#content {
+	vertical-align: top;
+	padding: 1em 2em 1em 1em;
+	border: none;
 }
 
 div#summary {
@@ -170,10 +206,6 @@ table#downloads th {
 	background-color: #ccc;
 }
 
-td#content {
-	padding: 1em 0.5em;
-}
-
 div#blob {
 	border: solid 1px black;
 }
@@ -190,14 +222,13 @@ a.ls-blob, a.ls-dir, a.ls-mod {
 
 td.ls-size {
 	text-align: right;
-}
-
-td.ls-size {
 	font-family: monospace;
+	width: 10em;
 }
 
 td.ls-mode {
 	font-family: monospace;
+	width: 10em;
 }
 
 table.blob {
@@ -205,26 +236,50 @@ table.blob {
 	border-top: solid 1px black;
 }
 
-table.blob td.no {
-	border-right: solid 1px black;
+table.blob td.lines {
+	margin: 0; padding: 0;
+	vertical-align: top;
 	color: black;
+}
+
+table.blob td.linenumbers {
+	margin: 0; padding: 0;
+	vertical-align: top;
+	border-right: 1px solid gray;
 	background-color: #eee;
+}
+
+table.blob pre {
+	padding: 0; margin: 0;
+}
+
+table.blob a.no {
+	color: gray;
 	text-align: right;
+	text-decoration: none;
 }
 
-table.blob td.no a {
+table.blob a.no a:hover {
 	color: black;
 }
 
-table.blob td.no a:hover {
-	color: black;
-	text-decoration: none;
+table.bin-blob {
+	margin-top: 0.5em;
+	border: solid 1px black;
 }
 
-table.blob td.txt {
+table.bin-blob th {
+	font-family: monospace;
 	white-space: pre;
+	border: solid 1px #777;
+	padding: 0.5em 1em;
+}
+
+table.bin-blob td {
 	font-family: monospace;
-	padding-left: 0.5em;
+	white-space: pre;
+	border-left: solid 1px #777;
+	padding: 0em 1em;
 }
 
 table.nowrap td {
@@ -267,7 +322,6 @@ div.diffstat-header {
 
 table.diffstat {
 	border-collapse: collapse;
-	width: 100%;
 	border: solid 1px #aaa;
 	background-color: #eee;
 }
@@ -308,7 +362,7 @@ table.diffstat td.upd a {
 }
 
 table.diffstat td.graph {
-	width: 75%;
+	width: 500px;
 	vertical-align: middle;
 }
 
@@ -347,7 +401,7 @@ table.diff td {
 table.diff td div.head {
 	font-weight: bold;
 	margin-top: 1em;
-	background-color: #eee;
+	color: black;
 }
 
 table.diff td div.hunk {
@@ -382,17 +436,7 @@ table.list td.repogroup {
 
 a.button {
 	font-size: 80%;
-	color: #aaa;
-	background-color: #eee;
-	border: solid 1px #aaa;
 	padding: 0em 0.5em;
-	margin: 0.1em 0.25em;
-}
-
-a.button:hover {
-	text-decoration: none;
-	color: #333;
-	background-color: #ccc;
 }
 
 a.primary {
@@ -411,6 +455,16 @@ table.list td.sublevel-repo {
 	padding-left: 1.5em;
 }
 
+div.pager {
+	text-align: center;
+	margin: 1em 0em 0em 0em;
+}
+
+div.pager a {
+	color: #777;
+	margin: 0em 0.5em;
+}
+
 span.age-mins {
 	font-weight: bold;
 	color: #080;
@@ -435,3 +489,115 @@ span.age-months {
 span.age-years {
 	color: #bbb;
 }
+div.footer {
+	margin-top: 0.5em;
+	text-align: center;
+	font-size: 80%;
+	color: #ccc;
+}
+a.branch-deco {
+	margin: 0px 0.5em;
+	padding: 0px 0.25em;
+	background-color: #88ff88;
+	border: solid 1px #007700;
+}
+a.tag-deco {
+	margin: 0px 0.5em;
+	padding: 0px 0.25em;
+	background-color: #ffff88;
+	border: solid 1px #777700;
+}
+a.remote-deco {
+	margin: 0px 0.5em;
+	padding: 0px 0.25em;
+	background-color: #ccccff;
+	border: solid 1px #000077;
+}
+a.deco {
+	margin: 0px 0.5em;
+	padding: 0px 0.25em;
+	background-color: #ff8888;
+	border: solid 1px #770000;
+}
+
+div.commit-subject a {
+	margin-left: 1em;
+	font-size: 75%;
+}
+
+table.stats {
+	border: solid 1px black;
+	border-collapse: collapse;
+}
+
+table.stats th {
+	text-align: left;
+	padding: 1px 0.5em;
+	background-color: #eee;
+	border: solid 1px black;
+}
+
+table.stats td {
+	text-align: right;
+	padding: 1px 0.5em;
+	border: solid 1px black;
+}
+
+table.stats td.total {
+	font-weight: bold;
+	text-align: left;
+}
+
+table.stats td.sum {
+	color: #c00;
+	font-weight: bold;
+/*	background-color: #eee; */
+}
+
+table.stats td.left {
+	text-align: left;
+}
+
+table.vgraph {
+	border-collapse: separate;
+	border: solid 1px black;
+	height: 200px;
+}
+
+table.vgraph th {
+	background-color: #eee;
+	font-weight: bold;
+	border: solid 1px white;
+	padding: 1px 0.5em;
+}
+
+table.vgraph td {
+	vertical-align: bottom;
+	padding: 0px 10px;
+}
+
+table.vgraph div.bar {
+	background-color: #eee;
+}
+
+table.hgraph {
+	border: solid 1px black;
+	width: 800px;
+}
+
+table.hgraph th {
+	background-color: #eee;
+	font-weight: bold;
+	border: solid 1px black;
+	padding: 1px 0.5em;
+}
+
+table.hgraph td {
+	vertical-align: center;
+	padding: 2px 2px;
+}
+
+table.hgraph div.bar {
+	background-color: #eee;
+	height: 1em;
+}