system-status-report.css

Same filename and directory in other branches
  1. 10 core/themes/claro/css/components/system-status-report.css
  2. 11.x core/themes/claro/css/components/system-status-report.css
  3. 9 core/themes/seven/css/components/system-status-report.css
  4. 9 core/themes/claro/css/components/system-status-report.css
  5. 8.9.x core/themes/seven/css/components/system-status-report.css
  6. 8.9.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 {
  56. &.claro-details__wrapper--system-status-report {
  57. margin: 0;
  58. }
  59. }
  60. .system-status-report__row {
  61. display: flex;
  62. border-bottom: 1px solid var(--system-admin-status-report-border-color);
  63. &:last-of-type {
  64. border-bottom: none;
  65. }
  66. }
  67. .system-status-report__requirements-group {
  68. padding-block-start: 1.25rem;
  69. }
  70. .system-status-report__entry {
  71. overflow: auto;
  72. width: 100%;
  73. margin: 0;
  74. border: 0;
  75. border-radius: 0;
  76. background-color: transparent;
  77. & h3 {
  78. margin-block: 0.625rem;
  79. font-size: 1.231em;
  80. }
  81. }
  82. .system-status-report__entry--error {
  83. background-color: transparent;
  84. }
  85. .system-status-report__entry--warning {
  86. background-color: transparent;
  87. }
  88. .system-status-report {
  89. & .claro-details {
  90. border: none;
  91. border-block-end: var(--details-border-size) solid var(--details-border-color);
  92. box-shadow: none;
  93. }
  94. }
  95. .system-status-report__status-title {
  96. position: relative;
  97. box-sizing: border-box;
  98. width: 100%;
  99. padding-block: 1em;
  100. padding-inline: 3em 1em;
  101. font-weight: bold;
  102. }
  103. .system-status-report__status-icon::before {
  104. position: absolute;
  105. inset-block-start: 1em;
  106. inset-inline-start: 0.625rem;
  107. display: inline-block;
  108. width: 1.5rem;
  109. height: 1.5rem;
  110. margin-inline-end: 0.625rem;
  111. content: "";
  112. vertical-align: top;
  113. background-repeat: no-repeat;
  114. background-position: top center;
  115. background-size: contain;
  116. }
  117. .system-status-report__status-icon--error::before {
  118. 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");
  119. }
  120. .system-status-report__status-icon--warning::before {
  121. 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");
  122. }
  123. @media (forced-colors: active) {
  124. .system-status-report__status-icon::before {
  125. background-color: canvastext;
  126. background-image: none;
  127. mask-repeat: no-repeat;
  128. mask-position: top center;
  129. mask-size: contain;
  130. }
  131. .system-status-report__status-icon--error::before {
  132. 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");
  133. }
  134. .system-status-report__status-icon--warning::before {
  135. 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");
  136. }
  137. }
  138. .system-status-report__entry__value {
  139. box-sizing: border-box;
  140. padding-block: 0 1em;
  141. padding-inline: 3em 1em;
  142. font-size: var(--font-size-s);
  143. }
  144. .claro-details__summary--system-status-report {
  145. background: var(--color-gray-050);
  146. }
  147. @media screen and (max-width: 48em) {
  148. .system-status-report {
  149. word-wrap: break-word;
  150. }
  151. }
  152. @media screen and (min-width: 48em) {
  153. .system-status-report__entry::after {
  154. display: table;
  155. clear: both;
  156. content: "";
  157. }
  158. .system-status-report__status-title {
  159. width: 18rem;
  160. cursor: default;
  161. &:hover,
  162. &:focus {
  163. -webkit-text-decoration: none;
  164. text-decoration: none;
  165. }
  166. }
  167. html.js .system-status-report__status-title::-webkit-details-marker {
  168. display: none;
  169. }
  170. .system-status-report__entry__value {
  171. display: block;
  172. width: calc(100% - 23em);
  173. padding-block-start: 1em;
  174. padding-inline-start: 0;
  175. }
  176. }

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