Mercurial > hg
annotate mercurial/templates/static/style-coal.css @ 18200:b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
The subscribe link is found at the bottom of the navigation sidebar.
This uses a free icon from http://feedicons.com.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Tue, 04 Dec 2012 00:41:29 +0100 |
parents | 106cdea0183d |
children | bebb05a7e249 |
rev | line source |
---|---|
6436 | 1 body { |
2 margin: 0; | |
3 padding: 0; | |
4 background: black url(background.png) repeat-x; | |
6451 | 5 font-family: sans-serif; |
6436 | 6 } |
7 | |
6453 | 8 .container { |
9 padding-right: 150px; | |
10 } | |
11 | |
6436 | 12 .main { |
6453 | 13 position: relative; |
6436 | 14 background: white; |
15 padding: 2em; | |
16 border-right: 15px solid black; | |
17 border-bottom: 15px solid black; | |
18 } | |
19 | |
7291
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
20 #.main { |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
21 width: 98%; |
7291
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
22 } |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
23 |
6436 | 24 .overflow { |
25 width: 100%; | |
26 overflow: auto; | |
27 } | |
28 | |
29 .menu { | |
30 background: #999; | |
31 padding: 10px; | |
32 width: 75px; | |
33 margin: 0; | |
6463 | 34 font-size: 80%; |
6436 | 35 text-align: left; |
36 position: fixed; | |
37 top: 27px; | |
38 left: auto; | |
39 right: 27px; | |
40 } | |
41 | |
7291
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
42 #.menu { |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
43 position: absolute !important; |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
44 top:expression(eval(document.body.scrollTop + 27)); |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
45 } |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
46 |
6436 | 47 .menu ul { |
48 list-style: none; | |
49 padding: 0; | |
50 margin: 10px 0 0 0; | |
51 } | |
52 | |
53 .menu li { | |
54 margin-bottom: 3px; | |
55 padding: 2px 4px; | |
56 background: white; | |
57 color: black; | |
58 font-weight: normal; | |
59 } | |
60 | |
61 .menu li.active { | |
6463 | 62 background: black; |
63 color: white; | |
6436 | 64 } |
65 | |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
66 .menu img { |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
67 width: 75px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
68 height: 90px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
69 border: 0; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
70 } |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
71 |
6463 | 72 .menu a { color: black; display: block; } |
73 | |
6436 | 74 .search { |
75 position: absolute; | |
76 top: .7em; | |
77 right: 2em; | |
78 } | |
79 | |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
80 form.search div#hint { |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
81 display: none; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
82 position: absolute; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
83 top: 40px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
84 right: 0px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
85 width: 190px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
86 padding: 5px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
87 background: #ffc; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
88 font-size: 70%; |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
89 border: 1px solid yellow; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
90 -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:
7291
diff
changeset
|
91 -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:
7291
diff
changeset
|
92 } |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
93 |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
94 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:
7291
diff
changeset
|
95 |
6436 | 96 a { text-decoration:none; } |
97 .age { white-space:nowrap; } | |
98 .date { white-space:nowrap; } | |
99 .indexlinks { white-space:nowrap; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
100 .parity0 { background-color: #f0f0f0; } |
6436 | 101 .parity1 { background-color: white; } |
102 .plusline { color: green; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
103 .minusline { color: #dc143c; } /* crimson */ |
6436 | 104 .atline { color: purple; } |
105 | |
14563
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
106 .diffstat-file { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
107 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
108 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
109 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
110 .diffstat-total { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
111 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
112 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
113 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
114 .diffstat-graph { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
115 width: 100%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
116 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
117 .diffstat-add { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
118 background-color: green; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
119 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
120 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
121 .diffstat-remove { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
122 background-color: red; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
123 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
124 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
14445
diff
changeset
|
125 |
6436 | 126 .navigate { |
127 text-align: right; | |
128 font-size: 60%; | |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
129 margin: 1em 0; |
6436 | 130 } |
131 | |
132 .tag { | |
133 color: #999; | |
134 font-size: 70%; | |
135 font-weight: normal; | |
136 margin-left: .5em; | |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
137 vertical-align: baseline; |
6436 | 138 } |
139 | |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
140 .branchhead { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
141 color: #000; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
142 font-size: 80%; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
143 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
144 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
145 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
146 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
147 |
7408
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
148 ul#graphnodes .branchhead { |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
149 font-size: 75%; |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
150 } |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
151 |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
152 .branchname { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
153 color: #000; |
10575
136eed1ac69c
trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
154 font-size: 60%; |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
155 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
156 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
157 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
158 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
159 |
7410
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
160 h3 .branchname { |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
161 font-size: 80%; |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
162 } |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
163 |
6436 | 164 /* Common */ |
165 pre { margin: 0; } | |
166 | |
167 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:
7299
diff
changeset
|
168 h2 a { color: #000; } |
6436 | 169 h3 { |
170 margin-top: -.7em; | |
171 font-size: 100%; | |
172 } | |
173 | |
174 /* log and tags tables */ | |
175 .bigtable { | |
176 border-bottom: 1px solid #999; | |
177 border-collapse: collapse; | |
178 font-size: 90%; | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
179 width: 100%; |
6436 | 180 font-weight: normal; |
181 text-align: left; | |
182 } | |
183 | |
184 .bigtable td { | |
185 vertical-align: top; | |
186 } | |
187 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
188 .bigtable th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
189 padding: 1px 4px; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
190 border-bottom: 1px solid #999; |
6436 | 191 } |
192 .bigtable tr { border: none; } | |
193 .bigtable .age { width: 6em; } | |
7181
1e39a2459359
coal/paper: widen author column in log table
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6864
diff
changeset
|
194 .bigtable .author { width: 12em; } |
6436 | 195 .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
|
196 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; } |
6436 | 197 .bigtable .node { width: 5em; font-family: monospace;} |
198 .bigtable .lineno { width: 2em; text-align: right;} | |
199 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;} | |
6452 | 200 .bigtable .permissions { width: 8em; text-align: left;} |
6436 | 201 .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
|
202 .bigtable .annotate { text-align: right; } |
6436 | 203 .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
|
204 .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
|
205 |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
206 .source, .sourcefirst, .sourcelast { |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
207 font-family: monospace; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
208 white-space: pre; |
8508
8c5e32a4f2f9
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8506
diff
changeset
|
209 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
|
210 font-size: 90%; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
211 } |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
212 .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
|
213 .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
|
214 .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
|
215 .bottomline { border-bottom: 1px solid #999; } |
6436 | 216 |
6454 | 217 .fileline { font-family: monospace; } |
6463 | 218 .fileline img { border: 0; } |
6454 | 219 |
8713
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
220 .tagEntry .closed { color: #99f; } |
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
221 |
6436 | 222 /* Changeset entry */ |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
223 #changesetEntry { |
6436 | 224 border-collapse: collapse; |
225 font-size: 90%; | |
226 width: 100%; | |
227 margin-bottom: 1em; | |
228 } | |
229 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
230 #changesetEntry th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
231 padding: 1px 4px; |
6436 | 232 width: 4em; |
233 text-align: right; | |
234 font-weight: normal; | |
235 color: #999; | |
236 margin-right: .5em; | |
237 vertical-align: top; | |
238 } | |
239 | |
240 div.description { | |
241 border-left: 3px solid #999; | |
242 margin: 1em 0 1em 0; | |
243 padding: .3em; | |
14445
61f51f4a9a3b
coal: use preformatted text for descriptions (issue2835)
Matt Mackall <mpm@selenic.com>
parents:
13850
diff
changeset
|
244 white-space: pre; |
61f51f4a9a3b
coal: use preformatted text for descriptions (issue2835)
Matt Mackall <mpm@selenic.com>
parents:
13850
diff
changeset
|
245 font-family: monospace; |
6436 | 246 } |
6691
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
247 |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
248 /* Graph */ |
6691
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
249 div#wrapper { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
250 position: relative; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
251 border-top: 1px solid black; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
252 border-bottom: 1px solid black; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
253 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
254 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
255 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
256 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
257 canvas { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
258 position: absolute; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
259 z-index: 5; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
260 top: -0.7em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
261 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
262 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
263 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
264 ul#graphnodes { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
265 position: absolute; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
266 z-index: 10; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
267 top: -1.0em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
268 list-style: none inside none; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
269 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
270 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
271 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
272 ul#nodebgs { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
273 list-style: none inside none; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
274 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
275 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
276 top: -0.7em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
277 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
278 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
279 ul#graphnodes li, ul#nodebgs li { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
280 height: 39px; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
281 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
282 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
283 ul#graphnodes li .info { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
284 display: block; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
285 font-size: 70%; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
286 position: relative; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
287 top: -3px; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
288 } |
17202
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 /* Comparison */ |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
291 .legend { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
292 padding: 1.5% 0 1.5% 0; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
293 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
294 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
295 .legendinfo { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
296 border: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
297 font-size: 80%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
298 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
299 padding: 0.5%; |
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 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
302 .equal { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
303 background-color: #ffffff; |
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 .delete { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
307 background-color: #faa; |
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
308 color: #333; |
17202
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 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
311 .insert { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
312 background-color: #ffa; |
17202
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 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
315 .replace { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
316 background-color: #e8e8e8; |
17202
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 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
319 .header { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
320 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
321 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
322 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
323 .block { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
324 border-top: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
325 } |