Debugging some Xaraya CSS quirk

Karsten Poppe <[email protected]>
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
I did a research on how Xaraya is handling CSS and found some minor bugs 
concerning mainly some css classes (typos, non standard classes).

I won't add this stuff to bugzilla, since I guess it makes no sense to 
sort the results per module.

Its Bug Fix Weekend, so perhaps anybody could address these problems, 
should not take too much time.

Research file: <http://support.metaphora.de/zeugs/xaraya_css.txt>


-- Karsten

------------------------------------------------------------------------------------------------------------------------

Debugging some Xaraya CSS quirks / Summary

See research file with sources: 
<http://support.metaphora.de/zeugs/xaraya_css.txt>

1. Some basic assumptions

a. RFC-0010: Block Layout (Xaraya Theme System) 
<http://www.xaraya.com/documentation/rfcs/rfc0010.html>
b. Standard classes: xarcore-xhtml1-strict.css
c. Best practice: module specific classes shoud have a module prefix, 
xar-[module]-[name]

Release: Xaraya 1.1.5 plus some modules from mt


2. Research

2.1 xar-accented
* "xar-accented" -> not a standard class -> no value defined -> standard 
class is: "xar-accent" -> Proposal: rename class to standard class

2.2 xar-admin-menu
* "xar-admin-menu" -> not a standard class -> no value defined -> 
Proposal: remove class

2.3 xar-aligncenter
* "xar-aligncenter" -> Typo -> Proposal: rename to "xar-align-center"

2.4 xar-align-top
* "xar-align-top" -> not a standard class -> no valued defined -> 
Proposal: rename to "xar-valign-top"

2.5 xar-amrgin-thickleft
* "xar-amrgin-thickleft" -> Typo -> Proposal: rename to 
"xar-margin-thickleft"

2.6 xar-blockform-[], xar-blockinput
xar-blockform-container-after
xar-blockform-input-after
xar-blockform-input-wrapper
xar-blockform-input-wrapper-after
xar-blockform-label-short
xar-blockinput
* "xar-blockform-[]", "xar-blockinput" -> module: sitecontact -> 
Proposal: add module prefix "sitecontact" and rename in css accordingly

2.7 xar-blocks-admin
* "xar-blocks-admin" -> not a standard class -> no valued defined -> 
Proposal: remove class

2.8 xar-clear-both
* "xar-clear-both" -> not a standard class -> no value defined -> 
Proposal: rename to "xar-clearboth"

2.9 xar-float-left
* "xar-float-left" -> not a standard class -> Proposal: rename to 
"xar-floatleft"

2.10 xar-form-input
* "xar-form-input" -> not a standard class ->Proposal: remove

2.11 xar-form-input-after
* "xar-form-input-after" -> not a standard class -> no value defined -> 
Proposal: rename to "xar-form-input-wrapper-after"

2.12 xar-form-input-before
* "xar-form-input-before" -> not a standard class -> no value defined -> 
Proposal: remove

2.13 xar-form-input-container
* "xar-form-input-container" -> not a standard class -> no value defined 
-> Proposal: rename to "xar-form-input-wrapper"

2.14 xar-form-inputlong
* "xar-form-inputlong" -> not a standard class -> no value defined -> 
Proposal: rename to "xar-form-textlong"

2.15 xar-form-label-short
* "xar-form-label-short" -> Typo -> Proposal: rename to 
"xar-form-labelshort"

2.16 xar-formwidget
* "xar-formwidget" -> not a standard class -> values defined -> used by 
many modules

2.17 xar-form-wrapper
* "xar-form-wrapper" -> not a standard  class -> no value defined -> 
Proposal: rename to "xar-form-input-wrapper"

2.18 xar-form-wrapper-after
* "xar-form-wrapper-after" -> not standard -> no value defined -> 
Proposal: rename to "xar-form-input-wrapper-after"

2.19 xar-full-width
* "xar-full-width" -> not a standard class -> no value defined -> 
Proposal: rename to "xar-fullwidth"

2.20 xar-input-form-wrapper-before
* "xar-input-form-wrapper-before" -> not a standard class -> no value 
defined -> Proposal: remove

2.21 xar-margin-topthick
* "xar-margin-topthick" -> Typo -> Proposal: rename to "xar-margin-thicktop"

2.22 xar-mod-message
* "xar-mod-message" -> not a standard class -> no value defined -> 
Proposal: remove

2.23 xar-mod-statusmsg
* "xar-mod-statusmsg" -> not a standard -class -> no value defined -> 
Proposal: add module prefix or remove class

2.24 xar-mod-tittle
* xar-mod-tittle -> Typo -> Proposal: rename to "xar-mod-title"

2.25 xar-normal
* "xar-normal" -> not a standard class -> no value defined -> Proposal: 
rename to "xar-norm"

2.26 xar-padding-endsthick
* "xar-padding-endsthick" -> Typo -> Proposal: rename to 
"xar-padding-thickends"

2.27 xar-padding-sidesthick
* "xar-padding-sidesthick" -> Typo -> Proposal: rename to 
"xar-padding-thicksides"

2.28 xar-padding-topthick
* "xar-padding-topthick" -> Typo -> Proposal: rename to 
"xar-padding-thicktop"

2.29 xar-pager
* "xar-pager" -> not a standard class -> no value defined in base module 
->  Proposal: add module prefix "xar-base-pager"

2.30 xar-pagetitle
* "xar-pagetitle" -> not a standard class -> no valued defined -> 
Proposal: remove

2.31 xar-quote
* "xar-quote" -> not a standard class -> no value defined -> Proposal: 
add module prefix "xar-articles-quote"

2.32 xar-text
* "xar-text" -> not a standard class -> no value defined -> Proposal: remove

2.33 xar-title
* xar-title -> not a standard  class -> no value defined (except: 
html/modules/tinymce/xarstyles/editor.css:151) -> Proposal: remove

2.34 xar-tr-author, xar-tr-collapsed, xar-tr-date, xar-tr-image, 
xar-tr-title, xar-tr-wrapper
* "xar-tr-[Name]" -> classes used in comments modules -> Proposal: add 
module prefix > xar-comments-tr-[NAME] and change css accordingly

2.35 xar-txttitle
* "xar-txttitle" -> not a standard class -> no value defined -> 
Proposal: remove
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.