diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css index add899d178a38b22969ff93c67b51d47d829ac8f..f4445e244ed42d76d2c8d72c34acbf5dcafc5b27 100644 --- a/core/modules/system/css/system.admin.css +++ b/core/modules/system/css/system.admin.css @@ -211,10 +211,10 @@ small .admin-link:after { width: 16px; margin-top: 2px; } -.system-status-report .error .status-icon div { +.system-status-report .status-icon--error div { background-image: url(../../../misc/icons/ea2800/error.svg); } -.system-status-report .warning .status-icon div { +.system-status-report .status-icon--warning div { background-image: url(../../../misc/icons/e29700/warning.svg); } .system-status-report .status-title { diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index 9e54c613906cb25840a73ca4c8c7d937a67818f2..c35796a81bb5a242abdbf771052c19e77624ce6f 100644 --- a/core/modules/system/css/system.theme.css +++ b/core/modules/system/css/system.theme.css @@ -529,8 +529,10 @@ ul.tabs { margin-top: 0.769em; } -/* @TODO Separate tables and messages styling */ +/* See .color-success in Seven's colors.css */ .messages--status { + color: #325e1c; + background-color: #f3faef; border-color: #c9e1bd #c9e1bd #c9e1bd transparent; /* LTR */ background-image: url(../../../misc/icons/73b355/check.svg); box-shadow: -8px 0 0 #77b259; /* LTR */ @@ -540,33 +542,24 @@ ul.tabs { box-shadow: 8px 0 0 #77b259; margin-left: 0; } -.messages--status { - color: #325e1c; -} -.messages--status { - background-color: #f3faef; -} +/* See .color-warning in Seven's colors.css */ .messages--warning { + background-color: #fdf8ed; background-image: url(../../../misc/icons/e29700/warning.svg); border-color: #f4daa6 #f4daa6 #f4daa6 transparent; /* LTR */ + color: #734c00; box-shadow: -8px 0 0 #e09600; /* LTR */ } [dir="rtl"] .messages--warning { border-color: #f4daa6 transparent #f4daa6 #f4daa6; box-shadow: 8px 0 0 #e09600; } -.messages--warning, -.warning { - color: #734c00; -} -.messages--warning, -table tr.warning, -table tr.warning:hover { - background-color: #fdf8ed; -} +/* See .color-error in Seven's colors.css */ .messages--error { + background-color: #fcf4f2; + color: #a51b00; background-image: url(../../../misc/icons/ea2800/error.svg); border-color: #f9c9bf #f9c9bf #f9c9bf transparent; /* LTR */ box-shadow: -8px 0 0 #e62600; /* LTR */ @@ -575,15 +568,6 @@ table tr.warning:hover { border-color: #f9c9bf transparent #f9c9bf #f9c9bf; box-shadow: 8px 0 0 #e62600; } -.messages--error, -.error { - color: #a51b00; -} -.messages--error, -table tr.error, -table tr.error:hover { - background-color: #fcf4f2; -} .messages--error p.error { color: #a51b00; } diff --git a/core/modules/system/templates/status-report.html.twig b/core/modules/system/templates/status-report.html.twig index 89f12d4172ef8d36b767e260be8fae9aa67611e7..10622d12c6d367f8a524b339539dd573ec808278 100644 --- a/core/modules/system/templates/status-report.html.twig +++ b/core/modules/system/templates/status-report.html.twig @@ -25,20 +25,24 @@
{% for requirement in requirements %} -