~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to foswiki/templates/css.pattern.tmpl

  • Committer: James Michael DuPont
  • Date: 2009-07-18 19:58:49 UTC
  • Revision ID: jamesmikedupont@gmail.com-20090718195849-vgbmaht2ys791uo2
added foswiki

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%TMPL:INCLUDE{"css"}%
 
2
%TMPL:DEF{"styles:default"}%%TMPL:P{"styles:screen"}%
 
3
%TMPL:P{"styles:print"}%%TMPL:END%
 
4
 
 
5
 
 
6
%TMPL:DEF{"styles:screen"}%<style type="text/css" media="all">
 
7
%IF{ "$ FOSWIKI_LAYOUT_URL" then="@import url('%FOSWIKI_LAYOUT_URL%');"}%
 
8
%IF{ "$ FOSWIKI_STYLE_URL"  then="@import url('%FOSWIKI_STYLE_URL%');"}%
 
9
%IF{ "$ FOSWIKI_COLORS_URL" then="@import url('%FOSWIKI_COLORS_URL%');"}%
 
10
</style>
 
11
%TMPL:P{"styles:custom_skin"}%%IF{ "$ USERLAYOUTURL or $ USERSTYLEURL or $ USERCOLORSURL" then="$percntTMPL:P{$quotstyles:user_defined$quot}$percnt"}%%TMPL:P{"styles:dynamic"}%%TMPL:END%
 
12
 
 
13
 
 
14
%TMPL:DEF{"styles:print"}%<style type="text/css" media="all">
 
15
        @import url("%PUBURLPATH%/%SYSTEMWEB%/PatternSkin/print.css");
 
16
</style>%TMPL:END%
 
17
 
 
18
 
 
19
%TMPL:DEF{"styles:dynamic"}%<style type="text/css" media="all">
 
20
        /* Styles that are set using variables */
 
21
        .patternBookView .foswikiTopRow,
 
22
        .patternWebIndicator a img,
 
23
        .patternWebIndicator a:hover img {
 
24
                background-color:%WEBBGCOLOR%;
 
25
        }
 
26
        %TMPL:P{"styles:deprecated"}%
 
27
</style>%TMPL:END%
 
28
 
 
29
 
 
30
%TMPL:DEF{"styles:user_defined"}%%{ "kept for compatibility with TWiki 4.2" }%<style type="text/css" media="all">%IF{ "$ USERLAYOUTURL" then="@import url('%USERLAYOUTURL%');"}%%IF{ "$ USERSTYLEURL"  then="@import url('%USERSTYLEURL%');"}%%IF{ "$ USERCOLORSURL" then="@import url('%USERCOLORSURL%');"}%</style>%TMPL:END%
 
31
 
 
32
 
 
33
%TMPL:DEF{"styles:custom_skin"}%<style type="text/css" media="all">
 
34
%IF{ "$ PATTERNSKIN_COLUMNS" then="@import url('%PATTERNSKIN_COLUMNS%');"}%
 
35
%IF{ "$ PATTERNSKIN_THEME" then="@import url('%PATTERNSKIN_THEME%');"}%
 
36
</style>%TMPL:END%
 
37
 
 
38
 
 
39
%TMPL:DEF{"styles:iespecific"}%<!--[if IE]><style type="text/css" media="screen">
 
40
pre {
 
41
        overflow-x:auto;
 
42
}
 
43
</style>
 
44
<![endif]-->
 
45
%TMPL:END%
 
46
 
 
47
 
 
48
%TMPL:DEF{"styles:javascript_affected"}%<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/JavascriptFiles/foswikiStyles.js"></script>%TMPL:END%
 
49
 
 
50
 
 
51
%TMPL:DEF{"styles:deprecated"}%%IF{ "defined WEBHEADERART and $ WEBHEADERART != ''" then='#patternTopBarContents { background-image:url(%WEBHEADERART%); background-repeat:no-repeat;}'}%
 
52
        %IF{ '$ WEBHEADERBGCOLOR' then='#patternTopBarContents { background-color:%WEBHEADERBGCOLOR%;}'}%
 
53
        .patternBookView {
 
54
                border-color:%WEBBGCOLOR%;
 
55
        }
 
56
        .patternPreviewPage #patternMain {
 
57
                /* uncomment to set the preview image */
 
58
                /*background-image:url("%PREVIEWBGIMAGE%");*/
 
59
        }%IF{ "defined PAGEBGCOLOR and $ PAGEBGCOLOR != ''" then='html body, #patternPage, #patternBottomBar, .foswikiPreviewArea, #patternOuter, #patternTopBar { background-color:%PAGEBGCOLOR%;}
 
60
        #patternOuter {background-image:none;}'}%%TMPL:END%
 
 
b'\\ No newline at end of file'