system-status-report-general-info.pcss.css

Same filename in other branches
  1. 9 core/themes/claro/css/components/system-status-report-general-info.pcss.css
  2. 10 core/themes/claro/css/components/system-status-report-general-info.pcss.css
  3. 11.x core/themes/claro/css/components/system-status-report-general-info.pcss.css

Claro styles for the System Status general info.

File

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

View source
  1. /**
  2. * @file
  3. * Claro 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/core/cccccc/d8-logo.svg);
  43. }
  44. .system-status-general-info__item-icon--clock:before {
  45. background-image: url(../../images/core/cccccc/clock.svg);
  46. }
  47. .system-status-general-info__item-icon--server:before {
  48. background-image: url(../../images/core/cccccc/server.svg);
  49. }
  50. .system-status-general-info__item-icon--php:before {
  51. background-image: url(../../images/core/cccccc/php-logo.svg);
  52. background-size: 45px;
  53. }
  54. .system-status-general-info__item-icon--database:before {
  55. background-image: url(../../images/core/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-top: 10px;
  71. margin-bottom: 0;
  72. font-size: 1.231em;
  73. }
  74. .system-status-general-info__sub-item-title {
  75. margin: 0;
  76. font-size: 1.154em;
  77. }
  78. .system-status-general-info__sub-item__title {
  79. font-weight: bold;
  80. }
  81. .system-status-general-info__sub-item__value {
  82. display: block;
  83. }
  84. .system-status-general-info__run-cron {
  85. margin: 1em 0 0;
  86. }
  87. @media screen and (min-width: 48em) {
  88. .system-status-general-info__items {
  89. display: flex;
  90. overflow-x: hidden;
  91. flex-wrap: wrap;
  92. }
  93. .system-status-general-info__item {
  94. flex: 1;
  95. flex-basis: 33%;
  96. width: 33%;
  97. }
  98. .system-status-general-info__item:nth-child(2) {
  99. flex: 2;
  100. flex-basis: 66%;
  101. }
  102. .system-status-general-info__item:nth-child(2),
  103. .system-status-general-info__item:nth-child(4),
  104. .system-status-general-info__item:nth-child(5) {
  105. border-left: 1px solid #ccc; /* LTR */
  106. }
  107. [dir="rtl"] .system-status-general-info__item:nth-child(1),
  108. [dir="rtl"] .system-status-general-info__item:nth-child(3) {
  109. border-left: 1px solid #ccc;
  110. }
  111. [dir="rtl"] .system-status-general-info__item:nth-child(2),
  112. [dir="rtl"] .system-status-general-info__item:nth-child(5) {
  113. border-left: 0;
  114. }
  115. .system-status-general-info__run-cron {
  116. margin: 15px 0 5px;
  117. }
  118. }
  119. @media screen and (min-width: 60em) {
  120. .system-status-general-info__item-icon {
  121. width: 55px;
  122. height: 55px;
  123. }
  124. .system-status-general-info__item-icon:before {
  125. background-size: 35px;
  126. }
  127. .system-status-general-info__item-icon--php:before {
  128. background-size: 55px;
  129. }
  130. .system-status-general-info__run-cron {
  131. position: absolute;
  132. top: 1em;
  133. right: 1em; /* LTR */
  134. margin-top: 0;
  135. }
  136. [dir="rtl"] .system-status-general-info__run-cron {
  137. right: auto;
  138. left: 1em;
  139. }
  140. }
  141. @media screen and (max-width: 48em) {
  142. .system-status-general-info__header {
  143. display: none;
  144. }
  145. .system-status-general-info {
  146. margin-top: 25px;
  147. border-top: 0;
  148. }
  149. }

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