diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 59f9436e..d81f74af 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -6,4 +6,5 @@ *= require jquery.fileupload-ui *= require jquery-ui-timepicker-addon *= require jquery.dataTables_themeroller + *= require osem-schedule-print */ diff --git a/app/assets/stylesheets/osem-schedule-print.css b/app/assets/stylesheets/osem-schedule-print.css new file mode 100644 index 00000000..54fc3593 --- /dev/null +++ b/app/assets/stylesheets/osem-schedule-print.css @@ -0,0 +1,64 @@ +@media print { + +.navbar { + display: none; +} +.nav li, .tab-pane, #messages, #footer, h2, .text-error, br, .label, .schedule-subtitle, .schedule-track { + display: none; +} +.nav li.active, .tab-pane .active { + display: block; + width: 100%; + text-align: center; + text-size: 12px; + border-style: none; + font-weight: bold; +} +.nav-tabs { + border-bottom-style: none; +} +.nav-tabs > .active > a { + border-style: none; +} +#wrap { + min-height:0px; + height:auto; + margin:0px; + line-height: 12px; + font-size: 10px; +} +#content { + position: absolute; + top: 0px; + left: 0px; + max-width: 210mm !important; + max-height: 297mm !important; + padding: 10px; +} +#schedule td.event { + background-image: none; + border-style:solid; + border-width: 2px; + border-color: black; + line-height: auto; + font-size: 10px; +} +.event img, .img-circle { + display: none; +} +h5 { + font-size: 10px; + line-height: 12px; + margin: 0px; +} +.table th, .table td { + line-height: 12px; + padding: 3px; +} + +.schedule-speaker { + font-weight: normal; + font-style: italic; +} + +}