annotate mercurial/templates/static/style.css @ 29628:6217180f9ab8 stable

spartan: make annotate popup use theme colors
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 25 Jul 2016 12:59:52 +0800
parents 9c37df347485
children 8f34e217338b
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; }
26536
93a3687a94d7 hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 21124
diff changeset
5 .parity0 { background-color: #ddd; color: #000; }
93a3687a94d7 hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 21124
diff changeset
6 .parity1 { background-color: #eee; color: #000; }
8505
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;
8507
decf329f00cb spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8505
diff changeset
8 text-align: right; }
1778
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; }
29387
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 26536
diff changeset
13 tr.thisrev a { color:#999999; text-decoration: none; }
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 26536
diff changeset
14 tr.thisrev pre { color:#009900; }
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
15 div.annotate-info {
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
16 display: none;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
17 position: absolute;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
18 background-color: #FFFFFF;
29628
6217180f9ab8 spartan: make annotate popup use theme colors
Anton Shestakov <av6@dwimlabs.net>
parents: 29522
diff changeset
19 border: 1px solid #888;
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
20 text-align: left;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
21 color: #000000;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
22 padding: 5px;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
23 }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
24 div.annotate-info a { color: #0000FF; }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
25 td.annotate:hover div.annotate-info { display: inline; }
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
26 .buttons a {
8505
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
27 background-color: #666;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
28 padding: 2pt;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
29 color: white;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 9999
diff changeset
30 font-family: sans-serif;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
31 font-weight: bold;
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 .navigate a {
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
34 background-color: #ccc;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
35 padding: 2pt;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 9999
diff changeset
36 font-family: sans-serif;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
37 color: black;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
38 }
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 .metatag {
8505
dc50108ce188 spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net>
parents: 7327
diff changeset
41 background-color: #888;
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
42 color: white;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
43 text-align: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
44 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
45
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
46 /* Common */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
47 pre { margin: 0; }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
48
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
49 .logo {
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
50 float: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
51 clear: right;
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
52 }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
53
2132
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
54 /* Changelog/Filelog entries */
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
55 .logEntry { width: 100%; }
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
56 .logEntry .age { width: 15%; }
21124
a65714215377 hgweb: align entries in "changelog" and "revisions" pages of "spartan" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 19075
diff changeset
57 .logEntry th.label { width: 16em; }
2132
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2131
diff changeset
58 .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
59 .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
60 .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
61
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
62 /* Shortlog entries */
4703
bc63247c66e9 hgweb: improve shortlog formatting
Matt Mackall <mpm@selenic.com>
parents: 4659
diff changeset
63 .slogEntry { width: 100%; }
bc63247c66e9 hgweb: improve shortlog formatting
Matt Mackall <mpm@selenic.com>
parents: 4659
diff changeset
64 .slogEntry .age { width: 8em; }
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
65 .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
66 .slogEntry td.author { width: 15em; }
2686
d98eebc48d5e [hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2171
diff changeset
67
1778
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
68 /* Tag entries */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
69 #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
70 #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
71
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
72 /* Changeset entry */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
73 #changesetEntry { }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
74 #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
75 #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
76
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
77 /* File diff view */
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
78 #filediffEntry { }
b08b87cecc37 [hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
79 #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
80
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
81 /* Graph */
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
82 div#wrapper {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
83 position: relative;
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 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
86 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
87
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
88 canvas {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
89 position: absolute;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
90 z-index: 5;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
91 top: -0.6em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
92 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
93 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
94
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
95 ul#nodebgs {
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 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
99 top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
100 }
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 6693
diff changeset
101
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
102 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
103 height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
104 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
105
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
106 ul#graphnodes {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
107 position: absolute;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
108 z-index: 10;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
109 top: -0.85em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
110 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
111 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
112 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
113
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
114 ul#graphnodes li .info {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
115 display: block;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
116 font-size: 70%;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
117 position: relative;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
118 top: -1px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6096
diff changeset
119 }