From c75eaa2e3cdb031d98bd1ee1b692eb17edea6575 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 26 Mar 2013 15:56:47 +0530 Subject: [PATCH] [print] [fix] added utf-8 metatag --- website/doctype/style_settings/custom_template.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/website/doctype/style_settings/custom_template.css b/website/doctype/style_settings/custom_template.css index e2c0db598a..fcb2276ca0 100644 --- a/website/doctype/style_settings/custom_template.css +++ b/website/doctype/style_settings/custom_template.css @@ -76,9 +76,13 @@ div.web-footer, div.web-footer a { box-shadow: none; } -{% if doc.top_bar_background == doc.page_background %}.navbar-inner { - border-bottom: 1px solid #{{ get_hex_shade(doc.page_background or "ffffff", 15) }}; -}{% endif %} +.navbar-inner { + border-bottom: 1px solid {% if doc.top_bar_background == doc.page_background -%} + #{{ get_hex_shade(doc.page_background or "ffffff", 15) }}; + {%- else -%} + transparent; + {%- endif %} +} .navbar-inverse .brand, .navbar-inverse .brand:hover,