Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/PatternSkinCssCookbook?rev1=4&rev2=3
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 23:20:26 2014
Кодировка:
%TOPICTITLE% (3 vs. 4) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r4  >  r3  ...
PatternSkinCssCookbook 4 - 2005-10-14 - Main.TWikiContributor
Line: 1 to 1
Deleted:
<
<
 

PatternSkin CSS Cookbook

Line: 7 to 6
 
Changed:
<
<

Introduction

>
>

First Read: How to modify PatternSkin styles

  PatternSkin uses 3 style sheets (attached to PatternSkin):
  • layout.css - the positioning of main page elements (blocks), widths and heights
Line: 16 to 15
  When customizing your TWiki installation, you can either choose to completely rewrite all css styles, or to selectively override some styles. The latter option is by far less time consuming, but all depends on your graphical wishes.
Added:
>
>

Changing the color scheme

Have a look at PatternSkinColorSettings.
 

When you need lots of graphic changes: Rewriting CSS

  • Create a new topic that will contain your new CSS files
  • Attach 3 new style sheets to the topic
Line: 26 to 28
 
    • Set TWIKICOLORSURL = %PUBURLPATH%/%TWIKIWEB%/YourNewTopic/colors.css
Changed:
<
<

When you need small adjustments: Adding to existing CSS

>
>

When you need to make small adjustments: Adding to existing CSS

 With CSS you cannot remove already defined classes, you can only add to it, or overwrite existing styles.
Overriding default CSS is done with 3 variables: USERLAYOUTURL, USERSTYLEURL, USERCOLORSURL.
  • Create a new topic that will contain your new CSS files
Line: 77 to 79
 

Setting EditTablePlugin styles

See example at: PatternSkinCssCookbookEditTableStyle

Added:
>
>

Style sheet documentation

See PatternSkinCss for documentation of PatternSkin CSS classes

Revision 4r4 - 2005-10-14 - 23:41:34 - TWikiContributor
Revision 3r3 - 2005-10-14 - 23:41:34 - 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.PatternSkinCssCookbook
Syndicate this site RSSATOM