Author: david
Date: Tue Sep 27 11:31:42 2011
New Revision: 9847
Log:
For printed descriptions stack field header and content vertically
Modified:
trunk/css/print-ie.css
trunk/plugins/sfCaribouPlugin/css/print.css
Modified: trunk/css/print-ie.css
==============================================================================
--- trunk/css/print-ie.css Tue Sep 27 10:37:53 2011 (r9846)
+++ trunk/css/print-ie.css Tue Sep 27 11:31:42 2011 (r9847)
@@ -3,5 +3,5 @@
/* Reset */
margin: 0;
- padding: 2px 1%;
+ padding: 2px 4px;
}
Modified: trunk/plugins/sfCaribouPlugin/css/print.css
==============================================================================
--- trunk/plugins/sfCaribouPlugin/css/print.css Tue Sep 27 10:37:53 2011
(r9846)
+++ trunk/plugins/sfCaribouPlugin/css/print.css Tue Sep 27 11:31:42 2011
(r9847)
@@ -114,3 +114,53 @@
{
background: none;
}
+
+/* Print formatting for "view" templates */
+h1
+{
+ margin-bottom: 1em;
+}
+
+#content .section .section
+{
+ margin: auto;
+}
+
+/* Hide description "areas" */
+#content .section .section > a
+{
+ display: none;
+}
+
+.field
+{
+ border: none;
+ margin-bottom: 1em;
+}
+
+.field h3
+{
+ float: none;
+ text-align: left;
+ font: inherit;
+ font-weight: bold;
+ padding: 2px 4px;
+}
+
+.field > div
+{
+ margin: auto;
+ padding: 2px 4px;
+}
+
+.field .field
+{
+ margin-top: 1em;
+ margin-bottom: 0;
+}
+
+.field .field > div
+{
+ padding: 2px 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.