diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css
index 567155e..1c527bf 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 | border: 1px solid #eee; |
| 1305 | border-left-width: 4px; |
| 1306 | border-radius: 3px; |
| 1307 | box-shadow: none; |
| 1308 | } |
| 1309 | |
| 1310 | .notice-large { |
| 1311 | padding: 10px 20px; |
| 1312 | } |
| 1313 | |
| 1314 | .notice-title { |
| 1315 | color: #23282d; |
| 1316 | font-size: 18px; |
| 1317 | display: inline-block; |
| 1318 | } |
| 1319 | |
1293 | 1320 | .wp-core-ui .notice.is-dismissible { |
1294 | 1321 | padding-right: 38px; |
1295 | 1322 | position: relative; |
… |
… |
div.error p, |
1333 | 1360 | |
1334 | 1361 | .notice-success, |
1335 | 1362 | div.updated { |
1336 | | border-color: #7ad03a; |
| 1363 | border-left-color: #64b450; |
| 1364 | } |
| 1365 | |
| 1366 | .notice-success.notice-alt { |
| 1367 | background-color: #eff7ed; |
1337 | 1368 | } |
1338 | 1369 | |
1339 | 1370 | .notice-warning { |
1340 | | border-color: #ffba00; |
| 1371 | border-left-color: #ffb900; |
| 1372 | } |
| 1373 | |
| 1374 | .notice-warning.notice-alt { |
| 1375 | background-color: #fff8e5; |
1341 | 1376 | } |
1342 | 1377 | |
1343 | 1378 | .notice-error, |
1344 | 1379 | div.error { |
1345 | | border-color: #dd3d36; |
| 1380 | border-left-color: #dc3232; |
| 1381 | } |
| 1382 | |
| 1383 | .notice-error.notice-alt { |
| 1384 | background-color: #fbeaea; |
1346 | 1385 | } |
1347 | 1386 | |
1348 | 1387 | .notice-info { |
1349 | | border-color: #00a0d2; |
| 1388 | border-left-color: #00a0d2; |
| 1389 | } |
| 1390 | |
| 1391 | .notice-info.notice-alt { |
| 1392 | background-color: #e5f5fa; |
1350 | 1393 | } |
1351 | 1394 | |
1352 | 1395 | .wrap .notice, |
… |
… |
img { |
2760 | 2803 | content: '\f140'; |
2761 | 2804 | } |
2762 | 2805 | |
2763 | | .error a { |
2764 | | text-decoration: underline; |
2765 | | } |
2766 | | |
2767 | | .updated a { |
2768 | | text-decoration: none; |
2769 | | padding-bottom: 2px; |
2770 | | } |
2771 | | |
2772 | 2806 | /* @todo: appears to be Press This only and overridden */ |
2773 | 2807 | #photo-add-url-div input[type="text"] { |
2774 | 2808 | 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 | <# } #> |