system-status-report.pcss.css

Same filename in other branches
  1. 9 core/themes/claro/css/components/system-status-report.pcss.css
  2. 8.9.x core/themes/claro/css/components/system-status-report.pcss.css
  3. 10 core/themes/claro/css/components/system-status-report.pcss.css

Claro styles for the System Status Report.

File

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

View source
  1. /**
  2. * @file
  3. * Claro styles for the System Status Report.
  4. */
  5. :root {
  6. --system-admin-status-report-border-color: var(--color-gray-200);
  7. }
  8. .system-status-report {
  9. position: relative;
  10. padding-block-start: var(--space-m);
  11. }
  12. @media screen and (min-width: 38em) {
  13. .system-status-report {
  14. padding-block-start: var(--space-l);
  15. }
  16. }
  17. .system-status-report__status-title {
  18. position: relative;
  19. box-sizing: border-box;
  20. width: 100%;
  21. padding-block: 0.625em;
  22. padding-inline: 2.5em 0.375em;
  23. vertical-align: top;
  24. background-color: transparent;
  25. font-weight: normal;
  26. }
  27. .system-status-report__status-icon::before {
  28. position: absolute;
  29. inset-block-start: 12px;
  30. inset-inline-start: 12px;
  31. display: block;
  32. width: 16px;
  33. height: 16px;
  34. content: "";
  35. background-repeat: no-repeat;
  36. }
  37. .system-status-report__status-icon--error::before {
  38. background-image: url(../../../../misc/icons/dc2323/error.svg);
  39. }
  40. .system-status-report__status-icon--warning::before {
  41. background-image: url(../../images/core/e29700/warning.svg);
  42. }
  43. .system-status-report__entry__value {
  44. padding: 1em 0.5em;
  45. }
  46. .cron-description__run-cron {
  47. display: block;
  48. }
  49. .claro-details__wrapper {
  50. &.claro-details__wrapper--system-status-report {
  51. margin: 0;
  52. }
  53. }
  54. .system-status-report__row {
  55. display: flex;
  56. border-bottom: 1px solid var(--system-admin-status-report-border-color);
  57. &:last-of-type {
  58. border-bottom: none;
  59. }
  60. }
  61. .system-status-report__requirements-group {
  62. padding-block-start: 20px;
  63. }
  64. .system-status-report__entry {
  65. overflow: auto;
  66. width: 100%;
  67. margin: 0;
  68. border: 0;
  69. border-radius: 0;
  70. background-color: transparent;
  71. & h3 {
  72. margin-block: 10px;
  73. font-size: 1.231em;
  74. }
  75. }
  76. .system-status-report__entry--error {
  77. background-color: transparent;
  78. }
  79. .system-status-report__entry--warning {
  80. background-color: transparent;
  81. }
  82. .system-status-report {
  83. & .claro-details {
  84. border: none;
  85. border-block-end: var(--details-border-size) solid var(--details-border-color);
  86. box-shadow: none;
  87. }
  88. }
  89. .system-status-report__status-title {
  90. position: relative;
  91. box-sizing: border-box;
  92. width: 100%;
  93. padding-block: 1em;
  94. padding-inline: 3em 1em;
  95. font-weight: bold;
  96. }
  97. .system-status-report__status-icon::before {
  98. position: absolute;
  99. inset-block-start: 1em;
  100. inset-inline-start: 10px;
  101. display: inline-block;
  102. width: 24px;
  103. height: 24px;
  104. margin-inline-end: 10px;
  105. content: "";
  106. vertical-align: top;
  107. background-repeat: no-repeat;
  108. background-position: top center;
  109. background-size: contain;
  110. }
  111. .system-status-report__status-icon--error::before {
  112. background-image: url(../../../../misc/icons/dc2323/error.svg);
  113. }
  114. .system-status-report__status-icon--warning::before {
  115. background-image: url(../../images/core/e29700/warning.svg);
  116. }
  117. @media (forced-colors: active) {
  118. .system-status-report__status-icon::before {
  119. background-color: canvastext;
  120. background-image: none;
  121. mask-repeat: no-repeat;
  122. mask-position: top center;
  123. mask-size: contain;
  124. }
  125. .system-status-report__status-icon--error::before {
  126. mask-image: url(../../../../misc/icons/dc2323/error.svg);
  127. }
  128. .system-status-report__status-icon--warning::before {
  129. mask-image: url(../../images/core/e29700/warning.svg);
  130. }
  131. }
  132. .system-status-report__entry__value {
  133. box-sizing: border-box;
  134. padding-block: 0 1em;
  135. padding-inline: 3em 1em;
  136. font-size: var(--font-size-s);
  137. }
  138. .claro-details__summary--system-status-report {
  139. background: var(--color-gray-050);
  140. }
  141. @media screen and (max-width: 48em) {
  142. .system-status-report {
  143. word-wrap: break-word;
  144. }
  145. }
  146. @media screen and (min-width: 48em) {
  147. .system-status-report__entry::after {
  148. display: table;
  149. clear: both;
  150. content: "";
  151. }
  152. .system-status-report__status-title {
  153. width: 18rem;
  154. cursor: default;
  155. &:hover,
  156. &:focus {
  157. text-decoration: none;
  158. }
  159. }
  160. html.js .system-status-report__status-title::-webkit-details-marker {
  161. display: none;
  162. }
  163. .system-status-report__entry__value {
  164. display: block;
  165. width: calc(100% - 23em);
  166. padding-block-start: 1em;
  167. padding-inline-start: 0;
  168. }
  169. }

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