system-status-report.pcss.css

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

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