diff --git a/core/themes/seven/css/components/system-status-counter.css b/core/themes/seven/css/components/system-status-counter.css index 6c28986..880d97b 100644 --- a/core/themes/seven/css/components/system-status-counter.css +++ b/core/themes/seven/css/components/system-status-counter.css @@ -34,12 +34,7 @@ height: 100%; display: block; } -.system-status-counter__status-icon:before { - margin-right: 10px; /* LTR */ -} -[dir="rtl"] .system-status-counter__status-icon:before { - margin-left: 10px; -} + .system-status-counter__status-icon--error:before { background-image: url(../../../stable/images/core/icons/e32700/error.svg); } diff --git a/core/themes/seven/css/components/system-status-report.css b/core/themes/seven/css/components/system-status-report.css index 809d044..36bde7a 100644 --- a/core/themes/seven/css/components/system-status-report.css +++ b/core/themes/seven/css/components/system-status-report.css @@ -86,6 +86,14 @@ .system-status-general-info__item:nth-child(5) { border-left: 1px solid #ccc; } + [dir="rtl"] .system-status-general-info__item:nth-child(1), + [dir="rtl"] .system-status-general-info__item:nth-child(3) { + border-left: 1px solid #ccc; + } + [dir="rtl"] .system-status-general-info__item:nth-child(2), + [dir="rtl"] .system-status-general-info__item:nth-child(5) { + border-left: 0; + } .system-status-general-info__run-cron { position: absolute; top: 1em; @@ -138,7 +146,7 @@ html:not(.details) .system-status-report__status-title { padding-right: 3em; padding-left: 0; } -html[dir="rtl"].details .system-status-report__status-title { +[dir="rtl"].details .system-status-report__status-title { padding: 1em 3em 1em 1em; } .collapse-processed > .system-status-report__status-title:before { @@ -147,6 +155,12 @@ html[dir="rtl"].details .system-status-report__status-title { .system-status-report__status-title::-webkit-details-marker { float: right; } +[dir="rtl"] .collapse-processed > .system-status-report__status-title:before { + float: left; +} +[dir="rtl"] .system-status-report__status-title::-webkit-details-marker { + float: left; +} .system-status-report summary:first-child ~ * { display: none; } @@ -188,8 +202,8 @@ html[dir="rtl"].details .system-status-report__status-title { padding: 0 1em 1em 3em; } [dir="rtl"] .system-status-report__entry__value { - padding-left: 3em; - padding-right: 1em; + padding-right: 3em; + padding-left: 1em; } @media screen and (max-width: 48em) { @@ -222,7 +236,7 @@ html[dir="rtl"].details .system-status-report__status-title { padding-top: 1em; } [dir="rtl"] .system-status-report__entry__value { - padding-left: 3em; - padding-right: 0; + padding-left: 0; + padding-right: 3em; } } diff --git a/core/themes/seven/js/responsive-details.js b/core/themes/seven/js/responsive-details.js index d1628da..6d1787b 100644 --- a/core/themes/seven/js/responsive-details.js +++ b/core/themes/seven/js/responsive-details.js @@ -1,6 +1,6 @@ /** * @file - * Responsive details elements. + * Provides responsive behaviors to HTML details elements. */ (function ($, Drupal) { @@ -8,7 +8,7 @@ 'use strict'; /** - * Attaches the responsive behavior to details elements. + * Initializes the responsive behaviors for details elements. * * @type {Drupal~behavior} *