From 01f4987826e22275b8a93dfc580edb552a16aba2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 4 Nov 2014 15:35:24 +0000 Subject: [PATCH] Style print view of calendar entry -Fix None blocking, whole day, and private options weird behavior in print view. --- calendar/templates/default/app.css | 18 ++++++++++ .../templates/default/print.participants.xet | 36 ------------------- calendar/templates/default/print.xet | 35 +++++++++--------- calendar/templates/pixelegg/app.css | 19 ++++++++++ 4 files changed, 56 insertions(+), 52 deletions(-) delete mode 100644 calendar/templates/default/print.participants.xet diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index e3ec16fe0c..91bfc26327 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -1,5 +1,18 @@ /* $Id$ */ +/*Media print classes*/ +@media print{ + .th td, .row_on td, .row_off td { + border: none !important; + } + img.calendar_print_button { + display: none !important; + } + tr.calendar_print_cat { + border-bottom: 1px solid gray; + } +} + /* Header classes */ tr.dialogHeader td, tr.dialogHeader2 td, tr.dialogHeader3 td, tr.dialogHeader4 td, tr.dialogOperators td,.dialogFooterToolbar { @@ -632,3 +645,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget .calendar_freetime_header { font-size: 120%; font-weight: bold; } .calendar_freetime_timeframe { position: relative;} .calendar_freetime_dow { position: absolute; } + +img.calendar_print_button, img.calendar_print_appicon { + height: 24px; + width: 24px; +} \ No newline at end of file diff --git a/calendar/templates/default/print.participants.xet b/calendar/templates/default/print.participants.xet deleted file mode 100644 index 6b841d9f27..0000000000 --- a/calendar/templates/default/print.participants.xet +++ /dev/null @@ -1,36 +0,0 @@ - - - - - \ No newline at end of file diff --git a/calendar/templates/default/print.xet b/calendar/templates/default/print.xet index 974f5a33a7..71f3014187 100644 --- a/calendar/templates/default/print.xet +++ b/calendar/templates/default/print.xet @@ -40,7 +40,7 @@ - + @@ -57,20 +57,23 @@ - - - + + + + + - - + + - - - - + + + + + @@ -85,21 +88,21 @@ - + - - + + - - + + - + diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index 5cea362c9e..7e5b467e45 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -12,6 +12,20 @@ * @version $Id$ */ /* $Id: app.css 48463 2014-09-04 13:37:46Z ralfbecker $ */ +/*Media print classes*/ +@media print { + .th td, + .row_on td, + .row_off td { + border: none !important; + } + img.calendar_print_button { + display: none !important; + } + tr.calendar_print_cat { + border-bottom: 1px solid gray; + } +} /* Header classes */ tr.dialogHeader td, tr.dialogHeader2 td, @@ -641,6 +655,11 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget .calendar_freetime_dow { position: absolute; } +img.calendar_print_button, +img.calendar_print_appicon { + height: 24px; + width: 24px; +} /*generell*/ .egw_fw_content_browser_iframe img[src$="svg"] { background-color: #828282 !important;