author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-12-23 11:47:55 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 13:41:39 (UTC) |
commit | e52040bf90b034aebbfa32756638a24d6b1b3712 (patch) (unidiff) | |
tree | ba2db3037cb486fb40a8c85a62b5a393d5035924 /cgit.css | |
parent | 808c685ebb7cd2d24d3881b74e3be2439bd1393b (diff) | |
download | cgit-e52040bf90b034aebbfa32756638a24d6b1b3712.zip cgit-e52040bf90b034aebbfa32756638a24d6b1b3712.tar.gz cgit-e52040bf90b034aebbfa32756638a24d6b1b3712.tar.bz2 |
ssdiff: anchors for ssdiff
Emit anchors to the respective revisions in side-by-side diff view
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,385 +86,385 @@ table.tabs td a.active { | |||
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #eee; | 109 | background-color: #eee; |
110 | } | 110 | } |
111 | 111 | ||
112 | div.content { | 112 | div.content { |
113 | margin: 0px; | 113 | margin: 0px; |
114 | padding: 2em; | 114 | padding: 2em; |
115 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
116 | } | 116 | } |
117 | 117 | ||
118 | 118 | ||
119 | table.list { | 119 | table.list { |
120 | width: 100%; | 120 | width: 100%; |
121 | border: none; | 121 | border: none; |
122 | border-collapse: collapse; | 122 | border-collapse: collapse; |
123 | } | 123 | } |
124 | 124 | ||
125 | table.list tr { | 125 | table.list tr { |
126 | background: white; | 126 | background: white; |
127 | } | 127 | } |
128 | 128 | ||
129 | table.list tr.logheader { | 129 | table.list tr.logheader { |
130 | background: #eee; | 130 | background: #eee; |
131 | } | 131 | } |
132 | 132 | ||
133 | table.list tr:hover { | 133 | table.list tr:hover { |
134 | background: #eee; | 134 | background: #eee; |
135 | } | 135 | } |
136 | 136 | ||
137 | table.list tr.nohover:hover { | 137 | table.list tr.nohover:hover { |
138 | background: white; | 138 | background: white; |
139 | } | 139 | } |
140 | 140 | ||
141 | table.list th { | 141 | table.list th { |
142 | font-weight: bold; | 142 | font-weight: bold; |
143 | /* color: #888; | 143 | /* color: #888; |
144 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
145 | border-bottom: dashed 1px #888; | 145 | border-bottom: dashed 1px #888; |
146 | */ | 146 | */ |
147 | padding: 0.1em 0.5em 0.05em 0.5em; | 147 | padding: 0.1em 0.5em 0.05em 0.5em; |
148 | vertical-align: baseline; | 148 | vertical-align: baseline; |
149 | } | 149 | } |
150 | 150 | ||
151 | table.list td { | 151 | table.list td { |
152 | border: none; | 152 | border: none; |
153 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
154 | } | 154 | } |
155 | 155 | ||
156 | table.list td.logsubject { | 156 | table.list td.logsubject { |
157 | font-family: monospace; | 157 | font-family: monospace; |
158 | font-weight: bold; | 158 | font-weight: bold; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td.logmsg { | 161 | table.list td.logmsg { |
162 | font-family: monospace; | 162 | font-family: monospace; |
163 | white-space: pre; | 163 | white-space: pre; |
164 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; |
165 | } | 165 | } |
166 | 166 | ||
167 | table.list td.lognotes-label { | 167 | table.list td.lognotes-label { |
168 | text-align:right; | 168 | text-align:right; |
169 | vertical-align:top; | 169 | vertical-align:top; |
170 | } | 170 | } |
171 | 171 | ||
172 | table.list td.lognotes { | 172 | table.list td.lognotes { |
173 | font-family: monospace; | 173 | font-family: monospace; |
174 | white-space: pre; | 174 | white-space: pre; |
175 | padding: 0em 0.5em 2em 0.5em; | 175 | padding: 0em 0.5em 2em 0.5em; |
176 | } | 176 | } |
177 | 177 | ||
178 | table.list td a { | 178 | table.list td a { |
179 | color: black; | 179 | color: black; |
180 | } | 180 | } |
181 | 181 | ||
182 | table.list td a.ls-dir { | 182 | table.list td a.ls-dir { |
183 | font-weight: bold; | 183 | font-weight: bold; |
184 | color: #00f; | 184 | color: #00f; |
185 | } | 185 | } |
186 | 186 | ||
187 | table.list td a:hover { | 187 | table.list td a:hover { |
188 | color: #00f; | 188 | color: #00f; |
189 | } | 189 | } |
190 | 190 | ||
191 | img { | 191 | img { |
192 | border: none; | 192 | border: none; |
193 | } | 193 | } |
194 | 194 | ||
195 | input#switch-btn { | 195 | input#switch-btn { |
196 | margin: 2px 0px 0px 0px; | 196 | margin: 2px 0px 0px 0px; |
197 | } | 197 | } |
198 | 198 | ||
199 | td#sidebar input.txt { | 199 | td#sidebar input.txt { |
200 | width: 100%; | 200 | width: 100%; |
201 | margin: 2px 0px 0px 0px; | 201 | margin: 2px 0px 0px 0px; |
202 | } | 202 | } |
203 | 203 | ||
204 | table#grid { | 204 | table#grid { |
205 | margin: 0px; | 205 | margin: 0px; |
206 | } | 206 | } |
207 | 207 | ||
208 | td#content { | 208 | td#content { |
209 | vertical-align: top; | 209 | vertical-align: top; |
210 | padding: 1em 2em 1em 1em; | 210 | padding: 1em 2em 1em 1em; |
211 | border: none; | 211 | border: none; |
212 | } | 212 | } |
213 | 213 | ||
214 | div#summary { | 214 | div#summary { |
215 | vertical-align: top; | 215 | vertical-align: top; |
216 | margin-bottom: 1em; | 216 | margin-bottom: 1em; |
217 | } | 217 | } |
218 | 218 | ||
219 | table#downloads { | 219 | table#downloads { |
220 | float: right; | 220 | float: right; |
221 | border-collapse: collapse; | 221 | border-collapse: collapse; |
222 | border: solid 1px #777; | 222 | border: solid 1px #777; |
223 | margin-left: 0.5em; | 223 | margin-left: 0.5em; |
224 | margin-bottom: 0.5em; | 224 | margin-bottom: 0.5em; |
225 | } | 225 | } |
226 | 226 | ||
227 | table#downloads th { | 227 | table#downloads th { |
228 | background-color: #ccc; | 228 | background-color: #ccc; |
229 | } | 229 | } |
230 | 230 | ||
231 | div#blob { | 231 | div#blob { |
232 | border: solid 1px black; | 232 | border: solid 1px black; |
233 | } | 233 | } |
234 | 234 | ||
235 | div.error { | 235 | div.error { |
236 | color: red; | 236 | color: red; |
237 | font-weight: bold; | 237 | font-weight: bold; |
238 | margin: 1em 2em; | 238 | margin: 1em 2em; |
239 | } | 239 | } |
240 | 240 | ||
241 | a.ls-blob, a.ls-dir, a.ls-mod { | 241 | a.ls-blob, a.ls-dir, a.ls-mod { |
242 | font-family: monospace; | 242 | font-family: monospace; |
243 | } | 243 | } |
244 | 244 | ||
245 | td.ls-size { | 245 | td.ls-size { |
246 | text-align: right; | 246 | text-align: right; |
247 | font-family: monospace; | 247 | font-family: monospace; |
248 | width: 10em; | 248 | width: 10em; |
249 | } | 249 | } |
250 | 250 | ||
251 | td.ls-mode { | 251 | td.ls-mode { |
252 | font-family: monospace; | 252 | font-family: monospace; |
253 | width: 10em; | 253 | width: 10em; |
254 | } | 254 | } |
255 | 255 | ||
256 | table.blob { | 256 | table.blob { |
257 | margin-top: 0.5em; | 257 | margin-top: 0.5em; |
258 | border-top: solid 1px black; | 258 | border-top: solid 1px black; |
259 | } | 259 | } |
260 | 260 | ||
261 | table.blob td.lines { | 261 | table.blob td.lines { |
262 | margin: 0; padding: 0 0 0 0.5em; | 262 | margin: 0; padding: 0 0 0 0.5em; |
263 | vertical-align: top; | 263 | vertical-align: top; |
264 | color: black; | 264 | color: black; |
265 | } | 265 | } |
266 | 266 | ||
267 | table.blob td.linenumbers { | 267 | table.blob td.linenumbers { |
268 | margin: 0; padding: 0 0.5em 0 0.5em; | 268 | margin: 0; padding: 0 0.5em 0 0.5em; |
269 | vertical-align: top; | 269 | vertical-align: top; |
270 | text-align: right; | 270 | text-align: right; |
271 | border-right: 1px solid gray; | 271 | border-right: 1px solid gray; |
272 | } | 272 | } |
273 | 273 | ||
274 | table.blob pre { | 274 | table.blob pre { |
275 | padding: 0; margin: 0; | 275 | padding: 0; margin: 0; |
276 | } | 276 | } |
277 | 277 | ||
278 | table.blob a.no { | 278 | table.blob a.no, table.ssdiff a.no { |
279 | color: gray; | 279 | color: gray; |
280 | text-align: right; | 280 | text-align: right; |
281 | text-decoration: none; | 281 | text-decoration: none; |
282 | } | 282 | } |
283 | 283 | ||
284 | table.blob a.no a:hover { | 284 | table.blob a.no a:hover { |
285 | color: black; | 285 | color: black; |
286 | } | 286 | } |
287 | 287 | ||
288 | table.bin-blob { | 288 | table.bin-blob { |
289 | margin-top: 0.5em; | 289 | margin-top: 0.5em; |
290 | border: solid 1px black; | 290 | border: solid 1px black; |
291 | } | 291 | } |
292 | 292 | ||
293 | table.bin-blob th { | 293 | table.bin-blob th { |
294 | font-family: monospace; | 294 | font-family: monospace; |
295 | white-space: pre; | 295 | white-space: pre; |
296 | border: solid 1px #777; | 296 | border: solid 1px #777; |
297 | padding: 0.5em 1em; | 297 | padding: 0.5em 1em; |
298 | } | 298 | } |
299 | 299 | ||
300 | table.bin-blob td { | 300 | table.bin-blob td { |
301 | font-family: monospace; | 301 | font-family: monospace; |
302 | white-space: pre; | 302 | white-space: pre; |
303 | border-left: solid 1px #777; | 303 | border-left: solid 1px #777; |
304 | padding: 0em 1em; | 304 | padding: 0em 1em; |
305 | } | 305 | } |
306 | 306 | ||
307 | table.nowrap td { | 307 | table.nowrap td { |
308 | white-space: nowrap; | 308 | white-space: nowrap; |
309 | } | 309 | } |
310 | 310 | ||
311 | table.commit-info { | 311 | table.commit-info { |
312 | border-collapse: collapse; | 312 | border-collapse: collapse; |
313 | margin-top: 1.5em; | 313 | margin-top: 1.5em; |
314 | } | 314 | } |
315 | 315 | ||
316 | table.commit-info th { | 316 | table.commit-info th { |
317 | text-align: left; | 317 | text-align: left; |
318 | font-weight: normal; | 318 | font-weight: normal; |
319 | padding: 0.1em 1em 0.1em 0.1em; | 319 | padding: 0.1em 1em 0.1em 0.1em; |
320 | vertical-align: top; | 320 | vertical-align: top; |
321 | } | 321 | } |
322 | 322 | ||
323 | table.commit-info td { | 323 | table.commit-info td { |
324 | font-weight: normal; | 324 | font-weight: normal; |
325 | padding: 0.1em 1em 0.1em 0.1em; | 325 | padding: 0.1em 1em 0.1em 0.1em; |
326 | } | 326 | } |
327 | 327 | ||
328 | div.commit-subject { | 328 | div.commit-subject { |
329 | font-weight: bold; | 329 | font-weight: bold; |
330 | font-size: 125%; | 330 | font-size: 125%; |
331 | margin: 1.5em 0em 0.5em 0em; | 331 | margin: 1.5em 0em 0.5em 0em; |
332 | padding: 0em; | 332 | padding: 0em; |
333 | } | 333 | } |
334 | 334 | ||
335 | div.commit-msg { | 335 | div.commit-msg { |
336 | white-space: pre; | 336 | white-space: pre; |
337 | font-family: monospace; | 337 | font-family: monospace; |
338 | } | 338 | } |
339 | 339 | ||
340 | div.notes-header { | 340 | div.notes-header { |
341 | font-weight: bold; | 341 | font-weight: bold; |
342 | padding-top: 1.5em; | 342 | padding-top: 1.5em; |
343 | } | 343 | } |
344 | 344 | ||
345 | div.notes { | 345 | div.notes { |
346 | white-space: pre; | 346 | white-space: pre; |
347 | font-family: monospace; | 347 | font-family: monospace; |
348 | border: solid 1px #ee9; | 348 | border: solid 1px #ee9; |
349 | background-color: #ffd; | 349 | background-color: #ffd; |
350 | padding: 0.3em 2em 0.3em 1em; | 350 | padding: 0.3em 2em 0.3em 1em; |
351 | float: left; | 351 | float: left; |
352 | } | 352 | } |
353 | 353 | ||
354 | div.notes-footer { | 354 | div.notes-footer { |
355 | clear: left; | 355 | clear: left; |
356 | } | 356 | } |
357 | 357 | ||
358 | div.diffstat-header { | 358 | div.diffstat-header { |
359 | font-weight: bold; | 359 | font-weight: bold; |
360 | padding-top: 1.5em; | 360 | padding-top: 1.5em; |
361 | } | 361 | } |
362 | 362 | ||
363 | table.diffstat { | 363 | table.diffstat { |
364 | border-collapse: collapse; | 364 | border-collapse: collapse; |
365 | border: solid 1px #aaa; | 365 | border: solid 1px #aaa; |
366 | background-color: #eee; | 366 | background-color: #eee; |
367 | } | 367 | } |
368 | 368 | ||
369 | table.diffstat th { | 369 | table.diffstat th { |
370 | font-weight: normal; | 370 | font-weight: normal; |
371 | text-align: left; | 371 | text-align: left; |
372 | text-decoration: underline; | 372 | text-decoration: underline; |
373 | padding: 0.1em 1em 0.1em 0.1em; | 373 | padding: 0.1em 1em 0.1em 0.1em; |
374 | font-size: 100%; | 374 | font-size: 100%; |
375 | } | 375 | } |
376 | 376 | ||
377 | table.diffstat td { | 377 | table.diffstat td { |
378 | padding: 0.2em 0.2em 0.1em 0.1em; | 378 | padding: 0.2em 0.2em 0.1em 0.1em; |
379 | font-size: 100%; | 379 | font-size: 100%; |
380 | border: none; | 380 | border: none; |
381 | } | 381 | } |
382 | 382 | ||
383 | table.diffstat td.mode { | 383 | table.diffstat td.mode { |
384 | white-space: nowrap; | 384 | white-space: nowrap; |
385 | } | 385 | } |
386 | 386 | ||
387 | table.diffstat td span.modechange { | 387 | table.diffstat td span.modechange { |
388 | padding-left: 1em; | 388 | padding-left: 1em; |
389 | color: red; | 389 | color: red; |
390 | } | 390 | } |
391 | 391 | ||
392 | table.diffstat td.add a { | 392 | table.diffstat td.add a { |
393 | color: green; | 393 | color: green; |
394 | } | 394 | } |
395 | 395 | ||
396 | table.diffstat td.del a { | 396 | table.diffstat td.del a { |
397 | color: red; | 397 | color: red; |
398 | } | 398 | } |
399 | 399 | ||
400 | table.diffstat td.upd a { | 400 | table.diffstat td.upd a { |
401 | color: blue; | 401 | color: blue; |
402 | } | 402 | } |
403 | 403 | ||
404 | table.diffstat td.graph { | 404 | table.diffstat td.graph { |
405 | width: 500px; | 405 | width: 500px; |
406 | vertical-align: middle; | 406 | vertical-align: middle; |
407 | } | 407 | } |
408 | 408 | ||
409 | table.diffstat td.graph table { | 409 | table.diffstat td.graph table { |
410 | border: none; | 410 | border: none; |
411 | } | 411 | } |
412 | 412 | ||
413 | table.diffstat td.graph td { | 413 | table.diffstat td.graph td { |
414 | padding: 0px; | 414 | padding: 0px; |
415 | border: 0px; | 415 | border: 0px; |
416 | height: 7pt; | 416 | height: 7pt; |
417 | } | 417 | } |
418 | 418 | ||
419 | table.diffstat td.graph td.add { | 419 | table.diffstat td.graph td.add { |
420 | background-color: #5c5; | 420 | background-color: #5c5; |
421 | } | 421 | } |
422 | 422 | ||
423 | table.diffstat td.graph td.rem { | 423 | table.diffstat td.graph td.rem { |
424 | background-color: #c55; | 424 | background-color: #c55; |
425 | } | 425 | } |
426 | 426 | ||
427 | div.diffstat-summary { | 427 | div.diffstat-summary { |
428 | color: #888; | 428 | color: #888; |
429 | padding-top: 0.5em; | 429 | padding-top: 0.5em; |
430 | } | 430 | } |
431 | 431 | ||
432 | table.diff { | 432 | table.diff { |
433 | width: 100%; | 433 | width: 100%; |
434 | } | 434 | } |
435 | 435 | ||
436 | table.diff td { | 436 | table.diff td { |
437 | font-family: monospace; | 437 | font-family: monospace; |
438 | white-space: pre; | 438 | white-space: pre; |
439 | } | 439 | } |
440 | 440 | ||
441 | table.diff td div.head { | 441 | table.diff td div.head { |
442 | font-weight: bold; | 442 | font-weight: bold; |
443 | margin-top: 1em; | 443 | margin-top: 1em; |
444 | color: black; | 444 | color: black; |
445 | } | 445 | } |
446 | 446 | ||
447 | table.diff td div.hunk { | 447 | table.diff td div.hunk { |
448 | color: #009; | 448 | color: #009; |
449 | } | 449 | } |
450 | 450 | ||
451 | table.diff td div.add { | 451 | table.diff td div.add { |
452 | color: green; | 452 | color: green; |
453 | } | 453 | } |
454 | 454 | ||
455 | table.diff td div.del { | 455 | table.diff td div.del { |
456 | color: red; | 456 | color: red; |
457 | } | 457 | } |
458 | 458 | ||
459 | .sha1 { | 459 | .sha1 { |
460 | font-family: monospace; | 460 | font-family: monospace; |
461 | font-size: 90%; | 461 | font-size: 90%; |
462 | } | 462 | } |
463 | 463 | ||
464 | .left { | 464 | .left { |
465 | text-align: left; | 465 | text-align: left; |
466 | } | 466 | } |
467 | 467 | ||
468 | .right { | 468 | .right { |
469 | text-align: right; | 469 | text-align: right; |
470 | } | 470 | } |