Skip to content

Commit

Permalink
Item531: small color refinements; use skin's layout.css
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FoswikiSiteSkin@2321 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Feb 2, 2009
1 parent 08da03d commit 0cf6c7c
Show file tree
Hide file tree
Showing 9 changed files with 1,733 additions and 2,276 deletions.
27 changes: 16 additions & 11 deletions data/System/FoswikiSiteSkin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,24 @@ The main horizontal navigation is defined in topic template FoswikiSiteSkinNavig
* [[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?skin=foswikisite,pattern ][Test if installed]]

---+++ Activation
Write these settings in [[%MAINWEB%.SitePreferences]]:
To set Foswiki Site skin as default (site wide) skin, use these settings in [[%MAINWEB%.SitePreferences]]:
<verbatim>
Overall skin:
* Set SKIN = foswikisite,pattern
* Set FOSWIKI_STYLE_URL = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/style.css
* Empty =FOSWIKI_COLORS_URL=:
* Set FOSWIKI_COLORS_URL =
* Global skin styles. To change the look of the site, point these variables to custom CSS attachments.
* Set FOSWIKI_LAYOUT_URL = %PUBURLPATH%/%SYSTEMWEB%/FoswikiSiteSkin/layout.css
* Set FOSWIKI_STYLE_URL = %PUBURLPATH%/%SYSTEMWEB%/FoswikiSiteSkin/style.css
* Set FOSWIKI_COLORS_URL = %PUBURLPATH%/%SYSTEMWEB%/FoswikiSiteSkin/colors.css

Because this skin leans on PatternSkin, also set:
* Set PATTERNSKIN_THEME = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/theme_foswikisite.css
* Set PATTERNSKIN_COLUMNS = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/column_right.css
* Themes that add upon the global skin styles.
* Set PATTERNSKIN_THEME = %PUBURLPATH%/%SYSTEMWEB%/FoswikiSiteSkin/theme_foswikisite.css
* Set PATTERNSKIN_COLUMNS = %PUBURLPATH%/%SYSTEMWEB%/FoswikiSiteSkin/column_right.css

* Overriding styles that add upon the global and theme styles. Enabled by default but empty to prevent browsers from fetching %<nop>USERLAYOUTURL%-style URLs.
* Set USERLAYOUTURL =
* Set USERSTYLEURL =
* Set USERCOLORSURL =
* Set WEBHEADERART =
* Set WEBHEADERBGCOLOR =

Set TablePlugin styles:
* Set TABLEPLUGIN_TABLEATTRIBUTES = tableborder="1" cellpadding="0" cellspacing="0" valign="top" headercolor="#444444" headerbg="#e0e0e4" headerbgsorted="#c5c5cc" databg="#ffffff,#edf4f9" databgsorted="#f1f7fc,#ddebf6" tablerules="rows"
</verbatim>

Expand All @@ -49,7 +54,7 @@ Set TablePlugin styles:
| Screenshot: | <a href="%ATTACHURL%/screenshot_full.png"><img src="%ATTACHURL%/screenshot.jpg" style="border:1px solid #eee;" alt="Click for full screen image" width="600" /></a> |
| Preview: | [[%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=foswikisite,pattern][Preview with this skin]] |
| Base Name: | foswikisite,pattern |
| Skin Version: | 01 Feb 2009 (v1.1.1) |
| Skin Version: | 02 Feb 2009 (v1.1.3) |
| History: | <!-- specify latest version first -->&nbsp; |
| 31 Jan 2009: | Renamed <nop>FoswikiDotOrgPatternSkinContrib to <nop>FoswikiSiteSkin; visual update, made CSS independent of PatternSkin. |
| 07 Jan 2009: | Initial version (v1.0.0) |
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/FoswikiSiteSkin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $VERSION = '$Rev: 1340 $';
# This is a free-form string you can use to "name" your own plugin version.
# It is *not* used by the build automation tools, but is reported as part
# of the version number in PLUGINDESCRIPTIONS.
$RELEASE = '1.1.1';
$RELEASE = '1.1.3';


1;
1 change: 1 addition & 0 deletions lib/Foswiki/Contrib/FoswikiSiteSkin/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub/System/FoswikiSiteSkin/column_right.css 0644
pub/System/FoswikiSiteSkin/GrayBlend.gif 0644
pub/System/FoswikiSiteSkin/header-left.gif 0644
pub/System/FoswikiSiteSkin/header.gif 0644
pub/System/FoswikiSiteSkin/layout.css 0644
pub/System/FoswikiSiteSkin/menu_background.gif 0644
pub/System/FoswikiSiteSkin/page_white_add.gif 0644
pub/System/FoswikiSiteSkin/page_white_stack.gif 0644
Expand Down
Loading

0 comments on commit 0cf6c7c

Please sign in to comment.