Mercurial > hg
annotate mercurial/templates/static/style-paper.css @ 18258:bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
The purpose of this change is to make it much easier to navigate up the
repository tree when the hg web server is used to serve more than one
repository.
A "URL breadcrumb" is a path where each of the path items can be clicked to go
to the corresponding path page.
This lets you go up the folder hierarchy very quickly. For example, when showing
the list of repositories in http://myserver/myteams/myprojects, the following
"breadcrumb" will be shown:
Mercurial > myteams > myprojects
Clicking on "myprojects" reloads the page. Clicking on "myteams" goes up one
folder. Clicking on the leftmost "Mercurial" goes to the server root.
This "breadcrumb" also appears on all repository pages. For example on the
summary page of the repository at http://myserver/myteams/myprojects/myrepo the
following will be shown:
Mercurial > myteams > myprojects > myrepo / summary
This change has been applied to all templates that already had a link to the
main repository page (i.e. gitweb, monoblue, paper and coal) plus to the index
page of the spartan template.
In order to make the breadcumb links stand out the some of the template styles
have been customized.
author | Angel Ezquerra <angel.ezquerra at gmail.com> |
---|---|
date | Wed, 28 Nov 2012 20:21:26 +0100 |
parents | b31266671918 |
children | 30d899febef8 |
rev | line source |
---|---|
6436 | 1 body { |
2 margin: 0; | |
3 padding: 0; | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
4 background: white; |
6451 | 5 font-family: sans-serif; |
6436 | 6 } |
7 | |
6453 | 8 .container { |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
9 padding-left: 115px; |
6453 | 10 } |
11 | |
6436 | 12 .main { |
6453 | 13 position: relative; |
6436 | 14 background: white; |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
15 padding: 2em 2em 2em 0; |
6436 | 16 } |
17 | |
6864
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
18 #.main { |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
19 width: 98%; |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
20 } |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
21 |
6436 | 22 .overflow { |
23 width: 100%; | |
24 overflow: auto; | |
25 } | |
26 | |
27 .menu { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
28 width: 90px; |
6436 | 29 margin: 0; |
6463 | 30 font-size: 80%; |
6436 | 31 text-align: left; |
7313
15981c8f6cf1
paper: don't keep the menu affixed to the top
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7299
diff
changeset
|
32 position: absolute; |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
33 top: 20px; |
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
34 left: 20px; |
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
35 right: auto; |
6436 | 36 } |
37 | |
38 .menu ul { | |
39 list-style: none; | |
40 padding: 0; | |
41 margin: 10px 0 0 0; | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
42 border-left: 2px solid #999; |
6436 | 43 } |
44 | |
45 .menu li { | |
46 margin-bottom: 3px; | |
47 padding: 2px 4px; | |
48 background: white; | |
49 color: black; | |
50 font-weight: normal; | |
51 } | |
52 | |
53 .menu li.active { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
54 font-weight: bold; |
6436 | 55 } |
56 | |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
57 .menu img { |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
58 width: 75px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
59 height: 90px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
60 border: 0; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
61 } |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
62 |
18200
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
63 .atom-logo img{ |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
64 width: 14px; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
65 height: 14px; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
66 border: 0; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
67 } |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
68 |
6463 | 69 .menu a { color: black; display: block; } |
70 | |
6436 | 71 .search { |
72 position: absolute; | |
73 top: .7em; | |
74 right: 2em; | |
75 } | |
76 | |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
77 form.search div#hint { |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
78 display: none; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
79 position: absolute; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
80 top: 40px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
81 right: 0px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
82 width: 190px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
83 padding: 5px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
84 background: #ffc; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
85 font-size: 70%; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
86 border: 1px solid yellow; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
87 -moz-border-radius: 5px; /* this works only in camino/firefox */ |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
88 -webkit-border-radius: 5px; /* this is just for Safari */ |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
89 } |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
90 |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
91 form.search:hover div#hint { display: block; } |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
92 |
6436 | 93 a { text-decoration:none; } |
94 .age { white-space:nowrap; } | |
95 .date { white-space:nowrap; } | |
96 .indexlinks { white-space:nowrap; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
97 .parity0 { background-color: #f0f0f0; } |
6436 | 98 .parity1 { background-color: white; } |
99 .plusline { color: green; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
100 .minusline { color: #dc143c; } /* crimson */ |
6436 | 101 .atline { color: purple; } |
102 | |
14563
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
103 .diffstat-file { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
104 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
105 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
106 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
107 .diffstat-total { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
108 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
109 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
110 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
111 .diffstat-graph { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
112 width: 100%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
113 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
114 .diffstat-add { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
115 background-color: green; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
116 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
117 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
118 .diffstat-remove { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
119 background-color: red; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
120 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
121 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
122 |
6436 | 123 .navigate { |
124 text-align: right; | |
125 font-size: 60%; | |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
126 margin: 1em 0; |
6436 | 127 } |
128 | |
129 .tag { | |
130 color: #999; | |
131 font-size: 70%; | |
132 font-weight: normal; | |
133 margin-left: .5em; | |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
134 vertical-align: baseline; |
6436 | 135 } |
136 | |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
137 .branchhead { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
138 color: #000; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
139 font-size: 80%; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
140 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
141 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
142 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
143 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
144 |
7408
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
145 ul#graphnodes .branchhead { |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
146 font-size: 75%; |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
147 } |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
148 |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
149 .branchname { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
150 color: #000; |
10575
136eed1ac69c
trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
151 font-size: 60%; |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
152 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
153 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
154 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
155 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
156 |
7410
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
157 h3 .branchname { |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
158 font-size: 80%; |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
159 } |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
160 |
6436 | 161 /* Common */ |
162 pre { margin: 0; } | |
163 | |
164 h2 { font-size: 120%; border-bottom: 1px solid #999; } | |
7314
a0843c82d1a2
coal/paper: link repo name to hgweb root
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7313
diff
changeset
|
165 h2 a { color: #000; } |
6436 | 166 h3 { |
167 margin-top: -.7em; | |
168 font-size: 100%; | |
169 } | |
170 | |
171 /* log and tags tables */ | |
172 .bigtable { | |
173 border-bottom: 1px solid #999; | |
174 border-collapse: collapse; | |
175 font-size: 90%; | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
176 width: 100%; |
6436 | 177 font-weight: normal; |
178 text-align: left; | |
179 } | |
180 | |
181 .bigtable td { | |
182 vertical-align: top; | |
183 } | |
184 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
185 .bigtable th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
186 padding: 1px 4px; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
187 border-bottom: 1px solid #999; |
6436 | 188 } |
189 .bigtable tr { border: none; } | |
9721
1d75c683ada1
templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8713
diff
changeset
|
190 .bigtable .age { width: 7em; } |
7181
1e39a2459359
coal/paper: widen author column in log table
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6905
diff
changeset
|
191 .bigtable .author { width: 12em; } |
6436 | 192 .bigtable .description { } |
13850
1209e1d52b68
hgweb: add base link to file log for paper and coal styles (issue2452)
Kevin Gessner <kevin@fogcreek.com>
parents:
10575
diff
changeset
|
193 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; } |
6436 | 194 .bigtable .node { width: 5em; font-family: monospace;} |
6452 | 195 .bigtable .permissions { width: 8em; text-align: left;} |
6436 | 196 .bigtable .size { width: 5em; text-align: right; } |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
197 .bigtable .annotate { text-align: right; } |
6436 | 198 .bigtable td.annotate { font-size: smaller; } |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
199 .bigtable td.source { font-size: inherit; } |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
200 |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
201 .source, .sourcefirst, .sourcelast { |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
202 font-family: monospace; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
203 white-space: pre; |
8508
8c5e32a4f2f9
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8506
diff
changeset
|
204 padding: 1px 4px; |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
205 font-size: 90%; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
206 } |
8508
8c5e32a4f2f9
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8506
diff
changeset
|
207 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; } |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
208 .sourcelast { border-top: 1px solid #999; } |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
209 .source a { color: #999; font-size: smaller; font-family: monospace;} |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
210 .bottomline { border-bottom: 1px solid #999; } |
6436 | 211 |
6454 | 212 .fileline { font-family: monospace; } |
6463 | 213 .fileline img { border: 0; } |
6454 | 214 |
8713
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
215 .tagEntry .closed { color: #99f; } |
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
216 |
6436 | 217 /* Changeset entry */ |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
218 #changesetEntry { |
6436 | 219 border-collapse: collapse; |
220 font-size: 90%; | |
221 width: 100%; | |
222 margin-bottom: 1em; | |
223 } | |
224 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
225 #changesetEntry th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
226 padding: 1px 4px; |
6436 | 227 width: 4em; |
228 text-align: right; | |
229 font-weight: normal; | |
230 color: #999; | |
231 margin-right: .5em; | |
232 vertical-align: top; | |
233 } | |
234 | |
235 div.description { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
236 border-left: 2px solid #999; |
6436 | 237 margin: 1em 0 1em 0; |
238 padding: .3em; | |
13934
ebe1ddbbefd7
paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents:
13850
diff
changeset
|
239 white-space: pre; |
13961
1708a0cad774
paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents:
13934
diff
changeset
|
240 font-family: monospace; |
6436 | 241 } |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
242 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
243 /* Graph */ |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
244 div#wrapper { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
245 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
246 border-top: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
247 border-bottom: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
248 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
249 padding: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
250 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
251 |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
252 canvas { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
253 position: absolute; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
254 z-index: 5; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
255 top: -0.7em; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
256 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
257 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
258 |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
259 ul#graphnodes { |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
260 position: absolute; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
261 z-index: 10; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
262 top: -1.0em; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
263 list-style: none inside none; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
264 padding: 0; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
265 } |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
266 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
267 ul#nodebgs { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
268 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
269 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
270 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
271 top: -0.7em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
272 } |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
273 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
274 ul#graphnodes li, ul#nodebgs li { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
275 height: 39px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
276 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
277 |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
278 ul#graphnodes li .info { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
279 display: block; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
280 font-size: 70%; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
281 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
282 top: -3px; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
283 } |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
284 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
285 /* Comparison */ |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
286 .legend { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
287 padding: 1.5% 0 1.5% 0; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
288 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
289 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
290 .legendinfo { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
291 border: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
292 font-size: 80%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
293 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
294 padding: 0.5%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
295 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
296 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
297 .equal { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
298 background-color: #ffffff; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
299 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
300 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
301 .delete { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
302 background-color: #faa; |
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
303 color: #333; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
304 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
305 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
306 .insert { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
307 background-color: #ffa; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
308 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
309 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
310 .replace { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
311 background-color: #e8e8e8; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
312 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
313 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
314 .header { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
315 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
316 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
317 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
318 .block { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
319 border-top: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
320 } |
18258
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
321 |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
322 .breadcrumb { |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
323 color: gray; |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
324 } |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
325 |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
326 .breadcrumb a { |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
327 color: blue; |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
328 } |