diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css
index 567155e..6f994e8 100644
|
a
|
b
|
div.error { |
| 1283 | 1283 | } |
| 1284 | 1284 | |
| 1285 | 1285 | .notice p, |
| | 1286 | .notice-title, |
| 1286 | 1287 | div.updated p, |
| 1287 | 1288 | div.error p, |
| 1288 | 1289 | .form-table td .notice p { |
| 1289 | | margin: 0.5em 0; |
| | 1290 | margin: .5em 0; |
| 1290 | 1291 | padding: 2px; |
| 1291 | 1292 | } |
| 1292 | 1293 | |
| | 1294 | .error a { |
| | 1295 | text-decoration: underline; |
| | 1296 | } |
| | 1297 | |
| | 1298 | .updated a { |
| | 1299 | text-decoration: none; |
| | 1300 | padding-bottom: 2px; |
| | 1301 | } |
| | 1302 | |
| | 1303 | .notice-alt { |
| | 1304 | box-shadow: none; |
| | 1305 | } |
| | 1306 | |
| | 1307 | .notice-large { |
| | 1308 | padding: 10px 20px; |
| | 1309 | } |
| | 1310 | |
| | 1311 | .notice-title { |
| | 1312 | color: #23282d; |
| | 1313 | font-size: 18px; |
| | 1314 | display: inline-block; |
| | 1315 | } |
| | 1316 | |
| 1293 | 1317 | .wp-core-ui .notice.is-dismissible { |
| 1294 | 1318 | padding-right: 38px; |
| 1295 | 1319 | position: relative; |
| … |
… |
div.error p, |
| 1333 | 1357 | |
| 1334 | 1358 | .notice-success, |
| 1335 | 1359 | div.updated { |
| 1336 | | border-color: #7ad03a; |
| | 1360 | border-left-color: #64b450; |
| | 1361 | } |
| | 1362 | |
| | 1363 | .notice-success.notice-alt { |
| | 1364 | background-color: #eff7ed; |
| 1337 | 1365 | } |
| 1338 | 1366 | |
| 1339 | 1367 | .notice-warning { |
| 1340 | | border-color: #ffba00; |
| | 1368 | border-left-color: #ffb900; |
| | 1369 | } |
| | 1370 | |
| | 1371 | .notice-warning.notice-alt { |
| | 1372 | background-color: #fff8e5; |
| 1341 | 1373 | } |
| 1342 | 1374 | |
| 1343 | 1375 | .notice-error, |
| 1344 | 1376 | div.error { |
| 1345 | | border-color: #dd3d36; |
| | 1377 | border-left-color: #dc3232; |
| | 1378 | } |
| | 1379 | |
| | 1380 | .notice-error.notice-alt { |
| | 1381 | background-color: #fbeaea; |
| 1346 | 1382 | } |
| 1347 | 1383 | |
| 1348 | 1384 | .notice-info { |
| 1349 | | border-color: #00a0d2; |
| | 1385 | border-left-color: #00a0d2; |
| | 1386 | } |
| | 1387 | |
| | 1388 | .notice-info.notice-alt { |
| | 1389 | background-color: #e5f5fa; |
| 1350 | 1390 | } |
| 1351 | 1391 | |
| 1352 | 1392 | .wrap .notice, |
| … |
… |
img { |
| 2760 | 2800 | content: '\f140'; |
| 2761 | 2801 | } |
| 2762 | 2802 | |
| 2763 | | .error a { |
| 2764 | | text-decoration: underline; |
| 2765 | | } |
| 2766 | | |
| 2767 | | .updated a { |
| 2768 | | text-decoration: none; |
| 2769 | | padding-bottom: 2px; |
| 2770 | | } |
| 2771 | | |
| 2772 | 2803 | /* @todo: appears to be Press This only and overridden */ |
| 2773 | 2804 | #photo-add-url-div input[type="text"] { |
| 2774 | 2805 | width: 300px; |
diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css
index 250b0a4..3f9cd46 100644
|
a
|
b
|
p { |
| 53 | 53 | line-height: 1.5; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | | .login .message { |
| | 56 | .login .message, |
| | 57 | .login #login_error { |
| 57 | 58 | border-left: 4px solid #00a0d2; |
| 58 | | padding: 1px 12px; |
| | 59 | padding: 12px; |
| | 60 | margin-left: 0; |
| 59 | 61 | background-color: #fff; |
| 60 | 62 | -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 61 | 63 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 62 | 64 | } |
| 63 | 65 | |
| 64 | 66 | .login #login_error { |
| 65 | | border-left: 4px solid #dd3d36; |
| 66 | | background: #fff; |
| 67 | | -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| 68 | | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); |
| | 67 | border-left-color: #dc3232; |
| 69 | 68 | } |
| 70 | 69 | |
| 71 | 70 | #loginform p.submit, |
| … |
… |
p { |
| 151 | 150 | margin: auto; |
| 152 | 151 | } |
| 153 | 152 | |
| 154 | | #login_error, |
| 155 | | .login .message { |
| 156 | | margin-left: 0; |
| 157 | | padding: 12px; |
| 158 | | } |
| 159 | | |
| 160 | 153 | .login #nav, |
| 161 | 154 | .login #backtoblog { |
| 162 | 155 | font-size: 13px; |
| … |
… |
p { |
| 214 | 207 | padding: 20px 0; |
| 215 | 208 | } |
| 216 | 209 | |
| 217 | | .mobile #login form, |
| 218 | | .mobile #login .message, |
| 219 | | .mobile #login_error { |
| | 210 | .mobile #login form { |
| 220 | 211 | margin-left: 0; |
| 221 | 212 | } |
| 222 | 213 | |
diff --git a/wp-admin/css/themes.css b/wp-admin/css/themes.css
index 1814884..8c9670d 100644
|
a
|
b
|
body.folded .theme-overlay .theme-wrap { |
| 788 | 788 | margin-right: 5px; |
| 789 | 789 | } |
| 790 | 790 | |
| 791 | | /* Theme Updates info */ |
| 792 | | .theme-overlay .theme-update-message { |
| 793 | | background: #fef7f1; |
| 794 | | border: 1px solid #eee; |
| 795 | | border-left: 4px solid #d54e21; |
| 796 | | -webkit-border-radius: 3px; |
| 797 | | border-radius: 3px; |
| 798 | | padding: 5px 20px 10px; |
| 799 | | } |
| 800 | | |
| 801 | | .theme-overlay .theme-update { |
| 802 | | color: #23282d; |
| 803 | | font-size: 18px; |
| 804 | | display: inline-block; |
| 805 | | line-height: 40px; |
| 806 | | margin: 0; |
| 807 | | } |
| 808 | | |
| 809 | 791 | .theme-overlay .parent-theme { |
| 810 | 792 | background: #f7fcfe; |
| 811 | 793 | border: 1px solid #eee; |
diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php
index b8cf32f..bbd2003 100644
|
a
|
b
|
function install_plugin_information() { |
| 530 | 530 | <div id="section-holder" class="wrap"> |
| 531 | 531 | <?php |
| 532 | 532 | if ( ! empty( $api->tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { |
| 533 | | 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>'; |
| | 533 | 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>'; |
| 534 | 534 | } elseif ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { |
| 535 | | 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>'; |
| | 535 | 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>'; |
| 536 | 536 | } |
| 537 | 537 | |
| 538 | 538 | foreach ( (array) $api->sections as $section_name => $content ) { |
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index 81e0d75..9d3f1d8 100644
|
a
|
b
|
$can_delete = current_user_can( 'delete_themes' ); |
| 382 | 382 | <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h4> |
| 383 | 383 | |
| 384 | 384 | <# if ( data.hasUpdate ) { #> |
| 385 | | <div class="theme-update-message"> |
| 386 | | <h4 class="theme-update"><?php _e( 'Update Available' ); ?></h4> |
| | 385 | <div class="notice notice-warning notice-alt notice-large"> |
| | 386 | <h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4> |
| 387 | 387 | {{{ data.update }}} |
| 388 | 388 | </div> |
| 389 | 389 | <# } #> |