##// END OF EJS Templates
hgweb (coal/paper): make file, diff and annotate easier to render...
hgweb (coal/paper): make file, diff and annotate easier to render This patch removes tables altogether for file and diff, and removes one column from annotate, making firefox's incremental renderer much faster for large files.

File last commit:

r7394:03b60f2f default
r7394:03b60f2f default
Show More
style-coal.css
233 lines | 4.1 KiB | text/css | CssLexer
Matt Mackall
templates: add coal web theme
r6436 body {
margin: 0;
padding: 0;
background: black url(background.png) repeat-x;
Matt Mackall
coal: minor fixes...
r6451 font-family: sans-serif;
Matt Mackall
templates: add coal web theme
r6436 }
Matt Mackall
coal: more tweaking...
r6453 .container {
padding-right: 150px;
}
Matt Mackall
templates: add coal web theme
r6436 .main {
Matt Mackall
coal: more tweaking...
r6453 position: relative;
Matt Mackall
templates: add coal web theme
r6436 background: white;
padding: 2em;
border-right: 15px solid black;
border-bottom: 15px solid black;
}
Brendan Cully
Backed out changeset a1f8ad3c1821
r7291 #.main {
width:98%;
}
Matt Mackall
templates: add coal web theme
r6436 .overflow {
width: 100%;
overflow: auto;
}
.menu {
background: #999;
padding: 10px;
width: 75px;
margin: 0;
Matt Mackall
coal: more tweaks...
r6463 font-size: 80%;
Matt Mackall
templates: add coal web theme
r6436 text-align: left;
position: fixed;
top: 27px;
left: auto;
right: 27px;
}
Brendan Cully
Backed out changeset a1f8ad3c1821
r7291 #.menu {
position: absolute !important;
top:expression(eval(document.body.scrollTop + 27));
}
Matt Mackall
templates: add coal web theme
r6436 .menu ul {
list-style: none;
padding: 0;
margin: 10px 0 0 0;
}
.menu li {
margin-bottom: 3px;
padding: 2px 4px;
background: white;
color: black;
font-weight: normal;
}
.menu li.active {
Matt Mackall
coal: more tweaks...
r6463 background: black;
color: white;
Matt Mackall
templates: add coal web theme
r6436 }
Matt Mackall
coal: more tweaks...
r6463 .menu a { color: black; display: block; }
Matt Mackall
templates: add coal web theme
r6436 .search {
position: absolute;
top: .7em;
right: 2em;
}
Benoit Allard
coal/paper: show a search tip when hovering over search box...
r7299 form.search span {
display: none;
position: absolute;
top: 40px;
right: 0px;
width: 190px;
padding: 5px;
background: #ffc;
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 font-size: 70%;
Benoit Allard
coal/paper: show a search tip when hovering over search box...
r7299 border: 1px solid yellow;
-moz-border-radius: 5px; /* this works only in camino/firefox */
-webkit-border-radius: 5px; /* this is just for Safari */
}
form.search:hover span { display: block; }
Matt Mackall
templates: add coal web theme
r6436 a { text-decoration:none; }
.age { white-space:nowrap; }
.date { white-space:nowrap; }
.indexlinks { white-space:nowrap; }
Matt Mackall
hgweb: improve color discrimination for paper and coal
r7340 .parity0 { background-color: #f0f0f0; }
Matt Mackall
templates: add coal web theme
r6436 .parity1 { background-color: white; }
.plusline { color: green; }
Matt Mackall
hgweb: improve color discrimination for paper and coal
r7340 .minusline { color: #dc143c; } /* crimson */
Matt Mackall
templates: add coal web theme
r6436 .atline { color: purple; }
.navigate {
text-align: right;
font-size: 60%;
margin: 1em 0 1em 0;
}
.tag {
color: #999;
font-size: 70%;
font-weight: normal;
margin-left: .5em;
Dirkjan Ochtman
coal: fix CSS errors as reported by Firefox
r6571 vertical-align: baseline;
Matt Mackall
templates: add coal web theme
r6436 }
/* Common */
pre { margin: 0; }
h2 { font-size: 120%; border-bottom: 1px solid #999; }
Dirkjan Ochtman
coal/paper: link repo name to hgweb root
r7314 h2 a { color: #000; }
Matt Mackall
templates: add coal web theme
r6436 h3 {
margin-top: -.7em;
font-size: 100%;
}
/* log and tags tables */
.bigtable {
border-bottom: 1px solid #999;
border-collapse: collapse;
font-size: 90%;
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 width: 100%;
Matt Mackall
templates: add coal web theme
r6436 font-weight: normal;
text-align: left;
}
.bigtable td {
padding: 1px 4px 1px 4px;
vertical-align: top;
}
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 .bigtable th {
Matt Mackall
templates: add coal web theme
r6436 padding: 1px 4px 1px 4px;
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 border-bottom: 1px solid #999;
Matt Mackall
templates: add coal web theme
r6436 font-size: smaller;
}
.bigtable tr { border: none; }
.bigtable .age { width: 6em; }
Dirkjan Ochtman
coal/paper: widen author column in log table
r7181 .bigtable .author { width: 12em; }
Matt Mackall
templates: add coal web theme
r6436 .bigtable .description { }
.bigtable .node { width: 5em; font-family: monospace;}
.bigtable .lineno { width: 2em; text-align: right;}
.bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
Matt Mackall
coal: more tweaks...
r6452 .bigtable .permissions { width: 8em; text-align: left;}
Matt Mackall
templates: add coal web theme
r6436 .bigtable .size { width: 5em; text-align: right; }
Dirkjan Ochtman
coal: fix CSS errors as reported by Firefox
r6571 .bigtable .annotate { text-align: right; }
Matt Mackall
templates: add coal web theme
r6436 .bigtable td.annotate { font-size: smaller; }
Brendan Cully
hgweb (coal/paper): make file, diff and annotate easier to render...
r7394 .bigtable td.source { font-size: inherit; }
.source, .sourcefirst, .sourcelast {
font-family: monospace;
white-space: pre;
font-size: 90%;
}
.sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
.sourcelast { border-top: 1px solid #999; }
.source a { color: #999; font-size: smaller; font-family: monospace;}
.bottomline { border-bottom: 1px solid #999; }
Matt Mackall
templates: add coal web theme
r6436
Matt Mackall
coal: even more tweaks...
r6454 .fileline { font-family: monospace; }
Matt Mackall
coal: more tweaks...
r6463 .fileline img { border: 0; }
Matt Mackall
coal: even more tweaks...
r6454
Matt Mackall
templates: add coal web theme
r6436 /* Changeset entry */
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 #changesetEntry {
Matt Mackall
templates: add coal web theme
r6436 border-collapse: collapse;
font-size: 90%;
width: 100%;
margin-bottom: 1em;
}
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 #changesetEntry th {
Matt Mackall
templates: add coal web theme
r6436 padding: 1px 4px 1px 4px;
width: 4em;
text-align: right;
font-weight: normal;
color: #999;
margin-right: .5em;
vertical-align: top;
}
div.description {
border-left: 3px solid #999;
margin: 1em 0 1em 0;
padding: .3em;
}
Dirkjan Ochtman
add graph page to hgweb
r6691
div#wrapper {
position: relative;
border-top: 1px solid black;
border-bottom: 1px solid black;
margin: 0;
padding: 0;
}
canvas {
position: absolute;
z-index: 5;
top: -0.7em;
margin: 0;
}
ul#graphnodes {
position: absolute;
z-index: 10;
top: -1.0em;
list-style: none inside none;
padding: 0;
}
ul#nodebgs {
list-style: none inside none;
padding: 0;
margin: 0;
top: -0.7em;
}
ul#graphnodes li, ul#nodebgs li {
height: 39px;
}
ul#graphnodes li .info {
display: block;
font-size: 70%;
position: relative;
top: -3px;
}