Files
iTop/css/print.css

75 lines
2.1 KiB
CSS

@CHARSET "UTF-8";
.not-printable { display:none; }
span.ui-layout-resizer { display: none; }
#header-logo { display: none; }
#logo { display: none; }
div.header-menu { display:none; }
div.footer { display:none; }
#top-bar { display: none; }
#inner_menu { display: none; }
div.actions_button { display:none; }
div.itop_popup { display:none; }
a.tab { display:none; }
div.itop-tab { border: #ccc 1px solid; margin-top: 1em; padding-bottom:1em; }
#combodo_logo { display:none; }
div.graph_config { display:none; }
h2.printable-tab-title {
page-break-after: avoid;
}
div#tabbedContent_0 { border:none; }
p a, .ui-widget-content td a, p a:hover, .ui-widget-content td a:hover, p a:visited, .ui-widget-content td a:visited, td a, td a:visited, td a:hover {
padding-left: 0;
background: transparent;
}
body { margin:none; }
.printable-tab {
-webkit-region-break-inside: avoid;
page-break-inside: avoid;
}
.printable-version legend {
padding-left: 8px;
background-image: none;
}
/**
* PRINT Stylesheet
*
* First 'neutralize' all the positioning/overflow CSS added by Layout
* Then change or add cosmetic styles (borders, padding) for printing
*
* MUST use "!important" for all size, position, margin & overflow rules,
* so these will 'override' styles applied to the elements by Layout
*/
html, body {
/* NEUTRALIZE 'layout container' styles */
overflow: visible !important;
width: auto !important;
height: auto !important;
position: static !important;
}
.ui-layout-pane ,
.ui-layout-resizer ,
.ui-layout-toggler {
/* NEUTRALIZE 'layout element' styles */
display: none !important; /* hide ALL by default */
position: relative !important;
top: auto !important;
bottom: auto !important;
left: auto !important;
right: auto !important;
width: auto !important;
height: auto !important;
overflow: visible !important;
}
/* SHOW ONLY the panes you want */
.ui-layout-pane-center {
display: block !important;
left: 0 !important;
right: 0 !important;
/* OPTIONAL: change cosmetic styles as desired
border: 0 !important;
padding: 0 !important;
background: transparent !important;
*/
}