system-status-report.css 3.9 KB

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