diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index ab402812d7..9d9d2cf40d 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -1296,6 +1296,7 @@ div.error { } .notice p, +.notice-title, div.updated p, div.error p, .form-table td .notice p { @@ -1303,6 +1304,29 @@ div.error p, padding: 2px; } +.error a { + text-decoration: underline; +} + +.updated a { + padding-bottom: 2px; + text-decoration: none; +} + +.notice-alt { + box-shadow: none; +} + +.notice-large { + padding: 10px 20px; +} + +.notice-title { + display: inline-block; + color: #23282d; + font-size: 18px; +} + .wp-core-ui .notice.is-dismissible { padding-right: 38px; position: relative; @@ -1338,20 +1362,36 @@ div.error p, .notice-success, div.updated { - border-color: #7ad03a; + border-left-color: #46b450; +} + +.notice-success.notice-alt { + background-color: #ecf7ed; } .notice-warning { - border-color: #ffba00; + border-left-color: #ffb900; +} + +.notice-warning.notice-alt { + background-color: #fff8e5; } .notice-error, div.error { - border-color: #dd3d36; + border-left-color: #dc3232; +} + +.notice-error.notice-alt { + background-color: #fbeaea; } .notice-info { - border-color: #00a0d2; + border-left-color: #00a0d2; +} + +.notice-info.notice-alt { + background-color: #e5f5fa; } .wrap .notice, @@ -2758,15 +2798,6 @@ img { content: "\f140"; } -.error a { - text-decoration: underline; -} - -.updated a { - text-decoration: none; - padding-bottom: 2px; -} - /* @todo: appears to be Press This only and overridden */ #photo-add-url-div input[type="text"] { width: 300px; diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 6c6e962636..750921bb4e 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -58,19 +58,18 @@ p { line-height: 1.5; } -.login .message { +.login .message, +.login #login_error { border-left: 4px solid #00a0d2; - padding: 1px 12px; + padding: 12px; + margin-left: 0; background-color: #fff; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); } .login #login_error { - border-left: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + border-left-color: #dc3232; } #loginform p.submit, @@ -156,12 +155,6 @@ p { margin: auto; } -#login_error, -.login .message { - margin-left: 0; - padding: 12px; -} - .login #nav, .login #backtoblog { font-size: 13px; @@ -231,9 +224,7 @@ p { padding: 20px 0; } -.mobile #login form, -.mobile #login .message, -.mobile #login_error { +.mobile #login form { margin-left: 0; } diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 2b802aaed7..365743926d 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -786,24 +786,6 @@ body.folded .theme-overlay .theme-wrap { margin-right: 5px; } -/* Theme Updates info */ -.theme-overlay .theme-update-message { - background: #fef7f1; - border: 1px solid #eee; - border-left: 4px solid #d54e21; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px 20px 10px; -} - -.theme-overlay .theme-update { - color: #23282d; - font-size: 18px; - display: inline-block; - line-height: 40px; - margin: 0; -} - .theme-overlay .parent-theme { background: #f7fcfe; border: 1px solid #eee; diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index a37945c999..6c06e604aa 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -541,9 +541,9 @@ function install_plugin_information() {
tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { - echo '

' . __('Warning: This plugin has not been tested with your current version of WordPress.') . '

'; + echo '

' . __( 'Warning: This plugin has not been tested with your current version of WordPress.' ) . '

'; } elseif ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { - echo '

' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '

'; + echo '

' . __( 'Warning: This plugin has not been marked as compatible with your version of WordPress.' ) . '

'; } foreach ( (array) $api->sections as $section_name => $content ) { diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index cee26b626c..c86dccba63 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -407,8 +407,8 @@ $can_delete = current_user_can( 'delete_themes' );

<# if ( data.hasUpdate ) { #> -
-

+
+

{{{ data.update }}}
<# } #>