head	1.9;
access;
symbols;
locks; strict;
comment	@# @;


1.9
date	2010.06.24.04.21.39;	author TWikiContributor;	state Exp;
branches;
next	1.8;

1.8
date	2008.12.06.09.02.13;	author TWikiContributor;	state Exp;
branches;
next	1.7;

1.7
date	2008.01.22.03.21.34;	author TWikiContributor;	state Exp;
branches;
next	1.6;

1.6
date	2007.01.16.04.11.58;	author TWikiContributor;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.25.16.26.26;	author TWikiContributor;	state Exp;
branches;
next	1.4;

1.4
date	2006.04.01.05.55.11;	author TWikiContributor;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.01.12.01.18;	author TWikiContributor;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.15.22.12.34;	author ArthurClemens;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.14.08.21.40;	author PeterThoeny;	state Exp;
branches;
next	;


desc
@none
@


1.9
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1277353299" format="1.1" version="9"}%
%STARTINCLUDE%
---+ Appendix C: TWiki CSS

_Listing of CSS class names emitted from TWiki core code and standard plugins._

%TOC%

---++ 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, etc. Remember that CSS class names are case sensitive - TWiki CSS uses lowercase =tw=.
   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 PatternSkin. 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  |
|=.twikiAnchorLink= |Render.pm  |
|=.twikiCheckBox= |Manage.pm  |
|=.twikiCurrentTopicLink= |Render.pm  |
|=.twikiCurrentWebHomeLink= |Render.pm  |
|=.twikiDiffAddedHeader= |RDiff.pm  |
|=.twikiDiffAddedMarker= |RDiff.pm  |
|=.twikiDiffAddedText= |RDiff.pm  |
|=.twikiDiffChangedHeader= |RDiff.pm  |
|=.twikiDiffChangedText= |RDiff.pm  |
|=.twikiDiffDebug= |RDiff.pm  |
|=.twikiDiffDebugLeft= |RDiff.pm  |
|=.twikiDiffDebugRight= |RDiff.pm  |
|=.twikiDiffDeletedHeader= |RDiff.pm  |
|=.twikiDiffDeletedMarker= |RDiff.pm  |
|=.twikiDiffDeletedText= |RDiff.pm  |
|=.twikiDiffLineNumberHeader= |RDiff.pm  |
|=.twikiDiffTable= |RDiff.pm  |
|=.twikiDiffUnchangedText= |RDiff.pm  |
|=.twikiDiffUnchangedTextContents= |RDiff.pm  |
|=.twikiEditFormCheckboxButton= |Form.pm  |
|=.twikiEditFormCheckboxField= |Form.pm  |
|=.twikiEditFormDateField= | Form.pm  |
|=.twikiEditFormError= |Form.pm  |
|=.twikiEditFormLabelField= |Form.pm  |
|=.twikiEditFormRadioField= |Form.pm  |
|=.twikiEditFormTextAreaField= |Form.pm  |
|=.twikiEditFormTextField= |Form.pm  |
|=.twikiEmulatedLink= |Preview.pm  |
|=.twikiFirstCol= |Render.pm  |
|=.twikiForm= |Render.pm  |
|=.twikiGrayText= |Manage.pm  |
|=.twikiHelp= |Changes.pm  |
|=.twikiLink= |Render.pm  |
|=.twikiNew= |Changes.pm, Search.pm  |
|=.twikiNewLink= |Render.pm  |
|=.twikiRadioButton= |Form.pm  |
|=.twikiSummary= |Manage.pm  |
|=.twikiToc= |TWiki.pm  |
|=.twikiTocTitle= |TWiki.pm  |
|=.twikiTopRow= |Manage.pm  |
|=.twikiWebIndent= |TWiki.pm  |

---+++ TWiki Styles in Plugins

---++++ TablePlugin

