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