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

Same filename in other branches
  1. 8.9.x 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. @import "../base/variables.pcss.css";
  6. .system-status-general-info {
  7. padding-top: var(--space-m);
  8. }
  9. .system-status-general-info__header {
  10. padding: 2.75rem 0 0.75em;
  11. border-top: 1px solid #ccc;
  12. }
  13. .system-status-general-info__item {
  14. display: block;
  15. overflow-x: auto;
  16. box-sizing: border-box;
  17. margin-bottom: var(--space-l);
  18. padding: 18px;
  19. }
  20. .system-status-general-info__item-icon {
  21. display: inline-block;
  22. width: 42px;
  23. height: 42px;
  24. vertical-align: top;
  25. }
  26. .system-status-general-info__item-icon:before {
  27. display: block;
  28. width: 100%;
  29. height: 100%;
  30. content: "";
  31. border-radius: 42px;
  32. background-color: #828388;
  33. background-repeat: no-repeat;
  34. background-position: 50% center;
  35. background-size: 24px;
  36. }
  37. .system-status-general-info__item-icon--drupal:before {
  38. background-image: url(../../images/core/ffffff/drupal-logo.svg);
  39. }
  40. .system-status-general-info__item-icon--clock:before {
  41. background-image: url(../../images/core/ffffff/clock.svg);
  42. }
  43. .system-status-general-info__item-icon--server:before {
  44. background-image: url(../../images/core/ffffff/server.svg);
  45. }
  46. .system-status-general-info__item-icon--php:before {
  47. background-image: url(../../images/core/ffffff/php-logo.svg);
  48. background-size: 32px;
  49. }
  50. .system-status-general-info__item-icon--database:before {
  51. background-image: url(../../images/core/ffffff/database.svg);
  52. }
  53. @media (forced-colors: active) {
  54. .system-status-general-info__item-icon:before {
  55. background-color: canvastext;
  56. background-image: none;
  57. mask-repeat: no-repeat;
  58. mask-position: 50% center;
  59. mask-size: 24px;
  60. }
  61. .system-status-general-info__item-icon--drupal:before {
  62. mask-image: url(../../images/core/ffffff/drupal-logo.svg);
  63. }
  64. .system-status-general-info__item-icon--clock:before {
  65. mask-image: url(../../images/core/ffffff/clock.svg);
  66. }
  67. .system-status-general-info__item-icon--server:before {
  68. mask-image: url(../../images/core/ffffff/server.svg);
  69. }
  70. .system-status-general-info__item-icon--php:before {
  71. mask-image: url(../../images/core/ffffff/php-logo.svg);
  72. mask-size: 32px;
  73. }
  74. .system-status-general-info__item-icon--database:before {
  75. mask-image: url(../../images/core/ffffff/database.svg);
  76. }
  77. }
  78. .system-status-general-info__item-details {
  79. position: relative;
  80. display: inline-block;
  81. box-sizing: border-box;
  82. width: calc(100% - 60px);
  83. padding-left: 10px; /* LTR */
  84. font-size: 14px;
  85. }
  86. [dir="rtl"] .system-status-general-info__item-details {
  87. padding-right: 10px;
  88. padding-left: 0;
  89. }
  90. .system-status-general-info__item-title {
  91. margin: 0 0 8px;
  92. font-size: 18px;
  93. }
  94. .system-status-general-info__sub-item-title {
  95. margin: 14px 0 0;
  96. font-size: 14px;
  97. }
  98. .system-status-general-info__sub-item__title {
  99. font-weight: bold;
  100. }
  101. .system-status-general-info__sub-item__value {
  102. display: block;
  103. }
  104. .system-status-general-info__run-cron {
  105. margin: 1em 0 0;
  106. }
  107. @media screen and (min-width: 48em) {
  108. .system-status-general-info__items {
  109. display: flex;
  110. flex-wrap: wrap;
  111. justify-content: space-between;
  112. }
  113. .system-status-general-info__items::after {
  114. flex: auto;
  115. content: "";
  116. }
  117. .system-status-general-info__item {
  118. display: block;
  119. width: 32%;
  120. }
  121. .system-status-general-info__item:last-of-type {
  122. margin-left: 2%;
  123. }
  124. }
  125. @media screen and (max-width: 48em) {
  126. .system-status-general-info__header {
  127. display: none;
  128. }
  129. .system-status-general-info {
  130. margin-top: 25px;
  131. border-top: 0;
  132. }
  133. }

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