diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css index dead982f2f0..b01e4052111 100644 --- a/core/modules/system/css/system.admin.css +++ b/core/modules/system/css/system.admin.css @@ -188,24 +188,30 @@ small .admin-link:after { } /* Status report. */ -.system-status-report td { +.system-status-report__status-title { + position: relative; vertical-align: top; + width: 25%; + padding: 10px 6px 10px 40px; /* LTR */ + box-sizing: border-box; + font-weight: normal; } -.system-status-report__status-icon { - width: 16px; - padding-right: 0; /* LTR */ -} -[dir="rtl"] .system-status-report__status-icon { - padding-left: 0; - padding-right: 6px; +[dir="rtl"] .system-status-report__status-title { + padding: 10px 40px 10px 6px; } .system-status-report__status-icon:before { content: ""; background-repeat: no-repeat; height: 16px; width: 16px; - margin-top: 2px; display: block; + position: absolute; + left: 12px; /* LTR */ + top: 12px; +} +[dir="rtl"] .system-status-report__status-icon:before { + left: auto; + right: 12px; } .system-status-report__status-icon--error:before { background-image: url(../../../misc/icons/e32700/error.svg); @@ -213,9 +219,6 @@ small .admin-link:after { .system-status-report__status-icon--warning:before { background-image: url(../../../misc/icons/e29700/warning.svg); } -.system-status-report__status-title { - width: 25%; -} /** * Appearance page. diff --git a/core/modules/system/templates/status-report.html.twig b/core/modules/system/templates/status-report.html.twig index 6cdfaa8d137..b44e1811bc5 100644 --- a/core/modules/system/templates/status-report.html.twig +++ b/core/modules/system/templates/status-report.html.twig @@ -18,29 +18,23 @@ */ #} - - - - - - {% for requirement in requirements %} - {% if requirement.severity_status %} - - {% endif %} - - - - + + {% if requirement.severity_status in ['warning', 'error'] %} + + + {% endfor %}
{{ 'Status'|t }}{{ 'Component'|t }}{{ 'Details'|t }}
-
- {{ requirement.severity_title }} -
-
{{ requirement.title }} - {{ requirement.value }} - {% if requirement.description %} -
{{ requirement.description }}
- {% endif %} -
+ {{ requirement.severity_title }} + {% else %} + + {% endif %} + {{ requirement.title }} + + {{ requirement.value }} + {% if requirement.description %} +
{{ requirement.description }}
+ {% endif %} +