|=.twikiTable= |The table |
|=.twikiSortedCol= |A sorted column |
|=.twikiSortedAscendingCol= |Sorted column, ascending |
|=.twikiSortedDescendingCol= |Sorted column, descending |
|=.tableSortIcon= |The sort icon holder (span) |
|=.twikiFirstCol= |The first column |
|=.twikiTableEven= |Even numbered rows |
|=.twikiTableOdd= |Odd numbered rows |
|=.twikiTableCol + column number= | Unique column identifier, for instance: =.twikiTableCol0= |
|=.twikiTableRow + type + row number= | Unique row identifier, for instance: =.twikiTableRowdataBg0= |

---+++ TWiki Styles in Templates

|=.twikiPage= |twiki.tmpl  |
|=.twikiMiddleContainer= |twiki.tmpl  |
|=.twikiMain= |twiki.tmpl  |
|=.twikiFormTable= |formtables.tmpl, form.tmpl  |
|=.twikiFormTableHRow= |formtables.tmpl, form.tmpl  |
|=.twikiFormTableRow= |formtables.tmpl  |
|=.twikiFormTableFooter= |formtables.tmpl  |
|=.twikiAttachments= |attachtables.tmpl |
|=.twikiEditForm= |form.tmpl |
|=.twikiSubmit= |Submit button |
|=.twikiSubmitDisabled= |Disabled submit button |
|=.twikiInputField= | |
|=.twikiInputFieldDisabled= | |
|=.twikiInputFieldReadOnly= | |
|=.twikiInputFieldFocus= | For Internet Explorer that does not recognize the =:focus= pseudo class selector |
|=.twikiInputFieldBeforeFocus= |for use with Javascript: the color of the input text when not clicked in the field |
|=.twikiSelect= | Select dropdown menu |
|=.twikiTextarea= | |
|=.twikiTextareaRawView= | |
|=.twikiButton= | |
|=.twikiFocus= |Behavior marker so a field can be given input focus |
|=.twikiLeft= | |
|=.twikiRight= | |
|=.twikiClear= | |
|=.twikiHidden= | |
|=.twikiSmall= | |
|=.twikiBottomRow= | |
|=.twikiSRAuthor= | |
|=.twikiSRRev= | |
|=.twikiPageForm= | |
|=.twikiSeparator= | |
|=.twikiAccessKey= | |
|=.twikiLinkLabel= | |
|=.twikiFormSteps= |container around a form, such as the attach form: attach.tmpl |
|=.twikiFormStep= |form row |
|=.twikiNoBreak= | no break on whitespace |
|=.twikiMakeVisible= |For elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. Defaults to inline. |
|=.twikiMakeVisibleInline= |For =span= elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. |
|=.twikiMakeVisibleBlock= |For =div= elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. |
|=.twikiMakeHidden= |For elements that should be *hidden* with javascript on: no default style, is made hidden by javascript. |
|=.twikiFooterNote= | |
|=.twikiPopUp= | Behavior marker so a popup-window can be invoked |
|=.twikiContentHeader= |container around optional html placed before topic text  |
|=.twikiContentFooter= |container around optional html placed after topic text  |

---+++ 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  | |

---+++ Reserved Styles

|=.twikiImage= | defined in PatternSkin  |div creates border around enclosed image |
|=.twikiNotification= | defined in PatternSkin |temporary alert, lighter than broadcast message |
|=.twikiUnvisited= | defined in PatternSkin  |link style that ignores the visited link state; useful for form links |

---++ 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/

__Related Topics:__ TWikiSkins, PatternSkin, DeveloperDocumentationCategory, AdminDocumentationCategory

%STOPINCLUDE%
@


1.8
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="8"}%
d5 1
a5 1
_Listing of CSS class names emitted from TWiki core code and standard plugins, for the Dakar release._
d11 1
a11 1
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.
d15 1
a15 1
   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=.
d18 1
a18 1
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!)
d22 42
a63 45
|.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  |
|.twikiDiffDebug  |RDiff.pm  |
|.twikiDiffDebugRight  |RDiff.pm  |
|.twikiDiffDebugLeft  |RDiff.pm  |

