diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css
index 406aa8d..07a12f8 100644
|
a
|
b
|
div.error { |
| 1296 | 1296 | } |
| 1297 | 1297 | |
| 1298 | 1298 | .notice p, |
| | 1299 | .notice-title, |
| 1299 | 1300 | div.updated p, |
| 1300 | 1301 | div.error p, |
| 1301 | 1302 | .form-table td .notice p { |
| 1302 | | margin: 0.5em 0; |
| | 1303 | margin: .5em 0; |
| 1303 | 1304 | padding: 2px; |
| 1304 | 1305 | } |
| 1305 | 1306 | |
| | 1307 | .error a { |
| | 1308 | text-decoration: underline; |
| | 1309 | } |
| | 1310 | |
| | 1311 | .updated a { |
| | 1312 | text-decoration: none; |
| | 1313 | padding-bottom: 2px; |
| | 1314 | } |
| | 1315 | |
| | 1316 | .notice-alt { |
| | 1317 | box-shadow: none; |
| | 1318 | } |
| | 1319 | |
| | 1320 | .notice-large { |
| | 1321 | padding: 10px 20px; |
| | 1322 | } |
| | 1323 | |
| | 1324 | .notice-title { |
| | 1325 | color: #23282d; |
| | 1326 | font-size: 18px; |
| | 1327 | display: inline-block; |
| | 1328 | } |
| | 1329 | |
| 1306 | 1330 | .wp-core-ui .notice.is-dismissible { |
| 1307 | 1331 | padding-right: 38px; |
| 1308 | 1332 | position: relative; |
| … |
… |
div.error p, |
| 1338 | 1362 | |
| 1339 | 1363 | .notice-success, |
| 1340 | 1364 | div.updated { |
| 1341 | | border-color: #7ad03a; |
| | 1365 | border-left-color: #46b450; |
| | 1366 | } |
| | 1367 | |
| | 1368 | .notice-success.notice-alt { |
| | 1369 | background-color: #ecf7ed; |
| 1342 | 1370 | } |
| 1343 | 1371 | |
| 1344 | 1372 | .notice-warning { |
| 1345 | | border-color: #ffba00; |
| | 1373 | border-left-color: #ffb900; |
| | 1374 | } |
| | 1375 | |
| | 1376 | .notice-warning.notice-alt { |
| | 1377 | background-color: #fff8e5; |
| 1346 | 1378 | } |
| 1347 | 1379 | |
| 1348 | 1380 | .notice-error, |
| 1349 | 1381 | div.error { |
| 1350 | | border-color: #dd3d36; |
| | 1382 | border-left-color: #dc3232; |
| | 1383 | } |
| | 1384 | |
| | 1385 | .notice-error.notice-alt { |
| | 1386 | background-color: #fbeaea; |
| 1351 | 1387 | } |
| 1352 | 1388 | |
| 1353 | 1389 | .notice-info { |
| 1354 | | border-color: #00a0d2; |
| | 1390 | border-left-color: #00a0d2; |
| | 1391 | } |
| | 1392 | |
| | 1393 | .notice-info.notice-alt { |
| | 1394 | background-color: #e5f5fa; |
| 1355 | 1395 | } |
| 1356 | 1396 | |
| 1357 | 1397 | .wrap .notice, |
| … |
… |
img { |
| 2758 | 2798 | content: '\f140'; |
| 2759 | 2799 | } |
| 2760 | 2800 | |
| 2761 | | .error a { |
| 2762 | | text-decoration: underline; |
| 2763 | | } |
| 2764 | | |
| 2765 | | .updated a { |
| 2766 | | text-decoration: none; |
| 2767 | | padding-bottom: 2px; |
| 2768 | | } |
| 2769 | | |
| 2770 | 2801 | /* @todo: appears to be Press This only and overridden */ |
| 2771 | 2802 | #photo-add-url-div input[type="text"] { |
| 2772 | 2803 | width: 300px; |
diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css
index dce0701..4194fd1 100644
|
a
|
b
|
p { |
| 58 | 58 | line-height: 1.5; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | | .login .message { |
| | 61 | .login .message, |
| | 62 | .login #login_error { |
| 62 | 63 | border-left: 4px solid #00a0d2; |
| 63 | | padding: 1px 12px; |
| | 64 | padding: 12px; |
| | 65 | margin-left: 0; |
| 64 | 66 | background-color: #fff; |
| 65 | 67 | -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 66 | 68 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 67 | 69 | } |
| 68 | 70 | |
| 69 | 71 | .login #login_error { |
| 70 | | border-left: 4px solid #dd3d36; |
| 71 | | background: #fff; |
| 72 | | -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 73 | | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| | 72 | border-left-color: #dc3232; |
| 74 | 73 | } |
| 75 | 74 | |
| 76 | 75 | #loginform p.submit, |
| … |
… |
p { |
| 156 | 155 | margin: auto; |
| 157 | 156 | } |
| 158 | 157 | |
| 159 | | #login_error, |
| 160 | | .login .message { |
| 161 | | margin-left: 0; |
| 162 | | padding: 12px; |
| 163 | | } |
| 164 | | |
| 165 | 158 | .login #nav, |
| 166 | 159 | .login #backtoblog { |
| 167 | 160 | font-size: 13px; |
| … |
… |
p { |
| 231 | 224 | padding: 20px 0; |
| 232 | 225 | } |
| 233 | 226 | |
| 234 | | .mobile #login form, |
| 235 | | .mobile #login .message, |
| 236 | | .mobile #login_error { |
| | 227 | .mobile #login form { |
| 237 | 228 | margin-left: 0; |
| 238 | 229 | } |
| 239 | 230 | |
diff --git a/wp-admin/css/themes.css b/wp-admin/css/themes.css
index a5f0085..2337b3f 100644
|
a
|
b
|
body.folded .theme-overlay .theme-wrap { |
| 786 | 786 | margin-right: 5px; |
| 787 | 787 | } |
| 788 | 788 | |
| 789 | | /* Theme Updates info */ |
| 790 | | .theme-overlay .theme-update-message { |
| 791 | | background: #fef7f1; |
| 792 | | border: 1px solid #eee; |
| 793 | | border-left: 4px solid #d54e21; |
| 794 | | -webkit-border-radius: 3px; |
| 795 | | border-radius: 3px; |
| 796 | | padding: 5px 20px 10px; |
| 797 | | } |
| 798 | | |
| 799 | | .theme-overlay .theme-update { |
| 800 | | color: #23282d; |
| 801 | | font-size: 18px; |
| 802 | | display: inline-block; |
| 803 | | line-height: 40px; |
| 804 | | margin: 0; |
| 805 | | } |
| 806 | | |
| 807 | 789 | .theme-overlay .parent-theme { |
| 808 | 790 | background: #f7fcfe; |
| 809 | 791 | border: 1px solid #eee; |
diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php
index a37945c..171f769 100644
|
a
|
b
|
function install_plugin_information() { |
| 541 | 541 | <div id="section-holder" class="wrap"> |
| 542 | 542 | <?php |
| 543 | 543 | if ( ! empty( $api->tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { |
| 544 | | echo '<div class="notice notice-warning"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been tested</strong> with your current version of WordPress.') . '</p></div>'; |
| | 544 | echo '<div class="notice notice-warning notice-alt"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been tested</strong> with your current version of WordPress.') . '</p></div>'; |
| 545 | 545 | } elseif ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { |
| 546 | | echo '<div class="notice notice-warning"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been marked as compatible</strong> with your version of WordPress.') . '</p></div>'; |
| | 546 | echo '<div class="notice notice-warning notice-alt"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been marked as compatible</strong> with your version of WordPress.') . '</p></div>'; |
| 547 | 547 | } |
| 548 | 548 | |
| 549 | 549 | foreach ( (array) $api->sections as $section_name => $content ) { |
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index 9236b46..a326451 100644
|
a
|
b
|
$can_delete = current_user_can( 'delete_themes' ); |
| 407 | 407 | <h3 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h3> |
| 408 | 408 | |
| 409 | 409 | <# if ( data.hasUpdate ) { #> |
| 410 | | <div class="theme-update-message"> |
| 411 | | <h4 class="theme-update"><?php _e( 'Update Available' ); ?></h4> |
| | 410 | <div class="notice notice-warning notice-alt notice-large"> |
| | 411 | <h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4> |
| 412 | 412 | {{{ data.update }}} |
| 413 | 413 | </div> |
| 414 | 414 | <# } #> |