Message: previous - next
Month: August 2014

Re: [trinity-devel] R: [trinity-devel] TDEUI update adaptation for Help Center

From: "E. Liddell" <ejlddll@...>
Date: Tue, 26 Aug 2014 19:21:19 -0400
On Tue, 26 Aug 2014 14:58:32 -0400
Alexandre <ac586133@...> wrote:

> > Date: Tue, 26 Aug 2014 15:09:58 +0100
> > From: michele.calgaro@...
> > To: trinity-devel@...
> > Subject: [trinity-devel] R: [trinity-devel] TDEUI update adaptation for Help Center
> > 
> > >I am now looking forward updating the ''TDEUI'' files of the TDE Help Center.
> > >But, it seems to be completely different than the layout of other apps using TDEUI, and I will need help on this one, if it >is possible.
> > >...
> > > But, there is still the need to find how to:
> > > 1. Align left the title, as we did in the other TDEUI files, with a the same left-spacing for the TDE logo
> > > 2. Change the color of the title 
> > 
> > Hi Alex,
> > I will try to find some time this week/weekend to investigate the whole thing and provide some feedback to your questions. I am quite busy this period, so bear with me if I will be a little late to reply.
> > 
> > Cheers
> >   Michele
> No problems!

Sorry for not responding to this before--I've been having hellish migraines.

The Help Center uses the same style files as everything else (konq.css,
kde-default.css), but the title alignment and colour are being embedded
during the docbook creation process.

The fragment currently governing the style is this:

<div style="position: absolute;top: 25px;right: 100px;text-align: right;font-size: xx-large;font-weight: bold;text-shadow: #fff 0px 0px 5px;color: #444">
It seems to be coming from [tde]/share/apps/ksgmltools2/customization/kde-navig.xsl
starting at line 49 (and you would not believe the amount of grepping I had to do to
find that).  So "right: 100px" becomes "left: [some distance]" and "color: #444"
becomes "color: [whatever]".

kde-navig.xsl seems to be the source of most, if not all, of the hard-coded styles
being injected into these documents.  I'd like to perform an exorcism on it and
move them all to a stylesheet, but I'm going to have to look up the commands
to regenerate the documentation first.  (I did know this stuff at one point . . .)

E. Liddell