system-status-report-general-info.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. /**
  2. * @file
  3. * Seven styles for the System Status general info.
  4. */
  5. .system-status-general-info {
  6. border: 1px solid #ccc;
  7. border-radius: 3px;
  8. }
  9. .system-status-general-info__header {
  10. background-color: #f5f5f2;
  11. padding: 10px;
  12. margin: 0;
  13. overflow: hidden;
  14. border-top-left-radius: 3px;
  15. border-top-right-radius: 3px;
  16. font-size: 14px;
  17. text-transform: uppercase;
  18. }
  19. .system-status-general-info__item {
  20. background: #fcfcfa;
  21. border-top: 1px solid #ccc;
  22. padding: 10px 10px 20px;
  23. box-sizing: border-box;
  24. overflow-x: auto;
  25. }
  26. .system-status-general-info__item-icon {
  27. display: inline-block;
  28. height: 45px;
  29. width: 45px;
  30. vertical-align: top;
  31. }
  32. .system-status-general-info__item-icon:before {
  33. content: "";
  34. background-size: 35px;
  35. background-position: 50% center;
  36. background-repeat: no-repeat;
  37. width: 100%;
  38. height: 100%;
  39. display: block;
  40. }
  41. .system-status-general-info__item-icon--d8:before {
  42. background-image: url(../../images/icons/cccccc/d8-logo.svg);
  43. }
  44. .system-status-general-info__item-icon--clock:before {
  45. background-image: url(../../images/icons/cccccc/clock.svg);
  46. }
  47. .system-status-general-info__item-icon--server:before {
  48. background-image: url(../../images/icons/cccccc/server.svg);
  49. }
  50. .system-status-general-info__item-icon--php:before {
  51. background-image: url(../../images/icons/cccccc/php-logo.svg);
  52. background-size: 45px;
  53. }
  54. .system-status-general-info__item-icon--database:before {
  55. background-image: url(../../images/icons/cccccc/database.svg);
  56. background-size: 30px;
  57. }
  58. .system-status-general-info__item-details {
  59. box-sizing: border-box;
  60. display: inline-block;
  61. width: calc(100% - 60px);
  62. padding-left: 10px; /* LTR */
  63. position: relative;
  64. }
  65. [dir="rtl"] .system-status-general-info__item-details {
  66. padding-right: 10px;
  67. padding-left: 0;
  68. }
  69. .system-status-general-info__item-title {
  70. margin-bottom: 0;
  71. }
  72. .system-status-general-info__sub-item-title {
  73. margin: 0;
  74. }
  75. .system-status-general-info__sub-item__title {
  76. font-weight: bold;
  77. }
  78. .system-status-general-info__sub-item__value {
  79. display: block;
  80. }
  81. .system-status-general-info__run-cron {
  82. margin: 1em 0 0;
  83. }
  84. @media screen and (min-width: 48em) {
  85. .system-status-general-info__items {
  86. display: flex;
  87. flex-wrap: wrap;
  88. overflow-x: hidden;
  89. }
  90. .system-status-general-info__item {
  91. flex: 1;
  92. flex-basis: 33%;
  93. width: 33%;
  94. }
  95. .system-status-general-info__item:nth-child(2) {
  96. flex: 2;
  97. flex-basis: 66%;
  98. }
  99. .system-status-general-info__item:nth-child(2),
  100. .system-status-general-info__item:nth-child(4),
  101. .system-status-general-info__item:nth-child(5) {
  102. border-left: 1px solid #ccc; /* LTR */
  103. }
  104. [dir="rtl"] .system-status-general-info__item:nth-child(1),
  105. [dir="rtl"] .system-status-general-info__item:nth-child(3) {
  106. border-left: 1px solid #ccc;
  107. }
  108. [dir="rtl"] .system-status-general-info__item:nth-child(2),
  109. [dir="rtl"] .system-status-general-info__item:nth-child(5) {
  110. border-left: 0;
  111. }
  112. .system-status-general-info__run-cron {
  113. margin: 15px 0 5px;
  114. }
  115. }
  116. @media screen and (min-width: 60em) {
  117. .system-status-general-info__item-icon {
  118. width: 55px;
  119. height: 55px;
  120. }
  121. .system-status-general-info__item-icon:before {
  122. background-size: 35px;
  123. }
  124. .system-status-general-info__item-icon--php:before {
  125. background-size: 55px;
  126. }
  127. .system-status-general-info__run-cron {
  128. position: absolute;
  129. top: 1em;
  130. right: 1em; /* LTR */
  131. margin-top: 0;
  132. }
  133. [dir="rtl"] .system-status-general-info__run-cron {
  134. left: 1em;
  135. right: auto;
  136. }
  137. }
  138. @media screen and (max-width: 48em) {
  139. .system-status-general-info__header {
  140. display: none;
  141. }
  142. .system-status-general-info {
  143. border-top: 0;
  144. margin-top: 25px;
  145. }
  146. }