Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item9504: update css documentation; add recipe for sidebar background…
…; border around foswikiHelp; margin for twisty button links git-svn-id: http://svn.foswiki.org/trunk@8764 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
ArthurClemens
authored and
ArthurClemens
committed
Aug 25, 2010
1 parent
786be7e
commit 7898c19
Showing
10 changed files
with
157 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
125 changes: 125 additions & 0 deletions
125
PatternSkin/data/System/PatternSkinCssCookbookSidebarBackground.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1282772512" format="1.1" version="2"}% | ||
%META:TOPICPARENT{name="PatternSkin"}% | ||
---+!! PatternSkinCssCookbook Recipe: Sidebar background color | ||
To see if the background color really extends beyond the body, we make the body contents higher than the sidebar. | ||
|
||
Note that to set the background color, we set both =patternWrapper= and =patternSideBar=: | ||
<verbatim class="css"> | ||
#patternWrapper, | ||
#patternSideBar { | ||
background-color:#eee; | ||
} | ||
</verbatim> | ||
|
||
<div class="foswikiHelp"> | ||
This line loads the extra style definition: | ||
<verbatim class="tml"> | ||
* Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookSidebarBackground/sidebar.css | ||
</verbatim> | ||
You can write this line in %SYSTEMWEB%.DefaultPreferences, in %USERSWEB%.SitePreferences, in WebPreferences, in your user topic, or on a single page. | ||
</div> | ||
<!-- %JQREQUIRE{"chili"}% --> | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
dummy content to make this page higher | ||
|
||
<!-- %JQREQUIRE{"chili"}% --> | ||
%META:FILEATTACHMENT{name="sidebar.css" attr="" comment="css to give the sidebar a background color" date="1282772512"}% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
PatternSkin/pub/System/PatternSkinCssCookbookSidebarBackground/sidebar.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#patternWrapper, | ||
#patternSideBar { | ||
background-color:#eee; | ||
} | ||
#patternMain { | ||
background-color:#fff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters