system-status-report.css 3.8 KB

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