diff --git a/core/themes/seven/css/components/system-status-report.css b/core/themes/seven/css/components/system-status-report.css index 5a4bb9a..2bab073 100644 --- a/core/themes/seven/css/components/system-status-report.css +++ b/core/themes/seven/css/components/system-status-report.css @@ -96,8 +96,6 @@ } } - - .system-status-report__entry { border: 0; border-top: 1px solid #ccc; @@ -106,14 +104,32 @@ .system-status-report__entry:last-of-type { border-bottom: 1px solid #bebfb9; } +/* Account for native and poly-filled details element */ .system-status-report__status-title { position: relative; padding: 1em 1em 1em 3em; box-sizing: border-box; } -[dir="rtl"] .system-status-report__status-title { +a.details-title { + color: inherit; + text-transform: none; +} +html:not(.details) .system-status-report__status-title { + padding-left: 0; +} +.system-status-report__status-title .details-title { + padding-left: 3em; +} +[dir="rtl"] a.details-title { + padding-right: 3em; + padding-left: 0; +} +html[dir="rtl"].details .system-status-report__status-title { padding: 1em 3em 1em 1em; } +.collapse-processed > .system-status-report__status-title:before { + float: right; +} .system-status-report__status-title::-webkit-details-marker { float: right; } @@ -124,7 +140,8 @@ .system-status-report details > summary:first-child { display: block; } -.system-status-report__status-icon:before { +.system-status-report__status-title .details-title:before, +.details .system-status-report__status-icon:before { content: ""; background-repeat: no-repeat; background-size: contain; @@ -138,27 +155,25 @@ vertical-align: top; margin-right: 10px; } -[dir="rtl"] .system-status-report__status-icon:before { +[dir="rtl"] .system-status-report__status-title .details-title:before, +html[dir="rtl"].details .system-status-report__status-title:before { left: auto; right: 10px; } -.system-status-report__status-icon--error:before { +.system-status-report__status-icon--error .details-title:before, +.details .system-status-report__status-icon--error:before { background-image: url(../../../stable/images/core/icons/e32700/error.svg); } -.system-status-report__status-icon--warning:before { +.system-status-report__status-icon--warning .details-title:before, +.details .system-status-report__status-icon--warning:before { background-image: url(../../../stable/images/core/icons/e29700/warning.svg); } -a.details-title { - color: inherit; - text-transform: none; -} - .system-status-report__entry__value { box-sizing: border-box; padding: 0 1em 1em 3em; } -[dir="rtl"] ..system-status-report__entry__value { +[dir="rtl"] .system-status-report__entry__value { padding: 0 3em 1em 1em; } @@ -178,6 +193,9 @@ a.details-title { width: 25%; float: left; } + .collapse-processed > .system-status-report__status-title:before { + display: none; + } .system-status-report__status-title::-webkit-details-marker { display: none; }