Mercurial > hg
annotate templates/static/style-coal.css @ 7408:f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Tue, 25 Nov 2008 22:32:11 +0100 |
parents | 7b2a77b20964 |
children | f1111704061e |
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 { |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
21 width:98%; |
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 | |
6463 | 66 .menu a { color: black; display: block; } |
67 | |
6436 | 68 .search { |
69 position: absolute; | |
70 top: .7em; | |
71 right: 2em; | |
72 } | |
73 | |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
74 form.search span { |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
75 display: none; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
76 position: absolute; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
77 top: 40px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
78 right: 0px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
79 width: 190px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
80 padding: 5px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
81 background: #ffc; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
82 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
|
83 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
|
84 -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
|
85 -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
|
86 } |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
87 |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
88 form.search:hover span { display: block; } |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7291
diff
changeset
|
89 |
6436 | 90 a { text-decoration:none; } |
91 .age { white-space:nowrap; } | |
92 .date { white-space:nowrap; } | |
93 .indexlinks { white-space:nowrap; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
94 .parity0 { background-color: #f0f0f0; } |
6436 | 95 .parity1 { background-color: white; } |
96 .plusline { color: green; } | |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
97 .minusline { color: #dc143c; } /* crimson */ |
6436 | 98 .atline { color: purple; } |
99 | |
100 .navigate { | |
101 text-align: right; | |
102 font-size: 60%; | |
103 margin: 1em 0 1em 0; | |
104 } | |
105 | |
106 .tag { | |
107 color: #999; | |
108 font-size: 70%; | |
109 font-weight: normal; | |
110 margin-left: .5em; | |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
111 vertical-align: baseline; |
6436 | 112 } |
113 | |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
114 .branchhead { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
115 color: #000; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
116 font-size: 80%; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
117 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
118 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
119 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
120 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
121 |
7408
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
122 ul#graphnodes .branchhead { |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
123 font-size: 75%; |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
124 } |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
125 |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
126 .branchname { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
127 color: #000; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
128 font-size: 60%; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
129 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
130 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
131 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
132 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
133 |
6436 | 134 /* Common */ |
135 pre { margin: 0; } | |
136 | |
137 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
|
138 h2 a { color: #000; } |
6436 | 139 h3 { |
140 margin-top: -.7em; | |
141 font-size: 100%; | |
142 } | |
143 | |
144 /* log and tags tables */ | |
145 .bigtable { | |
146 border-bottom: 1px solid #999; | |
147 border-collapse: collapse; | |
148 font-size: 90%; | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
149 width: 100%; |
6436 | 150 font-weight: normal; |
151 text-align: left; | |
152 } | |
153 | |
154 .bigtable td { | |
155 padding: 1px 4px 1px 4px; | |
156 vertical-align: top; | |
157 } | |
158 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
159 .bigtable th { |
6436 | 160 padding: 1px 4px 1px 4px; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
161 border-bottom: 1px solid #999; |
6436 | 162 font-size: smaller; |
163 } | |
164 .bigtable tr { border: none; } | |
165 .bigtable .age { width: 6em; } | |
7181
1e39a2459359
coal/paper: widen author column in log table
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6864
diff
changeset
|
166 .bigtable .author { width: 12em; } |
6436 | 167 .bigtable .description { } |
168 .bigtable .node { width: 5em; font-family: monospace;} | |
169 .bigtable .lineno { width: 2em; text-align: right;} | |
170 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;} | |
6452 | 171 .bigtable .permissions { width: 8em; text-align: left;} |
6436 | 172 .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
|
173 .bigtable .annotate { text-align: right; } |
6436 | 174 .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
|
175 .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
|
176 |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
177 .source, .sourcefirst, .sourcelast { |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
178 font-family: monospace; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
179 white-space: pre; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
180 font-size: 90%; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
181 } |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
182 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; } |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
183 .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
|
184 .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
|
185 .bottomline { border-bottom: 1px solid #999; } |
6436 | 186 |
6454 | 187 .fileline { font-family: monospace; } |
6463 | 188 .fileline img { border: 0; } |
6454 | 189 |
6436 | 190 /* Changeset entry */ |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
191 #changesetEntry { |
6436 | 192 border-collapse: collapse; |
193 font-size: 90%; | |
194 width: 100%; | |
195 margin-bottom: 1em; | |
196 } | |
197 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
198 #changesetEntry th { |
6436 | 199 padding: 1px 4px 1px 4px; |
200 width: 4em; | |
201 text-align: right; | |
202 font-weight: normal; | |
203 color: #999; | |
204 margin-right: .5em; | |
205 vertical-align: top; | |
206 } | |
207 | |
208 div.description { | |
209 border-left: 3px solid #999; | |
210 margin: 1em 0 1em 0; | |
211 padding: .3em; | |
212 } | |
6691
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
213 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
214 div#wrapper { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
215 position: relative; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
216 border-top: 1px solid black; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
217 border-bottom: 1px solid black; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
218 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
219 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
220 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
221 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
222 canvas { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
223 position: absolute; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
224 z-index: 5; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
225 top: -0.7em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
226 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
227 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
228 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
229 ul#graphnodes { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
230 position: absolute; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
231 z-index: 10; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
232 top: -1.0em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
233 list-style: none inside none; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
234 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
235 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
236 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
237 ul#nodebgs { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
238 list-style: none inside none; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
239 padding: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
240 margin: 0; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
241 top: -0.7em; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
242 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
243 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
244 ul#graphnodes li, ul#nodebgs li { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
245 height: 39px; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
246 } |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
247 |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
248 ul#graphnodes li .info { |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
249 display: block; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
250 font-size: 70%; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
251 position: relative; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
252 top: -3px; |
0dba955c2636
add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6571
diff
changeset
|
253 } |