<li><a href="#TWiki styles in core code"> TWiki styles in core code</a></li>
<li><a href="#TWiki Styles in Plugins"> TWiki Styles in Plugins</a></li>
<li><a href="#TWiki Styles in Templates"> TWiki Styles in Templates</a></li>
+ <li><a href="#TWiki Styles used in =configure="> TWiki Styles used in configure</a></li>
<li><a href="#TWiki Styles in topics"> TWiki Styles in topics</a></li>
+ <li><a href="#TWiki Styles in Skins"> TWiki Styles in Skins</a></li>
</ul>
</li>
<li><a href="#Tips"> Tips</a></li>
## <a name="Naming conventions"></a> 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`.
-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.
-3. If you define your own CSS classes, it is preferable that you do not use the `twiki` prefix to prevent undesired overriding effects.
+2. 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!)
<td> Render.pm </td>
</tr>
<tr>
+ <td> .twikiCurrentWebHomeLink </td>
+ <td> Render.pm </td>
+ </tr>
+ <tr>
+ <td> .twikiCurrentTopicLink </td>
+ <td> Render.pm </td>
+ </tr>
+ <tr>
<td> .twikiEmulatedLink </td>
<td> Preview.pm </td>
</tr>
<table border="1" cellpadding="0" cellspacing="0">
<tr>
+ <td> .twikiEditFormDateField </td>
+ <td> Form.pm </td>
+ </tr>
+ <tr>
<td> .twikiEditFormTextField </td>
<td> Form.pm </td>
</tr>
<td> .twikiFirstCol </td>
<td>[[Main/TablePlugin]]</td>
</tr>
+ <tr>
+ <td> .twikiTableEven </td>
+ <td>[[Main/TablePlugin]]</td>
+ </tr>
+ <tr>
+ <td> .twikiTableOdd </td>
+ <td>[[Main/TablePlugin]]</td>
+ </tr>
</table>
### <a name="TWiki Styles in Templates"></a> TWiki Styles in Templates
<td> formtables.tmpl </td>
</tr>
<tr>
+ <td> .twikiFormTableFooter </td>
+ <td> formtables.tmpl </td>
+ </tr>
+ <tr>
<td> .twikiAttachments </td>
<td> attachtables.tmpl </td>
</tr>
</tr>
</table>
+### <a name="TWiki Styles used in <code>configure="></a> TWiki Styles used in =configure
+
+<table border="1" cellpadding="0" cellspacing="0">
+ <tr>
+ <td> #twikiLogin </td>
+ <td> CSS.pm </td>
+ </tr>
+ <tr>
+ <td> .twikiFormSteps </td>
+ <td> CSS.pm </td>
+ </tr>
+ <tr>
+ <td> .twikiFormStep </td>
+ <td> CSS.pm </td>
+ </tr>
+</table>
+
### <a name="TWiki Styles in topics"></a> TWiki Styles in topics
<table border="1" cellpadding="0" cellspacing="0">
<td> .twikiBroadcastMessage </td>
<td>[[TWiki/TWikiPreferences]]</td>
</tr>
+ <tr>
+ <td> #twikiSearchTable </td>
+ <td>[[TWiki/WebSearch]], [[TWiki/WebSearchAdvanced]]</td>
+ </tr>
+</table>
+
+### <a name="TWiki Styles in Skins"></a> TWiki Styles in Skins
+
+<table border="1" cellpadding="0" cellspacing="0">
+ <tr>
+ <td> #twikiLogin </td>
+ <td> login.pattern.tmpl </td>
+ <td> </td>
+ </tr>
</table>
## <a name="Tips"></a> Tips