##// END OF EJS Templates
templatefilters: add "nonempty" template filter...
templatefilters: add "nonempty" template filter It ensures that at least "(none)" is returned in case the argument passed is None or ''. This is primarily useful to render empty changelog messages for hgweb but may be useful for others, too.

File last commit:

r7327:a1758089 default
r8234:27dbe534 default
Show More
style.css
105 lines | 2.3 KiB | text/css | CssLexer
Josef "Jeff" Sipek
[hgweb] Move CSS from headers into static files
r1778 a { text-decoration:none; }
Thomas Arendsen Hein
hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago")...
r2130 .age { white-space:nowrap; }
Thomas Arendsen Hein
hgweb: Show date of last change for each file in manifest
r5273 .date { white-space:nowrap; }
Thomas Arendsen Hein
Add download links to hgwebdir index page for allowed archive types....
r2171 .indexlinks { white-space:nowrap; }
Josef "Jeff" Sipek
[hgweb] Move CSS from headers into static files
r1778 .parity0 { background-color: #dddddd; }
.parity1 { background-color: #eeeeee; }
Thomas Arendsen Hein
Kill trailing spaces
r4659 .lineno { width: 60px; color: #aaaaaa; font-size: smaller;
Josef "Jeff" Sipek
[hgweb] Move CSS from headers into static files
r1778 text-align: right; padding-right:1em; }
.plusline { color: green; }
.minusline { color: red; }
.atline { color: purple; }
.annotate { font-size: smaller; text-align: right; padding-right: 1em; }
.buttons a {
background-color: #666666;
padding: 2pt;
color: white;
font-family: sans;
font-weight: bold;
}
.navigate a {
background-color: #ccc;
padding: 2pt;
font-family: sans;
color: black;
}
.metatag {
background-color: #888888;
color: white;
text-align: right;
}
/* Common */
pre { margin: 0; }
.logo {
float: right;
clear: right;
}
Thomas Arendsen Hein
hgweb: Synchronised filelogentry to changelogentry.
r2132 /* Changelog/Filelog entries */
.logEntry { width: 100%; }
.logEntry .age { width: 15%; }
.logEntry th { font-weight: normal; text-align: right; vertical-align: top; }
.logEntry th.age, .logEntry th.firstline { font-weight: bold; }
.logEntry th.firstline { text-align: left; width: inherit; }
Josef "Jeff" Sipek
[hgweb] Move CSS from headers into static files
r1778
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686 /* Shortlog entries */
Matt Mackall
hgweb: improve shortlog formatting...
r4703 .slogEntry { width: 100%; }
.slogEntry .age { width: 8em; }
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686 .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; }
Matt Mackall
hgweb: improve shortlog formatting...
r4703 .slogEntry td.author { width: 15em; }
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686
Josef "Jeff" Sipek
[hgweb] Move CSS from headers into static files
r1778 /* Tag entries */
#tagEntries { list-style: none; margin: 0; padding: 0; }
#tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
/* Changeset entry */
#changesetEntry { }
#changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
#changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
/* File diff view */
#filediffEntry { }
#filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
Augie Fackler
hgweb: Fix up non-coal styles to support graph.
r6693 /* Graph */
div#wrapper {
position: relative;
margin: 0;
padding: 0;
}
canvas {
position: absolute;
z-index: 5;
top: -0.6em;
margin: 0;
}
ul#nodebgs {
list-style: none inside none;
padding: 0;
margin: 0;
top: -0.7em;
}
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327
Augie Fackler
hgweb: Fix up non-coal styles to support graph.
r6693 ul#graphnodes li, ul#nodebgs li {
height: 39px;
}
ul#graphnodes {
position: absolute;
z-index: 10;
top: -0.85em;
list-style: none inside none;
padding: 0;
}
ul#graphnodes li .info {
display: block;
font-size: 70%;
position: relative;
top: -1px;
}