Development of the Simple style - simple, eye pleasant and easy to understand templates (.tpl) and CSS style (.css) for Tiki

SimpleStyleDev

Status/RoadMap
  • Where are we?
    Current Tikiwiki style templates and CSS files are overcomplicated. Mostly they do use tables for layout and so many unnecessary different classes and IDs. It isn't very easy to maintain, modify or understand, sometimes a theme displays wrong, disallows an user to change font size in his/her browser or the page structure is designed against usability and accessibility.
  • Where do we want to be?
    We want to create simple, easy understandable style with minimum of required IDs and classes in XHTML Strict compliant template layout with simple CSS file. Still we would like to produce pleasant look and feel, which will be compatible with most available modern browsers (Mozilla 1+/Netscape7+, MSIE 5+, Opera 7+, Konqueror 3+, Safari, ...) and still browseable with CSS switched off using some CLI or "stone age" browsers.
  • Who is working on what? (Priorities/goals/majors issues/roles)
    • luci
      • Priorities:
        • one simple CSS file
        • perfect code
      • Goals:
        • pure CSS and valid XHTML 1.0 Strict based layout which can be used as a model for other themes and maybe even replace the default *.tpl files for future Tikiwiki releases
      • Role: developer - project coordinator

ToDo
  • enhance CSS for forums
  • Identify problematic code in style.css & Simple Style templates
  • Full XHTML compliance
  • and more ...

Done
  • Define width of center column (for lack of a better word)
  • CSS for modules
  • CSS for titlebars in wiki pages
  • CSS for tables and fancy tables
  • CSS for calendar
  • CSS to fix appearance of input fields


TikiTeam
Who is interested/participating on working here generally? (Link your UserPage)
link yourself here

Trackers
  • Bugs
    • some input fields and textareas overflows into right column (fixed)
    • MSIE 6.0 displays bottom scrollbar, but the content fits in viewport well (unconfirmed)
    • MSIE 5.0 displays huge textarea width in Shoutbox module which causes to display it on the right side out of the viewport
    • add more
  • RFEs
    • none yet
  • tech support
    • irc.freenode.net, #tikiwiki

Competition and standards
We (well, actually me, luci wink) decided to use the technique of "source ordered floats"(external link) by Big John(external link) for the best compatibility and flexibility of Simple style!

Similar purpose and/or pretty well structured and coded styles in Tiki are:
This section is outdated. We need more research here
luci


All other styles than Simple have got their own bugs:
  • Styles not working on MSIE6 - tiki1.7 : StylesAkwa, StylesGeo, StylesMatrix, StylesMatrixlight, StylesMose, StylesNotheme, StylesNotheme.II?, StylesNotheme.III?
  • tiki 1.7.1.1: All styles except moreneat, neat, olive, and Subsilver ( StylesMoreneat , StylesNeat , StylesOlive , StylesSubsilver ) have obvious display problems on IE 5.2 and Safari (OS X.2). The most prevalent problem is that boxes that should be below text overlap the bottom of lines. This bug shows in screenshots from other OSs as well.
This section is outdated. We need more research here
luci

some reflections and examples are at LayoutDivOrTable
sylvie

Before you think it's a "mystery bug", read this(external link)!
luci


Docs

Latest version of the Simple style is on CVS BRANCH-1-9. Please test it here? or on your local CVS copy and feel free to comment, suggest or modify it to make Simple style even better than it is wink. Read the file styles/simple.css for "documentation"...
luci


The Simple style files can be found in:
  1. Templates: templates/styles/simple/*
  2. CSS file: styles/simple.css
  3. Graphics: styles/simple/*

Wiki boxing arena (read "Wiki discussion")

For instance, in a wiki page, if I take off all the width="100%" and width="33%" in tiki-editpage.tpl, the page is nice with MSIE6. Is the tiki team ready to clean all the templates? Is the simple theme ready to copy and update all the templates in its local directory?

luci answers:

yes, wiki pages displays pretty nice, but no, we're not ready yet to replace all the styles tpl files until Simple will be final and well tested.

For MSIE5/win (MSIE6?), there is the broken box model - known problem about the Microsoft box interpretation: they consider the width of a box is the width of the content. The standard considers that the width is the entire box except margin (=content+padding+border).
A method to correct it is the Tantek method: do not use padding and size at the same time (see for example box model hack(external link) and another one(external link)).
In any case, we have to correct the tiki templates and take away the width in the css to apply these hacks.

luci answers:

it's false to take away the width in every css file. did you mean tpl file instead? it depends on the style (fixed/floating layout) and needs to be cared specifically.

sylvie


To hack or not to hack(external link)? That's a question! :wink:?
luci

some ideas about cleaning the css files CSSCleaning
sylvie


Other resources
Pure CSS layout techniques:


Contributors to this page: luci4547 points  , beerlounge.de10 points  and musus2 points  .
Page last modified on Friday 17 September 2004 13:42:59 CEST by luci4547 points .

Switch Language

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki

Shoutbox

Torsten2431 points , 14:06 CEST, Sun 22 Apr. 2012: Next Webinar at Thursday, 17th of May 2012 (21:00 UTC)at http://tiki.org/live
Torsten2431 points , 11:43 CEST, Tue 10 Apr. 2012: Next Webinar at Thursday, 19th of April 2012 (21:00 UTC) at http://tiki.org/live
Jyhem2569 points , 13:07 CET, Fri 16 Mar. 2012: What happened to the BBB room ?
Torsten2431 points , 01:44 CET, Sat 25 Feb. 2012: Next Webinar at Thursday, 15th of March 2012 (21:00 UTC) at http://tiki.org/live
Torsten2431 points , 13:29 CET, Fri 10 Feb. 2012: Next webinar at Thursday, 16. of Feb. 2012 (21:00 UTC) at http://tiki.org/live