phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] new theme using CCS and layers


From: Lars Kneschke
Subject: [Phpgroupware-developers] new theme using CCS and layers
Date: Wed, 14 Nov 2001 20:21:58 +0100 (MET)

Hello!

I have created a new theme based on CSS and layers. I did it for the company
i'mworking for.
You can find a screenshot under this url
http://phpgw.de/phpgroupware_devel/new_theme.jpg . I have tested it under IE
6 and the latest Mozilla Release. All buttons are created from CCS. This
makes it very easy for translations.

I have put it into cvs. The name of the theme is linux-at-work.de. I would
like to work on a little bit more and try to provide themes for different
apps, using CSS.

Why CSS?

It load's faster. Until now i have no images in my theme for the menu.
You modify the look of buttons.
You can have areas with own scrollbars.
You can toggle parts of the webpage un/visible.

Cool, isnt it!? :)

I found out that apps can include there own CSS, providing a css() function
in the ui class. I think that this not a very good way of doing this. 
You can't use different CSS this way. I would suggest looking for CSS file
in the templates directory (ex. templates/default/appname.css) and if it
exists, inlcude it(direct in to the html code) or trough a url(
<link rel="stylesheet" type="text/css"
href="/phpgroupware/appname/templates/default/appname.css">
)
.

That's what i think. :)

Cu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]