| @@ -1,96 +1,125 @@ | ||
| 1 | -#adminmenu #toplevel_page_bws_plugins div.wp-menu-image { | |
| 2 | - background: url("../images/icon_16.png") no-repeat scroll center center transparent; | |
| 1 | +/* General styles */ | |
| 2 | +.pdfprnt-table-settings * { | |
| 3 | + box-sizing: border-box; | |
| 4 | + word-break: break-word; | |
| 3 | 5 | } |
| 4 | -#wpadminbar li#wp-admin-bar-pdfprnt-bar-menu a:hover span.admin-bar-menu-bws-icon { | |
| 5 | - background: url("../images/icon_16_c.png") no-repeat scroll center center transparent; | |
| 6 | +.pdfprnt-table-settings th { | |
| 7 | + width: 20%; | |
| 6 | 8 | } |
| 7 | -#adminmenu #toplevel_page_bws_plugins:hover div.wp-menu-image, | |
| 8 | -#adminmenu #toplevel_page_bws_plugins.wp-has-current-submenu div.wp-menu-image { | |
| 9 | - background: url("../images/icon_16_c.png") no-repeat scroll center center transparent; | |
| 9 | +.form-table td .pdfprnt-pro-feature { | |
| 10 | + margin: 0 -20px 0 -10px; | |
| 10 | 11 | } |
| 11 | -.wrap #icon-options-general.icon32-bws { | |
| 12 | - background: url("../images/icon_36.png") no-repeat scroll left top transparent; | |
| 12 | +.pdfprnt-col { | |
| 13 | + float: left; | |
| 14 | + margin-left: 0; | |
| 15 | + margin-right: 0; | |
| 16 | + padding-right: 10px; | |
| 13 | 17 | } |
| 14 | -#toplevel_page_bws_plugins .wp-submenu .wp-first-item { | |
| 18 | +.rtl .pdfprnt-col { | |
| 19 | + float: right; | |
| 20 | + padding-right: initial; | |
| 21 | + padding-left: 10px; | |
| 22 | +} | |
| 23 | +.pdfprnt-col > * { | |
| 24 | + max-width: 100%; | |
| 25 | +} | |
| 26 | +.pdfprnt-col-2 { | |
| 27 | + width: 50%; | |
| 28 | +} | |
| 29 | +.pdfprnt_small_text { | |
| 30 | + margin-top: 5px !important; | |
| 31 | +} | |
| 32 | +/* Settings tab */ | |
| 33 | +.pdfprnt-button-image-default-pdf, | |
| 34 | +.pdfprnt-button-image-default-print { | |
| 35 | + margin: 5px auto; | |
| 36 | +} | |
| 37 | + | |
| 38 | +/* Output tab */ | |
| 39 | +.pdfprnt_loader { | |
| 40 | + position: absolute; | |
| 15 | 41 | display: none; |
| 16 | 42 | } |
| 17 | -.bws_system_info_meta_box { | |
| 18 | - width: 850px; | |
| 43 | +#pdfprnt-watermark-text-wrap { | |
| 44 | + margin: 0 0 20px; | |
| 45 | + max-width: 500px; | |
| 46 | + width: 100%; | |
| 19 | 47 | } |
| 20 | -.bws_system_info_meta_box .hndle { | |
| 21 | - cursor: pointer !important; | |
| 48 | +#pdfprnt_watermark_opacity_slider { | |
| 49 | + width: 140px; | |
| 50 | + display: inline-block; | |
| 51 | + margin-left: 10px; | |
| 22 | 52 | } |
| 23 | -.bws_system_info { | |
| 24 | - float: left; | |
| 25 | - margin-right: 10px; | |
| 26 | - width: 400px; | |
| 53 | +#pdfprnt_watermark_opacity_value { | |
| 54 | + color: #444; | |
| 27 | 55 | } |
| 28 | -.bws_system_info th { | |
| 29 | - padding: 10px 0; | |
| 30 | - text-align: left; | |
| 31 | - width: 50%; | |
| 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; | |
| 32 | 65 | } |
| 33 | -.bws_system_info tbody td { | |
| 34 | - border-bottom: 1px solid #DFDFDF; | |
| 66 | +.pdfprnt-custom-fields-tab-desc { | |
| 67 | + padding-bottom: 20px; | |
| 35 | 68 | } |
| 36 | -/* PDF-Print settings */ | |
| 37 | -.pdfprnt-top-left, | |
| 38 | -.pdfprnt-bottom-left, | |
| 39 | -.pdfprnt-left { | |
| 40 | - text-align: left; | |
| 41 | - padding: 5px; | |
| 69 | +.pdfprnt-custom-fields-commentary { | |
| 70 | + color: #888; | |
| 71 | + font-size: 13px; | |
| 72 | + font-style: italic; | |
| 42 | 73 | } |
| 43 | -.pdfprnt-top-right, | |
| 44 | -.pdfprnt-bottom-right, | |
| 45 | -.pdfprnt-right { | |
| 74 | +.rtl .pdfprnt-before-after-title { | |
| 75 | + padding: 10px 0 20px 10px; | |
| 46 | 76 | text-align: right; |
| 47 | - padding: 5px; | |
| 48 | 77 | } |
| 49 | -.pdfprnt-top-left a, | |
| 50 | -.pdfprnt-bottom-left a, | |
| 51 | -.pdfprnt-top-right a, | |
| 52 | -.pdfprnt-bottom-right a, | |
| 53 | -.pdfprnt-left a, | |
| 54 | -.pdfprnt-right a { | |
| 55 | - padding: 0 5px; | |
| 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; | |
| 56 | 87 | } |
| 57 | -#wpadminbar li#wp-admin-bar-pdfprnt-template-1 a, | |
| 58 | -#wpadminbar li#wp-admin-bar-pdfprnt-template-2 a, | |
| 59 | -#wpadminbar li#wp-admin-bar-pdfprnt-template-3 a { | |
| 60 | - height: auto; | |
| 61 | - padding: 8px 0 0 0; | |
| 62 | - text-align: center; | |
| 88 | + | |
| 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; | |
| 63 | 97 | } |
| 64 | -#wpadminbar li#wp-admin-bar-pdfprnt-bar-menu span.admin-bar-menu-bws-icon { | |
| 65 | - background: url("../images/icon_16.png") no-repeat scroll center center transparent; | |
| 66 | - float: left; | |
| 67 | - position: relative; | |
| 68 | - width: 16px; | |
| 69 | - height: 16px; | |
| 70 | - margin: 6px 6px 0 0; | |
| 98 | + | |
| 99 | +@media screen and ( max-width: 1200px ) { | |
| 100 | + .pdfprnt_banner_accordion { | |
| 101 | + width: 100%; | |
| 102 | + height: auto; | |
| 103 | + } | |
| 71 | 104 | } |
| 72 | 105 | |
| 73 | -/* PDF-Print settings .form-table */ | |
| 74 | -.pdfprnt_explanation { | |
| 75 | - color: #888; | |
| 76 | - font-size: 10px; | |
| 77 | - display: block; | |
| 106 | +@media screen and ( max-width: 782px ) { | |
| 107 | + .pdfprnt-table-settings th { | |
| 108 | + width: auto; | |
| 109 | + } | |
| 78 | 110 | } |
| 79 | -.pdfprnt_settings_table td div { | |
| 80 | - float: left; | |
| 111 | + | |
| 112 | +@media screen and ( max-width: 520px ) { | |
| 113 | + .pdfprnt-col, | |
| 114 | + .pdfprnt-col-2 { | |
| 115 | + padding-left: 0; | |
| 116 | + padding-right: 0; | |
| 117 | + } | |
| 118 | + .pdfprnt-col-2 { | |
| 119 | + width: 100%; | |
| 120 | + } | |
| 121 | +} | |
| 122 | + | |
| 123 | +.pdfprnt-col-center { | |
| 81 | 124 | text-align: center; |
| 82 | - margin: 0 5px; | |
| 83 | 125 | } |
| 84 | -.pdfprnt_settings_table td div img { | |
| 85 | - border:1px solid #777; | |
| 86 | - display:block; | |
| 87 | - width: 80px; | |
| 88 | - height: 100px; | |
| 89 | -} | |
| 90 | -.pdfprnt_settings_table td { | |
| 91 | - vertical-align: top; | |
| 92 | - padding: 10px; | |
| 93 | -} | |
| 94 | -.pdfprnt_settings_table td select { | |
| 95 | - width: 190px; | |
| 96 | -} | |