system-status-report-general-info.css

Same filename in this branch
  1. 8.9.x core/themes/claro/css/components/system-status-report-general-info.css
  2. 8.9.x core/themes/stable/css/system/components/system-status-report-general-info.css
  3. 8.9.x core/modules/system/css/components/system-status-report-general-info.css
Same filename in other branches
  1. 9 core/themes/stable9/css/system/components/system-status-report-general-info.css
  2. 9 core/themes/seven/css/components/system-status-report-general-info.css
  3. 9 core/themes/claro/css/components/system-status-report-general-info.css
  4. 9 core/themes/stable/css/system/components/system-status-report-general-info.css
  5. 9 core/modules/system/css/components/system-status-report-general-info.css
  6. 10 core/themes/stable9/css/system/components/system-status-report-general-info.css
  7. 10 core/themes/claro/css/components/system-status-report-general-info.css
  8. 10 core/modules/system/css/components/system-status-report-general-info.css
  9. 11.x core/themes/stable9/css/system/components/system-status-report-general-info.css
  10. 11.x core/themes/claro/css/components/system-status-report-general-info.css
  11. 11.x core/modules/system/css/components/system-status-report-general-info.css

Seven styles for the System Status general info.

File

core/themes/seven/css/components/system-status-report-general-info.css

View source
  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. overflow: hidden;
  11. margin: 0;
  12. padding: 10px;
  13. text-transform: uppercase;
  14. border-top-left-radius: 3px;
  15. border-top-right-radius: 3px;
  16. background-color: #f5f5f2;
  17. font-size: 14px;
  18. }
  19. .system-status-general-info__item {
  20. overflow-x: auto;
  21. box-sizing: border-box;
  22. padding: 10px 10px 20px;
  23. border-top: 1px solid #ccc;
  24. background: #fcfcfa;
  25. }
  26. .system-status-general-info__item-icon {
  27. display: inline-block;
  28. width: 45px;
  29. height: 45px;
  30. vertical-align: top;
  31. }
  32. .system-status-general-info__item-icon:before {
  33. display: block;
  34. width: 100%;
  35. height: 100%;
  36. content: "";
  37. background-repeat: no-repeat;
  38. background-position: 50% center;
  39. background-size: 35px;
  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. position: relative;
  60. display: inline-block;
  61. box-sizing: border-box;
  62. width: calc(100% - 60px);
  63. padding-left: 10px; /* LTR */
  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. overflow-x: hidden;
  88. flex-wrap: wrap;
  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. right: auto;
  135. left: 1em;
  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. margin-top: 25px;
  144. border-top: 0;
  145. }
  146. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.