changeset 6463:5e011a402352

coal: more tweaks - move icons inside links - set icon borders to 0 - make active menu button white on black and remove bar
author Matt Mackall <mpm@selenic.com>
date Fri, 04 Apr 2008 13:43:25 -0500
parents 6c4e12682fb9
children 5b008e2ec48a
files templates/coal/map templates/static/style-coal.css
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/templates/coal/map	Thu Apr 03 13:47:05 2008 +0200
+++ b/templates/coal/map	Fri Apr 04 13:43:25 2008 -0500
@@ -20,8 +20,8 @@
 changeset = changeset.tmpl
 manifest = manifest.tmpl
 
-direntry = '<tr class="fileline parity{parity}"><td class="name"><img src="{staticurl}coal-folder.png"> <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
-fileentry = '<tr class="fileline parity{parity}"><td clase="filename"><img src="{staticurl}coal-file.png"> <a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}">{basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
+direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
+fileentry = '<tr class="fileline parity{parity}"><td clase="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
 
 filerevision = filerevision.tmpl
 fileannotate = fileannotate.tmpl
--- a/templates/static/style-coal.css	Thu Apr 03 13:47:05 2008 +0200
+++ b/templates/static/style-coal.css	Fri Apr 04 13:43:25 2008 -0500
@@ -27,7 +27,7 @@
   padding: 10px;
   width: 75px;
   margin: 0;
-  font-size: 80% /*smaller*/;
+  font-size: 80%;
   text-align: left;
   position: fixed;
   top: 27px;
@@ -50,17 +50,18 @@
 }
 
 .menu li.active {
-  border-left: 3px solid black;
+  background: black;
+  color: white;
 }
 
+.menu a { color: black; display: block; }
+
 .search {
   position: absolute;
   top: .7em;
   right: 2em;
 }
 
-.menu a { color: black; display: block; }
-
 a { text-decoration:none; }
 .age { white-space:nowrap; }
 .date { white-space:nowrap; }
@@ -128,6 +129,7 @@
 .bigtable td.annotate { font-size: smaller; }
 
 .fileline { font-family: monospace; }
+.fileline img { border: 0; }
 
 /* Changeset entry */
 #changesetEntry {