You are here

system-status-report-general-info.pcss.css in Drupal 10

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