1/*! 2 * Copyright (c) 2008-2022 Mark C. Prins <mprins@users.sf.net> 3 * 4 * Permission to use, copy, modify, and distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 */ 16/* print styling overrides and enhancements. */ 17.olMapHelp, .olMapHelpButton { display: none; } 18 19.olPOItable { margin: 1px; padding: 1px; border: 1px solid __border__; width: 100%; } 20 21.olPOItable thead { display: table-header-group; } 22 23.olPrintOnly { display: inline; } 24 25.olWebOnly { display: none; } 26 27.olPOItable .icon { text-align: center; } 28 29.olPOItblBody tr { page-break-inside: avoid; } 30 31h ~ div ~ .olStaticMap { /*?? page-break-inside: auto | avoid | inherit */ /* http://david.latapie.name/blog/page-break-in-css-print-how-to-get-rid-of-accidental-blank-pages/ */ /* http://www.w3.org/TR/CSS21/page.html */ page-break-before: always; /* page-break-after: always;*/ } 32 33.olStaticMap p img { max-width: 100%; height: auto; } 34