From 139d9a4fedcd04730b2ececef282714f1b144c84 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 26 Nov 2016 20:29:10 -0600 Subject: [PATCH] Hopefully fix styles for 'print schedule' page --- tailbone/static/css/schedule_print.css | 8 ++++++++ tailbone/templates/shifts/schedule_print.mako | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 tailbone/static/css/schedule_print.css diff --git a/tailbone/static/css/schedule_print.css b/tailbone/static/css/schedule_print.css new file mode 100644 index 00000000..57ca53d9 --- /dev/null +++ b/tailbone/static/css/schedule_print.css @@ -0,0 +1,8 @@ + +/********************************************************************** + * styles for printing schedule + **********************************************************************/ + +.timesheet tbody td { + font-size: 0.8em; +} diff --git a/tailbone/templates/shifts/schedule_print.mako b/tailbone/templates/shifts/schedule_print.mako index b6e7c290..43703fda 100644 --- a/tailbone/templates/shifts/schedule_print.mako +++ b/tailbone/templates/shifts/schedule_print.mako @@ -4,10 +4,11 @@ ## TODO: this seems a little hacky..? - ${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/newgrids.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/timesheet.css'))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/normalize.css'), media='all')} + ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css'), media='all')} + ${h.stylesheet_link(request.static_url('tailbone:static/css/newgrids.css'), media='all')} + ${h.stylesheet_link(request.static_url('tailbone:static/css/timesheet.css'), media='all')} + ${h.stylesheet_link(request.static_url('tailbone:static/css/schedule_print.css'), media='print')}