| |
|
< < | Appendix B: TWiki CSS |
> > | Appendix C: TWiki CSS |
| |
|
< < | Listing of CSS class names emitted from TWiki core code and standard plugins, for the 01-Aug-2004 TWiki production release. |
> > | Listing of CSS class names emitted from TWiki core code and standard plugins, for the Dakar release. |
| Who should read this document? |
|
< < | More or less all 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. |
> > | 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 |
|
< < |
- All TWiki class names have the prefix
twiki . So: twikiEditPage, twikiTopicAction, etcetera. Remember that CSS class names are case sensitive - TWiki CSS uses lowercase tw .
- TWiki uses class names only (.twikiViewPage) and no id names (#twikiViewPage), to allow multiple class names. Class names are written using the dot prefix.
|
> > |
- 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 .
- TWiki uses class names only (.twikiDiffTable) and no id names (#twikiDiffTable), to allow multiple class names. Class names are written using the dot prefix.
|
|
- If you define your own CSS classes, it is preferable that you do not use the
twiki prefix to prevent undesired overriding effects.
|
|
< < | CSS classes |
> > | 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!) |
| |
|
< < | Classes from core code |
> > | 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 |
.twikiWebIndent | TWiki.pm |
|
| |
|
< < |
.twikiNew | Changes.pm |
.twikiChangeFormButtonHolder | Edit.pm |
.twikiChangeFormButton | Form.pm |
.twikiForm | Form.pm |
|
|
.twikiEditFormTextField | Form.pm |
.twikiEditFormLabelField | Form.pm |
.twikiEditFormTextAreaField | Form.pm |
.twikiEditFormCheckboxButton | Form.pm |
|
|
< < |
.twikiEditFormCheckboxButton | Form.pm |
|
|
.twikiEditFormCheckboxField | Form.pm |
|
|
< < |
.twikiEditFormRadioField | Form.pm |
.twikiEditFormError | Form.pm |
|
|
.twikiRadioButton | Form.pm |
|
|
< < |
|
> > |
.twikiEditFormRadioField | Form.pm |
|
|
.twikiEditFormError | Form.pm |
|
|
> > | |
|
.twikiDiffTable | RDiff.pm |
.twikiDiffDeletedHeader | RDiff.pm |
.twikiDiffDeletedMarker | RDiff.pm |
|
|
.twikiDiffChangedHeader | RDiff.pm |
.twikiDiffChangedText | RDiff.pm |
.twikiDiffUnchangedText | RDiff.pm |
|
|
> > |
.twikiDiffUnchangedTextContents | RDiff.pm |
|
|
.twikiDiffLineNumberHeader | RDiff.pm |
|
|
< < |
.twikiForm | Render.pm |
.twikiAnchorLink | Render.pm |
.twikiLink | Render.pm |
.twikiNewLink | Render.pm |
.twikiNew | Search.pm |
.twikiAlert | Search.pm |
.twikiAlert | Statistics.pm |
.twikiAlert | TWiki.pm |
|
> > | |
|
.twikiToc | TWiki.pm |
.twikiTocTitle | TWiki.pm |
|
|
< < | Classes from Plugins |
> > | TWiki Styles in Plugins
TWiki Styles in Templates
.twikiFormTable | formtables.tmpl, form.tmpl |
.twikiFormTableHRow | formtables.tmpl, form.tmpl |
.twikiFormTableRow | formtables.tmpl |
.twikiAttachments | attachtables.tmpl |
.twikiEditForm | form.tmpl |
.twikiSubmit | |
.twikiButton | |
.twikiLeft | |
.twikiRight | |
.twikiClear | |
.twikiHidden | |
.twikiSmall | |
.twikiBottomRow | |
.twikiSRAuthor | |
.twikiSRRev | |
.twikiPageForm | |
.twikiSeparator | |
.twikiAccessKey | |
.twikiLinkLabel | |
|
| |
|
< < | TablePlugin
.twikiSortedAscendingCol | TablePlugin.pm |
.twikiSortedDescendingCol | TablePlugin.pm |
.twikiFirstCol | TablePlugin.pm |
|
> > | TWiki Styles in topics |
| |
|
< < | Going further |
> > |
|
| |
|
< < | PatternSkin makes fully use of CSS in its templates. Read the PatternSkin topic and PatternSkinCss to learn more about adjusting PatternSkin, or creating your own CSS-based skin. |
| |
|
< < | See also: DragonSkin? . |
> > | Tips
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/ |
|
< < | -- TWiki:Main.ArthurClemens - 08 Aug 2004 |
> > | Related Topics: TWikiSkins, PatternSkin, DeveloperDocumentationCategory, AdminDocumentationCategory |
| |
|
> > | |