| @@ -1,8 +1,78 @@ | ||
| 1 | +#adminmenu #toplevel_page_bws_plugins div.wp-menu-image, | |
| 2 | +.admin-color-classic #adminmenu #toplevel_page_bws_plugins div.wp-menu-image, | |
| 3 | +#adminmenu #toplevel_page_bws_plugins:hover div.wp-menu-image, | |
| 4 | +#adminmenu #toplevel_page_bws_plugins.wp-has-current-submenu div.wp-menu-image { | |
| 5 | + background: url("../images/icon_16_single.png") no-repeat scroll center center transparent; | |
| 6 | +} | |
| 7 | +#adminmenu #toplevel_page_bws_plugins.wp-not-current-submenu div.wp-menu-image { | |
| 8 | + opacity: 0.7; | |
| 9 | +} | |
| 10 | +#toplevel_page_bws_plugins .wp-submenu .wp-first-item { | |
| 11 | + display: none; | |
| 12 | +} | |
| 13 | +/* | |
| 14 | +* Tab GO PRO | |
| 15 | +*/ | |
| 16 | +.bws_go_pro_tab { | |
| 17 | + background-color: #2A95C5; | |
| 18 | + border-color: #11688F; | |
| 19 | + color: #FFFFFF; | |
| 20 | + font-weight: normal; | |
| 21 | + text-shadow: none; | |
| 22 | +} | |
| 23 | +.bws_go_pro_tab:hover { | |
| 24 | + background-color: #2080AB; | |
| 25 | + color: #FFFFFF; | |
| 26 | + border-color: #11688F; | |
| 27 | +} | |
| 28 | +.bws_go_pro_tab.nav-tab-active { | |
| 29 | + background: none repeat scroll 0 0 rgba(0, 0, 0, 0); | |
| 30 | + border-color: #CCCCCC #CCCCCC #F1F1F1; | |
| 31 | + color: #000000; | |
| 32 | +} | |
| 33 | +/* | |
| 34 | +* styles for rate-support div on the settings page | |
| 35 | +*/ | |
| 36 | +.bws-plugin-reviews { | |
| 37 | + background: none repeat scroll 0 0 #BEE1F1; | |
| 38 | + border: 1px solid #70A8C2; | |
| 39 | + border-radius: 3px; | |
| 40 | + max-width: 700px; | |
| 41 | +} | |
| 42 | +.bws-plugin-reviews-rate { | |
| 43 | + padding: 10px; | |
| 44 | + border-bottom: 1px dashed #70A8C2; | |
| 45 | +} | |
| 46 | +.bws-plugin-reviews-support { | |
| 47 | + padding: 10px; | |
| 48 | +} | |
| 49 | +/* | |
| 50 | +* styles for pro_version settings, banner and tooltip | |
| 51 | +*/ | |
| 52 | +table.bws_pro_version { | |
| 53 | + background: #E0E0E0; | |
| 54 | + border: 1px solid #AAA; | |
| 55 | + margin-bottom: 5px; | |
| 56 | + width: auto !important; | |
| 57 | + float: left; | |
| 58 | +} | |
| 59 | +table.bws_pro_version th, | |
| 60 | +table.bws_pro_version td { | |
| 61 | + color: #555; | |
| 62 | + padding-left: 10px; | |
| 63 | +} | |
| 64 | +.bws_pro_version_tooltip { | |
| 65 | + background: #FFF; | |
| 66 | + border: 1px solid #AAA; | |
| 67 | +} | |
| 68 | +.form-table.bws_pro_version .bws_pro_version_tooltip th { | |
| 69 | + font-weight: normal; | |
| 70 | + padding-bottom: 10px; | |
| 71 | +} | |
| 1 | 72 | /* PDF-Print settings */ |
| 2 | 73 | .pdfprnt-top-left, |
| 3 | 74 | .pdfprnt-bottom-left, |
| 4 | -.pdfprnt-top-bottom-left, | |
| 5 | 75 | .pdfprnt-left { |
| 6 | 76 | text-align: left; |
| 7 | 77 | padding: 5px; |
| 8 | 78 | } |
| @@ -7,48 +77,20 @@ | ||
| 7 | 77 | padding: 5px; |
| 8 | 78 | } |
| 9 | 79 | .pdfprnt-top-right, |
| 10 | 80 | .pdfprnt-bottom-right, |
| 11 | -.pdfprnt-top-bottom-right, | |
| 12 | 81 | .pdfprnt-right { |
| 13 | 82 | text-align: right; |
| 14 | 83 | padding: 5px; |
| 15 | 84 | } |
| 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; | |
| 27 | -} | |
| 28 | 85 | .pdfprnt-top-left a, |
| 29 | 86 | .pdfprnt-bottom-left a, |
| 30 | 87 | .pdfprnt-top-right a, |
| 31 | 88 | .pdfprnt-bottom-right a, |
| 32 | -.pdfprnt-top-bottom-right a, | |
| 33 | -.pdfprnt-top-bottom-left a, | |
| 34 | 89 | .pdfprnt-left a, |
| 35 | 90 | .pdfprnt-right a { |
| 36 | 91 | padding: 0 5px; |
| 37 | - box-shadow: none !important; | |
| 38 | - border: none !important; | |
| 39 | - outline: none !important; | |
| 40 | 92 | } |
| 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 | 93 | #wp-admin-bar-pdfprnt-bar-menu-default li { |
| 52 | 94 | cursor: pointer; |
| 53 | 95 | } |
| 54 | 96 | #wp-admin-bar-pdfprnt-bar-menu-default li:hover { |
| @@ -59,9 +101,9 @@ | ||
| 59 | 101 | padding: 8px 0; |
| 60 | 102 | text-align: center; |
| 61 | 103 | } |
| 62 | 104 | #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; | |
| 105 | + background: url("../images/icon_16_single.png") no-repeat scroll center center transparent; | |
| 64 | 106 | float: left; |
| 65 | 107 | position: relative; |
| 66 | 108 | width: 16px; |
| 67 | 109 | height: 16px; |
| @@ -72,9 +114,14 @@ | ||
| 72 | 114 | /* PDF-Print settings .form-table */ |
| 73 | 115 | #pdfprnt_settings_form th { |
| 74 | 116 | padding: 10px; |
| 75 | 117 | } |
| 76 | -.pdfprnt_settings_table td div:not(div[class*="CodeMirror"]) { | |
| 118 | +.pdfprnt_explanation { | |
| 119 | + color: #888; | |
| 120 | + font-size: 10px; | |
| 121 | + display: block; | |
| 122 | +} | |
| 123 | +.pdfprnt_settings_table td div { | |
| 77 | 124 | float: left; |
| 78 | 125 | text-align: center; |
| 79 | 126 | margin: 0 5px; |
| 80 | 127 | } |
| @@ -90,86 +137,60 @@ | ||
| 90 | 137 | } |
| 91 | 138 | .pdfprnt_settings_table td select { |
| 92 | 139 | min-width: 210px; |
| 93 | 140 | } |
| 94 | -.rtl #pdfprnt_custom_styles { | |
| 95 | - direction: ltr; | |
| 96 | -} | |
| 97 | -.pdfprnt_buttons { | |
| 98 | - width: auto !important; | |
| 99 | -} | |
| 100 | -.pdfprnt_label { | |
| 101 | - display: none; | |
| 102 | -} | |
| 103 | -.pdfprnt_loader { | |
| 104 | - position: absolute; | |
| 105 | - display: none; | |
| 106 | -} | |
| 107 | 141 | /* |
| 108 | - * css highlighter | |
| 142 | +* styles for banner | |
| 109 | 143 | */ |
| 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; | |
| 144 | +.bws_banner_on_plugin_page { | |
| 145 | + border: 1px solid #d4d4d4; | |
| 146 | + margin: 12px 0; | |
| 147 | + background: #FFF; | |
| 148 | + position: relative; | |
| 149 | + overflow: hidden | |
| 118 | 150 | } |
| 119 | -.pdfprnt_custom_styles .CodeMirror-hscrollbar { | |
| 120 | - left: 0 !important; | |
| 151 | +.bws_banner_on_plugin_page .text { | |
| 152 | + color: #000; | |
| 153 | + font-size: 15px; | |
| 154 | + line-height: 26px; | |
| 155 | + margin: 18px 18px 14px; | |
| 156 | + float: left; | |
| 157 | + width: 80%; | |
| 121 | 158 | } |
| 122 | -.pdfprnt_custom_styles .CodeMirror-sizer { | |
| 123 | - border-right: none; | |
| 159 | +.bws_banner_on_plugin_page .text span { | |
| 160 | + font-size: 12px; | |
| 161 | + opacity: 0.7; | |
| 124 | 162 | } |
| 125 | -.pdfprnt_pro_block .bws_pro_version_tooltip { | |
| 126 | - display: inline-block; | |
| 127 | - width: 100%; | |
| 128 | - box-sizing: border-box; | |
| 129 | - top: 5px; | |
| 163 | +.bws_banner_on_plugin_page .button { | |
| 164 | + float: left; | |
| 165 | + border: none; | |
| 166 | + font-size: 14px; | |
| 167 | + margin: 18px 0 18px 16px; | |
| 168 | + padding: 12px 0; | |
| 169 | + color: #FFF; | |
| 170 | + text-shadow: none; | |
| 171 | + font-weight: bold; | |
| 172 | + background: #0074A2; | |
| 173 | + -moz-border-radius: 3px; | |
| 174 | + border-radius: 3px; | |
| 175 | + -webkit-border-radius: 3px; | |
| 176 | + text-decoration: none; | |
| 177 | + height: 50px; | |
| 178 | + text-align: center; | |
| 179 | + text-transform: uppercase; | |
| 180 | + width: 147px; | |
| 181 | + box-shadow: none; | |
| 130 | 182 | } |
| 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; | |
| 183 | +.bws_banner_on_plugin_page .button:hover, | |
| 184 | +.bws_banner_on_plugin_page .button:focus { | |
| 185 | + background: #222; | |
| 186 | + color: #FFF; | |
| 134 | 187 | } |
| 135 | - | |
| 136 | -.pdfprnt_templates_block .bws_table_bg, | |
| 137 | -.pdfprnt_templates_new_block .bws_table_bg { | |
| 138 | - top: 0; | |
| 139 | - left: 0; | |
| 188 | +.bws_banner_on_plugin_page .icon { | |
| 189 | + float: right; | |
| 190 | + margin: 18px 8px 8px 0; | |
| 140 | 191 | } |
| 141 | -@media only screen and ( max-width: 785px ) { | |
| 142 | - .pdfprnt_label { | |
| 143 | - display: inline; | |
| 144 | - } | |
| 145 | - .pdfprnt_position_button .pdfprnt_label { | |
| 146 | - display: block; | |
| 147 | - } | |
| 148 | - .pdfprnt_table_head { | |
| 149 | - display: none; | |
| 150 | - } | |
| 151 | - .pdfprnt_templates_block p.search-box { | |
| 152 | - position: static; | |
| 153 | - clear: both | |
| 154 | - } | |
| 155 | -} | |
| 156 | - | |
| 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; | |
| 164 | - } | |
| 165 | - .pdfprnt_templates_block .tablenav.bottom .displaying-num { | |
| 166 | - display: none; | |
| 167 | - } | |
| 168 | -} | |
| 169 | - | |
| 170 | -@media only screen and ( max-width: 300px ) { | |
| 171 | - .pdfprnt_add_new_button { | |
| 172 | - display: inline-block; | |
| 173 | - margin-top: 10px; | |
| 174 | - } | |
| 175 | -} | |
| 192 | +.bws_banner_on_plugin_page .close_icon { | |
| 193 | + float: right; | |
| 194 | + margin: 8px; | |
| 195 | + cursor: pointer; | |
| 196 | +} | |