##// END OF EJS Templates
hgweb: wrap lines in file source view
Alexander Plavin -
r19388:7f0a3074 default
parent child Browse files
Show More
@@ -1,366 +1,367
1 1 body {
2 2 margin: 0;
3 3 padding: 0;
4 4 background: white;
5 5 font-family: sans-serif;
6 6 }
7 7
8 8 .container {
9 9 padding-left: 115px;
10 10 }
11 11
12 12 .main {
13 13 position: relative;
14 14 background: white;
15 15 padding: 2em 2em 2em 0;
16 16 }
17 17
18 18 #.main {
19 19 width: 98%;
20 20 }
21 21
22 22 .overflow {
23 23 width: 100%;
24 24 overflow: auto;
25 25 }
26 26
27 27 .menu {
28 28 width: 90px;
29 29 margin: 0;
30 30 font-size: 80%;
31 31 text-align: left;
32 32 position: absolute;
33 33 top: 20px;
34 34 left: 20px;
35 35 right: auto;
36 36 }
37 37
38 38 .menu ul {
39 39 list-style: none;
40 40 padding: 0;
41 41 margin: 10px 0 0 0;
42 42 border-left: 2px solid #999;
43 43 }
44 44
45 45 .menu li {
46 46 margin-bottom: 3px;
47 47 padding: 2px 4px;
48 48 background: white;
49 49 color: black;
50 50 font-weight: normal;
51 51 }
52 52
53 53 .menu li.active {
54 54 font-weight: bold;
55 55 }
56 56
57 57 .menu img {
58 58 width: 75px;
59 59 height: 90px;
60 60 border: 0;
61 61 }
62 62
63 63 .atom-logo img{
64 64 width: 14px;
65 65 height: 14px;
66 66 border: 0;
67 67 }
68 68
69 69 .menu a { color: black; display: block; }
70 70
71 71 .search {
72 72 position: absolute;
73 73 top: .7em;
74 74 right: 2em;
75 75 }
76 76
77 77 form.search div#hint {
78 78 display: none;
79 79 position: absolute;
80 80 top: 40px;
81 81 right: 0px;
82 82 width: 190px;
83 83 padding: 5px;
84 84 background: #ffc;
85 85 font-size: 70%;
86 86 border: 1px solid yellow;
87 87 -moz-border-radius: 5px; /* this works only in camino/firefox */
88 88 -webkit-border-radius: 5px; /* this is just for Safari */
89 89 }
90 90
91 91 form.search:hover div#hint { display: block; }
92 92
93 93 a { text-decoration:none; }
94 94 .age { white-space:nowrap; }
95 95 .date { white-space:nowrap; }
96 96 .indexlinks { white-space:nowrap; }
97 97 .parity0 { background-color: #f0f0f0; }
98 98 .parity1 { background-color: white; }
99 99 .plusline { color: green; }
100 100 .minusline { color: #dc143c; } /* crimson */
101 101 .atline { color: purple; }
102 102
103 103 .diffstat-file {
104 104 white-space: nowrap;
105 105 font-size: 90%;
106 106 }
107 107 .diffstat-total {
108 108 white-space: nowrap;
109 109 font-size: 90%;
110 110 }
111 111 .diffstat-graph {
112 112 width: 100%;
113 113 }
114 114 .diffstat-add {
115 115 background-color: green;
116 116 float: left;
117 117 }
118 118 .diffstat-remove {
119 119 background-color: red;
120 120 float: left;
121 121 }
122 122
123 123 .navigate {
124 124 text-align: right;
125 125 font-size: 60%;
126 126 margin: 1em 0;
127 127 }
128 128
129 129 .tag {
130 130 color: #999;
131 131 font-size: 70%;
132 132 font-weight: normal;
133 133 margin-left: .5em;
134 134 vertical-align: baseline;
135 135 }
136 136
137 137 .branchhead {
138 138 color: #000;
139 139 font-size: 80%;
140 140 font-weight: normal;
141 141 margin-left: .5em;
142 142 vertical-align: baseline;
143 143 }
144 144
145 145 ul#graphnodes .branchhead {
146 146 font-size: 75%;
147 147 }
148 148
149 149 .branchname {
150 150 color: #000;
151 151 font-size: 60%;
152 152 font-weight: normal;
153 153 margin-left: .5em;
154 154 vertical-align: baseline;
155 155 }
156 156
157 157 h3 .branchname {
158 158 font-size: 80%;
159 159 }
160 160
161 161 /* Common */
162 162 pre { margin: 0; }
163 163
164 164 h2 { font-size: 120%; border-bottom: 1px solid #999; }
165 165 h2 a { color: #000; }
166 166 h3 {
167 167 margin-top: -.7em;
168 168 font-size: 100%;
169 169 }
170 170
171 171 /* log and tags tables */
172 172 .bigtable {
173 173 border-bottom: 1px solid #999;
174 174 border-collapse: collapse;
175 175 font-size: 90%;
176 176 width: 100%;
177 177 font-weight: normal;
178 178 text-align: left;
179 179 }
180 180
181 181 .bigtable td {
182 182 vertical-align: top;
183 183 }
184 184
185 185 .bigtable th {
186 186 padding: 1px 4px;
187 187 border-bottom: 1px solid #999;
188 188 }
189 189 .bigtable tr { border: none; }
190 190 .bigtable .age { width: 7em; }
191 191 .bigtable .author { width: 15em; }
192 192 .bigtable .description { }
193 193 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
194 194 .bigtable .node { width: 5em; font-family: monospace;}
195 195 .bigtable .permissions { width: 8em; text-align: left;}
196 196 .bigtable .size { width: 5em; text-align: right; }
197 197 .bigtable .annotate { text-align: right; }
198 198 .bigtable td.annotate { font-size: smaller; }
199 199 .bigtable td.source { font-size: inherit; }
200 200
201 201 .source, .sourcefirst, .sourcelast {
202 202 font-family: monospace;
203 203 white-space: pre;
204 204 padding: 1px 4px;
205 205 font-size: 90%;
206 206 }
207 207 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
208 208 .sourcelast { border-top: 1px solid #999; }
209 209 .source a { color: #999; font-size: smaller; font-family: monospace;}
210 210 .bottomline { border-bottom: 1px solid #999; }
211 211
212 212 .sourcelines {
213 213 font-size: 90%;
214 214 position: relative;
215 215 }
216 216
217 217 .sourcelines > span {
218 218 display: inline-block;
219 219 width: 100%;
220 220 padding: 1px 0px;
221 white-space: pre-wrap;
221 222 counter-increment: lineno;
222 223 }
223 224
224 225 .sourcelines > span:before {
225 226 -moz-user-select: -moz-none;
226 227 -khtml-user-select: none;
227 228 -webkit-user-select: none;
228 229 -ms-user-select: none;
229 230 user-select: none;
230 231 display: inline-block;
231 232 width: 4em;
232 233 margin-right: 1em;
233 234 font-size: smaller;
234 235 color: #999;
235 236 text-align: right;
236 237 content: counter(lineno);
237 238 }
238 239
239 240 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
240 241 .sourcelines > span:nth-child(4n+3) { background-color: white; }
241 242
242 243 .sourcelines > a {
243 244 display: inline-block;
244 245 position: absolute;
245 246 left: 0px;
246 247 width: 4em;
247 248 height: 1em;
248 249 }
249 250
250 251 .fileline { font-family: monospace; }
251 252 .fileline img { border: 0; }
252 253
253 254 .tagEntry .closed { color: #99f; }
254 255
255 256 /* Changeset entry */
256 257 #changesetEntry {
257 258 border-collapse: collapse;
258 259 font-size: 90%;
259 260 width: 100%;
260 261 margin-bottom: 1em;
261 262 }
262 263
263 264 #changesetEntry th {
264 265 padding: 1px 4px;
265 266 width: 4em;
266 267 text-align: right;
267 268 font-weight: normal;
268 269 color: #999;
269 270 margin-right: .5em;
270 271 vertical-align: top;
271 272 }
272 273
273 274 div.description {
274 275 border-left: 2px solid #999;
275 276 margin: 1em 0 1em 0;
276 277 padding: .3em;
277 278 white-space: pre;
278 279 font-family: monospace;
279 280 }
280 281
281 282 /* Graph */
282 283 div#wrapper {
283 284 position: relative;
284 285 border-top: 1px solid black;
285 286 border-bottom: 1px solid black;
286 287 margin: 0;
287 288 padding: 0;
288 289 }
289 290
290 291 canvas {
291 292 position: absolute;
292 293 z-index: 5;
293 294 top: -0.7em;
294 295 margin: 0;
295 296 }
296 297
297 298 ul#graphnodes {
298 299 position: absolute;
299 300 z-index: 10;
300 301 top: -1.0em;
301 302 list-style: none inside none;
302 303 padding: 0;
303 304 }
304 305
305 306 ul#nodebgs {
306 307 list-style: none inside none;
307 308 padding: 0;
308 309 margin: 0;
309 310 top: -0.7em;
310 311 }
311 312
312 313 ul#graphnodes li, ul#nodebgs li {
313 314 height: 39px;
314 315 }
315 316
316 317 ul#graphnodes li .info {
317 318 display: block;
318 319 font-size: 70%;
319 320 position: relative;
320 321 top: -3px;
321 322 }
322 323
323 324 /* Comparison */
324 325 .legend {
325 326 padding: 1.5% 0 1.5% 0;
326 327 }
327 328
328 329 .legendinfo {
329 330 border: 1px solid #999;
330 331 font-size: 80%;
331 332 text-align: center;
332 333 padding: 0.5%;
333 334 }
334 335
335 336 .equal {
336 337 background-color: #ffffff;
337 338 }
338 339
339 340 .delete {
340 341 background-color: #faa;
341 342 color: #333;
342 343 }
343 344
344 345 .insert {
345 346 background-color: #ffa;
346 347 }
347 348
348 349 .replace {
349 350 background-color: #e8e8e8;
350 351 }
351 352
352 353 .header {
353 354 text-align: center;
354 355 }
355 356
356 357 .block {
357 358 border-top: 1px solid #999;
358 359 }
359 360
360 361 .breadcrumb {
361 362 color: gray;
362 363 }
363 364
364 365 .breadcrumb a {
365 366 color: blue;
366 367 }
General Comments 0
You need to be logged in to leave comments. Login now