settings.php
204 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Scanner default view |
| 4 | * |
| 5 | * @package Cookie_Law_Info_Cookie_Scaner |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | ?> |
| 12 | <style> |
| 13 | .wt-cli-admin-notice-wrapper { |
| 14 | display: flex; |
| 15 | justify-content: space-between; |
| 16 | padding: 5px 10px; |
| 17 | align-items: center; |
| 18 | flex-wrap:wrap; |
| 19 | } |
| 20 | .wt-cli-admin-notice-wrapper ul { |
| 21 | list-style: disc; |
| 22 | padding-left: 15px; |
| 23 | } |
| 24 | .wt-cli-notice-actions { |
| 25 | padding: 10px 0; |
| 26 | } |
| 27 | .wt-cli-cookie-scan-bar { |
| 28 | display: flex; |
| 29 | flex-wrap: wrap; |
| 30 | margin: 15px 0; |
| 31 | } |
| 32 | .wt-cli-ckyes-form-email-verify h4 { |
| 33 | font-size: 15px; |
| 34 | margin: 0 0 10px 0; |
| 35 | } |
| 36 | .wt-cli-ckyes-form-email-verify > div { |
| 37 | margin-top: 15px; |
| 38 | } |
| 39 | .wt-cli-ckyes-account-widget-container > span { |
| 40 | margin-right: 5px; |
| 41 | } |
| 42 | .wt-cli-ckyes-account-widget-container { |
| 43 | display: flex; |
| 44 | align-items:center; |
| 45 | } |
| 46 | span.wt-cli-ckyes-status-icon { |
| 47 | width: 15px; |
| 48 | height: 15px; |
| 49 | } |
| 50 | .wt-cli-cookie-scan-container .wt-cli-callout:before { |
| 51 | top: 30px; |
| 52 | left: 20px; |
| 53 | } |
| 54 | .wt-scan-status-info { |
| 55 | margin: 20px 0; |
| 56 | width:100%; |
| 57 | } |
| 58 | .wt-scan-status-info-item { |
| 59 | margin-bottom: 5px; |
| 60 | } |
| 61 | .wt-cli-cookie-scanner-actions { |
| 62 | width: 100%; |
| 63 | display: flex; |
| 64 | justify-content: flex-end; |
| 65 | margin-bottom:15px; |
| 66 | } |
| 67 | .wt-cli-cookie-scan-container { |
| 68 | width: 100%; |
| 69 | } |
| 70 | ul.wt-cli-cookie-scan-feature-list li { |
| 71 | list-style: none; |
| 72 | } |
| 73 | ul.wt-cli-cookie-scan-feature-list li:before { |
| 74 | content: '✓'; |
| 75 | margin-right: 10px; |
| 76 | color: #64b450; |
| 77 | font-weight:600; |
| 78 | } |
| 79 | .wt-cli-cookie-scan-features p { |
| 80 | font-weight: 600; |
| 81 | } |
| 82 | .wt-cli-scan-status-container { |
| 83 | width:100%; |
| 84 | } |
| 85 | .wt-cli-scan-status-container .spinner { |
| 86 | float: left; |
| 87 | background-size: 15px 15px; |
| 88 | width: 15px; |
| 89 | height: 15px; |
| 90 | margin-top: 2px; |
| 91 | margin-left: 0; |
| 92 | } |
| 93 | #wt-cli-ckyes-email-resend-link { |
| 94 | cursor: pointer; |
| 95 | } |
| 96 | #wt-cli-ckyes-modal-settings-preview { |
| 97 | width: 687px; |
| 98 | padding-top: 30px; |
| 99 | } |
| 100 | #wt-cli-ckyes-modal-settings-preview .wt-cli-modal-body { |
| 101 | text-align: center; |
| 102 | border: 1px solid #f1f1f1; |
| 103 | } |
| 104 | .wt-cli-cookie-scan-results-container { |
| 105 | background: #fff; |
| 106 | border-radius: 3px; |
| 107 | width:100%; |
| 108 | } |
| 109 | .wt-cli-scan-results-body { |
| 110 | padding: 15px; |
| 111 | } |
| 112 | .wt-cli-scan-result-header { |
| 113 | padding: 5px 15px; |
| 114 | border-bottom: 1px solid #efeeee; |
| 115 | } |
| 116 | ul.wt-cli-scan-result-summary-list { |
| 117 | display: flex; |
| 118 | } |
| 119 | .wt-cli-scan-result-summary-list li { |
| 120 | background-color: #eff7ed; |
| 121 | color: #000; |
| 122 | margin: 0px 15px 0px 0px; |
| 123 | padding: 5px 14px; |
| 124 | border-width: 2px; |
| 125 | border-style: solid; |
| 126 | border-color: transparent; |
| 127 | border-radius: 4px; |
| 128 | } |
| 129 | .wt-cli-scan-result-actions { |
| 130 | display: flex; |
| 131 | align-items: center; |
| 132 | justify-content: flex-end; |
| 133 | } |
| 134 | table.wt-cli-table td,table.wt-cli-table th { |
| 135 | font-size: 13px; |
| 136 | line-height: 1.5em; |
| 137 | } |
| 138 | table.wt-cli-table th { |
| 139 | font-size: 1.05em; |
| 140 | text-align: left; |
| 141 | padding: 15px 15px; |
| 142 | |
| 143 | } |
| 144 | table.wt-cli-table td { |
| 145 | border-top: 1px solid #E6E6E6; |
| 146 | padding: 15px 15px; |
| 147 | } |
| 148 | table.wt-cli-table { |
| 149 | border: 1px solid #E6E6E6; |
| 150 | border-spacing: 0; |
| 151 | width: 100%; |
| 152 | clear: both; |
| 153 | margin: 0; |
| 154 | |
| 155 | } |
| 156 | .wt-cli-cookie-scan-bar .wt-cli-callout.wt-cli-callout-success { |
| 157 | background: #fff; |
| 158 | border-radius: 3px; |
| 159 | } |
| 160 | .wt-cli-scan-result-summary { |
| 161 | justify-content: space-between; |
| 162 | display: flex; |
| 163 | } |
| 164 | .wt-cli-scan-result-import-section p { |
| 165 | font-weight: 500; |
| 166 | } |
| 167 | .wt-cli-scan-result-import-section { |
| 168 | display: flex; |
| 169 | align-items: center; |
| 170 | justify-content: space-between; |
| 171 | padding: 10px 0 15px 0; |
| 172 | } |
| 173 | .wt-cli-scan-result-actions .button-primary { |
| 174 | color: #0071a1; |
| 175 | border-color: #0071a1; |
| 176 | background: #f3f5f6; |
| 177 | } |
| 178 | .wt-cli-cookie-scan-notice { |
| 179 | width:100%; |
| 180 | } |
| 181 | .wt-cli-cookie-scan-features-section .wt-cli-callout.wt-cli-callout-success { |
| 182 | background: #eff7ed; |
| 183 | } |
| 184 | .wt-cli-inline-notice { |
| 185 | padding: 15px 0; |
| 186 | } |
| 187 | .wt-cli-inline-notice.wt-cli-inline-notice-error { |
| 188 | color: #ff0000; |
| 189 | } |
| 190 | .wt-cli-inline-notice.wt-cli-inline-notice-success { |
| 191 | color: #3e9429; |
| 192 | } |
| 193 | </style> |
| 194 | <div class="wrap"> |
| 195 | <?php include_once CLI_PLUGIN_PATH . 'admin/partials/wt-cli-update-banner.php'; ?> |
| 196 | <h2><?php echo esc_html__( 'Cookie scanner', 'cookie-law-info' ); ?></h2> |
| 197 | <?php do_action( 'wt_cli_before_cookie_scanner_header' ); ?> |
| 198 | <div class="wt-cli-cookie-scan-bar"> |
| 199 | <div class="wt-cli-cookie-scan-notice"> |
| 200 | <?php do_action( 'wt_cli_cookie_scanner_body' ); ?> |
| 201 | </div> |
| 202 | </div> |
| 203 | </div> |
| 204 |