r6 - 27 Mar 2005 - 08:14:15 - TWikiContributorYou are here: TWiki >  TWiki Web > TWikiCss

Appendix C: TWiki CSS

Listing of CSS class names emitted from TWiki core code and standard plugins, for the Dakar release.

Who should read this document?

Most html elements generated by TWiki core code now have Cascading Style Sheet (CSS) tags. Skin builders and others who want to change the appearance of the default TWiki installation or any of the skins can use this document to see what styles can be created for these html elements.

Naming conventions

  1. All TWiki class names have the prefix twiki. So: twikiAlert, twikiToc, etcetera. Remember that CSS class names are case sensitive - TWiki CSS uses lowercase tw.
  2. If you define your own CSS classes, it is preferable that you do not use the twiki prefix to prevent undesired overriding effects.

A wide range of standard styles are used in the TWiki core code and topics, and more are used in plugins. The following is an exhaustive list of all styles defined by the Pattern skin. For the most part, the names are the only documentation of the purpose of the style. For more information on how these styles are used, read the code (sorry!)

TWiki styles in core code

.twikiAlert Client.pm, Form.pm, Statistics.pm
.twikiFirstCol Render.pm
.twikiForm Render.pm
.twikiNew Changes.pm, Search.pm
.twikiHelp Changes.pm
.twikiTopRow Manage.pm
.twikiSummary Manage.pm
.twikiGrayText Manage.pm
.twikiCheckBox Manage.pm
.twikiLink Render.pm
.twikiNewLink Render.pm
.twikiAnchorLink Render.pm
.twikiCurrentWebHomeLink Render.pm
.twikiCurrentTopicLink Render.pm
.twikiEmulatedLink Preview.pm
.twikiWebIndent TWiki.pm

.twikiEditFormDateField Form.pm
.twikiEditFormTextField Form.pm
.twikiEditFormLabelField Form.pm
.twikiEditFormTextAreaField Form.pm
.twikiEditFormCheckboxButton Form.pm
.twikiEditFormCheckboxField Form.pm
.twikiRadioButton Form.pm
.twikiEditFormRadioField Form.pm
.twikiEditFormError Form.pm

.twikiDiffTable RDiff.pm
.twikiDiffDeletedHeader RDiff.pm
.twikiDiffDeletedMarker RDiff.pm
.twikiDiffDeletedText RDiff.pm
.twikiDiffAddedHeader RDiff.pm
.twikiDiffAddedMarker RDiff.pm
.twikiDiffAddedText RDiff.pm
.twikiDiffChangedHeader RDiff.pm
.twikiDiffChangedText RDiff.pm
.twikiDiffUnchangedText RDiff.pm
.twikiDiffUnchangedTextContents RDiff.pm
.twikiDiffLineNumberHeader RDiff.pm

.twikiToc TWiki.pm
.twikiTocTitle TWiki.pm

TWiki Styles in Plugins

.twikiTable TablePlugin
.twikiSortedAscendingCol TablePlugin
.twikiSortedDescendingCol TablePlugin
.twikiFirstCol TablePlugin
.twikiTableEven TablePlugin
.twikiTableOdd TablePlugin

TWiki Styles in Templates

.twikiFormTable formtables.tmpl, form.tmpl
.twikiFormTableHRow formtables.tmpl, form.tmpl
.twikiFormTableRow formtables.tmpl
.twikiFormTableFooter formtables.tmpl
.twikiAttachments attachtables.tmpl
.twikiEditForm form.tmpl
.twikiFormSteps container around a form, such as the attach form: attach.tmpl
.twikiFormStep form row

TWiki Styles used in configure

#twikiLogin CSS.pm
.twikiFormSteps CSS.pm
.twikiFormStep CSS.pm

TWiki Styles in topics

.twikiBroadcastMessage TWikiPreferences
#twikiSearchTable WebSearch, WebSearchAdvanced

TWiki Styles in Skins

#twikiLogin login.pattern.tmpl  


PatternSkin makes extensive use of CSS in its templates. Read the PatternSkin topic and PatternSkinCss to learn more about creating your own CSS-based skin.

Practical introduction to CSS: http://www.w3.org/Style/LieBos2e/enter/

Related Topics: TWikiSkins, PatternSkin, DeveloperDocumentationCategory, AdminDocumentationCategory

About This Site

Please note that this site is a content mirror of the BNL USATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your BNL USATLAS account.


Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiCss