system-status-report.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. /**
  2. * @file
  3. * Mediteran styles for the System Status Report.
  4. */
  5. .system-status-report__requirements-group {
  6. padding-top: 20px;
  7. }
  8. .system-status-report__requirements-group .color-warning,
  9. .system-status-report__requirements-group .color-error,
  10. .system-status-report__requirements-group .color-success,
  11. .system-status-report__requirements-group .color-checked {
  12. background-color: transparent;
  13. }
  14. .system-status-report__requirements-group dl dd::before {
  15. content: '•';
  16. margin-right: 10px;
  17. margin-left: -15px;
  18. }
  19. .system-status-report__entry {
  20. border: 0;
  21. margin: 0 0 20px 0;
  22. width: 100%;
  23. overflow: auto;
  24. }
  25. .system-status-report__entry:last-of-type {
  26. margin-bottom: 0;
  27. }
  28. .system-status-report__entry--error {
  29. background-color: transparent;
  30. }
  31. .system-status-report__entry--warning {
  32. background-color: transparent;
  33. }
  34. .system-status-report__entry--error strong,
  35. .system-status-report__entry--error a {
  36. color: #e32700;
  37. font-weight: 700;
  38. }
  39. .system-status-report__entry--warning strong,
  40. .system-status-report__entry--warning a {
  41. color: #e29700;
  42. font-weight: 700;
  43. }
  44. .system-status-report__entry--checked strong,
  45. .system-status-report__entry--checked a {
  46. color: #73b355;
  47. font-weight: 700;
  48. }
  49. /* Account for native and poly-filled details element */
  50. .system-status-report__status-title {
  51. position: relative;
  52. padding: 1em 2em 1em 3em; /* LTR */
  53. box-sizing: border-box;
  54. width: 100%;
  55. font-weight: bold;
  56. }
  57. .system-status-report__status-title .details-title {
  58. color: inherit;
  59. text-transform: none;
  60. }
  61. .system-status-report__status-title .details-title {
  62. padding-left: 3em; /* LTR */
  63. }
  64. [dir="rtl"] .system-status-report__status-title .details-title {
  65. padding-right: 3em;
  66. padding-left: 0;
  67. }
  68. [dir="rtl"].details .system-status-report__status-title {
  69. padding: 1em 3em 1em 2em;
  70. }
  71. .collapse-processed > .system-status-report__status-title:before {
  72. float: right; /* LTR */
  73. }
  74. .system-status-report__status-title::-webkit-details-marker {
  75. float: right; /* LTR */
  76. }
  77. [dir="rtl"] .collapse-processed > .system-status-report__status-title:before {
  78. float: left;
  79. }
  80. [dir="rtl"] .system-status-report__status-title::-webkit-details-marker {
  81. float: left;
  82. }
  83. .system-status-report__entry__value .description {
  84. font-size: 12px;
  85. }
  86. .system-status-report__entry__value .description ul {
  87. margin: 0 0 0 20px;
  88. padding: 0;
  89. }
  90. .system-status-report__status-title {
  91. color: #73b355;
  92. }
  93. .system-status-report__status-icon--warning {
  94. color: #e29700;
  95. }
  96. .system-status-report__status-icon--error {
  97. color: #e32700;
  98. }
  99. /* Make poly-filled details and summary elements behave correctly. */
  100. .system-status-report summary:first-child ~ * {
  101. display: none;
  102. }
  103. .system-status-report details[open] > *,
  104. .system-status-report details > summary:first-child {
  105. display: list-item;
  106. list-style: none;
  107. }
  108. .system-status-report details summary::-webkit-details-marker {
  109. display: none;
  110. }
  111. @media screen and (max-width: 768px) {
  112. .system-status-report summary:after {
  113. content: '';
  114. border-style: solid;
  115. border-width: 7px 5px 0 5px;
  116. width: 0;
  117. height: 0;
  118. position: absolute;
  119. top: 24px;
  120. right: 16px;
  121. }
  122. .system-status-report details[open] summary:after {
  123. content: '';
  124. border-width: 0 5px 7px 5px;
  125. }
  126. .system-status-report .color-error summary::after {
  127. border-color: #e32700 transparent transparent transparent;
  128. }
  129. .system-status-report .color-error[open] summary::after {
  130. border-color: transparent transparent #e32700 transparent;
  131. }
  132. .system-status-report .color-warning summary::after {
  133. border-color: #e29700 transparent transparent transparent;
  134. }
  135. .system-status-report .color-warning[open] summary::after {
  136. border-color: transparent transparent #e29700 transparent;
  137. }
  138. .system-status-report .color-checked summary::after {
  139. border-color: #73b355 transparent transparent transparent;
  140. }
  141. .system-status-report .color-checked[open] summary::after {
  142. border-color: transparent transparent #73b355 transparent;
  143. }
  144. }
  145. .system-status-report__status-title .details-title:before,
  146. .details .system-status-report__status-icon:before,
  147. .system-status-report__entry--checked .system-status-report__status-title:before {
  148. content: "";
  149. background-repeat: no-repeat;
  150. background-size: contain;
  151. background-position: top center;
  152. height: 16px;
  153. width: 16px;
  154. position: absolute;
  155. left: 15px; /* LTR */
  156. top: 19px;
  157. display: inline-block;
  158. vertical-align: top;
  159. margin-right: 10px; /* LTR */
  160. }
  161. [dir="rtl"] .system-status-report__status-title .details-title:before,
  162. [dir="rtl"] .details .system-status-report__status-title:before,
  163. [dir="rtl"] .system-status-report__entry--checked .system-status-report__status-title:before {
  164. left: auto;
  165. right: 15px;
  166. margin-right: 0;
  167. }
  168. .system-status-report__entry--checked .system-status-report__status-title:before {
  169. background-image: url(../../images/icons/check.svg);
  170. }
  171. .system-status-report__status-icon--error .details-title:before,
  172. .details .system-status-report__status-icon--error:before {
  173. background-image: url(../../images/icons/error.svg);
  174. }
  175. .system-status-report__status-icon--warning .details-title:before,
  176. .details .system-status-report__status-icon--warning:before {
  177. background-image: url(../../images/icons/warning.svg);
  178. }
  179. .system-status-report__entry__value {
  180. box-sizing: border-box;
  181. padding: 0 1em 1em 3em; /* LTR */
  182. }
  183. [dir="rtl"] .system-status-report__entry__value {
  184. padding-right: 3em;
  185. padding-left: 1em;
  186. }
  187. @media screen and (max-width: 769px) {
  188. .system-status-report {
  189. word-wrap: break-word;
  190. }
  191. }
  192. @media screen and (min-width: 769px) {
  193. .system-status-report__entry::after {
  194. display: table;
  195. content: '';
  196. clear: both;
  197. }
  198. .system-status-report__status-title {
  199. width: 18rem;
  200. float: left; /* LTR */
  201. cursor: default;
  202. }
  203. .system-status-report__status-title:hover,
  204. .system-status-report__status-title:focus {
  205. text-decoration: none;
  206. }
  207. [dir="rtl"] .system-status-report__status-title {
  208. float: right;
  209. }
  210. html.js .system-status-report__status-title::-webkit-details-marker {
  211. display: none;
  212. }
  213. .collapse-processed > .system-status-report__status-title:before {
  214. position: relative;
  215. top: 3px;
  216. }
  217. .system-status-report__entry__value {
  218. width: calc(100% - 23em);
  219. float: right;
  220. display: block;
  221. padding-left: 0; /* LTR */
  222. padding-top: 1em;
  223. }
  224. [dir="rtl"] .system-status-report__entry__value {
  225. padding-left: 0;
  226. padding-right: 3em;
  227. }
  228. }