From a3aba8bb9fde8c4851ef8af46f571e64995be3cc Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 27 Jan 2017 16:10:56 +0100 Subject: Fix print support Signed-off-by: Noah Loomans --- public/stylesheets/print.css | 18 ++++++++++++++++-- public/stylesheets/style.css | 6 +++++- 2 files changed, 21 insertions(+), 3 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css index b6c3110..0e09533 100644 --- a/public/stylesheets/print.css +++ b/public/stylesheets/print.css @@ -5,6 +5,7 @@ #search { border-bottom: 1px solid black; + position: absolute; } #search .top-bar, #week-selector .week-wrapper { @@ -18,7 +19,7 @@ } #search .fav { - display: none; + display: none !important; } #search #overflow-button { @@ -29,7 +30,7 @@ display: block; } -#week-selector input[type='button'] { +#week-selector button { display: none; } @@ -47,3 +48,16 @@ .mdl-menu__container { display: none !important; } + +#schedule { + padding-top: 16px; + width: 100%; +} + +.no-print { + display: none; +} + +.print { + display: initial; +} diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 3dc309d..fd2bfb8 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -376,4 +376,8 @@ body.week-selector-not-visible #search { body.week-selector-not-visible #week-selector { box-shadow: inherit; -} \ No newline at end of file +} + +.print { + display: none; +} -- cgit v1.1