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. 8.9.x 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. padding-block-start: var(--space-m);
  7. }
  8. .system-status-general-info__header {
  9. --system-status-general-info-header-color: #ccc;
  10. padding: 2.75rem 0 var(--space-l);
  11. border-block-start: 1px solid var(--system-status-general-info-header-color);
  12. }
  13. .system-status-general-info__item {
  14. display: block;
  15. overflow-x: auto;
  16. box-sizing: border-box;
  17. margin-block-end: 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: var(--color-gray-600);
  33. background-repeat: no-repeat;
  34. background-position: 50% center;
  35. background-size: var(--space-l);
  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: var(--space-l);
  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-inline-start: 10px;
  84. font-size: var(--font-size-s);
  85. }
  86. .system-status-general-info__item-title {
  87. margin: 0 0 8px;
  88. font-size: 18px;
  89. }
  90. .system-status-general-info__sub-item-title {
  91. margin: 14px 0 0;
  92. font-size: 14px;
  93. }
  94. .system-status-general-info__sub-item__title {
  95. font-weight: bold;
  96. }
  97. .system-status-general-info__sub-item__value {
  98. display: block;
  99. }
  100. .system-status-general-info__run-cron {
  101. margin: 1em 0 0;
  102. }
  103. @media screen and (min-width: 48em) {
  104. .system-status-general-info__items {
  105. display: flex;
  106. flex-wrap: wrap;
  107. justify-content: space-between;
  108. }
  109. .system-status-general-info__items::after {
  110. flex: auto;
  111. content: "";
  112. }
  113. .system-status-general-info__item {
  114. display: block;
  115. width: 32%;
  116. }
  117. .system-status-general-info__item:last-of-type {
  118. margin-inline-start: 2%;
  119. }
  120. }
  121. @media screen and (max-width: 48em) {
  122. .system-status-general-info__header {
  123. display: none;
  124. }
  125. .system-status-general-info {
  126. margin-block-start: 25px;
  127. border-block-start: 0;
  128. }
  129. }

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