Fossil SCM

Updated the built-in skins for sbsdiff.

jan 2011-10-14 15:41 jan-sbsdiff
Commit bb76b57aa20761cb0768468bd5157087a002dedd
2 files changed +135 -4 +42
+135 -4
--- src/skins.c
+++ src/skins.c
@@ -152,10 +152,54 @@
152152
@ /* The label/value pairs on (for example) the vinfo page */
153153
@ table.label-value th {
154154
@ vertical-align: top;
155155
@ text-align: right;
156156
@ padding: 0.2ex 2ex;
157
+@ }
158
+@
159
+@ /* Side-by-side diff */
160
+@ table.sbsdiff {
161
+@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
162
+@ font-size: 10pt;
163
+@ border-collapse:collapse;
164
+@ white-space: pre;
165
+@ width: 98%;
166
+@ border: 1px #000 dashed;
167
+@ }
168
+@
169
+@ table.sbsdiff th.diffhdr {
170
+@ border-bottom: dotted;
171
+@ border-width: 1px;
172
+@ }
173
+@
174
+@ table.sbsdiff tr td {
175
+@ white-space: pre;
176
+@ padding-left: 3px;
177
+@ padding-right: 3px;
178
+@ margin: 0px;
179
+@ }
180
+@
181
+@ table.sbsdiff tr td.lineno {
182
+@ text-align: right;
183
+@ }
184
+@
185
+@ table.sbsdiff tr td.meta {
186
+@ color: white;
187
+@ background-color: rgb(20, 20, 20);
188
+@ text-align: center;
189
+@ }
190
+@
191
+@ table.sbsdiff tr td.added {
192
+@ background-color: rgb(230, 230, 230);
193
+@ }
194
+@
195
+@ table.sbsdiff tr td.removed {
196
+@ background-color: rgb(200, 200, 200);
197
+@ }
198
+@
199
+@ table.sbsdiff tr td.changed {
200
+@ background-color: rgb(220, 220, 220);
157201
@ }');
158202
@ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
159203
@ <head>
160204
@ <title>$<project_name>: $<title></title>
161205
@ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -356,11 +400,53 @@
356400
@ table.label-value th {
357401
@ vertical-align: top;
358402
@ text-align: right;
359403
@ padding: 0.2ex 2ex;
360404
@ }
361
-@ ');
405
+@
406
+@ /* Side-by-side diff */
407
+@ table.sbsdiff {
408
+@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
409
+@ font-size: 10pt;
410
+@ border-collapse:collapse;
411
+@ white-space: pre;
412
+@ width: 98%;
413
+@ border: 1px #000 dashed;
414
+@ }
415
+@
416
+@ table.sbsdiff th.diffhdr {
417
+@ border-bottom: dotted;
418
+@ border-width: 1px;
419
+@ }
420
+@
421
+@ table.sbsdiff tr td {
422
+@ white-space: pre;
423
+@ padding-left: 3px;
424
+@ padding-right: 3px;
425
+@ margin: 0px;
426
+@ }
427
+@
428
+@ table.sbsdiff tr td.lineno {
429
+@ text-align: right;
430
+@ }
431
+@
432
+@ table.sbsdiff tr td.meta {
433
+@ background-color: #a09048;
434
+@ text-align: center;
435
+@ }
436
+@
437
+@ table.sbsdiff tr td.added {
438
+@ background-color: rgb(210, 210, 100);
439
+@ }
440
+@
441
+@ table.sbsdiff tr td.removed {
442
+@ background-color: rgb(190, 200, 110);
443
+@ }
444
+@
445
+@ table.sbsdiff tr td.changed {
446
+@ background-color: rgb(200, 210, 120);
447
+@ }');
362448
@ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
363449
@ <head>
364450
@ <title>$<project_name>: $<title></title>
365451
@ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
366452
@ href="$home/timeline.rss">
@@ -590,10 +676,54 @@
590676
@ /* The label/value pairs on (for example) the ci page */
591677
@ table.label-value th {
592678
@ vertical-align: top;
593679
@ text-align: right;
594680
@ padding: 0.2ex 2ex;
681
+@ }
682
+@
683
+@ /* Side-by-side diff */
684
+@ table.sbsdiff {
685
+@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
686
+@ font-size: 10pt;
687
+@ border-collapse:collapse;
688
+@ white-space: pre;
689
+@ width: 98%;
690
+@ border: 1px #000 dashed;
691
+@ }
692
+@
693
+@ table.sbsdiff th.diffhdr {
694
+@ border-bottom: dotted;
695
+@ border-width: 1px;
696
+@ }
697
+@
698
+@ table.sbsdiff tr td {
699
+@ white-space: pre;
700
+@ padding-left: 3px;
701
+@ padding-right: 3px;
702
+@ margin: 0px;
703
+@ }
704
+@
705
+@ table.sbsdiff tr td.lineno {
706
+@ text-align: right;
707
+@ }
708
+@
709
+@ table.sbsdiff tr td.meta {
710
+@ color: white;
711
+@ background-color: black;
712
+@ text-align: center;
713
+@ }
714
+@
715
+@ table.sbsdiff tr td.added {
716
+@ background-color: white;
717
+@ }
718
+@
719
+@ table.sbsdiff tr td.removed {
720
+@ background-color: white;
721
+@ }
722
+@
723
+@ table.sbsdiff tr td.changed {
724
+@ background-color: white;
595725
@ }');
596726
@ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
597727
@ <head>
598728
@ <title>$<project_name>: $<title></title>
599729
@ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -889,15 +1019,16 @@
8891019
@ font-size: 1em;
8901020
@ }
8911021
@
8921022
@ /* Side-by-side diff */
8931023
@ table.sbsdiff {
894
-@ font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
895
-@ font-size: 7pt;
1024
+@ background-color: white;
1025
+@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
1026
+@ font-size: 9pt;
8961027
@ border-collapse:collapse;
8971028
@ white-space: pre;
898
-@ width: 100%;
1029
+@ width: 98%;
8991030
@ border: 1px #000 dashed;
9001031
@ }
9011032
@
9021033
@ table.sbsdiff th.diffhdr {
9031034
@ border-bottom: dotted;
9041035
--- src/skins.c
+++ src/skins.c
@@ -152,10 +152,54 @@
152 @ /* The label/value pairs on (for example) the vinfo page */
153 @ table.label-value th {
154 @ vertical-align: top;
155 @ text-align: right;
156 @ padding: 0.2ex 2ex;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157 @ }');
158 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
159 @ <head>
160 @ <title>$<project_name>: $<title></title>
161 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -356,11 +400,53 @@
356 @ table.label-value th {
357 @ vertical-align: top;
358 @ text-align: right;
359 @ padding: 0.2ex 2ex;
360 @ }
361 @ ');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
363 @ <head>
364 @ <title>$<project_name>: $<title></title>
365 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
366 @ href="$home/timeline.rss">
@@ -590,10 +676,54 @@
590 @ /* The label/value pairs on (for example) the ci page */
591 @ table.label-value th {
592 @ vertical-align: top;
593 @ text-align: right;
594 @ padding: 0.2ex 2ex;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595 @ }');
596 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
597 @ <head>
598 @ <title>$<project_name>: $<title></title>
599 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -889,15 +1019,16 @@
889 @ font-size: 1em;
890 @ }
891 @
892 @ /* Side-by-side diff */
893 @ table.sbsdiff {
894 @ font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
895 @ font-size: 7pt;
 
896 @ border-collapse:collapse;
897 @ white-space: pre;
898 @ width: 100%;
899 @ border: 1px #000 dashed;
900 @ }
901 @
902 @ table.sbsdiff th.diffhdr {
903 @ border-bottom: dotted;
904
--- src/skins.c
+++ src/skins.c
@@ -152,10 +152,54 @@
152 @ /* The label/value pairs on (for example) the vinfo page */
153 @ table.label-value th {
154 @ vertical-align: top;
155 @ text-align: right;
156 @ padding: 0.2ex 2ex;
157 @ }
158 @
159 @ /* Side-by-side diff */
160 @ table.sbsdiff {
161 @ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
162 @ font-size: 10pt;
163 @ border-collapse:collapse;
164 @ white-space: pre;
165 @ width: 98%;
166 @ border: 1px #000 dashed;
167 @ }
168 @
169 @ table.sbsdiff th.diffhdr {
170 @ border-bottom: dotted;
171 @ border-width: 1px;
172 @ }
173 @
174 @ table.sbsdiff tr td {
175 @ white-space: pre;
176 @ padding-left: 3px;
177 @ padding-right: 3px;
178 @ margin: 0px;
179 @ }
180 @
181 @ table.sbsdiff tr td.lineno {
182 @ text-align: right;
183 @ }
184 @
185 @ table.sbsdiff tr td.meta {
186 @ color: white;
187 @ background-color: rgb(20, 20, 20);
188 @ text-align: center;
189 @ }
190 @
191 @ table.sbsdiff tr td.added {
192 @ background-color: rgb(230, 230, 230);
193 @ }
194 @
195 @ table.sbsdiff tr td.removed {
196 @ background-color: rgb(200, 200, 200);
197 @ }
198 @
199 @ table.sbsdiff tr td.changed {
200 @ background-color: rgb(220, 220, 220);
201 @ }');
202 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
203 @ <head>
204 @ <title>$<project_name>: $<title></title>
205 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -356,11 +400,53 @@
400 @ table.label-value th {
401 @ vertical-align: top;
402 @ text-align: right;
403 @ padding: 0.2ex 2ex;
404 @ }
405 @
406 @ /* Side-by-side diff */
407 @ table.sbsdiff {
408 @ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
409 @ font-size: 10pt;
410 @ border-collapse:collapse;
411 @ white-space: pre;
412 @ width: 98%;
413 @ border: 1px #000 dashed;
414 @ }
415 @
416 @ table.sbsdiff th.diffhdr {
417 @ border-bottom: dotted;
418 @ border-width: 1px;
419 @ }
420 @
421 @ table.sbsdiff tr td {
422 @ white-space: pre;
423 @ padding-left: 3px;
424 @ padding-right: 3px;
425 @ margin: 0px;
426 @ }
427 @
428 @ table.sbsdiff tr td.lineno {
429 @ text-align: right;
430 @ }
431 @
432 @ table.sbsdiff tr td.meta {
433 @ background-color: #a09048;
434 @ text-align: center;
435 @ }
436 @
437 @ table.sbsdiff tr td.added {
438 @ background-color: rgb(210, 210, 100);
439 @ }
440 @
441 @ table.sbsdiff tr td.removed {
442 @ background-color: rgb(190, 200, 110);
443 @ }
444 @
445 @ table.sbsdiff tr td.changed {
446 @ background-color: rgb(200, 210, 120);
447 @ }');
448 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
449 @ <head>
450 @ <title>$<project_name>: $<title></title>
451 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
452 @ href="$home/timeline.rss">
@@ -590,10 +676,54 @@
676 @ /* The label/value pairs on (for example) the ci page */
677 @ table.label-value th {
678 @ vertical-align: top;
679 @ text-align: right;
680 @ padding: 0.2ex 2ex;
681 @ }
682 @
683 @ /* Side-by-side diff */
684 @ table.sbsdiff {
685 @ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
686 @ font-size: 10pt;
687 @ border-collapse:collapse;
688 @ white-space: pre;
689 @ width: 98%;
690 @ border: 1px #000 dashed;
691 @ }
692 @
693 @ table.sbsdiff th.diffhdr {
694 @ border-bottom: dotted;
695 @ border-width: 1px;
696 @ }
697 @
698 @ table.sbsdiff tr td {
699 @ white-space: pre;
700 @ padding-left: 3px;
701 @ padding-right: 3px;
702 @ margin: 0px;
703 @ }
704 @
705 @ table.sbsdiff tr td.lineno {
706 @ text-align: right;
707 @ }
708 @
709 @ table.sbsdiff tr td.meta {
710 @ color: white;
711 @ background-color: black;
712 @ text-align: center;
713 @ }
714 @
715 @ table.sbsdiff tr td.added {
716 @ background-color: white;
717 @ }
718 @
719 @ table.sbsdiff tr td.removed {
720 @ background-color: white;
721 @ }
722 @
723 @ table.sbsdiff tr td.changed {
724 @ background-color: white;
725 @ }');
726 @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html>
727 @ <head>
728 @ <title>$<project_name>: $<title></title>
729 @ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
@@ -889,15 +1019,16 @@
1019 @ font-size: 1em;
1020 @ }
1021 @
1022 @ /* Side-by-side diff */
1023 @ table.sbsdiff {
1024 @ background-color: white;
1025 @ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
1026 @ font-size: 9pt;
1027 @ border-collapse:collapse;
1028 @ white-space: pre;
1029 @ width: 98%;
1030 @ border: 1px #000 dashed;
1031 @ }
1032 @
1033 @ table.sbsdiff th.diffhdr {
1034 @ border-bottom: dotted;
1035
+42
--- src/style.c
+++ src/style.c
@@ -397,10 +397,52 @@
397397
@ vertical-align: top;
398398
@ text-align: right;
399399
@ padding: 0.2ex 2ex;
400400
@ }
401401
@
402
+@ /* Side-by-side diff */
403
+@ table.sbsdiff {
404
+@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
405
+@ font-size: 10pt;
406
+@ border-collapse:collapse;
407
+@ white-space: pre;
408
+@ width: 98%;
409
+@ border: 1px #000 dashed;
410
+@ }
411
+@
412
+@ table.sbsdiff th.diffhdr {
413
+@ border-bottom: dotted;
414
+@ border-width: 1px;
415
+@ }
416
+@
417
+@ table.sbsdiff tr td {
418
+@ white-space: pre;
419
+@ padding-left: 3px;
420
+@ padding-right: 3px;
421
+@ margin: 0px;
422
+@ }
423
+@
424
+@ table.sbsdiff tr td.lineno {
425
+@ text-align: right;
426
+@ }
427
+@
428
+@ table.sbsdiff tr td.meta {
429
+@ background-color: rgb(170, 160, 255);
430
+@ text-align: center;
431
+@ }
432
+@
433
+@ table.sbsdiff tr td.added {
434
+@ background-color: rgb(180, 250, 180);
435
+@ }
436
+@
437
+@ table.sbsdiff tr td.removed {
438
+@ background-color: rgb(250, 130, 130);
439
+@ }
440
+@
441
+@ table.sbsdiff tr td.changed {
442
+@ background-color: rgb(210, 210, 200);
443
+@ }
402444
;
403445
404446
405447
/* The following table contains bits of default CSS that must
406448
** be included if they are not found in the application-defined
407449
--- src/style.c
+++ src/style.c
@@ -397,10 +397,52 @@
397 @ vertical-align: top;
398 @ text-align: right;
399 @ padding: 0.2ex 2ex;
400 @ }
401 @
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402 ;
403
404
405 /* The following table contains bits of default CSS that must
406 ** be included if they are not found in the application-defined
407
--- src/style.c
+++ src/style.c
@@ -397,10 +397,52 @@
397 @ vertical-align: top;
398 @ text-align: right;
399 @ padding: 0.2ex 2ex;
400 @ }
401 @
402 @ /* Side-by-side diff */
403 @ table.sbsdiff {
404 @ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace;
405 @ font-size: 10pt;
406 @ border-collapse:collapse;
407 @ white-space: pre;
408 @ width: 98%;
409 @ border: 1px #000 dashed;
410 @ }
411 @
412 @ table.sbsdiff th.diffhdr {
413 @ border-bottom: dotted;
414 @ border-width: 1px;
415 @ }
416 @
417 @ table.sbsdiff tr td {
418 @ white-space: pre;
419 @ padding-left: 3px;
420 @ padding-right: 3px;
421 @ margin: 0px;
422 @ }
423 @
424 @ table.sbsdiff tr td.lineno {
425 @ text-align: right;
426 @ }
427 @
428 @ table.sbsdiff tr td.meta {
429 @ background-color: rgb(170, 160, 255);
430 @ text-align: center;
431 @ }
432 @
433 @ table.sbsdiff tr td.added {
434 @ background-color: rgb(180, 250, 180);
435 @ }
436 @
437 @ table.sbsdiff tr td.removed {
438 @ background-color: rgb(250, 130, 130);
439 @ }
440 @
441 @ table.sbsdiff tr td.changed {
442 @ background-color: rgb(210, 210, 200);
443 @ }
444 ;
445
446
447 /* The following table contains bits of default CSS that must
448 ** be included if they are not found in the application-defined
449

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button