summaryrefslogtreecommitdiff
path: root/rt/share/html/NoAuth/css/print.css
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
commit43a06151e47d2c59b833cbd8c26d97865ee850b6 (patch)
tree42c51d94e7fa265461b508d061562be204ccc2c1 /rt/share/html/NoAuth/css/print.css
parent6587f6ba7d047ddc1686c080090afe7d53365bd4 (diff)
starting to work...
Diffstat (limited to 'rt/share/html/NoAuth/css/print.css')
-rw-r--r--rt/share/html/NoAuth/css/print.css149
1 files changed, 133 insertions, 16 deletions
diff --git a/rt/share/html/NoAuth/css/print.css b/rt/share/html/NoAuth/css/print.css
index b11bc2e9a..391fa936e 100644
--- a/rt/share/html/NoAuth/css/print.css
+++ b/rt/share/html/NoAuth/css/print.css
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -48,27 +48,32 @@
* {
float: none;
position: static;
+ background: transparent !important;
+ overflow: visible !important;
}
body {
- margin: 1em;
+ margin: 0;
+ padding: 0;
font-size: 10pt;
+ background: white !important;
}
div#body {
margin: 0;
- margin-top: 1em;
+ margin-top: 0;
+ padding: 0;
border-style: none;
}
div#header h1 {
- margin-bottom: 2em;
- position: relative;
- margin-top: 2em;
- height: 0;
+ margin-bottom: 1em;
+ position: static;
+ height: auto;
width: auto;
- left: 0;
overflow: visible;
+ color: black !important;
+ padding: 0 !important;
}
#header {
@@ -77,12 +82,12 @@ div#header h1 {
#quickbar,
#nav,
-#header #page-menu,
-#header #actions-menu,
-#header #page-navigation,
-.titlebox .titlebox-title .widget,
+#page-menu,
+#main-navigation,
+#page-navigation,
+.titlebox-title .widget,
.ticket-info-links .titlebox-title .right,
-.ticket-info-links .titlebox-content .labeltop .create,
+.ticket-info-links .titlebox-content .create,
.history .titlebox .titlebox-title .right,
.ticket-transaction .metadata .actions,
.ticket-transaction .content .downloadattachment,
@@ -90,14 +95,126 @@ div#header h1 {
.search-result-actions,
#comp-Search-Chart #body div,
#comp-Search-Chart #body form,
-#footer
+#footer,
+#topactions,
+#logo,
+form,
+div.summary + br
{
-display: none;
+ display: none;
+}
+
+/* Hide "Click to load" and "Loading" message. Loaded history is #id > .history */
+#deferred_ticket_history > .titlebox, #delayed_ticket_history > .titlebox {
+ display: none;
}
a:link, a:visited {
- background: transparent;
font-weight: bold !important;
+}
+
+div.ticket-transaction .metadata .type {
+ display: none;
+}
+
+div.titlebox-title .left {
+ border: 0 !important;
+ color: black !important;
+ margin: 0 !important;
+ padding-left: 0 !important;
+}
+
+.titlebox.rolled-up .titlebox-title .left:after {
+ content: " (<&|/l&>collapsed</&>)";
+ font-weight: normal;
+}
+
+div.titlebox-content {
+ border: 0 !important;
+ padding-top: 0.5em !important;
+}
+
+/* outer Ticket Metadata titlebox gets no padding, but inside ones do below */
+.summary .titlebox-content {
+ padding: 0 !important;
+}
+
+div.summary .ticket-summary div.titlebox-content {
+ padding: 0.5em 1em 1em 1em !important;
+}
+
+div.titlebox-title .left * {
+ color: black !important;
+}
+
+div.messagebody a[href]:after {
text-decoration: underline !important;
+ content: " (" attr(href) ") ";
+}
+
+.messagebody {
+ orphans: 2;
+ widows: 2;
+}
+
+div.titlebox-title {
+ page-break-after: avoid;
+ border: 0 !important;
+}
+
+#ticket-history, div.ticket-transaction {
+ border: 0 !important;
+}
+
+div.ticket-transaction {
+ page-break-inside: avoid;
+}
+
+/* hide "Ticket metadata" */
+div.summary > div > div.titlebox > div.titlebox-title {
+ display: none !important;
+}
+
+.value {
+ font-weight: bold !important;
+}
+
+.label, .label a, .labeltop, .labeltop a {
+ font-weight: normal !important;
+}
+
+div.titlebox {
+ margin-bottom: 0;
+}
+
+/* for web2 and ballard*/
+
+div.titlebox {
+ border: 0 !important;
+}
+
+div.history .titlebox-title {
+ padding: 0 !important;
+ margin: 0 !important;
+}
+
+/* for web2 */
+
+#page-action-menu {
+ display: none;
+}
+
+/* form elements */
+input, select, option {
+ background: white !important;
+ border: 1px solid #666 !important;
+}
+
+option {
+ border: none !important;
+}
+
+option[selected] {
+ font-weight: bold !important;
}