Commit bd3e1afeff45d1c070d618545b38759f822e02af
1 parent
f6f4c2a0
Exists in
master
and in
7 other branches
Correção nos estilos para impressão deireta via browser
Showing
5 changed files
with
24 additions
and
2 deletions
Show diff stats
css/i3geo45.css
... | ... | @@ -1483,6 +1483,13 @@ background-position:-522px -28px; |
1483 | 1483 | margin:2px; |
1484 | 1484 | width:29px; |
1485 | 1485 | } |
1486 | + | |
1487 | +@media print { | |
1488 | + .olControlPanZoomBar {display:none !important;} | |
1489 | + .maximizeDiv {display:none !important;} | |
1490 | + .olControlOverviewMapMaximizeButton {display:none !important;} | |
1491 | +} | |
1492 | + | |
1486 | 1493 | pre{ |
1487 | 1494 | font-family: Verdana, Arial, Helvetica, sans-serif; |
1488 | 1495 | font-size: 9px; | ... | ... |
css/i3geo45.css.php
... | ... | @@ -1483,6 +1483,13 @@ background-position:-522px -28px; |
1483 | 1483 | margin:2px; |
1484 | 1484 | width:29px; |
1485 | 1485 | } |
1486 | + | |
1487 | +@media print { | |
1488 | + .olControlPanZoomBar {display:none !important;} | |
1489 | + .maximizeDiv {display:none !important;} | |
1490 | + .olControlOverviewMapMaximizeButton {display:none !important;} | |
1491 | +} | |
1492 | + | |
1486 | 1493 | pre{ |
1487 | 1494 | font-family: Verdana, Arial, Helvetica, sans-serif; |
1488 | 1495 | font-size: 9px; | ... | ... |
mashups/openlayers.css
... | ... | @@ -156,6 +156,13 @@ background-position:-522px -28px; |
156 | 156 | margin:2px; |
157 | 157 | width:29px; |
158 | 158 | } |
159 | + | |
160 | +@media print { | |
161 | + .olControlPanZoomBar {display:none !important;} | |
162 | + .maximizeDiv {display:none !important;} | |
163 | + .olControlOverviewMapMaximizeButton {display:none !important;} | |
164 | +} | |
165 | + | |
159 | 166 | pre{ |
160 | 167 | font-family: Verdana, Arial, Helvetica, sans-serif; |
161 | 168 | font-size: 9px; | ... | ... |
mashups/openlayers.js.php
... | ... | @@ -298,7 +298,7 @@ i3GEO.editorOL = { |
298 | 298 | YAHOO.util.Event.addListener(YAHOO.temaativo.container.panel.close, "click", function(){ |
299 | 299 | i3GEOpanelEditor.deactivate(); |
300 | 300 | i3GEOpanelEditor.activate(); |
301 | - if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search("i3GEO.editorOL.atualizaJanelaAtivaTema()") > 0) | |
301 | + if(i3GEO.eventos && i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search("i3GEO.editorOL.atualizaJanelaAtivaTema()") > 0) | |
302 | 302 | {i3GEO.eventos.ATUALIZAARVORECAMADAS.remove("i3GEO.editorOL.atualizaJanelaAtivaTema()");} |
303 | 303 | }); |
304 | 304 | if(typeof i3GEO != undefined && i3GEO != ""){ | ... | ... |
pacotes/openlayers/theme/default/style.css