Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r6  >  r5  ...
TWikiCss 6 - 27 Mar 2005 - Main.TWikiContributor
Line: 1 to 1
 

Appendix C: TWiki CSS

Line: 12 to 12
 

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.
Deleted:
<
<
  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.

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!)

Line: 31 to 30
 
.twikiLink Render.pm
.twikiNewLink Render.pm
.twikiAnchorLink Render.pm
Added:
>
>
.twikiCurrentWebHomeLink Render.pm
.twikiCurrentTopicLink Render.pm
 
.twikiEmulatedLink Preview.pm
.twikiWebIndent TWiki.pm
Added:
>
>
.twikiEditFormDateField Form.pm
 
.twikiEditFormTextField Form.pm
.twikiEditFormLabelField Form.pm
.twikiEditFormTextAreaField Form.pm
Line: 65 to 68
 
.twikiSortedAscendingCol TablePlugin
.twikiSortedDescendingCol TablePlugin
.twikiFirstCol TablePlugin
Added:
>
>
.twikiTableEven TablePlugin
.twikiTableOdd TablePlugin
 

TWiki Styles in Templates

.twikiFormTable formtables.tmpl, form.tmpl
.twikiFormTableHRow formtables.tmpl, form.tmpl
.twikiFormTableRow formtables.tmpl
Added:
>
>
.twikiFormTableFooter formtables.tmpl
 
.twikiAttachments attachtables.tmpl
.twikiEditForm form.tmpl
.twikiSubmit  
Line: 93 to 99
 
.twikiFormSteps container around a form, such as the attach form: attach.tmpl
.twikiFormStep form row
Added:
>
>

TWiki Styles used in configure

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

TWiki Styles in topics

.twikiBroadcastMessage TWikiPreferences
Added:
>
>
#twikiSearchTable WebSearch, WebSearchAdvanced
 
Added:
>
>

TWiki Styles in Skins

#twikiLogin login.pattern.tmpl  
 

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.

Revision 6r6 - 27 Mar 2005 - 13:14:15 - TWikiContributor
Revision 5r5 - 27 Mar 2005 - 13:14:15 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM