print.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @CHARSET "UTF-8";
  2. .not-printable { display:none; }
  3. span.ui-layout-resizer { display: none; }
  4. #header-logo { display: none; }
  5. #logo { display: none; }
  6. div.header-menu { display:none; }
  7. div.footer { display:none; }
  8. #top-bar { display: none; }
  9. #inner_menu { display: none; }
  10. div.actions_button { display:none; }
  11. div.itop_popup { display:none; }
  12. a.tab { display:none; }
  13. div.itop-tab { border: #ccc 1px solid; margin-top: 1em; padding-bottom:1em; }
  14. #combodo_logo { display:none; }
  15. div.graph_config { display:none; }
  16. h2.printable-tab-title {
  17. page-break-after: avoid;
  18. }
  19. div#tabbedContent_0 { border:none; }
  20. 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 {
  21. padding-left: 0;
  22. background: transparent;
  23. }
  24. body { margin:none; }
  25. .printable-tab {
  26. -webkit-region-break-inside: avoid;
  27. page-break-inside: avoid;
  28. }
  29. .printable-version legend {
  30. padding-left: 8px;
  31. background-image: none;
  32. }
  33. /**
  34. * PRINT Stylesheet
  35. *
  36. * First 'neutralize' all the positioning/overflow CSS added by Layout
  37. * Then change or add cosmetic styles (borders, padding) for printing
  38. *
  39. * MUST use "!important" for all size, position, margin & overflow rules,
  40. * so these will 'override' styles applied to the elements by Layout
  41. */
  42. html, body {
  43. /* NEUTRALIZE 'layout container' styles */
  44. overflow: visible !important;
  45. width: auto !important;
  46. height: auto !important;
  47. position: static !important;
  48. }
  49. .ui-layout-pane ,
  50. .ui-layout-resizer ,
  51. .ui-layout-toggler {
  52. /* NEUTRALIZE 'layout element' styles */
  53. display: none !important; /* hide ALL by default */
  54. position: relative !important;
  55. top: auto !important;
  56. bottom: auto !important;
  57. left: auto !important;
  58. right: auto !important;
  59. width: auto !important;
  60. height: auto !important;
  61. overflow: visible !important;
  62. }
  63. /* SHOW ONLY the panes you want */
  64. .ui-layout-pane-center {
  65. display: block !important;
  66. left: 0 !important;
  67. right: 0 !important;
  68. /* OPTIONAL: change cosmetic styles as desired
  69. border: 0 !important;
  70. padding: 0 !important;
  71. background: transparent !important;
  72. */
  73. }