>> it should be switchable on a per-user basis. Maybe using css would 
>> work, so each user can have a local style sheet override the colours
> 
> I never used local stylesheets because, as I said, I am not always at
> the same place and dislike the thought to be dependent on something
> installed locally on my box. But maybe I can cover a few cases like
> this. How would I apply a local stylesheet? Download the original,
> modify it to my liking, store it and tell the browser to use it for
> certain pages?

I just cannot get a local stylesheet working in Konqueror for the diff
background colours. It is applied, though, because on other elements it
works. I just don't understand the nesting and CSS class stuff. I tried
this first, just taking a part to be overridden from diff.css:

> .diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l {
>  background: #ffa;
>  border-color: #c00;
>  border-style: solid;
>  border-width: 0 1px 0 1px;
> }

The formerly light red background should be light yellow (#ffa), but it
is not. Then I tried changing the first line like this:

> div.diff table.inline tbody.mod td.l, div.diff table.inline tbody.rem td.l {

Also no success. Next, I looked at the DOM of the loaded page and tried
something like this:

> div.nav div.changeset div.diff table.inline tbody.mod td.l, div.nav 
> div.changeset div.diff table.inline tbody.rem td.l {

What am I doing wrong? Do I have to become a CSS expert first? How does
cascading work? Does the local stylesheet override the ones from the
Trac server or the other way around?

I know I am a bit OT here, but I would appreciate some hints anyway.

Regards
--
Alexander Kriegisch

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to