| @@ -1,125 +1,175 @@ | ||
| 1 | -/* General styles */ | |
| 2 | -.pdfprnt-table-settings * { | |
| 3 | - box-sizing: border-box; | |
| 4 | - word-break: break-word; | |
| 1 | +/* PDF-Print settings */ | |
| 2 | +.pdfprnt-top-left, | |
| 3 | +.pdfprnt-bottom-left, | |
| 4 | +.pdfprnt-top-bottom-left, | |
| 5 | +.pdfprnt-left { | |
| 6 | + text-align: left; | |
| 7 | + padding: 5px; | |
| 5 | 8 | } |
| 6 | -.pdfprnt-table-settings th { | |
| 7 | - width: 20%; | |
| 9 | +.pdfprnt-top-right, | |
| 10 | +.pdfprnt-bottom-right, | |
| 11 | +.pdfprnt-top-bottom-right, | |
| 12 | +.pdfprnt-right { | |
| 13 | + text-align: right; | |
| 14 | + padding: 5px; | |
| 8 | 15 | } |
| 9 | -.form-table td .pdfprnt-pro-feature { | |
| 10 | - margin: 0 -20px 0 -10px; | |
| 16 | +.pdfprnt-top-left:before, | |
| 17 | +.pdfprnt-bottom-left:before, | |
| 18 | +.pdfprnt-top-right:before, | |
| 19 | +.pdfprnt-bottom-right:before, | |
| 20 | +.pdfprnt-top-bottom-left:before, | |
| 21 | +.pdfprnt-top-bottom-right:before, | |
| 22 | +.pdfprnt-left:before, | |
| 23 | +.pdfprnt-right:before { | |
| 24 | + content: ""; | |
| 25 | + clear: both; | |
| 26 | + display: table; | |
| 11 | 27 | } |
| 12 | -.pdfprnt-col { | |
| 28 | +.pdfprnt-top-left a, | |
| 29 | +.pdfprnt-bottom-left a, | |
| 30 | +.pdfprnt-top-right a, | |
| 31 | +.pdfprnt-bottom-right a, | |
| 32 | +.pdfprnt-top-bottom-right a, | |
| 33 | +.pdfprnt-top-bottom-left a, | |
| 34 | +.pdfprnt-left a, | |
| 35 | +.pdfprnt-right a { | |
| 36 | + padding: 0 5px; | |
| 37 | + box-shadow: none !important; | |
| 38 | + border: none !important; | |
| 39 | + outline: none !important; | |
| 40 | +} | |
| 41 | +.pdfprnt-top-left a img, | |
| 42 | +.pdfprnt-bottom-left a img, | |
| 43 | +.pdfprnt-top-right a img, | |
| 44 | +.pdfprnt-bottom-right a img, | |
| 45 | +.pdfprnt-top-bottom-right a img, | |
| 46 | +.pdfprnt-top-bottom-left a img, | |
| 47 | +.pdfprnt-left a img, | |
| 48 | +.pdfprnt-right a img { | |
| 49 | + display: inline !important; | |
| 50 | +} | |
| 51 | +#wp-admin-bar-pdfprnt-bar-menu-default li { | |
| 52 | + cursor: pointer; | |
| 53 | +} | |
| 54 | +#wp-admin-bar-pdfprnt-bar-menu-default li:hover { | |
| 55 | + background-color: #2E9EC7 !important; | |
| 56 | +} | |
| 57 | +#wpadminbar #wp-admin-bar-pdfprnt-bar-menu-default li a { | |
| 58 | + height: auto; | |
| 59 | + padding: 8px 0; | |
| 60 | + text-align: center; | |
| 61 | +} | |
| 62 | +#wpadminbar li#wp-admin-bar-pdfprnt-bar-menu span.admin-bar-menu-bws-icon { | |
| 63 | + background: url("../bws_menu/images/icon_16_single.png") no-repeat scroll center center transparent; | |
| 13 | 64 | float: left; |
| 14 | - margin-left: 0; | |
| 15 | - margin-right: 0; | |
| 16 | - padding-right: 10px; | |
| 65 | + position: relative; | |
| 66 | + width: 16px; | |
| 67 | + height: 16px; | |
| 68 | + margin: 6px 6px 0 0; | |
| 69 | + opacity: 0.7; | |
| 17 | 70 | } |
| 18 | -.rtl .pdfprnt-col { | |
| 19 | - float: right; | |
| 20 | - padding-right: initial; | |
| 21 | - padding-left: 10px; | |
| 71 | + | |
| 72 | +/* PDF-Print settings .form-table */ | |
| 73 | +#pdfprnt_settings_form th { | |
| 74 | + padding: 10px; | |
| 22 | 75 | } |
| 23 | -.pdfprnt-col > * { | |
| 24 | - max-width: 100%; | |
| 76 | +.pdfprnt_settings_table td div:not(div[class*="CodeMirror"]) { | |
| 77 | + float: left; | |
| 78 | + text-align: center; | |
| 79 | + margin: 0 5px; | |
| 25 | 80 | } |
| 26 | -.pdfprnt-col-2 { | |
| 27 | - width: 50%; | |
| 81 | +.pdfprnt_settings_table td div img { | |
| 82 | + border:1px solid #777; | |
| 83 | + display:block; | |
| 84 | + width: 80px; | |
| 85 | + height: 100px; | |
| 28 | 86 | } |
| 29 | -.pdfprnt_small_text { | |
| 30 | - margin-top: 5px !important; | |
| 87 | +.pdfprnt_settings_table td { | |
| 88 | + vertical-align: top; | |
| 89 | + padding: 10px; | |
| 31 | 90 | } |
| 32 | -/* Settings tab */ | |
| 33 | -.pdfprnt-button-image-default-pdf, | |
| 34 | -.pdfprnt-button-image-default-print { | |
| 35 | - margin: 5px auto; | |
| 91 | +.pdfprnt_settings_table td select { | |
| 92 | + min-width: 210px; | |
| 36 | 93 | } |
| 37 | - | |
| 38 | -/* Output tab */ | |
| 94 | +.rtl #pdfprnt_custom_styles { | |
| 95 | + direction: ltr; | |
| 96 | +} | |
| 97 | +.pdfprnt_buttons { | |
| 98 | + width: auto !important; | |
| 99 | +} | |
| 100 | +.pdfprnt_label { | |
| 101 | + display: none; | |
| 102 | +} | |
| 39 | 103 | .pdfprnt_loader { |
| 40 | 104 | position: absolute; |
| 41 | 105 | display: none; |
| 42 | 106 | } |
| 43 | -#pdfprnt-watermark-text-wrap { | |
| 44 | - margin: 0 0 20px; | |
| 45 | - max-width: 500px; | |
| 46 | - width: 100%; | |
| 107 | +/* | |
| 108 | + * css highlighter | |
| 109 | +*/ | |
| 110 | +.pdfprnt_custom_styles .CodeMirror { | |
| 111 | + max-height: 200px; | |
| 112 | + max-width: 500px; | |
| 113 | + border: 1px solid #ddd; } | |
| 114 | +.pdfprnt_custom_styles .CodeMirror-scroll { | |
| 115 | + height: 100%; | |
| 116 | + width: 100%; | |
| 117 | + box-sizing: border-box !important; | |
| 47 | 118 | } |
| 48 | -#pdfprnt_watermark_opacity_slider { | |
| 49 | - width: 140px; | |
| 50 | - display: inline-block; | |
| 51 | - margin-left: 10px; | |
| 119 | +.pdfprnt_custom_styles .CodeMirror-hscrollbar { | |
| 120 | + left: 0 !important; | |
| 52 | 121 | } |
| 53 | -#pdfprnt_watermark_opacity_value { | |
| 54 | - color: #444; | |
| 122 | +.pdfprnt_custom_styles .CodeMirror-sizer { | |
| 123 | + border-right: none; | |
| 55 | 124 | } |
| 56 | -.pdfprnt-before-after-title, | |
| 57 | -.pdfprnt-custom-fields-tab-title { | |
| 58 | - vertical-align: top; | |
| 59 | - padding: 10px 10px 20px 0; | |
| 60 | - width: auto; | |
| 61 | - line-height: 1.3; | |
| 62 | - text-align: left; | |
| 63 | - font-weight: 600; | |
| 64 | - font-size: 14px; | |
| 125 | +.pdfprnt_pro_block .bws_pro_version_tooltip { | |
| 126 | + display: inline-block; | |
| 127 | + width: 100%; | |
| 128 | + box-sizing: border-box; | |
| 129 | + top: 5px; | |
| 65 | 130 | } |
| 66 | -.pdfprnt-custom-fields-tab-desc { | |
| 67 | - padding-bottom: 20px; | |
| 131 | +.pdfprnt_templates_block .bws_pro_version_table_bloc, | |
| 132 | +.pdfprnt_templates_new_block .bws_pro_version_table_bloc { | |
| 133 | + padding: 5px 5px 0 5px; | |
| 68 | 134 | } |
| 69 | -.pdfprnt-custom-fields-commentary { | |
| 70 | - color: #888; | |
| 71 | - font-size: 13px; | |
| 72 | - font-style: italic; | |
| 73 | -} | |
| 74 | -.rtl .pdfprnt-before-after-title { | |
| 75 | - padding: 10px 0 20px 10px; | |
| 76 | - text-align: right; | |
| 77 | -} | |
| 78 | -#pdfprnt_custom_fields_tab .ui-accordion-header { | |
| 79 | - padding-top: 10px; | |
| 80 | - padding-bottom: 10px; | |
| 81 | - background: initial; | |
| 82 | - border: 1px solid #aaa; | |
| 83 | - color: #212121; | |
| 84 | - font-style: italic; | |
| 85 | - font-weight: normal; | |
| 86 | - font-size: 14px; | |
| 87 | -} | |
| 88 | 135 | |
| 89 | - | |
| 90 | -.pdfprnt-class-delete { | |
| 91 | - display: inline-block; | |
| 92 | - height: 18px; | |
| 93 | - width: 18px; | |
| 94 | - margin: 2px 5px 0 0; | |
| 95 | - background: url("../images/del_icon.png") no-repeat scroll 0 0 transparent; | |
| 96 | - cursor: pointer; | |
| 136 | +.pdfprnt_templates_block .bws_table_bg, | |
| 137 | +.pdfprnt_templates_new_block .bws_table_bg { | |
| 138 | + top: 0; | |
| 139 | + left: 0; | |
| 97 | 140 | } |
| 98 | - | |
| 99 | -@media screen and ( max-width: 1200px ) { | |
| 100 | - .pdfprnt_banner_accordion { | |
| 101 | - width: 100%; | |
| 102 | - height: auto; | |
| 141 | +@media only screen and ( max-width: 785px ) { | |
| 142 | + .pdfprnt_label { | |
| 143 | + display: inline; | |
| 103 | 144 | } |
| 104 | -} | |
| 105 | - | |
| 106 | -@media screen and ( max-width: 782px ) { | |
| 107 | - .pdfprnt-table-settings th { | |
| 108 | - width: auto; | |
| 145 | + .pdfprnt_position_button .pdfprnt_label { | |
| 146 | + display: block; | |
| 109 | 147 | } |
| 148 | + .pdfprnt_table_head { | |
| 149 | + display: none; | |
| 150 | + } | |
| 151 | + .pdfprnt_templates_block p.search-box { | |
| 152 | + position: static; | |
| 153 | + clear: both | |
| 154 | + } | |
| 110 | 155 | } |
| 111 | 156 | |
| 112 | -@media screen and ( max-width: 520px ) { | |
| 113 | - .pdfprnt-col, | |
| 114 | - .pdfprnt-col-2 { | |
| 115 | - padding-left: 0; | |
| 116 | - padding-right: 0; | |
| 157 | +@media only screen and ( max-width: 450px ) { | |
| 158 | + .pdfprnt_image_block table, | |
| 159 | + .pdfprnt_image_block tr, | |
| 160 | + .pdfprnt_image_block td { | |
| 161 | + width: inherit; | |
| 162 | + display: block; | |
| 163 | + box-sizing: border-box; | |
| 117 | 164 | } |
| 118 | - .pdfprnt-col-2 { | |
| 119 | - width: 100%; | |
| 165 | + .pdfprnt_templates_block .tablenav.bottom .displaying-num { | |
| 166 | + display: none; | |
| 120 | 167 | } |
| 121 | 168 | } |
| 122 | 169 | |
| 123 | -.pdfprnt-col-center { | |
| 124 | - text-align: center; | |
| 170 | +@media only screen and ( max-width: 300px ) { | |
| 171 | + .pdfprnt_add_new_button { | |
| 172 | + display: inline-block; | |
| 173 | + margin-top: 10px; | |
| 174 | + } | |
| 125 | 175 | } |