Author: david
Date: Wed Sep 21 16:48:57 2011
New Revision: 9785
Log:
Make print.css generic for all themes
Added:
trunk/css/print-ie.css
- copied unchanged from r9784,
trunk/plugins/sfCaribouPlugin/css/print-ie.css
trunk/css/print.css
- copied unchanged from r9784, trunk/plugins/sfCaribouPlugin/css/print.css
Deleted:
trunk/plugins/sfCaribouPlugin/css/print-ie.css
trunk/plugins/sfCaribouPlugin/css/print.css
Copied: trunk/css/print-ie.css (from r9784,
trunk/plugins/sfCaribouPlugin/css/print-ie.css)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/css/print-ie.css Wed Sep 21 16:48:57 2011 (r9785, copy of
r9784, trunk/plugins/sfCaribouPlugin/css/print-ie.css)
@@ -0,0 +1,7 @@
+.field > h3
+{
+ /* Reset */
+
+ margin: 0;
+ padding: 2px 1%;
+}
Copied: trunk/css/print.css (from r9784,
trunk/plugins/sfCaribouPlugin/css/print.css)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/css/print.css Wed Sep 21 16:48:57 2011 (r9785, copy of r9784,
trunk/plugins/sfCaribouPlugin/css/print.css)
@@ -0,0 +1,153 @@
+@page
+{
+ font-size: 9pt;
+
+ @bottom
+ {
+ content: string(site-name);
+ }
+
+ @top
+ {
+ content: string(label);
+ }
+}
+
+a:link,
+a:visited
+{
+ text-decoration: underline;
+}
+
+body
+{
+ /* Reset */
+
+ margin: 0;
+ width: auto;
+}
+
+body,
+input,
+textarea,
+select
+{
+ /* Reset font */
+
+ font: 12pt/12pt "Times New Roman", serif;
+}
+
+h1
+{
+ prince-bookmark-level: none;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6
+{
+ page-break-after: avoid;
+}
+
+thead th
+{
+ border: 0;
+ border-bottom: medium solid;
+}
+
+thead th,
+.field > h3,
+.label,
+.sidebar > .section > div > h2,
+.sidebar > .section > div > h3
+{
+ background: transparent;
+ color: #000;
+}
+
+.actions,
+.itemsPerPage,
+.pager,
+#footer,
+#header,
+#navigation
+{
+ display: none;
+}
+
+.label
+{
+ string-set: label content();
+}
+
+#content
+{
+ width: 100%;
+}
+
+#main
+{
+ /* Reset */
+
+ margin: 0;
+}
+
+#page
+{
+ /* Header hidden */
+
+ padding: 0;
+
+ /* Reset */
+
+ width: auto;
+}
+
+#site-name
+{
+ string-set: site-name content();
+}
+
+.section.search,
+.section.browse,
+.column.sidebar
+{
+ /* Hide */
+
+ display: none;
+}
+
+tr.odd,
+tr.info
+{
+ /* Reset */
+
+ background-color: #FFF;
+}
+
+tr.even,
+tr.odd
+{
+ /* Reset */
+
+ border-bottom: 1px solid #CCC;
+}
+
+ul, li.leaf
+{
+ list-style-image: none;
+}
+
+ol li,
+ul li,
+ul.menu li,
+.item-list ul li,
+ul li,
+li.leaf
+{
+ /* Reset */
+ margin: 0;
+}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.