Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/PatternSkinCss?rev1=6&rev2=5
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 22:02:27 2014
Кодировка:
%TOPICTITLE% (5 vs. 6) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r6  >  r5  ...
PatternSkinCss 6 - 2006-03-07 - Main.TWikiContributor
Line: 1 to 1
 

CSS elements in PatternSkin

This page is a reference for all CSS classes used in PatternSkin.

Line: 24 to 24
 PatternSkin uses namespaces for templates, by adding one (sometimes two - multiple) class names to the template's body tag.

  • The body tag in view.pattern.tmpl for instance has the class name "patternViewPage": <body class="patternViewPage">. All CSS elements specific to the view template thus can be defined as .patternViewPage .someClassName.
Changed:
<
<
  • All templates that are not the view template have the body class name "patternNoViewPage". That makes it easy to give all of these pages a different layout in one sweep (smaller or wider margins for instance). Template edit.pattern.tmpl uses <body class="patternNoViewPage patternEditPage">.
>
>
  • All templates that are not the view template have the body class name "patternNoViewPage". That makes it easy to give all of these pages a different layout (smaller or wider margins for instance) in one sweep. Template edit.pattern.tmpl uses <body class="patternNoViewPage patternEditPage">.
 

Page type classes


Revision 6r6 - 2006-03-07 - 23:57:43 - TWikiContributor
Revision 5r5 - 2006-03-07 - 23:57:43 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.PatternSkinCss
Syndicate this site RSSATOM