You are here

system-status-report.pcss.css in Drupal 10

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