trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2014

Re: [trinity-devel] R: [trinity-devel] New TDEUI proposal

From: "E. Liddell" <ejlddll@...>
Date: Sun, 3 Aug 2014 16:23:58 -0400
On Sun, 3 Aug 2014 13:35:01 -0400
Alexandre <ac586133@...> wrote:

> 

> > In other words, the stripe continues on through the right side of the header
> > because it's being displayed as the background of the enclosing element.
> > The easiest ways to fix this are to 1. provide an opaque background for
> > the headerR div (possibly not workable for this design) or 2. create a
> > headerCenter div to display the background.  It's possible that a couple
> > of other pages from the same directory will need to be edited to match.

> I think you understood well the situation.
> This new design allow use of any picture as the background and it is something that I would like to keep, if it is possible.
> I don't know much about web programming, but I did it by comparing the differents sections with the same file in KDE 4.10.
> 
> Would it be possible for you to provide the code for the header part, with a headerCenter div?

Okay, I think I have it.  You need to make changes to two files.  In
{TDE}/share/apps/konqueror/about/intro.html , change

    <div id="headerL"/>
    <div id="headerR"/>

to

    <div id="headerL"/>
    <div id="headerCenter"/>
    <div id="headerR"/>

This surgery is also going to have to be performed on most of the other HTML
files in the same directory--all but one of them use the same header.

Then go to the first stylesheet (kde_infopage.css on my system, might be
tde_infopage.css or the like on yours) and patch it with the attached
.diff file.

After that, you should have a new headerCenter div that displays the background 
stripe only where you want it.

If this doesn't work, there's some kind of file regeneration step missing--I
saved off a copy of the page instead of trying to work with the system files.

E. Liddell

Attachments: