annotate templates/static/style.css @ 8505:dc50108ce188

spartan: simplify CSS colors (#xxxxxx -> #xxx)
author Martin Geisler <mg@lazybytes.net>
date Mon, 18 May 2009 23:35:27 +0200
parents a1758089ee35
children decf329f00cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
1 a { text-decoration:none; }
2130
90ee844b9f71 hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago")
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1778
diff changeset
2 .age { white-space:nowrap; }
5273
6e0f05f6f68d hgweb: Show date of last change for each file in manifest
Thomas Arendsen Hein <thomas@intevation.de>
parents: 4703
diff changeset
3 .date { white-space:nowrap; }
2171
290534ee163c Add download links to hgwebdir index page for allowed archive types.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2132
diff changeset
4 .indexlinks { white-space:nowrap; }
8505
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
5 .parity0 { background-color: #ddd; }
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
6 .parity1 { background-color: #eee; }
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
7 .lineno { width: 60px; color: #aaa; font-size: smaller;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
8 text-align: right; padding-right:1em; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
9 .plusline { color: green; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
10 .minusline { color: red; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
11 .atline { color: purple; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
12 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
13 .buttons a {
8505
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
14 background-color: #666;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
15 padding: 2pt;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
16 color: white;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
17 font-family: sans;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
18 font-weight: bold;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
19 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
20 .navigate a {
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
21 background-color: #ccc;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
22 padding: 2pt;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
23 font-family: sans;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
24 color: black;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
25 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
26
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
27 .metatag {
8505
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
28 background-color: #888;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
29 color: white;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
30 text-align: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
31 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
32
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
33 /* Common */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
34 pre { margin: 0; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
35
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
36 .logo {
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
37 float: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
38 clear: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
39 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
40
2132
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
41 /* Changelog/Filelog entries */
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
42 .logEntry { width: 100%; }
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
43 .logEntry .age { width: 15%; }
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
44 .logEntry th { font-weight: normal; text-align: right; vertical-align: top; }
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
45 .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
46 .logEntry th.firstline { text-align: left; width: inherit; }
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
47
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
48 /* Shortlog entries */
4703
bc63247c66e9 hgweb: improve shortlog formatting
Matt Mackall <mpm@selenic.com>
parents: 4659
diff changeset
49 .slogEntry { width: 100%; }
bc63247c66e9 hgweb: improve shortlog formatting
Matt Mackall <mpm@selenic.com>
parents: 4659
diff changeset
50 .slogEntry .age { width: 8em; }
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
51 .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; }
4703
bc63247c66e9 hgweb: improve shortlog formatting
Matt Mackall <mpm@selenic.com>
parents: 4659
diff changeset
52 .slogEntry td.author { width: 15em; }
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
53
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
54 /* Tag entries */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
55 #tagEntries { list-style: none; margin: 0; padding: 0; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
56 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
57
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
58 /* Changeset entry */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
59 #changesetEntry { }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
60 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
61 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
62
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
63 /* File diff view */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
64 #filediffEntry { }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
65 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
66
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
67 /* Graph */
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
68 div#wrapper {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
69 position: relative;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
70 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
71 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
72 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
73
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
74 canvas {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
75 position: absolute;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
76 z-index: 5;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
77 top: -0.6em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
78 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
79 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
80
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
81 ul#nodebgs {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
82 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
83 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
84 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
85 top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
86 }
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 6693
diff changeset
87
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
88 ul#graphnodes li, ul#nodebgs li {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
89 height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
90 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
91
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
92 ul#graphnodes {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
93 position: absolute;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
94 z-index: 10;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
95 top: -0.85em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
96 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
97 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
98 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
99
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
100 ul#graphnodes li .info {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
101 display: block;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
102 font-size: 70%;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
103 position: relative;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
104 top: -1px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
105 }