I'm happy with the changes, since it easily allows styling by the end user
via the classes you provide!

Tomek

On Sun, Feb 5, 2012 at 6:36 AM, Richard Hipp <d...@sqlite.org> wrote:

>
>
> On Sat, Feb 4, 2012 at 10:55 PM, <altufa...@mail.com> wrote:
>
>> +2
>>
>> Liked both the diffs.
>>
>> Are colors configurable from skin?
>>
>
> Your CSS elements are span.diffchng, span.diffrm, and span.diffadd.  For
> line numbers, span.diffln.  For the divider between change blocks,
> span.diffhr.
>
>
>>
>> I used following CSS for bsdiff (I find bluish color better than yellow
>> for changed lines):
>> table.sbsdiff tr td.added {
>> background-color: rgb(220, 244, 220);
>> }
>> table.sbsdiff tr td.removed {
>> background-color: rgb(244, 220, 220);
>> }
>> table.sbsdiff tr td.changed {
>> background-color: rgb(220, 220, 244);
>> }
>>
>> > ----- Original Message -----
>> > From: Richard Hipp
>> > Sent: 02/05/12 01:33 AM
>> > To: Fossil SCM user's discussion
>> > Subject: Re: [fossil-users] Now with color: Retro side-by-side diffs
>> >
>> > On Sat, Feb 4, 2012 at 2:26 PM, Martin Gagnon <eme...@gmail.com> wrote:
>> >
>> > > Nice.. Same kind of coloring on unified diff would be nice too..
>> > >
>> >
>> > Implemented before you even asked.  See,
>> > http://www.fossil-scm.org/fossil/ci/b57b035654?sbs=0 for example.
>>  Chrome
>> > users, the CSS has changed again so be sure to reload 6 or 7 times.
>> >
>> >
>> >
>> > >
>> > > --
>> > > Martin G.
>> > >
>> > >
>> > >
>> > > Le 2012-02-04 à 14:14, Richard Hipp <d...@sqlite.org> a écrit :
>> > >
>> > > A colorized version of the retro-sbsdiff branch is now on the main
>> > > website.  An example:
>> > >
>> > >     http://www.sqlite.org/src/info/21695c3476
>> > >
>> > > Suggestions for improvements to the CSS (colors and fonts) are
>> welcomed.
>> > >
>> > > On Fri, Feb 3, 2012 at 10:25 AM, Richard Hipp <d...@sqlite.org> wrote:
>> > >
>> > >> For some time now, the SQLite and Fossil websites have been running
>> on
>> > >> the "retro-sbsdiff" branch of Fossil.  The retro-sbsdiff branch uses
>> a
>> > >> vastly simplified format for the side-by-side diffs that omits all
>> of the
>> > >> colors and decoration and provides plain-text output - essentially
>> the same
>> > >> output as you would get on the command-line using the -y flag.
>>  Example:
>> > >>
>> > >>    http://www.sqlite.org/src/info/21695c3476
>> > >>
>> > >> I find the "retro" side-by-side diff to be much more readable, which
>> is
>> > >> why I am using it on the SQLite and Fossil websites, as well as on my
>> > >> desktop.  And I've heard no complaints from users about the retro
>> sbsdiffs
>> > >> on the website. But before I merge the retro-sbsdiff branch into
>> trunk (and
>> > >> hence purge the existing colorful sbs diff from the trunk) I thought
>> I
>> > >> would as for community feedback.  Are there strong preferences one
>> way or
>> > >> another?
>> > >>
>> > >> --
>> > >> D. Richard Hipp
>> > >> d...@sqlite.org
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > D. Richard Hipp
>> > > d...@sqlite.org
>> > >
>> > > _______________________________________________
>> > > fossil-users mailing list
>> > > fossil-users@lists.fossil-scm.org
>> > >
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>> > >
>> > >
>> > > _______________________________________________
>> > > fossil-users mailing list
>> > > fossil-users@lists.fossil-scm.org
>> > >
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>> > >
>> > >
>> >
>> >
>> > --
>> > D. Richard Hipp
>> > d...@sqlite.org
>> >
>>
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to