~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to foswiki/pub/System/PatternSkin/print.css

  • 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
body.patternPrintPage {
 
2
        margin:0;
 
3
        padding:0;
 
4
}
 
5
body.patternPrintPage,
 
6
.patternPrintPage #patternBottomBar {
 
7
        background-color:#fff;
 
8
}
 
9
.patternPrintPage #patternScreen,
 
10
.patternPrintPage #patternPageShadow, 
 
11
.patternPrintPage #patternPage,
 
12
.patternPrintPage #patternOuter {
 
13
        margin:0;
 
14
        padding:0;
 
15
        top:0;
 
16
        border:none;
 
17
        float:none;
 
18
}
 
19
.patternPrintPage #patternMain {
 
20
        width:100%;
 
21
        float:right;
 
22
        display:inline;
 
23
        overflow:visible;
 
24
}
 
25
 
 
26
/* no left bar */
 
27
.patternPrintPage #patternSideBar {
 
28
        display:none;
 
29
}
 
30
.patternPrintPage #patternWrapper {
 
31
        height:1%;
 
32
}
 
33
 
 
34
/* no top bar */
 
35
.patternPrintPage #patternTopBar,
 
36
.patternPrintPage #patternClearHeaderCenter,
 
37
.patternPrintPage #patternClearHeaderLeft,
 
38
.patternPrintPage #patternClearHeaderRight,
 
39
.patternPrintPage #patternTopBarContentsOuter {
 
40
        display:none;
 
41
}
 
42
 
 
43
/* hide bits of the gui */
 
44
.patternPrintPage .patternTopicAction,
 
45
.patternPrintPage .patternToolBar,
 
46
.patternPrintPage .patternToolBarBottom,
 
47
.patternPrintPage .patternHomePath img,
 
48
.patternPrintPage .patternHomePathTitle,
 
49
.patternPrintPage .foswikiActionFormStepSign {
 
50
        display:none;
 
51
}
 
52
 
 
53
.patternPrintPage #patternMainContents {
 
54
        margin:0;
 
55
        padding:1em 2em;
 
56
}
 
57
.patternPrintPage #patternBottomBarContents,
 
58
.patternPrintPage #patternTopBarContents {
 
59
        padding:0 0 0 2em; /* bigger side margin for binding */
 
60
        margin:0;
 
61
}
 
62
.patternPrintPage #patternBottomBar {
 
63
        border:none;
 
64
        padding:1em 0;
 
65
}
 
66
.patternPrintPage .patternTopicFooter {
 
67
        margin:1em 0 0 0;
 
68
}
 
69
 
 
70
/* hide attachment twisty controls */
 
71
.patternPrintPage #attachmentsshow,
 
72
.patternPrintPage #attachmentshide {
 
73
        display:none;
 
74
}
 
75
 
 
76
/* make sure that overflowing content is visible */
 
77
.patternPrintPage pre,
 
78
html>body .patternPrintPage pre {
 
79
        overflow:visible !important;
 
80
}
 
81
 
 
82
/*Some rules about Page breaks */
 
83
.patternPrintPage h1, .patternPrintPage h2, .patternPrintPage h3, .patternPrintPage h4, .patternPrintPage h5, .patternPrintPage h6 {
 
84
        page-break-after:avoid;
 
85
        page-break-inside:avoid;
 
86
}
 
87
.patternPrintPage img {
 
88
        page-break-inside:avoid;
 
89
        page-break-after:avoid;
 
90
}
 
91
.patternPrintPage blockquote, .patternPrintPage table, .patternPrintPage pre {
 
92
        page-break-inside:avoid;
 
93
}
 
94
.patternPrintPage ul, .patternPrintPage ol, .patternPrintPage dl {
 
95
        page-break-before:avoid;
 
96
}
 
97
 
 
98
/* hide plugins */
 
99
.patternPrintPage .commentPlugin {
 
100
        display:none;
 
101
}
 
102
.patternPrintPage .twistyTrigger {
 
103
        display:none;
 
104
}
 
105
.patternPrintPage .editTableEditImageButton {
 
106
        display:none;
 
107
}
 
108
 
 
109
@media print {
 
110
        /* Layout */
 
111
        .clear {
 
112
                clear:none; /* otherwise firefox cuts off tables */
 
113
        }
 
114
        body {
 
115
                margin:0;
 
116
                padding:0;
 
117
        }
 
118
        #patternScreen,
 
119
        #patternPageShadow, 
 
120
        #patternPage,
 
121
        #patternOuter {
 
122
                margin:0;
 
123
                padding:0;
 
124
                top:0;
 
125
                border:none;
 
126
                float:none;
 
127
        }
 
128
        #patternMain {
 
