]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Merge branch 'lh/clone-url'
[ps-cgit] / cgit.css
index 0c88b65fe4cb1e5003c6bd569cefe4cd819af2a3..55afa94690c3df2983beced1d4fb19138ccd085b 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -153,26 +153,44 @@ table.list td {
        padding: 0.1em 0.5em 0.1em 0.5em;
 }
 
-table.list td.logsubject {
+table.list td.commitgraph {
        font-family: monospace;
-       font-weight: bold;
+       white-space: pre;
 }
 
-table.list td.logmsg {
-       font-family: monospace;
-       white-space: pre;
-       padding: 1em 0.5em 2em 0.5em;
+table.list td.commitgraph .column1 {
+       color: #a00;
+}
+
+table.list td.commitgraph .column2 {
+       color: #0a0;
+}
+
+table.list td.commitgraph .column3 {
+       color: #aa0;
 }
 
-table.list td.lognotes-label {
-       text-align:right;
-       vertical-align:top;
+table.list td.commitgraph .column4 {
+       color: #00a;
 }
 
-table.list td.lognotes {
+table.list td.commitgraph .column5 {
+       color: #a0a;
+}
+
+table.list td.commitgraph .column6 {
+       color: #0aa;
+}
+
+table.list td.logsubject {
+       font-family: monospace;
+       font-weight: bold;
+}
+
+table.list td.logmsg {
        font-family: monospace;
        white-space: pre;
-       padding: 0em 0.5em 2em 0.5em;
+       padding: 0 0.5em;
 }
 
 table.list td a {
@@ -275,7 +293,7 @@ table.blob pre {
        padding: 0; margin: 0;
 }
 
-table.blob a.no {
+table.blob a.no, table.ssdiff a.no {
        color: gray;
        text-align: right;
        text-decoration: none;
@@ -313,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;
@@ -742,4 +787,18 @@ table.ssdiff td.space {
 
 table.ssdiff td.space div {
        min-height: 3em;
-}
\ No newline at end of file
+}
+
+/* Syntax highlighting */
+table.blob .num  { color:#2928ff; }
+table.blob .esc  { color:#ff00ff; }
+table.blob .str  { color:#ff0000; }
+table.blob .dstr { color:#818100; }
+table.blob .slc  { color:#838183; font-style:italic; }
+table.blob .com  { color:#838183; font-style:italic; }
+table.blob .dir  { color:#008200; }
+table.blob .sym  { color:#000000; }
+table.blob .kwa  { color:#000000; font-weight:bold; }
+table.blob .kwb  { color:#830000; }
+table.blob .kwc  { color:#000000; font-weight:bold; }
+table.blob .kwd  { color:#010181; }