%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
%TOC%
%STARTINCLUDE%
---# 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=.
	1 TWiki uses class names only (.twikiDiffTable) and no id names (#twikiDiffTable), to allow multiple class names. Class names are written using the dot prefix.
	1 If you define your own CSS classes, it is preferable that you do not use the =twiki= prefix to prevent undesired overriding effects.

---+++ 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  |
|.twikiEmulatedLink  |Preview.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

|.twikiSortedAscendingCol  |TablePlugin  |
|.twikiSortedDescendingCol  |TablePlugin  |
|.twikiFirstCol  |TablePlugin  |

---+++ TWiki Styles in topics

|.twikiBroadcastMessage  |%TWIKIWEB%.TWikiPreferences  |

---+++ Reserved style names

Some of these styles are used in templates:

|.twikiAttachments  |
|.twikiSubmit  |
|.twikiButton  |
|.twikiLeft  |
|.twikiRight  |
|.twikiClear  |
|.twikiHidden  |
|.twikiSmall  |
|.twikiBottomRow  |
|.twikiSRAuthor  |
|.twikiSRRev  |
|.twikiPageForm  |
|.twikiSeparator  |
|.twikiAccessKey  |

---++ Going further

!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

%STOPINCLUDE%

<!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
