Update styles
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 10 Sep 2013 13:12:45 +0000 (13:12 +0000)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 10 Sep 2013 13:12:45 +0000 (13:12 +0000)
Update the trip planner to use a print styleSheet
Update call for main style sheet

print.css [new file with mode: 0644]
static/6.phtml
templates/template.html

diff --git a/print.css b/print.css
new file mode 100644 (file)
index 0000000..29b78b6
--- /dev/null
+++ b/print.css
@@ -0,0 +1,53 @@
+header, nav, footer {
+    display: none;
+}
+
+body {
+    margin: 0;
+    padding: 0;
+}
+
+#enews,
+#tripplanner,
+div#lefcol,
+div#findatrail,
+div#subnav_wrapper{
+    display: none;
+    width: 0;
+}
+#inside #action_inside {
+    display: none;
+    width: 0;
+}
+#inside #toolbox {
+    margin: 0;
+}
+#inside #wrapper #wrapper_inner {
+    width: available;
+    position: absolute;
+    overflow: visible;
+    left: 0;
+    top: 0;
+    box-shadow: none;
+}
+#content {
+    overflow: visible;
+}
+#content #toolbox {
+    background: white;
+    position: absolute;
+    top: 0;
+    left: 0;
+}
+
+#accountBox {
+    display: none;
+}
+
+#plannerList {
+    display:  block;
+    position: absolute;
+    width: 800px;
+    top: 0;
+    left: 0;
+}
\ No newline at end of file
index 60907df..2381fcb 100644 (file)
@@ -1,3 +1,4 @@
+<link rel="stylesheet" media="print" href="<?php echo BASE_URL;?>print.css">
 <?php
 if ($_REQUEST['cPage']) {
     echo '
index 49d4918..1415982 100755 (executable)
@@ -9,7 +9,7 @@
 <![endif]-->
 {styles:h}
 {topScripts:h}
-<link rel="stylesheet" href="basesecureurl/styles.css">
+<link rel="stylesheet" href="{baseURL:h}styles.css">
 </head>
 {if:isHomePage}
 <body id="home">