MercurialWebTheme

Changeset

12:d453a987d2e0
2010-07-12 Paul Boddie raw files shortlog changelog graph Introduced separators between file links.
themes/mercurialweb/map (file) themes/mercurialweb/static/style-mercurialweb.css (file)
     1.1 --- a/themes/mercurialweb/map	Mon Jul 12 02:26:23 2010 +0200
     1.2 +++ b/themes/mercurialweb/map	Mon Jul 12 22:02:42 2010 +0200
     1.3 @@ -42,7 +42,7 @@
     1.4  fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
     1.5  
     1.6  filenolink = '{file|escape} '
     1.7 -filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
     1.8 +filenodelink = '<span><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></span> '
     1.9  
    1.10  hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
    1.11  urlparameter = '{separator}{name}={value|urlescape}'
     2.1 --- a/themes/mercurialweb/static/style-mercurialweb.css	Mon Jul 12 02:26:23 2010 +0200
     2.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css	Mon Jul 12 22:02:42 2010 +0200
     2.3 @@ -337,6 +337,14 @@
     2.4      margin-left: 1em;
     2.5  }
     2.6  
     2.7 +.files span:before {
     2.8 +    content: '| ';
     2.9 +}
    2.10 +
    2.11 +.files span:first-child:before {
    2.12 +    content: '';
    2.13 +}
    2.14 +
    2.15  /* Source views. */
    2.16  
    2.17  .source {