]> dev.renevier.net Git - syj.git/commitdiff
better print support (bis)
authorarno <arno@renevier.net>
Sat, 26 Mar 2011 09:11:28 +0000 (10:11 +0100)
committerarno <arno@renevier.net>
Sat, 26 Mar 2011 09:20:28 +0000 (10:20 +0100)
application/controllers/IdxController.php
public/css/syj.css
public/css/syjprint.css

index c049809247870a4b9c0828b669d4536b100499b8..16ff68f0a0061c09ec6feb2ff30c2ac36d3864e4 100644 (file)
@@ -7,9 +7,9 @@ class IdxController extends Zend_Controller_Action
 
     public function init() {
         $this->_helper->SyjMedias->addScripts('idx');
-        $this->view->headLink()->appendStylesheet('css/olstyle.css', "screen");
-        $this->view->headLink()->appendStylesheet('css/generic.css', "screen");
-        $this->view->headLink()->appendStylesheet('css/syj.css', "screen");
+        $this->view->headLink()->appendStylesheet('css/olstyle.css', "all");
+        $this->view->headLink()->appendStylesheet('css/generic.css', "all");
+        $this->view->headLink()->appendStylesheet('css/syj.css', "all");
         $this->view->headLink()->appendStylesheet('css/syjprint.css', "print");
         $this->view->headMeta()->appendName('viewport', 'width=640px');
     }
index 9dc2a6926dfbddcae75a70f3c0c9d406a59ae61e..c41d6cfc89ee5500098a17dfee705db334d875e9 100644 (file)
@@ -261,16 +261,3 @@ body, html {
     opacity: 1;
     filter:alpha(opacity=100);
 }
-
-/*
- * printing
- */
-@media print {
-    @page {
-      size: landscape;
-    }
-
-    #message, #menu, #user_area, #login_area, #newpwd_area, .olControlPanZoom{
-        display: none;
-    }
-}
index 5a1c6647d4bca769a2681d74afb4ac494c46ab85..305b06d64ab209a33bc1b5cf891b282c6db147cc 100644 (file)
@@ -8,40 +8,10 @@
     display: none;
 }
 
-div.olMap {
-    z-index: 0;
-}
-
-body, html {
-    width: 100%;
-    height: 100%;
-}
-
 #map {
-    position: absolute;
-    top: 0; left: 0; right: 0; bottom: 0;
-    width: 100%;
-    height: 100%;
     border: 1px solid;
 }
 
-#path-length {
-    display: none;
-    text-align: center;
-    position: absolute;
-    top: 1em;
-    left: 5em;
-    opacity: 0.85;
-    margin-right: 12px;
-    filter:alpha(opacity=85);
-    background-color: white;
-    padding: 2px 15px 2px 15px;
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;
-    border-radius: 5px;
-    background-color: white;
-}
-
 @page {
   size: landscape;
 }