summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-09-02 12:21:25 (GMT)
committerAlex Pott2015-09-02 12:22:25 (GMT)
commit5d896a2ebe13c7f4d9317c5f195e298495aaafcb (patch)
treed2d8e89399700af49a684df40191b52aa279bb82
parent42c9be9328e7c5998f4e22fe0ec2dcdee542ba3a (diff)
Issue #2334067 by mgifford, LewisNyman: error.svg doesn't have sufficient color contrast
-rw-r--r--core/misc/icons/e32700/error.svg (renamed from core/misc/icons/ea2800/error.svg)2
-rw-r--r--core/modules/dblog/css/dblog.module.css2
-rw-r--r--core/modules/filter/filter.api.php2
-rw-r--r--core/modules/filter/filter.module2
-rw-r--r--core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php2
-rw-r--r--core/modules/simpletest/src/Form/SimpletestResultsForm.php2
-rw-r--r--core/modules/system/css/components/form.theme.css2
-rw-r--r--core/modules/system/css/components/messages.theme.css2
-rw-r--r--core/modules/system/css/system.admin.css2
-rw-r--r--core/modules/update/update.report.inc2
10 files changed, 10 insertions, 10 deletions
diff --git a/core/misc/icons/ea2800/error.svg b/core/misc/icons/e32700/error.svg
index a715b96..151a1e6 100644
--- a/core/misc/icons/ea2800/error.svg
+++ b/core/misc/icons/e32700/error.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#ea2800"><path d="M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z"/></svg> \ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#e32700"><path d="M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z"/></svg>
diff --git a/core/modules/dblog/css/dblog.module.css b/core/modules/dblog/css/dblog.module.css
index d1820f8..e844e14 100644
--- a/core/modules/dblog/css/dblog.module.css
+++ b/core/modules/dblog/css/dblog.module.css
@@ -33,5 +33,5 @@
.admin-dblog .dblog-critical .icon,
.admin-dblog .dblog-alert .icon,
.admin-dblog .dblog-emergency .icon {
- background-image: url(../../../misc/icons/ea2800/error.svg);
+ background-image: url(../../../misc/icons/e32700/error.svg);
}
diff --git a/core/modules/filter/filter.api.php b/core/modules/filter/filter.api.php
index 49351cb..a2ba9b0 100644
--- a/core/modules/filter/filter.api.php
+++ b/core/modules/filter/filter.api.php
@@ -35,7 +35,7 @@ function hook_filter_info_alter(&$info) {
*/
function hook_filter_secure_image_alter(&$image) {
// Turn an invalid image into an error indicator.
- $image->setAttribute('src', base_path() . 'core/misc/icons/ea2800/error.svg');
+ $image->setAttribute('src', base_path() . 'core/misc/icons/e32700/error.svg');
$image->setAttribute('alt', t('Image removed.'));
$image->setAttribute('title', t('This image has been removed. For security reasons, only images from the local domain are allowed.'));
diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module
index aa6d16c..6188006 100644
--- a/core/modules/filter/filter.module
+++ b/core/modules/filter/filter.module
@@ -834,7 +834,7 @@ function _filter_html_image_secure_process($text) {
*/
function filter_filter_secure_image_alter(&$image) {
// Turn an invalid image into an error indicator.
- $image->setAttribute('src', base_path() . 'core/misc/icons/ea2800/error.svg');
+ $image->setAttribute('src', base_path() . 'core/misc/icons/e32700/error.svg');
$image->setAttribute('alt', t('Image removed.'));
$image->setAttribute('title', t('This image has been removed. For security reasons, only images from the local domain are allowed.'));
$image->setAttribute('height', '16');
diff --git a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
index db8f9f8..e320af3 100644
--- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
+++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php
@@ -89,7 +89,7 @@ class FilterHtmlImageSecureTest extends WebTestBase {
$csrf_path = $public_files_path . '/' . implode('/', array_fill(0, substr_count($public_files_path, '/') + 1, '..'));
$druplicon = 'core/misc/druplicon.png';
- $red_x_image = base_path() . 'core/misc/icons/ea2800/error.svg';
+ $red_x_image = base_path() . 'core/misc/icons/e32700/error.svg';
$alt_text = t('Image removed.');
$title_text = t('This image has been removed. For security reasons, only images from the local domain are allowed.');
diff --git a/core/modules/simpletest/src/Form/SimpletestResultsForm.php b/core/modules/simpletest/src/Form/SimpletestResultsForm.php
index 49c086c..58e9d2c 100644
--- a/core/modules/simpletest/src/Form/SimpletestResultsForm.php
+++ b/core/modules/simpletest/src/Form/SimpletestResultsForm.php
@@ -74,7 +74,7 @@ class SimpletestResultsForm extends FormBase {
);
$image_fail = array(
'#theme' => 'image',
- '#uri' => 'core/misc/icons/ea2800/error.svg',
+ '#uri' => 'core/misc/icons/e32700/error.svg',
'#width' => 18,
'#height' => 18,
'#alt' => 'Fail',
diff --git a/core/modules/system/css/components/form.theme.css b/core/modules/system/css/components/form.theme.css
index c548900..7ec4566 100644
--- a/core/modules/system/css/components/form.theme.css
+++ b/core/modules/system/css/components/form.theme.css
@@ -93,6 +93,6 @@ abbr.ajax-changed {
height: 14px;
width: 14px;
vertical-align: sub;
- background: url(../../../../misc/icons/ea2800/error.svg) no-repeat;
+ background: url(../../../../misc/icons/e32700/error.svg) no-repeat;
background-size: contain;
}
diff --git a/core/modules/system/css/components/messages.theme.css b/core/modules/system/css/components/messages.theme.css
index 80e2c41..6083f08 100644
--- a/core/modules/system/css/components/messages.theme.css
+++ b/core/modules/system/css/components/messages.theme.css
@@ -59,7 +59,7 @@
.messages--error {
background-color: #fcf4f2;
color: #a51b00;
- background-image: url(../../../../misc/icons/ea2800/error.svg);
+ background-image: url(../../../../misc/icons/e32700/error.svg);
border-color: #f9c9bf #f9c9bf #f9c9bf transparent; /* LTR */
box-shadow: -8px 0 0 #e62600; /* LTR */
}
diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css
index 1dd5da9..dead982 100644
--- a/core/modules/system/css/system.admin.css
+++ b/core/modules/system/css/system.admin.css
@@ -208,7 +208,7 @@ small .admin-link:after {
display: block;
}
.system-status-report__status-icon--error:before {
- background-image: url(../../../misc/icons/ea2800/error.svg);
+ background-image: url(../../../misc/icons/e32700/error.svg);
}
.system-status-report__status-icon--warning:before {
background-image: url(../../../misc/icons/e29700/warning.svg);
diff --git a/core/modules/update/update.report.inc b/core/modules/update/update.report.inc
index 8135003..c3670f4 100644
--- a/core/modules/update/update.report.inc
+++ b/core/modules/update/update.report.inc
@@ -274,7 +274,7 @@ function template_preprocess_update_project_status(&$variables) {
case UPDATE_NOT_SECURE:
case UPDATE_REVOKED:
case UPDATE_NOT_SUPPORTED:
- $uri = 'core/misc/icons/ea2800/error.svg';
+ $uri = 'core/misc/icons/e32700/error.svg';
$text = t('Error');
break;
case UPDATE_NOT_CHECKED: