Commit bd3e1afeff45d1c070d618545b38759f822e02af

Authored by Edmar Moretti
1 parent f6f4c2a0

Correção nos estilos para impressão deireta via browser

css/i3geo45.css
@@ -1483,6 +1483,13 @@ background-position:-522px -28px; @@ -1483,6 +1483,13 @@ background-position:-522px -28px;
1483 margin:2px; 1483 margin:2px;
1484 width:29px; 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 pre{ 1493 pre{
1487 font-family: Verdana, Arial, Helvetica, sans-serif; 1494 font-family: Verdana, Arial, Helvetica, sans-serif;
1488 font-size: 9px; 1495 font-size: 9px;
css/i3geo45.css.php
@@ -1483,6 +1483,13 @@ background-position:-522px -28px; @@ -1483,6 +1483,13 @@ background-position:-522px -28px;
1483 margin:2px; 1483 margin:2px;
1484 width:29px; 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 pre{ 1493 pre{
1487 font-family: Verdana, Arial, Helvetica, sans-serif; 1494 font-family: Verdana, Arial, Helvetica, sans-serif;
1488 font-size: 9px; 1495 font-size: 9px;
mashups/openlayers.css
@@ -156,6 +156,13 @@ background-position:-522px -28px; @@ -156,6 +156,13 @@ background-position:-522px -28px;
156 margin:2px; 156 margin:2px;
157 width:29px; 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 pre{ 166 pre{
160 font-family: Verdana, Arial, Helvetica, sans-serif; 167 font-family: Verdana, Arial, Helvetica, sans-serif;
161 font-size: 9px; 168 font-size: 9px;
mashups/openlayers.js.php
@@ -298,7 +298,7 @@ i3GEO.editorOL = { @@ -298,7 +298,7 @@ i3GEO.editorOL = {
298 YAHOO.util.Event.addListener(YAHOO.temaativo.container.panel.close, "click", function(){ 298 YAHOO.util.Event.addListener(YAHOO.temaativo.container.panel.close, "click", function(){
299 i3GEOpanelEditor.deactivate(); 299 i3GEOpanelEditor.deactivate();
300 i3GEOpanelEditor.activate(); 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 {i3GEO.eventos.ATUALIZAARVORECAMADAS.remove("i3GEO.editorOL.atualizaJanelaAtivaTema()");} 302 {i3GEO.eventos.ATUALIZAARVORECAMADAS.remove("i3GEO.editorOL.atualizaJanelaAtivaTema()");}
303 }); 303 });
304 if(typeof i3GEO != undefined && i3GEO != ""){ 304 if(typeof i3GEO != undefined && i3GEO != ""){
pacotes/openlayers/theme/default/style.css
@@ -280,7 +280,8 @@ div.olControlMousePosition { @@ -280,7 +280,8 @@ div.olControlMousePosition {
280 .olControlZoomPanel { 280 .olControlZoomPanel {
281 top: 71px; 281 top: 71px;
282 left: 14px; 282 left: 14px;
283 -} 283 +}
  284 +
284 285
285 .olControlZoomPanel div { 286 .olControlZoomPanel div {
286 background-image: url(img/zoom-panel.png); 287 background-image: url(img/zoom-panel.png);