system-status-report.css

Same filename in other branches
  1. 9 core/themes/seven/css/components/system-status-report.css
  2. 9 core/themes/claro/css/components/system-status-report.css
  3. 8.9.x core/themes/seven/css/components/system-status-report.css
  4. 8.9.x core/themes/claro/css/components/system-status-report.css
  5. 11.x core/themes/claro/css/components/system-status-report.css

Claro styles for the System Status Report.

File

core/themes/claro/css/components/system-status-report.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Claro styles for the System Status Report.
  10. */
  11. :root {
  12. --system-admin-status-report-border-color: var(--color-gray-200);
  13. }
  14. .system-status-report {
  15. position: relative;
  16. padding-block-start: var(--space-m);
  17. }
  18. @media screen and (min-width: 38em) {
  19. .system-status-report {
  20. padding-block-start: var(--space-l);
  21. }
  22. }
  23. .system-status-report__status-title {
  24. position: relative;
  25. box-sizing: border-box;
  26. width: 100%;
  27. padding-block: 0.625em;
  28. padding-inline: 2.5em 0.375em;
  29. vertical-align: top;
  30. background-color: transparent;
  31. font-weight: normal;
  32. }
  33. .system-status-report__status-icon::before {
  34. position: absolute;
  35. inset-block-start: 0.75rem;
  36. inset-inline-start: 0.75rem;
  37. display: block;
  38. width: 1rem;
  39. height: 1rem;
  40. content: "";
  41. background-repeat: no-repeat;
  42. }
  43. .system-status-report__status-icon--error::before {
  44. background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  45. }
  46. .system-status-report__status-icon--warning::before {
  47. background-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  48. }
  49. .system-status-report__entry__value {
  50. padding: 1em 0.5em;
  51. }
  52. .cron-description__run-cron {
  53. display: block;
  54. }
  55. .claro-details__wrapper.claro-details__wrapper--system-status-report {
  56. margin: 0;
  57. }
  58. .system-status-report__row {
  59. display: flex;
  60. border-bottom: 1px solid var(--system-admin-status-report-border-color);
  61. }
  62. .system-status-report__row:last-of-type {
  63. border-bottom: none;
  64. }
  65. .system-status-report__requirements-group {
  66. padding-block-start: 1.25rem;
  67. }
  68. .system-status-report__entry {
  69. overflow: auto;
  70. width: 100%;
  71. margin: 0;
  72. border: 0;
  73. border-radius: 0;
  74. background-color: transparent;
  75. }
  76. .system-status-report__entry h3 {
  77. margin-block: 0.625rem;
  78. font-size: 1.231em;
  79. }
  80. .system-status-report__entry--error {
  81. background-color: transparent;
  82. }
  83. .system-status-report__entry--warning {
  84. background-color: transparent;
  85. }
  86. .system-status-report .claro-details {
  87. border: none;
  88. border-block-end: var(--details-border-size) solid var(--details-border-color);
  89. box-shadow: none;
  90. }
  91. .system-status-report__status-title {
  92. position: relative;
  93. box-sizing: border-box;
  94. width: 100%;
  95. padding-block: 1em;
  96. padding-inline: 3em 1em;
  97. font-weight: bold;
  98. }
  99. .system-status-report__status-icon::before {
  100. position: absolute;
  101. inset-block-start: 1em;
  102. inset-inline-start: 0.625rem;
  103. display: inline-block;
  104. width: 1.5rem;
  105. height: 1.5rem;
  106. margin-inline-end: 0.625rem;
  107. content: "";
  108. vertical-align: top;
  109. background-repeat: no-repeat;
  110. background-position: top center;
  111. background-size: contain;
  112. }
  113. .system-status-report__status-icon--error::before {
  114. background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  115. }
  116. .system-status-report__status-icon--warning::before {
  117. background-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  118. }
  119. @media (forced-colors: active) {
  120. .system-status-report__status-icon::before {
  121. background-color: canvastext;
  122. background-image: none;
  123. mask-repeat: no-repeat;
  124. mask-position: top center;
  125. mask-size: contain;
  126. }
  127. .system-status-report__status-icon--error::before {
  128. mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  129. }
  130. .system-status-report__status-icon--warning::before {
  131. mask-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  132. }
  133. }
  134. .system-status-report__entry__value {
  135. box-sizing: border-box;
  136. padding-block: 0 1em;
  137. padding-inline: 3em 1em;
  138. font-size: var(--font-size-s);
  139. }
  140. .claro-details__summary--system-status-report {
  141. background: var(--color-gray-050);
  142. }
  143. @media screen and (max-width: 48em) {
  144. .system-status-report {
  145. word-wrap: break-word;
  146. }
  147. }
  148. @media screen and (min-width: 48em) {
  149. .system-status-report__entry::after {
  150. display: table;
  151. clear: both;
  152. content: "";
  153. }
  154. .system-status-report__status-title {
  155. width: 18rem;
  156. cursor: default;
  157. }
  158. .system-status-report__status-title:hover,
  159. .system-status-report__status-title:focus {
  160. -webkit-text-decoration: none;
  161. text-decoration: none;
  162. }
  163. html.js .system-status-report__status-title::-webkit-details-marker {
  164. display: none;
  165. }
  166. .system-status-report__entry__value {
  167. display: block;
  168. width: calc(100% - 23em);
  169. padding-block-start: 1em;
  170. padding-inline-start: 0;
  171. }
  172. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.