]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Merge branch 'stable'
[ps-cgit] / cgit.css
index 30fde03e8bf94cadf7264b14580ec4eec536436e..b8c3d810268e1769182cd040fc21f0969e84af8d 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -95,6 +95,14 @@ td#header {
        vertical-align: text-bottom;
 }
 
+td#header a {
+       color: #666;
+}
+
+td#header a:hover {
+       text-decoration: underline;
+}
+
 td#logo {
        text-align: right;
        vertical-align: middle;
@@ -116,11 +124,13 @@ td#crumb {
 td#crumb a {
        color: #ccc;
        background-color: #666;
+       padding: 0em 0.5em 0em 0.5em;
 }
 
 td#crumb a:hover {
-       color: #eee;
-       background-color: #666;
+       color: #666;
+       background-color: #ccc;
+       text-decoration: none;
 }
 
 td#search {
@@ -174,28 +184,19 @@ div.error {
        margin: 1em 2em;
 }
 
-td.ls-blob, td.ls-dir, td.ls-mod {
+a.ls-blob, a.ls-dir, a.ls-mod {
        font-family: monospace;
 }
 
-div.ls-dir a {
-       font-weight: bold;
-}
-
-th.filesize, td.filesize {
+td.ls-size {
        text-align: right;
 }
 
-td.filesize {
+td.ls-size {
        font-family: monospace;
 }
 
-td.links {
-       font-size: 80%;
-       padding-left: 2em;
-}
-
-td.filemode {
+td.ls-mode {
        font-family: monospace;
 }
 
@@ -211,6 +212,15 @@ table.blob td.no {
        text-align: right;
 }
 
+table.blob td.no a {
+       color: black;
+}
+
+table.blob td.no a:hover {
+       color: black;
+       text-decoration: none;
+}
+
 table.blob td.txt {
        white-space: pre;
        font-family: monospace;
@@ -230,6 +240,7 @@ table.commit-info th {
        text-align: left;
        font-weight: normal;
        padding: 0.1em 1em 0.1em 0.1em;
+       vertical-align: top;
 }
 
 table.commit-info td {
@@ -261,10 +272,6 @@ table.diffstat {
        background-color: #eee;
 }
 
-table.diffstat tr:hover {
-       background-color: #ccc;
-}
-
 table.diffstat th {
        font-weight: normal;
        text-align: left;
@@ -328,6 +335,10 @@ div.diffstat-summary {
        padding-top: 0.5em;
 }
 
+table.diff {
+       width: 100%;
+}
+
 table.diff td {
        font-family: monospace;
        white-space: pre;
@@ -335,7 +346,8 @@ table.diff td {
 
 table.diff td div.head {
        font-weight: bold;
-       padding-top: 1em;
+       margin-top: 1em;
+       background-color: #eee;
 }
 
 table.diff td div.hunk {
@@ -370,16 +382,17 @@ table.list td.repogroup {
 
 a.button {
        font-size: 80%;
-       color: #333;
-       background-color: #ccc;
-       border: solid 1px #999;
+       color: #aaa;
+       background-color: #eee;
+       border: solid 1px #aaa;
        padding: 0em 0.5em;
        margin: 0.1em 0.25em;
 }
 
 a.button:hover {
        text-decoration: none;
-       background-color: #eee;
+       color: #333;
+       background-color: #ccc;
 }
 
 a.primary {