diff --git a/core/themes/seven/css/components/system-status-report.css b/core/themes/seven/css/components/system-status-report.css index c5f209e..d5b492f 100644 --- a/core/themes/seven/css/components/system-status-report.css +++ b/core/themes/seven/css/components/system-status-report.css @@ -71,6 +71,12 @@ position: inherit; margin-top: .5em; } + +.no-touchevents .system-status-general-info__run-cron { + margin-left: 0; + margin-right: 0; +} + @media screen and (min-width: 48em) { .system-status-general-info__items { display: flex; @@ -223,6 +229,12 @@ html:not(.details) .system-status-report__status-title { } @media screen and (max-width: 48em) { + .system-status-general-info__header { + display: none; + } + .system-status-general-info { + border-top: 0; + } .system-status-report { word-wrap: break-word; } @@ -234,6 +246,12 @@ html:not(.details) .system-status-report__status-title { content: ''; clear: both; } + .system-status-report details > summary { + cursor: default; + } + .system-status-report details > summary:hover { + text-decoration: none; + } .system-status-report details > summary:first-child { width: 18rem; float: left; /* LTR */ diff --git a/core/themes/seven/js/responsive-details.js b/core/themes/seven/js/responsive-details.js index a98aede..e3a10a5 100644 --- a/core/themes/seven/js/responsive-details.js +++ b/core/themes/seven/js/responsive-details.js @@ -24,12 +24,14 @@ $statusDetails .attr('open', true) .children('summary') - .attr('aria-expanded', true); + .attr('aria-expanded', true) + .on('click.details-open', false); } else { // If user explicitly opened one, leave it alone. $statusDetails.find('summary[aria-pressed!=true]') .attr('aria-expanded', false) + .off('.details-open') .parent('details') .attr('open', false); }