Merge pull request #15 from tvlooy/index_include
[m6w6/gitweb-theme] / gitweb.css
old mode 100755 (executable)
new mode 100644 (file)
index fb57b76..7cb593e
@@ -52,6 +52,11 @@ body {
   color: #000000;
 }
 
+/* Monospaced Fonts */
+.sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
+  font-family: 'Consolas','Bitstream Vera Sans Mono',monospace;
+}
+
 a:link, a:visited {
   color: #4183C4;
   text-decoration: none;
@@ -126,7 +131,9 @@ td, th {
 }
 
 .page_header img.logo {
-  display: none;
+  position: relative;
+  top: 7px;
+  margin-right: 5px;
 }
 
 /* Page Footer
@@ -171,6 +178,20 @@ a.rss_logo:hover {
   background-color: #ee5500;
 }
 
+/* Index include
+---------------------------------------------------------------------------- */
+
+.index_include {
+  width: 95%;
+  margin: 0 auto 15px;
+  background: -moz-linear-gradient(center top , #FFFFFF 0%, #F5F5F5 100%) repeat scroll 0 0 transparent;
+  border: 1px solid #DFDFDF;
+  padding: 8px;
+  -webkit-box-sizing: border-box;
+     -moz-box-sizing: border-box;
+          box-sizing: border-box;
+}
+
 /* Elements
 ---------------------------------------------------------------------------- */
 
@@ -242,6 +263,10 @@ th .header {
   top: 15px;
 }
 
+.projsearch a {
+  display: none;
+}
+
 .commit_search {
   background: #eaeaea;
 }
@@ -344,7 +369,23 @@ th .header {
 }
 
 .patch > .header {
-  width: 98.5%;
+  width: 99%;
+}
+
+.author .avatar,
+.author_date .avatar {
+  position: relative;
+  top: 3px;
+}
+
+.object_header .avatar {
+  border: 1px solid #D8D8D8;
+  float: right;
+}
+
+.object_header td,
+.object_header th {
+  vertical-align: top;
 }
 
 /* Refs
@@ -382,6 +423,20 @@ span.refs a {
 /* Diffs
 ---------------------------------------------------------------------------- */
 
+div.diff.to_file a.path,
+div.diff.to_file {
+  color: #007000;
+}
+
+div.diff.from_file a.path,
+div.diff.from_file {
+  color: #aa0000;
+}
+
+.patch .header {
+  margin: 0;
+}
+
 .patchset {
   overflow-x: auto;
   overflow-y: hidden;
@@ -399,6 +454,42 @@ span.refs a {
   background: #ddffdd;
 }
 
+.extended_header {
+  width: 99.5%;
+}
+
+div.chunk_block {
+  overflow: hidden;
+}
+
+div.chunk_block div.old {
+  float: left;
+  width: 50%;
+  overflow: hidden;
+  border-right: 5px solid #EAF2F5;
+}
+
+div.chunk_block.rem,
+div.chunk_block.add {
+  background: transparent;
+}
+
+div.chunk_block div.old .add,
+div.chunk_block div.old .rem {
+  padding-right: 3px;
+}
+
+div.chunk_block div.new .add,
+div.chunk_block div.new .rem {
+  padding-left: 3px;
+}
+
+div.chunk_block div.new {
+  margin-left: 50%;
+  width: 50%;
+  border-left: 5px solid #EAF2F5;
+}
+
 /* Age
 ---------------------------------------------------------------------------- */
 
@@ -463,7 +554,7 @@ td.error {
 /* blob view */
 
 td.pre, div.pre, div.diff {
-  white-space: pre;
+  white-space: pre-wrap;
 }
 
 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */