blob: d68ca3d09801848c8b70190722c3d491d9f6bbc5 [file] [log] [blame]
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
/*
* CSS intended specificaly for print media
*
*/
.applicationlogo, .companylogo, .titlebox, .userbox,
.searchbox, .breadcrumbs, .pageactions, .quicklinks,
#actionsTop, #actionsBottom, #favorites,
#addattachment, #findhelp,
a.editsection, a.hashlink,
.collapsebox .collapseOpen, .collapsebox .collapseClose,
.table-filter .filterrow,
.tabmenu {
display:none;
}
#attachments, #addcomment,
/*#pagelinks,*/
#pagecontent, #editcontent, #previewcontent, #diffcontent, #infocontent,
#findquery, #userPrefs,
#pagecontent .tabmenu {
display:block;
visibility:visible;
}
tt,pre {
overflow:visible;
}
/* Show links as normal text (maybe show urls at the bottom of the page) */
a {
text-decoration:none;
}
/*print href of each link
a:after { content:attr(href); color:grey;
font-family:"Courier New", Courier, mono; font-size:8pt; }
*/
/* Give the content what it deserves. */
html>body #previewcontent, html>body #info, html>body #pagecontent, html>body #attach, html>body #findcontent {
overflow:visible;
}
/* ie to check */
* html #previewcontent, * html #info, * html #pagecontent, * html #attach, * html #findcontent {
overflow-x:visible;
}
/* use !important to overwrite css style on following specified blocks */
.pagename, #header, #footer, #page {
width:100% !important;
margin:0 !important;
padding:0 !important;
float:none !important;
clear:both !important;
position:static !important;
overflow:visible !important;
}
.pagename {
font-size:250%;
margin-bottom:1.5em;
padding-bottom:0.5em;
border-bottom:3px solid #555;
color:#555;
}
/* hidden tabs are made visible during print
* e.g. when printing a page, also the attachment list gets printed
*/
.hidetab {
display:block;
}
.tabs {
border:none;
}
a.slimbox {
display:none;
}
/* ff bug : avoid floats during printing */
.commentbox {
float:none;
}