|.twikiToc  |TWiki.pm  |
|.twikiTocTitle  |TWiki.pm  |
d65 1
a66 1
---+++ TWiki Styles in Plugins
a67 10
|=.twikiTable=  |The table  |
|=.twikiSortedCol=  |A sorted column  |
|=.twikiSortedAscendingCol=  |Sorted column, ascending  |
|=.twikiSortedDescendingCol=  |Sorted column, descending  |
|=.tableSortIcon=  |The sort icon holder (span)  |
|=.twikiFirstCol=  |The first column  |
|=.twikiTableEven= |Even numbered rows  |
|=.twikiTableOdd= |Odd numbered rows  |
|=.twikiTableCol= + column number  | Unique column identifier, for instance: =twikiTableCol0= |
|=.twikiTableRow= + type + row number | Unique row identifier, for instance: =twikiTableRowdataBg0= |
d69 10
d82 44
a125 44
|.twikiPage  |twiki.tmpl  |
|.twikiMiddleContainer  |twiki.tmpl  |
|.twikiMain  |twiki.tmpl  |
|.twikiFormTable  |formtables.tmpl, form.tmpl  |
|.twikiFormTableHRow  |formtables.tmpl, form.tmpl  |
|.twikiFormTableRow  |formtables.tmpl  |
|.twikiFormTableFooter  |formtables.tmpl  |
|.twikiAttachments  |attachtables.tmpl |
|.twikiEditForm |form.tmpl |
|.twikiSubmit  |Submit button |
|.twikiSubmitDisabled  |Disabled submit button |
|.twikiInputField  | |
|.twikiInputFieldDisabled  | |
|.twikiInputFieldReadOnly  | |
|.twikiInputFieldFocus | For Internet Explorer that does not recognize the =:focus= pseudo class selector |
|.twikiInputFieldBeforeFocus  |for use with Javascript: the color of the input text when not clicked in the field |
|.twikiSelect   | Select dropdown menu |
|.twikiTextarea | |
|.twikiTextareaRawView | |
|.twikiButton  | |
|.twikiFocus  |Behaviour marker so a field can be given input focus |
|.twikiLeft  | |
|.twikiRight  | |
|.twikiClear  | |
|.twikiHidden  | |
|.twikiSmall  | |
|.twikiBottomRow  | |
|.twikiSRAuthor  | |
|.twikiSRRev  | |
|.twikiPageForm  | |
|.twikiSeparator  | |
|.twikiAccessKey  | |
|.twikiLinkLabel  | |
|.twikiFormSteps  |container around a form, such as the attach form: attach.tmpl |
|.twikiFormStep  |form row |
|.twikiNoBreak   | no break on whitespace |
|.twikiMakeVisible  |For elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. Defaults to inline. |
|.twikiMakeVisibleInline  |For =span= elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. |
|.twikiMakeVisibleBlock  |For =div= elements that should only be visible with javascript on: default set to hidden, is made visible by javascript. |
|.twikiMakeHidden  |For elements that should be *hidden* with javascript on: no default style, is made hidden by javascript. |
|.twikiFooterNote  | |
|.twikiPopUp | Behaviour marker so a popup-window can be invoked |
|.twikiContentHeader  |container around optional html placed before topic text  |
|.twikiContentFooter  |container around optional html placed after topic text  |
d128 4
a131 3
|#twikiLogin  |CSS.pm  |
|.twikiFormSteps  |CSS.pm |
|.twikiFormStep  |CSS.pm |
d135 2
a136 2
|.twikiBroadcastMessage  |%SYSTEMWEB%.TWikiPreferences  |
|#twikiSearchTable  |%SYSTEMWEB%.WebSearch, %SYSTEMWEB%.WebSearchAdvanced  |
d139 2
a140 1
|#twikiLogin  | login.pattern.tmpl  | |
d143 4
a146 3
|.twikiImage  | defined in PatternSkin  |div creates border around enclosed image |
|.twikiNotification  | defined in PatternSkin |temporary alert, lighter than broadcast message |
|.twikiUnvisited  | defined in PatternSkin  |link style that ignores the visited link state; useful for form links |
d149 1
@


