diff --git a/frappe/core/doctype/print_settings/print_settings.json b/frappe/core/doctype/print_settings/print_settings.json index 4299d79e17..87daa526cf 100644 --- a/frappe/core/doctype/print_settings/print_settings.json +++ b/frappe/core/doctype/print_settings/print_settings.json @@ -38,7 +38,7 @@ "fieldtype": "Select", "in_list_view": 1, "label": "Print Style", - "options": "Modern\nClassic\nStandard", + "options": "Modern\nClassic\nStandard\nMonochrome", "permlevel": 0 }, { @@ -76,7 +76,7 @@ ], "icon": "icon-cog", "issingle": 1, - "modified": "2014-07-31 07:43:54.550258", + "modified": "2014-08-05 09:03:02.337355", "modified_by": "Administrator", "module": "Core", "name": "Print Settings", diff --git a/frappe/public/css/print.css b/frappe/public/css/print.css deleted file mode 100644 index f15f4454f4..0000000000 --- a/frappe/public/css/print.css +++ /dev/null @@ -1,84 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700); - -@media screen { - .print-format-gutter { - background-color: #ddd; - padding: 15px 0px; - } - .print-format { - background-color: white; - box-shadow: 0px 0px 9px rgba(0,0,0,0.5); - max-width: 8.3in; - min-height: 11.69in; - padding: 0.75in; - margin: auto; - } - - .page-break { - padding: 30px 0px; - border-bottom: 1px dashed #888; - } - - .page-break:first-child { - padding-top: 0px; - } - - .page-break:last-child { - border-bottom: 0px; - } -} - -@media print { - .print-format p { - margin-left: 1px; - margin-right: 1px; - } -} - -.print-format { - font-size: 9pt; - font-family: 'Noto Sans', sans-serif; - -webkit-print-color-adjust:exact; -} - -.page-break { - page-break-after: always; -} - -.print-heading { - border-bottom: 2px solid #aaa; - margin-bottom: 10px; -} - -.print-heading h2 { - margin: 0px; -} -.print-heading h4 { - margin-top: 5px; -} - -table.no-border, table.no-border td { - border: 0px; -} - -.print-format label { - /* wkhtmltopdf breaks label into multiple lines when it is inline-block */ - display: block; -} - -.print-format img { - max-width: 100%; -} - -.print-format table td > .primary:first-child { - font-weight: bold; -} - -.print-format td, .print-format th { - vertical-align: top !important; - padding: 6px !important; -} - -.print-format p { - margin: 3px 0px 3px; -} diff --git a/frappe/public/html/print_template.html b/frappe/public/html/print_template.html index 4f08d35316..740261397a 100644 --- a/frappe/public/html/print_template.html +++ b/frappe/public/html/print_template.html @@ -8,7 +8,9 @@ {%= title %} - +