##// END OF EJS Templates
paper: make all source lines have the same minimum height...
av6 -
r37511:f1413e4a default
parent child Browse files
Show More
@@ -1,542 +1,547 b''
1 1 body {
2 2 margin: 0;
3 3 padding: 0;
4 4 background: white;
5 5 color: black;
6 6 font-family: sans-serif;
7 7 }
8 8
9 9 .container {
10 10 padding-left: 115px;
11 11 }
12 12
13 13 .main {
14 14 position: relative;
15 15 background: white;
16 16 padding: 2em 2em 2em 0;
17 17 }
18 18
19 19 #.main {
20 20 width: 98%;
21 21 }
22 22
23 23 .overflow {
24 24 width: 100%;
25 25 overflow: auto;
26 26 }
27 27
28 28 .menu {
29 29 width: 90px;
30 30 margin: 0;
31 31 font-size: 80%;
32 32 text-align: left;
33 33 position: absolute;
34 34 top: 20px;
35 35 left: 20px;
36 36 right: auto;
37 37 }
38 38
39 39 .menu ul {
40 40 list-style: none;
41 41 padding: 0;
42 42 margin: 10px 0 0 0;
43 43 border-left: 2px solid #999;
44 44 }
45 45
46 46 .menu li {
47 47 margin-bottom: 3px;
48 48 padding: 2px 4px;
49 49 background: white;
50 50 color: black;
51 51 font-weight: normal;
52 52 }
53 53
54 54 .menu li.active {
55 55 font-weight: bold;
56 56 }
57 57
58 58 .menu img {
59 59 width: 75px;
60 60 height: 90px;
61 61 border: 0;
62 62 }
63 63
64 64 div.atom-logo {
65 65 margin-top: 10px;
66 66 }
67 67
68 68 .atom-logo img{
69 69 width: 14px;
70 70 height: 14px;
71 71 border: 0;
72 72 }
73 73
74 74 .menu a { color: black; display: block; }
75 75
76 76 .search {
77 77 position: absolute;
78 78 top: .7em;
79 79 right: 2em;
80 80 }
81 81
82 82 form.search div#hint {
83 83 display: none;
84 84 position: absolute;
85 85 top: 40px;
86 86 right: 0px;
87 87 width: 190px;
88 88 padding: 5px;
89 89 background: #ffc;
90 90 font-size: 70%;
91 91 border: 1px solid yellow;
92 92 border-radius: 5px;
93 93 }
94 94
95 95 form.search:hover div#hint { display: block; }
96 96
97 97 a { text-decoration:none; }
98 98 .age { white-space:nowrap; }
99 99 .date { white-space:nowrap; }
100 100 .indexlinks { white-space:nowrap; }
101 101 .parity0,
102 102 .stripes4 > :nth-child(4n+1),
103 103 .stripes2 > :nth-child(2n+1) { background-color: #f0f0f0; }
104 104 .parity1,
105 105 .stripes4 > :nth-child(4n+3),
106 106 .stripes2 > :nth-child(2n+2) { background-color: white; }
107 107 .plusline { color: green; }
108 108 .minusline { color: #dc143c; } /* crimson */
109 109 .atline { color: purple; }
110 110
111 111 .diffstat-table {
112 112 margin-top: 1em;
113 113 }
114 114 .diffstat-file {
115 115 white-space: nowrap;
116 116 font-size: 90%;
117 117 }
118 118 .diffstat-total {
119 119 white-space: nowrap;
120 120 font-size: 90%;
121 121 }
122 122 .diffstat-graph {
123 123 width: 100%;
124 124 }
125 125 .diffstat-add {
126 126 background-color: green;
127 127 float: left;
128 128 }
129 129 .diffstat-remove {
130 130 background-color: red;
131 131 float: left;
132 132 }
133 133
134 134 .navigate {
135 135 text-align: right;
136 136 font-size: 60%;
137 137 margin: 1em 0;
138 138 }
139 139
140 140 .phase {
141 141 color: #999;
142 142 font-size: 70%;
143 143 border-bottom: 1px dotted #999;
144 144 font-weight: normal;
145 145 margin-left: .5em;
146 146 vertical-align: baseline;
147 147 }
148 148
149 149 .obsolete {
150 150 color: #999;
151 151 font-size: 70%;
152 152 border-bottom: 1px dashed #999;
153 153 font-weight: normal;
154 154 margin-left: .5em;
155 155 vertical-align: baseline;
156 156 }
157 157
158 158 .instability {
159 159 color: #000;
160 160 font-size: 70%;
161 161 border-bottom: 1px solid #000;
162 162 font-weight: normal;
163 163 margin-left: .5em;
164 164 vertical-align: baseline;
165 165 }
166 166
167 167 .tag {
168 168 color: #999;
169 169 font-size: 70%;
170 170 font-weight: normal;
171 171 margin-left: .5em;
172 172 vertical-align: baseline;
173 173 }
174 174
175 175 .branchhead {
176 176 color: #000;
177 177 font-size: 80%;
178 178 font-weight: normal;
179 179 margin-left: .5em;
180 180 vertical-align: baseline;
181 181 }
182 182
183 183 ul#graphnodes .branchhead {
184 184 font-size: 75%;
185 185 }
186 186
187 187 .branchname {
188 188 color: #000;
189 189 font-size: 60%;
190 190 font-weight: normal;
191 191 margin-left: .5em;
192 192 vertical-align: baseline;
193 193 }
194 194
195 195 /* Common */
196 196 pre { margin: 0; }
197 197
198 198 h2 { font-size: 120%; border-bottom: 1px solid #999; }
199 199 h2 a { color: #000; }
200 200 h3 {
201 201 margin-top: +.7em;
202 202 font-size: 100%;
203 203 }
204 204
205 205 /* log and tags tables */
206 206 .bigtable {
207 207 border-bottom: 1px solid #999;
208 208 border-collapse: collapse;
209 209 font-size: 90%;
210 210 width: 100%;
211 211 font-weight: normal;
212 212 text-align: left;
213 213 }
214 214
215 215 .bigtable td {
216 216 padding: 1px 4px;
217 217 vertical-align: top;
218 218 }
219 219
220 220 .bigtable th {
221 221 padding: 1px 4px;
222 222 border-bottom: 1px solid #999;
223 223 }
224 224 .bigtable tr { border: none; }
225 225 .bigtable .age { width: 7em; }
226 226 .bigtable .author { width: 15em; }
227 227 .bigtable .description { }
228 228 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
229 229 .bigtable .node { width: 5em; font-family: monospace;}
230 230 .bigtable .permissions { width: 8em; text-align: left;}
231 231 .bigtable .size { width: 5em; text-align: right; }
232 232 .bigtable .annotate { text-align: right; }
233 233 .bigtable td.annotate { font-size: smaller; }
234 234 .bigtable td.source { font-size: inherit; }
235 235 tr.thisrev a { color:#999999; text-decoration: none; }
236 236 tr.thisrev td.source { color:#009900; }
237 237 td.annotate {
238 238 white-space: nowrap;
239 239 }
240 240 div.annotate-info {
241 241 z-index: 5;
242 242 display: none;
243 243 position: absolute;
244 244 background-color: #FFFFFF;
245 245 border: 1px solid #999;
246 246 text-align: left;
247 247 color: #000000;
248 248 padding: 5px;
249 249 }
250 250 div.annotate-info a { color: #0000FF; }
251 251 td.annotate:hover div.annotate-info { display: inline; }
252 252
253 253 #diffopts-form {
254 254 font-size: smaller;
255 255 color: #424242;
256 256 padding-bottom: 10px;
257 257 display: none;
258 258 }
259 259
260 260 .source, .sourcefirst {
261 261 font-family: monospace;
262 262 white-space: pre;
263 263 padding: 1px 4px;
264 264 font-size: 90%;
265 265 }
266 266 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
267 267 .source a { color: #999; font-size: smaller; font-family: monospace;}
268 268 .bottomline { border-bottom: 1px solid #999; }
269 269
270 270 .sourcelines {
271 271 font-size: 90%;
272 272 position: relative;
273 273 counter-reset: lineno;
274 274 }
275 275
276 276 .wrap > span {
277 277 white-space: pre-wrap;
278 278 }
279 279
280 280 .linewraptoggle {
281 281 float: right;
282 282 }
283 283
284 284 .diffblocks { counter-reset: lineno; }
285 285 .diffblocks > div { counter-increment: lineno; }
286 286
287 287 .sourcelines > span {
288 288 display: inline-block;
289 289 box-sizing: border-box;
290 290 width: 100%;
291 291 padding: 1px 0px 1px 5em;
292 292 counter-increment: lineno;
293 293 }
294 294
295 295 .sourcelines > span:before {
296 296 -moz-user-select: -moz-none;
297 297 -khtml-user-select: none;
298 298 -webkit-user-select: none;
299 299 -ms-user-select: none;
300 300 user-select: none;
301 301 display: inline-block;
302 302 margin-left: -6em;
303 303 width: 4em;
304 304 font-size: smaller;
305 305 color: #999;
306 306 text-align: right;
307 307 content: counters(lineno, ".");
308 308 float: left;
309 309 }
310 310
311 .sourcelines > span:after {
312 content: '';
313 display: inline-block;
314 }
315
311 316 .sourcelines > span:target, tr:target td {
312 317 background-color: #bfdfff;
313 318 }
314 319
315 320 /* Followlines */
316 321 tbody.sourcelines > tr.followlines-selected,
317 322 pre.sourcelines > span.followlines-selected {
318 323 background-color: #99C7E9;
319 324 }
320 325
321 326 div#followlines {
322 327 background-color: #FFF;
323 328 border: 1px solid #999;
324 329 padding: 5px;
325 330 position: fixed;
326 331 }
327 332
328 333 div.followlines-cancel {
329 334 text-align: right;
330 335 }
331 336
332 337 div.followlines-cancel > button {
333 338 line-height: 80%;
334 339 padding: 0;
335 340 border: 0;
336 341 border-radius: 2px;
337 342 background-color: inherit;
338 343 font-weight: bold;
339 344 }
340 345
341 346 div.followlines-cancel > button:hover {
342 347 color: #FFFFFF;
343 348 background-color: #CF1F1F;
344 349 }
345 350
346 351 div.followlines-link {
347 352 margin: 2px;
348 353 margin-top: 4px;
349 354 font-family: sans-serif;
350 355 }
351 356
352 357 .btn-followlines {
353 358 position: absolute;
354 359 display: none;
355 360 cursor: pointer;
356 361 box-sizing: content-box;
357 362 font-size: 12px;
358 363 width: 13px;
359 364 height: 13px;
360 365 border-radius: 3px;
361 366 margin: 0px;
362 367 margin-top: -2px;
363 368 padding: 0px;
364 369 background-color: #E5FDE5;
365 370 border: 1px solid #9BC19B;
366 371 font-family: monospace;
367 372 text-align: center;
368 373 line-height: 5px;
369 374 }
370 375
371 376 span.followlines-select .btn-followlines {
372 377 margin-left: -1.5em;
373 378 }
374 379
375 380 .btn-followlines:hover {
376 381 transform: scale(1.2, 1.2);
377 382 }
378 383
379 384 .btn-followlines .followlines-plus {
380 385 color: green;
381 386 }
382 387
383 388 .btn-followlines .followlines-minus {
384 389 color: red;
385 390 }
386 391
387 392 .btn-followlines-end {
388 393 background-color: #ffdcdc;
389 394 }
390 395
391 396 .sourcelines tr:hover .btn-followlines,
392 397 .sourcelines span.followlines-select:hover > .btn-followlines {
393 398 display: inline;
394 399 }
395 400
396 401 .btn-followlines-hidden,
397 402 .sourcelines tr:hover .btn-followlines-hidden {
398 403 display: none;
399 404 }
400 405
401 406 .sourcelines > a {
402 407 display: inline-block;
403 408 position: absolute;
404 409 left: 0px;
405 410 width: 4em;
406 411 height: 1em;
407 412 }
408 413
409 414 .fileline { font-family: monospace; }
410 415 .fileline img { border: 0; }
411 416
412 417 .tagEntry .closed { color: #99f; }
413 418
414 419 /* Changeset entry */
415 420 #changesetEntry {
416 421 border-collapse: collapse;
417 422 font-size: 90%;
418 423 width: 100%;
419 424 margin-bottom: 1em;
420 425 }
421 426
422 427 #changesetEntry th {
423 428 padding: 1px 4px;
424 429 width: 4em;
425 430 text-align: right;
426 431 font-weight: normal;
427 432 color: #999;
428 433 vertical-align: top;
429 434 }
430 435
431 436 div.description {
432 437 border-left: 2px solid #999;
433 438 margin: 1em 0 1em 0;
434 439 padding: .3em;
435 440 white-space: pre;
436 441 font-family: monospace;
437 442 }
438 443
439 444 /* Graph */
440 445 div#wrapper {
441 446 position: relative;
442 447 border-top: 1px solid black;
443 448 border-bottom: 1px solid black;
444 449 margin: 0;
445 450 padding: 0;
446 451 }
447 452
448 453 canvas {
449 454 position: absolute;
450 455 z-index: 5;
451 456 top: -0.7em;
452 457 margin: 0;
453 458 }
454 459
455 460 ul#graphnodes {
456 461 list-style: none inside none;
457 462 padding: 0;
458 463 margin: 0;
459 464 }
460 465
461 466 ul#graphnodes li {
462 467 height: 39px;
463 468 overflow: visible;
464 469 }
465 470
466 471 ul#graphnodes li .fg {
467 472 position: absolute;
468 473 z-index: 10;
469 474 }
470 475
471 476 ul#graphnodes li .info {
472 477 font-size: 70%;
473 478 }
474 479
475 480 /* Comparison */
476 481 .legend {
477 482 padding: 1.5% 0 1.5% 0;
478 483 }
479 484
480 485 .legendinfo {
481 486 border: 1px solid #999;
482 487 font-size: 80%;
483 488 text-align: center;
484 489 padding: 0.5%;
485 490 }
486 491
487 492 .equal {
488 493 background-color: #ffffff;
489 494 }
490 495
491 496 .delete {
492 497 background-color: #faa;
493 498 color: #333;
494 499 }
495 500
496 501 .insert {
497 502 background-color: #ffa;
498 503 }
499 504
500 505 .replace {
501 506 background-color: #e8e8e8;
502 507 }
503 508
504 509 .header {
505 510 text-align: center;
506 511 }
507 512
508 513 .block {
509 514 border-top: 1px solid #999;
510 515 }
511 516
512 517 .breadcrumb {
513 518 color: gray;
514 519 }
515 520
516 521 .breadcrumb a {
517 522 color: blue;
518 523 }
519 524
520 525 .scroll-loading {
521 526 -webkit-animation: change_color 1s linear 0s infinite alternate;
522 527 -moz-animation: change_color 1s linear 0s infinite alternate;
523 528 -o-animation: change_color 1s linear 0s infinite alternate;
524 529 animation: change_color 1s linear 0s infinite alternate;
525 530 }
526 531
527 532 @-webkit-keyframes change_color {
528 533 from { background-color: #A0CEFF; } to { }
529 534 }
530 535 @-moz-keyframes change_color {
531 536 from { background-color: #A0CEFF; } to { }
532 537 }
533 538 @-o-keyframes change_color {
534 539 from { background-color: #A0CEFF; } to { }
535 540 }
536 541 @keyframes change_color {
537 542 from { background-color: #A0CEFF; } to { }
538 543 }
539 544
540 545 .scroll-loading-error {
541 546 background-color: #FFCCCC !important;
542 547 }
General Comments 0
You need to be logged in to leave comments. Login now