system-status-report.css 6.5 KB

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