aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-09-27 15:01:52 +0100
committerMark Longair <mhl@pobox.com>2013-11-19 17:31:36 +0000
commit196ffb963b5093cfbe92a574ad33c75a9a144266 (patch)
tree83b8febeb810879f21671c356c9ad73fea09bb4e /app
parent32b7e4fea84410e1dc4e5fbf3e32cceb3198e164 (diff)
Move the print.css stylesheet into the asset pipeline
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/print.css49
1 files changed, 49 insertions, 0 deletions
diff --git a/app/assets/stylesheets/print.css b/app/assets/stylesheets/print.css
new file mode 100644
index 000000000..6f29c18da
--- /dev/null
+++ b/app/assets/stylesheets/print.css
@@ -0,0 +1,49 @@
+div#content, div#left_column, div.entirebody div#wrapper {
+ width: 100%;
+ margin: 0;
+ float: none;
+}
+div#content {
+ padding-right: 0;
+ width: 96%;
+}
+
+#wrapper {
+ width: auto;
+ padding: 0;
+
+}
+
+p.event_actions,
+div#after_actions,
+#right_column,
+#banner,
+.admin .navbar,
+#header_right,
+#describe_state_form_1,
+#describe_state_form_2,
+.attachment_image,
+#footer {
+ display: none;
+}
+
+div.correspondence {
+ background: none;
+ border: 1px solid #DDD;
+}
+
+p#request_status {
+ page-break-after: avoid;
+}
+div.correspondence {
+ page-break-before: avoid;
+}
+
+#other-country-notice {
+ display: none;
+}
+
+.not-for-print {
+ display: none !IMPORTANT;
+}
+