]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Merge branch 'lh/clone-url'
[ps-cgit] / cgit.css
index 563f8e15c2b6f19d88391e51b13fe3a5519bb225..55afa94690c3df2983beced1d4fb19138ccd085b 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -64,7 +64,7 @@ table#header td.sub {
 }
 
 table.tabs {
-       /* border-bottom: solid 2px #ccc; */
+       border-bottom: solid 3px #ccc;
        border-collapse: collapse;
        margin-top: 2em;
        margin-bottom: 0px;
@@ -106,14 +106,12 @@ div.path {
        margin: 0px;
        padding: 5px 2em 2px 2em;
        color: #000;
-       background-color: #ccc;
-       font-weight: bold;
+       background-color: #eee;
 }
 
 div.content {
        margin: 0px;
        padding: 2em;
-       border-top: solid 3px #ccc;
        border-bottom: solid 3px #ccc;
 }
 
@@ -155,6 +153,35 @@ table.list td {
        padding: 0.1em 0.5em 0.1em 0.5em;
 }
 
+table.list td.commitgraph {
+       font-family: monospace;
+       white-space: pre;
+}
+
+table.list td.commitgraph .column1 {
+       color: #a00;
+}
+
+table.list td.commitgraph .column2 {
+       color: #0a0;
+}
+
+table.list td.commitgraph .column3 {
+       color: #aa0;
+}
+
+table.list td.commitgraph .column4 {
+       color: #00a;
+}
+
+table.list td.commitgraph .column5 {
+       color: #a0a;
+}
+
+table.list td.commitgraph .column6 {
+       color: #0aa;
+}
+
 table.list td.logsubject {
        font-family: monospace;
        font-weight: bold;
@@ -163,7 +190,7 @@ table.list td.logsubject {
 table.list td.logmsg {
        font-family: monospace;
        white-space: pre;
-       padding: 1em 0.5em 2em 0.5em;
+       padding: 0 0.5em;
 }
 
 table.list td a {
@@ -266,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;
@@ -304,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;
@@ -328,6 +382,24 @@ div.commit-msg {
        font-family: monospace;
 }
 
+div.notes-header {
+       font-weight: bold;
+       padding-top: 1.5em;
+}
+
+div.notes {
+       white-space: pre;
+       font-family: monospace;
+       border: solid 1px #ee9;
+       background-color: #ffd;
+       padding: 0.3em 2em 0.3em 1em;
+       float: left;
+}
+
+div.notes-footer {
+       clear: left;
+}
+
 div.diffstat-header {
        font-weight: bold;
        padding-top: 1.5em;
@@ -533,7 +605,10 @@ a.deco {
        border: solid 1px #770000;
 }
 
-div.commit-subject a {
+div.commit-subject a.branch-deco,
+div.commit-subject a.tag-deco,
+div.commit-subject a.remote-deco,
+div.commit-subject a.deco {
        margin-left: 1em;
        font-size: 75%;
 }
@@ -712,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; }