[Phpslash-trackers] [ phpslash-Patches-682258 ] CSS based themes
Brought to you by:
joestewart,
nhruby
From: SourceForge.net <no...@so...> - 2003-02-24 16:35:10
|
Patches item #682258, was opened at 2003-02-07 05:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310566&aid=682258&group_id=10566 Category: None Group: None Status: Open Resolution: None >Priority: 1 Submitted By: Peter Cruickshank (krabu) Assigned to: Nobody/Anonymous (nobody) Summary: CSS based themes Initial Comment: Here's a couple of themes that I've been working on. They work best in MSIE5+, look OK in Mozilla and are readable in Netscape 4.7. Features: * A table is used for the basic page layout (head, foot + columns. Everything else is done with divs. * ids are unique (as required by DOM) and divide the page into zones for styling * all cless names start with 'psl-' to avoid namespace clashes * combining id and classes allows the appearance of blocks and other elements to change depending on where they are in the page, without needing new templates * To try to protect Netscape 4 from itself (eg borders on form elements), two stylesheets are used, so slashHead.tpl needs changed to include: <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{SKIN}.css" /> <style type="text/css" media="screen">@import "{ROOTDIR}/styles/{SKIN}_ext.css";</style> You can see the skins in use in http://www.cruickshank.biz/sl. (servicelink) and http://www.cruickshank.biz/sl (home) I dont consider them production-ready, but it shouldnt take much work to get them there. The other caveat is that I developed them under pSL M7 have not tested them with the PSL 0.7 RCs ---------------------------------------------------------------------- >Comment By: Joe Stewart (joestewart) Date: 2003-02-24 10:44 Message: Logged In: YES user_id=77269 I'm uploading my work to update these skins to 0.7. It is incomplete and may contain errors too. But it's a start. ---------------------------------------------------------------------- Comment By: Peter Cruickshank (krabu) Date: 2003-02-07 05:17 Message: Logged In: YES user_id=279604 Correction: I meant to type http://www.cruickshank.biz/ (home) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310566&aid=682258&group_id=10566 |