Difference: TWikiCss (2 vs. 3)

Revision 327 Mar 2005 - Main.TWikiContributor

Line: 1 to 1
 
Changed:
<
<

Appendix B: TWiki CSS

>
>

Appendix C: TWiki CSS

 
Changed:
<
<
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?

Changed:
<
<
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

Changed:
<
<
  1. 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.
  2. TWiki uses class names only (.twikiViewPage) and no id names (#twikiViewPage), to allow multiple class names. Class names are written using the dot prefix.
>
>
  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. 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.
Changed:
<
<

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

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
 
Deleted:
<
<
.twikiNew Changes.pm
.twikiChangeFormButtonHolder Edit.pm
.twikiChangeFormButton Form.pm
.twikiForm Form.pm
 
.twikiEditFormTextField Form.pm
.twikiEditFormLabelField Form.pm
.twikiEditFormTextAreaField Form.pm
.twikiEditFormCheckboxButton Form.pm
Deleted:
<
<
.twikiEditFormCheckboxButton Form.pm
 
.twikiEditFormCheckboxField Form.pm
Deleted:
<
<
.twikiEditFormRadioField Form.pm
.twikiEditFormError Form.pm
 
.twikiRadioButton Form.pm
Changed:
<
<
.twikiCheckbox Form.pm
>
>
.twikiEditFormRadioField Form.pm
 
.twikiEditFormError Form.pm
Added:
>
>
 
.twikiDiffTable RDiff.pm
.twikiDiffDeletedHeader RDiff.pm
.twikiDiffDeletedMarker RDiff.pm
Line: 44 to 53
 
.twikiDiffChangedHeader RDiff.pm
.twikiDiffChangedText RDiff.pm
.twikiDiffUnchangedText RDiff.pm
Added:
>
>
.twikiDiffUnchangedTextContents RDiff.pm
 
.twikiDiffLineNumberHeader RDiff.pm
Changed:
<
<
.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
Changed:
<
<

Classes from Plugins

>
>

TWiki Styles in Plugins

.twikiTable TablePlugin
.twikiSortedAscendingCol TablePlugin
.twikiSortedDescendingCol TablePlugin
.twikiFirstCol TablePlugin

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  
 
Changed:
<
<
TablePlugin
.twikiSortedAscendingCol TablePlugin.pm
.twikiSortedDescendingCol TablePlugin.pm
.twikiFirstCol TablePlugin.pm
>
>

TWiki Styles in topics

 
Changed:
<
<

Going further

>
>
.twikiBroadcastMessage TWikiPreferences
 
Deleted:
<
<
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.
 
Changed:
<
<
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/
Changed:
<
<
-- TWiki:Main.ArthurClemens - 08 Aug 2004
>
>
Related Topics: TWikiSkins, PatternSkin, DeveloperDocumentationCategory, AdminDocumentationCategory
 
Added:
>
>
 
This website uses only proprietary and third party technical cookies to ensure the correct operation of its web pages and to improve its services.
By continuing to navigate the website you consent to the use of cookies. To learn more, or deny your consent, consult the privacy policy
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.