129
                width:100%;
 
130
                float:right;
 
131
                display:inline;
 
132
                overflow:visible;
 
133
        }
 
134
        
 
135
        /* no left bar */
 
136
        #patternSideBar {
 
137
                display:none;
 
138
        }
 
139
        #patternWrapper {
 
140
                height:1%;
 
141
        }
 
142
        
 
143
        /* no top bar */
 
144
        #patternTopBar,
 
145
        #patternClearHeaderCenter,
 
146
        #patternClearHeaderLeft,
 
147
        #patternClearHeaderRight,
 
148
        #patternTopBarContentsOuter {
 
149
                display:none;
 
150
        }
 
151
        
 
152
        /* hide bits of the gui */
 
153
        .patternTopicAction,
 
154
        .patternToolBar,
 
155
        .patternToolBarBottom,
 
156
        .patternHomePath img,
 
157
        .patternHomePathTitle,
 
158
        .foswikiActionFormStepSign {
 
159
                display:none;
 
160
        }
 
161
        
 
162
        #patternMainContents {
 
163
                margin:0;
 
164
                padding:1em 2em;
 
165
        }
 
166
        #patternBottomBarContents,
 
167
        #patternTopBarContents {
 
168
                padding:0 0 0 2em; /* bigger side margin for binding */
 
169
                margin:0;
 
170
        }
 
171
        #patternBottomBar {
 
172
                border:none;
 
173
        }
 
174
        .patternTopicFooter {
 
175
                margin:1em 0 0 0;
 
176
        }
 
177
        
 
178
        /* hide attachment twisty controls */
 
179
        #attachmentsshow,
 
180
        #attachmentshide {
 
181
                display:none;
 
182
        }
 
183
        
 
184
        /* make sure that overflowing content is visible */
 
185
        pre,
 
186
        html>body pre {
 
187
                overflow:visible !important;
 
188
        }
 
189
 
 
190
        /*Some rules about Page breaks */
 
191
        h1, h2, h3, h4, h5, h6 {
 
192
                page-break-after:avoid;
 
193
                page-break-inside:avoid;
 
194
        }
 
195
        img {
 
196
                page-break-inside:avoid;
 
197
                page-break-after:avoid;
 
198
        }
 
199
        blockquote, table, pre {
 
200
                page-break-inside:avoid;
 
201
        }
 
202
        ul, ol, dl {
 
203
                page-break-before:avoid;
 
204
        }
 
205
        
 
206
        /* hide plugins */
 
207
        .commentPlugin {
 
208
                display:none;
 
209
        }
 
210
        .twistyTrigger {
 
211
                display:none;
 
212
        }
 
213
        .editTableEditImageButton {
 
214
                display:none;
 
215
        }
 
216
        
 
217
        /* Colors */
 
218
        html body {
 
219
                background-color:#fff;
 
220
        }
 
221
        h2, h3, h4, h5, h6 {
 
222
                background-color:transparent;
 
223
        }
 
224
        #patternBottomBar {
 
225
                background-color:transparent;
 
226
        }
 
227
        
 
228
        pre, code, tt {
 
229
                color:#5b4221;
 
230
        }
 
231
        .foswikiTable th {
 
232
                border-style:solid;
 
233
                border-width:0 0 1px 1px;
 
234
                border-color:#ccc;
 
235
                color:#000;
 
236
        }
 
237
        .foswikiTable th a:link,
 
238
        .foswikiTable th a:visited,
 
239
        .foswikiTable th a font,
 
240
        .foswikiAttachments .foswikiTable th a:link,
 
241
        .foswikiAttachments .foswikiTable th a:visited,
 
242
        .foswikiAttachments .foswikiTable th a font {
 
243
                color:#000;
 
244
                text-decoration:none;
 
245
        }
 
246
        :visited,
 
247
        .foswikiTopic a:visited {
 
248
                color:#06c;
 
249
                background-color:transparent;
 
250
        }
 
251
        .foswikiAttachments,
 
252
        .patternContent .foswikiAttachments,
 
253
        .foswikiForm,
 
254
        .patternContent .foswikiForm {
 
255
                background-color:#fff;
 
256
        }
 
257
        .patternRevInfo,
 
258
        .foswikiGrayText {
 
259
                color:#666; /*T7*/
 
260
        }
 
261
        .patternRevInfo a:link,
 
262
        .patternRevInfo a:visited
 
263
        .foswikiGrayText a:link,
 
264
        .foswikiGrayText a:visited {
 
265
                color:#666; /*T7*/
 
266
        }
 
267
 
 
268
        
 
269
        /* define custom print styles here */
 
270
 
 
271
}
 
 
b'\\ No newline at end of file'