1.7
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="7"}%
d94 2
a95 2
|.twikiSubmit  | |
|.twikiSubmitDisabled  | |
d101 1
d127 2
@


1.6
log
@buildrelease
@
text
@d1 1
a1 2
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="6"}%
%TOC%
d3 1
a3 1
---# Appendix C: TWiki CSS
d7 2
d61 3
d70 11
a81 6
|.twikiTable  |TablePlugin  |
|.twikiSortedAscendingCol  |TablePlugin  |
|.twikiSortedDescendingCol  |TablePlugin  |
|.twikiFirstCol  |TablePlugin  |
|.twikiTableEven |TablePlugin  |
|.twikiTableOdd |TablePlugin  |
d85 3
d98 5
d104 1
d119 7
d134 2
a135 2
|.twikiBroadcastMessage  |%TWIKIWEB%.TWikiPreferences  |
|#twikiSearchTable  |%TWIKIWEB%.WebSearch, %TWIKIWEB%.WebSearchAdvanced  |
d140 5
@


1.5
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="5"}%
a14 1
   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.
d33 2
d38 1
d64 1
d71 2
d79 1
d102 5
d110 1
d112 2
@


1.4
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="4"}%
d77 3
@


1.3
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
d14 3
a16 3
	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.
d90 2
@


1.2
log
@none
@
text
@d1 1
a1 1
%META:TOPICINFO{author="ArthurClemens" date="1092607954" format="1.0" version="1.2"}%
d4 1
a4 1
---# Appendix B: TWiki CSS
d6 1
a6 1
_Listing of CSS class names emitted from TWiki core code and standard plugins, for the 01-Aug-2004 TWiki production release._
d10 1
a10 1
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.
d14 2
a15 2
	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=.
	1 TWiki uses class names only (.twikiViewPage) and no id names (#twikiViewPage), to allow multiple class names. Class names are written using the dot prefix.
d18 1
a18 1
---++ CSS classes
d20 16
a35 1
---+++ Classes from core code
a36 4
|.twikiNew  |Changes.pm  |
|.twikiChangeFormButtonHolder  |Edit.pm  |
|.twikiChangeFormButton  |Form.pm  |
|.twikiForm  |Form.pm  |
a40 1
|.twikiEditFormCheckboxButton  |Form.pm  |
d42 1
d45 1
a45 3
|.twikiRadioButton  |Form.pm  |
|.twikiCheckbox  |Form.pm  |
|.twikiEditFormError  |Form.pm  |
d56 1
d58 1
a58 8
|.twikiForm  |Render.pm  |
|.twikiAnchorLink  |Render.pm  |
|.twikiLink  |Render.pm  |
|.twikiNewLink  |Render.pm  |
|.twikiNew  |Search.pm  |
|.twikiAlert  |Search.pm  |
|.twikiAlert  |Statistics.pm  |
|.twikiAlert  |TWiki.pm  |
d62 28
a89 1
---+++ Classes from Plugins
d91 1
a91 4
*[[TablePlugin]]*
|.twikiSortedAscendingCol  |!TablePlugin.pm  |
|.twikiSortedDescendingCol  |!TablePlugin.pm  |
|.twikiFirstCol  |!TablePlugin.pm  |
d93 1
a93 1
---++ Going further
a94 1
!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.
d96 2
a97 1
See also: DragonSkin.
d101 2
a102 1
-- TWiki:Main.ArthurClemens - 08 Aug 2004
a103 1

@


1.1
log
@none
@
text
@d1 1
a1 1
%META:TOPICINFO{author="PeterThoeny" date="1092471700" format="1.0" version="1.1"}%
@
