You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/03/06 17:38:13 UTC
svn commit: r634339 - in /lenya/sandbox/modules/docustyle:
resources/css/page.css resources/css/print.css resources/css/screen.css
xslt/beforeCache.xsl
Author: andreas
Date: Thu Mar 6 08:38:10 2008
New Revision: 634339
URL: http://svn.apache.org/viewvc?rev=634339&view=rev
Log:
Adding CSS for print view.
Added:
lenya/sandbox/modules/docustyle/resources/css/print.css
lenya/sandbox/modules/docustyle/resources/css/screen.css
- copied unchanged from r634327, lenya/sandbox/modules/docustyle/resources/css/page.css
Removed:
lenya/sandbox/modules/docustyle/resources/css/page.css
Modified:
lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl
Added: lenya/sandbox/modules/docustyle/resources/css/print.css
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/css/print.css?rev=634339&view=auto
==============================================================================
--- lenya/sandbox/modules/docustyle/resources/css/print.css (added)
+++ lenya/sandbox/modules/docustyle/resources/css/print.css Thu Mar 6 08:38:10 2008
@@ -0,0 +1,40 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+@import url('screen.css');
+
+#logo, #tabs, #apacheBreadcrumb, #search {
+ display: none;
+}
+
+/* menu */
+
+#menu {
+ display: none;
+}
+
+#search {
+ display: none;
+}
+
+#body {
+ border: none;
+ padding: 0;
+ margin: 0;
+ font-size: 10pt;
+}
+
Modified: lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl?rev=634339&r1=634338&r2=634339&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl Thu Mar 6 08:38:10 2008
@@ -40,7 +40,8 @@
<xsl:template match="/*">
<html>
<head>
- <link rel="stylesheet" href="/{$pub}/{$area}/docustyle/css/page.css" type="text/css"/>
+ <link rel="stylesheet" href="/{$pub}/{$area}/docustyle/css/screen.css" media="screen" type="text/css"/>
+ <link rel="stylesheet" href="/{$pub}/{$area}/docustyle/css/print.css" media="print" type="text/css"/>
<meta content="Apache Lenya" name="generator"/>
<title>Apache Lenya - <meta:value element="title" ns="http://purl.org/dc/elements/1.1/" default="error-404"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org