Starting to hook up "orphaned" actions.
[catagits/Gitalist.git] / root / static / css / site.css
index 629c8be..8fb3d80 100644 (file)
@@ -1,45 +1,45 @@
-/* XXX Colours. Lots of colours. */
-
 body {
   margin: 1em;
 }
 
-#commit-nav {
-  padding-bottom: 4px;
-  border-bottom: solid 1px #ccc;
-  font-style: italic;
-}
-
 thead, tfoot {
+  /* FTR all table columns should be sortable hence the colour to indicate clickableness. */
   color: navy;
   font-size: small;
   font-weight: bold !important;
-  background-color: #C3D9FF;
+}
+thead th {
+  border-bottom: solid 1px #777;
+}
+tfoot td {
+  border-top: solid 1px #777;
 }
 
-table.shortlog tr {
-  padding: 1px 0px;
+.listing tbody tr:nth-child(even) {
+  background-color: #f7f7f7;
 }
-table.shortlog td {
-  padding: 0 1px;
+.listing tbody tr:hover {
+  background-color: #fefeaa;
 }
 
-/* /commit page */
-.commit-message {
+span.chroma-hash {
   font-family: monospace;
+  font-size:   1em;
+  font-style: normal;
 }
-div.commit-message {
-  background-color: #ddd;
-  padding: 5px;
+div.chroma-hash {
+  float: right;
 }
-.commit-info dt {
-  font-weight: bold;
+
+.time-since {
+  font-style: italic;
 }
-.commit-info dd {
-  font-family: monospace;
+.author, .head {
+  font-weight: bold;
+  font-family: "Trebuchet MS", "Lucida Grande", serif;
 }
 
-.filename {
+.file-name, .file-mode {
   font-family: monospace;
 }
 .action-list {
@@ -52,6 +52,83 @@ div.commit-message {
   font-weight: bold;
 }
 
+
+/* header */
+#page-header {
+  height: 25px;
+  padding: 8px;
+  font-size: 1.5em;
+  font-weight: bold;
+  background-color: #d9d8d1;
+}
+
+img.logo {
+  float: right;
+  border-width: 0px;
+  margin-top: 4px;
+}
+
+/* footer */
+#page-footer {
+  height: 20px;
+  padding: 8px;
+  margin-top: 10px;
+  font-style: italic;
+  background-color: #d9d8d1;
+  border-top: solid 1px #777;
+}
+
+/* actions include */
+.actions {
+  padding-bottom: 4px 0;
+  font-style: italic;
+  border-top: solid 1px #777;
+  border-bottom: solid 1px #777;
+  margin-bottom: 10px;
+  padding: 5px 0;
+}
+
+/* pager include */
+.pager {
+  text-align: center;
+}
+
+/* search include */
+#page-search {
+  text-align: right;
+  float: right;
+  font-size: 0.7em;
+  padding-right: 20px;
+}
+
+/* shortlog include */
+table.shortlog tbody tr {
+  padding: 1px 0px;
+}
+table.shortlog tbody td {
+  padding: 0 1px;
+}
+
+/* /commit page */
+.commit-message {
+  font-family: monospace;
+  font-size: 1.2em;
+}
+div.commit-message {
+  margin-bottom: 10px;
+}
+pre.commit-message {
+  border-top:  solid 2px red;
+  border-bottom:  solid 2px green;
+  padding: 5px;
+}
+.commit-info dt {
+  font-weight: bold;
+}
+.commit-info dd {
+  font-family: monospace;
+}
+
 /* /heads */
 .heads .head {
   font-weight: bold;
@@ -60,7 +137,28 @@ div.commit-message {
   text-decoration: underline;
 }
 table.heads {
-  width: 50%;
+  width: 75%;
+}
+
+/* /blame */
+#blame pre, #blame tt {
+  margin: 0;
+  font-size: 0.9em;
+}
+#blame .commit-info {
+}
+#blame .lineno {
+  text-align: right;
+  padding: 0 8px;
+}
+#blame a {
+  text-decoration: none;
+}
+#blame tr.alt {
+  background-color: #f7f7f7;
+}
+#blame tbody tr:hover {
+  background-color: #fefeaa;
 }
 
 /* /blob */
@@ -85,6 +183,11 @@ pre.blob {
   border-bottom: solid 1px green;
 }
 
+/* /commitdiff */
+.diff-patch {
+  font-size: 0.8em;
+}
+
 /* /log */
 #log .entry {
   border: solid 1px grey;
@@ -93,7 +196,7 @@ pre.blob {
 }
 #log .meta {
   border-top: dotted 1px #ddd;
-  color: #755;
+  color: #311;
 }
 #log table.summary {
   width: 33%;
@@ -102,59 +205,72 @@ pre.blob {
 #log .message {
   font-family: monospace;
   font-size: 1.15em;
+  /* XXX Need to enforce find the CSS switch to force the chroma-hash below the message box */
 }
 #log .age {
   float: right;
   font-size: 0.85em;
   font-style: italic;
 }
-.chroma-hash {
+
+/* /summary */
+#stats {
   float: right;
-  font-family: monospace;
-  font-size:   1em;
 }
 
-/**
- * from gitweb.css
- * XXX These can be rejigged once gitweb.css has gone away.
- */
-#page-header {
-       height: 25px;
-       padding: 8px;
-       font-size: 150%;
-       font-weight: bold;
-       background-color: #d9d8d1;
-}
-img.logo {
-       float: right;
-       border-width: 0px;
+/* /tree */
+table.tree {
+  width: 65%;
 }
 
+/* Formerly of gitweb.css */
+
 span.refs span {
-       padding: 0px 4px;
-       font-size: 80%;
-        /* XXX needs more families */
-        font-family: Verdana;
-        letter-spacing: -1px;
-       border: 1px solid;
-       background-color: #ffaaff;
-       border-color: #ffccff #ff00ee #ff00ee #ffccff;
+  padding: 0px 4px;
+  font-size: 80%;
+  /* XXX needs more families */
+  font-family: Verdana;
+  letter-spacing: -1px;
+  border: 1px solid;
+  background-color: #ffaaff;
+  border-color: #ffccff #ff00ee #ff00ee #ffccff;
 }
 
 span.refs span.ref {
-       background-color: #aaaaff;
-       border-color: #ccccff #0033cc #0033cc #ccccff;
+  background-color: #aaaaff;
+  border-color: #ccccff #0033cc #0033cc #ccccff;
 }
 
 span.refs span.tag {
-       background-color: #ffffaa;
-       border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
+  background-color: #ffffaa;
+  border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
 }
 
 span.refs span.head {
-       background-color: #aaffaa;
-       border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
+  background-color: #aaffaa;
+  border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 }
 span.refs a {
   text-decoration: none;
 }
+
+a.rss_logo {
+  float: right;
+  padding: 3px 0px;
+  width: 35px;
+  line-height: 10px;
+  border: 1px solid;
+  border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
+  color: #ffffff;
+  background-color: #ff6600;
+  font-weight: bold;
+  font-family: sans-serif;
+  font-size: 70%;
+  font-style: normal;
+  text-align: center;
+  text-decoration: none;
+}
+
+a.rss_logo:hover {
+  background-color: #ee5500;
+}