system-status-report.pcss.css

Same filename in other branches
  1. 8.9.x core/themes/claro/css/components/system-status-report.pcss.css
  2. 10 core/themes/claro/css/components/system-status-report.pcss.css
  3. 11.x 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. @import "../base/variables.pcss.css";
  6. .system-status-report__requirements-group {
  7. padding-top: 20px;
  8. }
  9. .system-status-report__entry {
  10. overflow: auto;
  11. width: 100%;
  12. margin: 0;
  13. border: 0;
  14. border-radius: 0;
  15. background-color: transparent;
  16. }
  17. .system-status-report__entry--error {
  18. background-color: transparent;
  19. }
  20. .system-status-report__entry--warning {
  21. background-color: transparent;
  22. }
  23. .system-status-report__entry__value h3 {
  24. margin-top: 10px;
  25. margin-bottom: 10px;
  26. font-size: 1.231em;
  27. }
  28. .system-status-report .claro-details {
  29. border: none;
  30. border-bottom: var(--details-border-size) solid var(--details-border-color);
  31. box-shadow: none;
  32. }
  33. /* Account for native and poly-filled details element */
  34. .system-status-report__status-title {
  35. position: relative;
  36. box-sizing: border-box;
  37. width: 100%;
  38. padding: 1em 1em 1em 3em; /* LTR */
  39. font-weight: bold;
  40. }
  41. .system-status-report__status-title .details-title {
  42. text-transform: none;
  43. color: inherit;
  44. }
  45. .system-status-report__status-title .details-title {
  46. padding-left: 3em; /* LTR */
  47. }
  48. [dir="rtl"] .system-status-report__status-title .details-title {
  49. padding-right: 3em;
  50. padding-left: 0;
  51. }
  52. [dir="rtl"].details .system-status-report__status-title {
  53. padding: 1em 3em 1em 1em;
  54. }
  55. .system-status-report__status-title .details-title:before,
  56. .details .system-status-report__status-icon:before {
  57. position: absolute;
  58. top: 1em;
  59. left: 10px; /* LTR */
  60. display: inline-block;
  61. width: 24px;
  62. height: 24px;
  63. margin-right: 10px; /* LTR */
  64. content: "";
  65. vertical-align: top;
  66. background-repeat: no-repeat;
  67. background-position: top center;
  68. background-size: contain;
  69. }
  70. [dir="rtl"] .system-status-report__status-title .details-title:before,
  71. [dir="rtl"].details .system-status-report__status-title:before {
  72. right: 10px;
  73. left: auto;
  74. margin-right: 0;
  75. }
  76. .system-status-report__status-icon--error .details-title:before,
  77. .details .system-status-report__status-icon--error:before {
  78. background-image: url(../../../../misc/icons/dc2323/error.svg);
  79. }
  80. .system-status-report__status-icon--warning .details-title:before,
  81. .details .system-status-report__status-icon--warning:before {
  82. background-image: url(../../images/core/e29700/warning.svg);
  83. }
  84. @media (forced-colors: active) {
  85. .system-status-report__status-title .details-title:before,
  86. .details .system-status-report__status-icon:before {
  87. background-color: canvastext;
  88. background-image: none;
  89. mask-repeat: no-repeat;
  90. mask-position: top center;
  91. mask-size: contain;
  92. }
  93. .system-status-report__status-icon--error .details-title:before,
  94. .details .system-status-report__status-icon--error:before {
  95. mask-image: url(../../../../misc/icons/dc2323/error.svg);
  96. }
  97. .system-status-report__status-icon--warning .details-title:before,
  98. .details .system-status-report__status-icon--warning:before {
  99. mask-image: url(../../images/core/e29700/warning.svg);
  100. }
  101. }
  102. .system-status-report__entry__value {
  103. box-sizing: border-box;
  104. padding: 0 1em 1em 3em; /* LTR */
  105. font-size: 14px;
  106. }
  107. [dir="rtl"] .system-status-report__entry__value {
  108. padding-right: 3em;
  109. padding-left: 1em;
  110. }
  111. .claro-details__summary--system-status-report {
  112. background: var(--color-gray-050);
  113. }
  114. @media screen and (max-width: 48em) {
  115. .system-status-report {
  116. word-wrap: break-word;
  117. }
  118. }
  119. @media screen and (min-width: 48em) {
  120. .system-status-report__entry::after {
  121. display: table;
  122. clear: both;
  123. content: "";
  124. }
  125. .system-status-report__status-title {
  126. width: 18rem;
  127. cursor: default;
  128. }
  129. .system-status-report__status-title:hover,
  130. .system-status-report__status-title:focus {
  131. text-decoration: none;
  132. }
  133. html.js .system-status-report__status-title::-webkit-details-marker {
  134. display: none;
  135. }
  136. .collapse-processed > .system-status-report__status-title:before {
  137. position: relative;
  138. top: 3px;
  139. }
  140. .system-status-report__entry__value {
  141. display: block;
  142. width: calc(100% - 23em);
  143. padding-top: 1em;
  144. padding-left: 0; /* LTR */
  145. }
  146. [dir="rtl"] .system-status-report__entry__value {
  147. padding-right: 3em;
  148. padding-left: 0;
  149. }
  150. }

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