system-status-counter.css

Same filename in this branch
  1. 9 core/themes/stable9/css/system/components/system-status-counter.css
  2. 9 core/themes/seven/css/components/system-status-counter.css
  3. 9 core/themes/stable/css/system/components/system-status-counter.css
  4. 9 core/modules/system/css/components/system-status-counter.css
Same filename in other branches
  1. 8.9.x core/themes/seven/css/components/system-status-counter.css
  2. 8.9.x core/themes/claro/css/components/system-status-counter.css
  3. 8.9.x core/themes/stable/css/system/components/system-status-counter.css
  4. 8.9.x core/modules/system/css/components/system-status-counter.css
  5. 10 core/themes/stable9/css/system/components/system-status-counter.css
  6. 10 core/themes/claro/css/components/system-status-counter.css
  7. 10 core/modules/system/css/components/system-status-counter.css
  8. 11.x core/themes/stable9/css/system/components/system-status-counter.css
  9. 11.x core/themes/claro/css/components/system-status-counter.css
  10. 11.x core/modules/system/css/components/system-status-counter.css

Styles for the system status counter component.

File

core/themes/claro/css/components/system-status-counter.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Styles for the system status counter component.
  10. */
  11. .system-status-counter {
  12. display: inline-block;
  13. overflow-y: hidden;
  14. box-sizing: border-box;
  15. width: 100%;
  16. white-space: nowrap;
  17. }
  18. .system-status-counter__status-icon {
  19. display: inline-block;
  20. width: 4.0625rem;
  21. height: 3.75rem;
  22. vertical-align: middle;
  23. }
  24. [dir="rtl"] .system-status-counter__status-icon {
  25. border-right: 0;
  26. border-left: 1px solid #e6e4df;
  27. }
  28. .system-status-counter__status-icon:before {
  29. display: block;
  30. width: 100%;
  31. height: 100%;
  32. content: "";
  33. background-repeat: no-repeat;
  34. background-position: right center;
  35. background-size: 2.5rem;
  36. }
  37. .system-status-counter__status-icon--error:before {
  38. background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  39. }
  40. .system-status-counter__status-icon--warning:before {
  41. background-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  42. }
  43. .system-status-counter__status-icon--checked:before {
  44. background-image: url("data:image/svg+xml,%3csvg fill='%2373b355' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m6.464 13.676c-.194.194-.513.194-.707 0l-4.96-4.955c-.194-.193-.194-.513 0-.707l1.405-1.407c.194-.195.512-.195.707 0l2.849 2.848c.194.193.513.193.707 0l6.629-6.626c.195-.194.514-.194.707 0l1.404 1.404c.193.194.193.513 0 .707z'/%3e%3c/svg%3e");
  45. }
  46. @media (forced-colors: active) {
  47. .system-status-counter__status-icon:before {
  48. background-color: canvastext;
  49. background-image: none;
  50. -webkit-mask-repeat: no-repeat;
  51. mask-repeat: no-repeat;
  52. -webkit-mask-position: right center;
  53. mask-position: right center;
  54. -webkit-mask-size: 2.5rem;
  55. mask-size: 2.5rem;
  56. }
  57. .system-status-counter__status-icon--error:before {
  58. -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  59. mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc2323'%3e%3cpath d='M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z'/%3e%3c/svg%3e");
  60. }
  61. .system-status-counter__status-icon--warning:before {
  62. -webkit-mask-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  63. mask-image: url("data:image/svg+xml,%3csvg fill='%23e29700' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.66 12.316-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625z'/%3e%3c/svg%3e");
  64. }
  65. .system-status-counter__status-icon--checked:before {
  66. -webkit-mask-image: url("data:image/svg+xml,%3csvg fill='%2373b355' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m6.464 13.676c-.194.194-.513.194-.707 0l-4.96-4.955c-.194-.193-.194-.513 0-.707l1.405-1.407c.194-.195.512-.195.707 0l2.849 2.848c.194.193.513.193.707 0l6.629-6.626c.195-.194.514-.194.707 0l1.404 1.404c.193.194.193.513 0 .707z'/%3e%3c/svg%3e");
  67. mask-image: url("data:image/svg+xml,%3csvg fill='%2373b355' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m6.464 13.676c-.194.194-.513.194-.707 0l-4.96-4.955c-.194-.193-.194-.513 0-.707l1.405-1.407c.194-.195.512-.195.707 0l2.849 2.848c.194.193.513.193.707 0l6.629-6.626c.195-.194.514-.194.707 0l1.404 1.404c.193.194.193.513 0 .707z'/%3e%3c/svg%3e");
  68. }
  69. }
  70. .system-status-counter__status-title {
  71. display: inline-block;
  72. padding: 0 1.125rem;
  73. vertical-align: middle;
  74. font-size: 1.125em;
  75. font-weight: bold;
  76. line-height: 1em;
  77. }
  78. .system-status-counter__title-count {
  79. display: block;
  80. margin-bottom: 0.5rem;
  81. }
  82. .system-status-counter__details {
  83. display: block;
  84. text-transform: none;
  85. font-size: 0.875rem;
  86. font-weight: normal;
  87. line-height: 1.5;
  88. }
  89. @media screen and (min-width: 61rem) {
  90. .system-status-report-counters__item {
  91. padding-top: 0.75rem;
  92. padding-bottom: 0.75rem;
  93. }
  94. .system-status-counter__status-icon,
  95. .system-status-counter {
  96. height: 4.0625rem;
  97. }
  98. .system-status-counter__status-icon {
  99. width: 4.0625rem;
  100. }
  101. }

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