| @@ -1,77 +1,102 @@ | ||
| 1 | -@media print { | |
| 2 | - /* Fix issue of having 2 pages instead of 1 */ | |
| 3 | - html, body { | |
| 4 | - height: auto; | |
| 5 | - } | |
| 6 | - html.wp-toolbar { | |
| 7 | - padding-top: 0; | |
| 8 | - } | |
| 9 | - /* Set exact colors for printing & text color to black! */ | |
| 10 | - #wpbc__print_frame__inner * { | |
| 11 | - -webkit-print-color-adjust: exact !important; | |
| 12 | - print-color-adjust: exact !important; | |
| 13 | - color: #000 !important; | |
| 14 | - } | |
| 15 | -} | |
| 16 | - | |
| 17 | -/* Set print Modal window scrollable */ | |
| 18 | -#wpbc_ajx_print_modal .modal-body { | |
| 19 | - max-height: 550px; | |
| 20 | - overflow-y: scroll; | |
| 21 | -} | |
| 22 | - | |
| 23 | -/* Checkbox column */ | |
| 24 | -#wpbc__print_frame__inner .check-column { | |
| 25 | - display: none; | |
| 26 | -} | |
| 27 | - | |
| 28 | -/* Creation dates line -- Move up*/ | |
| 29 | -#wpbc__print_frame__inner .wpbc_item_actions .wpbc_actions_sysinfo { | |
| 30 | - margin-top: -2em; | |
| 31 | -} | |
| 32 | - | |
| 33 | -/* Buttons -- hide */ | |
| 34 | -#wpbc__print_frame__inner .wpbc_actions_buttons { | |
| 35 | - display: none; | |
| 36 | -} | |
| 37 | - | |
| 38 | -/* Dates icon in header -- hide */ | |
| 39 | -#wpbc__print_frame__inner .wpbc_listing_header_action_icon { | |
| 40 | - display: none; | |
| 41 | -} | |
| 42 | - | |
| 43 | -/* Labels */ | |
| 44 | -#wpbc__print_frame__inner .wpbc_col_labels .content_text .wpbc_label { | |
| 45 | - padding: 0 5px; | |
| 46 | - line-height: 2em; | |
| 47 | - font-size: 12px; | |
| 48 | -} | |
| 49 | - | |
| 50 | -/* Field Values without background */ | |
| 51 | -#wpbc__print_frame__inner .wpbc_listing_usual_row .fieldvalue { | |
| 52 | - background: transparent !important; | |
| 53 | - color: #000 !important; | |
| 54 | -} | |
| 55 | - | |
| 56 | -/* Set border & background to ROWs */ | |
| 57 | -#wpbc__print_frame__inner .wpbc_listing_usual_row { | |
| 58 | - border: 1px solid #ddd !important; | |
| 59 | - background: transparent; | |
| 60 | -} | |
| 61 | - | |
| 62 | -/* Header background */ | |
| 63 | -#wpbc__print_frame__inner .wpbc_listing_usual_row.wpbc_list_header { | |
| 64 | - background: #eee; | |
| 65 | -} | |
| 66 | - | |
| 67 | -/* Odd ROW background */ | |
| 68 | -#wpbc__print_frame__inner .wpbc_listing_usual_row:nth-of-type(2n) { | |
| 69 | - background: #fafafa; | |
| 70 | -} | |
| 71 | - | |
| 72 | -/* New bookings*/ | |
| 73 | -#wpbc__print_frame__inner .wpbc_is_new_button { | |
| 74 | - position: relative; | |
| 75 | - margin-left: 0px; | |
| 76 | - margin-right: 1em; | |
| 77 | -} | |
| 1 | +@media print { | |
| 2 | + body, | |
| 3 | + html { | |
| 4 | + height: auto | |
| 5 | + } | |
| 6 | + html.wp-toolbar { | |
| 7 | + padding-top: 0 | |
| 8 | + } | |
| 9 | + #wpbc__print_frame__inner * { | |
| 10 | + -webkit-print-color-adjust: exact!important; | |
| 11 | + print-color-adjust: exact!important; | |
| 12 | + color: #000!important | |
| 13 | + } | |
| 14 | +} | |
| 15 | +#wpbc_ajx_print_modal .modal-body { | |
| 16 | + max-height: 550px; | |
| 17 | + overflow-y: scroll | |
| 18 | +} | |
| 19 | +#wpbc__print_frame__inner .check-column { | |
| 20 | + display: none | |
| 21 | +} | |
| 22 | +#wpbc__print_frame__inner .wpbc_item_actions .wpbc_actions_sysinfo { | |
| 23 | + margin-top: -2em | |
| 24 | +} | |
| 25 | +#wpbc__print_frame__inner .wpbc_actions_buttons, | |
| 26 | +#wpbc__print_frame__inner .wpbc_listing_header_action_icon { | |
| 27 | + display: none | |
| 28 | +} | |
| 29 | +#wpbc__print_frame__inner .wpbc_col_labels .content_text .wpbc_label { | |
| 30 | + padding: 0 5px; | |
| 31 | + line-height: 2em; | |
| 32 | + font-size: 12px | |
| 33 | +} | |
| 34 | +#wpbc__print_frame__inner .wpbc_listing_usual_row .fieldvalue { | |
| 35 | + background: 0 0!important; | |
| 36 | + color: #000!important | |
| 37 | +} | |
| 38 | +#wpbc__print_frame__inner .wpbc_listing_usual_row { | |
| 39 | + background: 0 0; | |
| 40 | + border: 0; | |
| 41 | + border-bottom: 1px solid #ddd!important | |
| 42 | +} | |
| 43 | +#wpbc__print_frame__inner .wpbc_selectable_body { | |
| 44 | + border: 1px solid #ddd!important; | |
| 45 | + border-bottom: 0!important | |
| 46 | +} | |
| 47 | +@media (max-width:960px) { | |
| 48 | + #wpbc__print_frame__inner .wpbc_selectable_body { | |
| 49 | + border: 0!important | |
| 50 | + } | |
| 51 | + #wpbc__print_frame__inner .wpbc_listing_usual_row { | |
| 52 | + border: 1px solid #ddd!important | |
| 53 | + } | |
| 54 | +} | |
| 55 | +#wpbc__print_frame__inner .wpbc_listing_usual_row:nth-of-type(2n) { | |
| 56 | + background: #fafafa | |
| 57 | +} | |
| 58 | +#wpbc__print_frame__inner .wpbc_is_new_button { | |
| 59 | + position: relative; | |
| 60 | + margin-left: 0; | |
| 61 | + margin-right: 1em | |
| 62 | +} | |
| 63 | +#wpbc__print_frame__inner { | |
| 64 | + --wpbc_ui_listing__colapsed_height: auto; | |
| 65 | + min-height: 82px; | |
| 66 | + box-shadow: none | |
| 67 | +} | |
| 68 | +#wpbc__print_frame__inner .booking_details_simple, | |
| 69 | +#wpbc__print_frame__inner .sysinfo_hash, | |
| 70 | +#wpbc__print_frame__inner .wpbc__list__head, | |
| 71 | +#wpbc__print_frame__inner .wpbc_a_col__action, | |
| 72 | +#wpbc__print_frame__inner .wpbc_a_row__notes, | |
| 73 | +#wpbc__print_frame__inner .wpbc_col_booking_labels .wpbc_label i, | |
| 74 | +#wpbc__print_frame__inner .wpbc_is_new_button { | |
| 75 | + display: none | |
| 76 | +} | |
| 77 | +#wpbc__print_frame__inner .booking_details_full { | |
| 78 | + display: block | |
| 79 | +} | |
| 80 | +#wpbc__print_frame__inner .wpbc_row_wrap .wpbc_col_data { | |
| 81 | + white-space: normal | |
| 82 | +} | |
| 83 | +#wpbc__print_frame__inner .wpbc_col_booking_labels .wpbc_label { | |
| 84 | + background-color: transparent; | |
| 85 | + color: #41474e; | |
| 86 | + box-shadow: none; | |
| 87 | + border: 1px solid #ccc; | |
| 88 | + font-size: 14px; | |
| 89 | + line-height: 1.7; | |
| 90 | + text-decoration: none; | |
| 91 | + padding: 0; | |
| 92 | + margin: 0 20px 2px 0; | |
| 93 | + text-shadow: none | |
| 94 | +} | |
| 95 | +#wpbc__print_frame__inner .wpbc_col_labels { | |
| 96 | + margin: 1em 0 0 | |
| 97 | +} | |
| 98 | +#wpbc__print_frame__inner .wpbc_remark_text { | |
| 99 | + font-size: .8em; | |
| 100 | + margin-bottom: 20px; | |
| 101 | + display: none | |
| 102 | +} | |