You are here

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

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. .system-status-general-info__item-details {
  54. position: relative;
  55. display: inline-block;
  56. box-sizing: border-box;
  57. width: calc(100% - 60px);
  58. padding-left: 10px; /* LTR */
  59. font-size: 14px;
  60. }
  61. [dir="rtl"] .system-status-general-info__item-details {
  62. padding-right: 10px;
  63. padding-left: 0;
  64. }
  65. .system-status-general-info__item-title {
  66. margin: 0 0 8px;
  67. font-size: 18px;
  68. }
  69. .system-status-general-info__sub-item-title {
  70. margin: 14px 0 0;
  71. font-size: 14px;
  72. }
  73. .system-status-general-info__sub-item__title {
  74. font-weight: bold;
  75. }
  76. .system-status-general-info__sub-item__value {
  77. display: block;
  78. }
  79. .system-status-general-info__run-cron {
  80. margin: 1em 0 0;
  81. }
  82. @media screen and (min-width: 48em) {
  83. .system-status-general-info__items {
  84. display: flex;
  85. flex-wrap: wrap;
  86. justify-content: space-between;
  87. }
  88. .system-status-general-info__items::after {
  89. flex: auto;
  90. content: "";
  91. }
  92. .system-status-general-info__item {
  93. display: block;
  94. width: 32%;
  95. }
  96. .system-status-general-info__item:last-of-type {
  97. margin-left: 2%;
  98. }
  99. }
  100. @media screen and (max-width: 48em) {
  101. .system-status-general-info__header {
  102. display: none;
  103. }
  104. .system-status-general-info {
  105. margin-top: 25px;
  106. border-top: 0;
  107. }
  108. }