From 53449be87f0dfe1735d22ad1227b3d3b723df869 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 28 Jul 2016 14:06:03 +0200 Subject: [PATCH] Saving cal event's opacity effect in printing by using filter instead of opacity --- calendar/templates/default/app.css | 7 ++++++- calendar/templates/pixelegg/app.css | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index 26435b6e5a..54fe181399 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -46,7 +46,11 @@ overflow: visible !important; } - div.calendar_calEvent {opacity:1;} + div.calendar_calEvent { + opacity:1; + filter:opacity(0.85); + -webkit-filter:opacity(0.85); + } } /** @@ -643,6 +647,7 @@ Hide subsequent headers in week view with non-consolidated owners transition: none !important; opacity: 0.85; + -moz-opacity: 0.85; /* set via inline style on runtime: * top: depending on startime diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index f8d2fe115d..098aac4359 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -59,6 +59,8 @@ } div.calendar_calEvent { opacity: 1; + filter: opacity(0.85); + -webkit-filter: opacity(0.85); } } /** @@ -638,6 +640,7 @@ Hide subsequent headers in week view with non-consolidated owners -ms-transition: none !important; transition: none !important; opacity: 0.85; + -moz-opacity: 0.85; /* set via inline style on runtime: * top: depending on startime * height: depending on length