system-status-counter.css

Same filename in this branch
  1. main core/themes/stable9/css/system/components/system-status-counter.css
  2. main core/themes/claro/css/components/system-status-counter.css
  3. main core/modules/system/css/components/system-status-counter.css
  4. main core/themes/admin/css/components/system-status-counter.css
Same filename and directory in other branches
  1. 10 core/themes/stable9/css/system/components/system-status-counter.css
  2. 10 core/themes/claro/css/components/system-status-counter.css
  3. 11.x core/themes/stable9/css/system/components/system-status-counter.css
  4. 11.x core/themes/claro/css/components/system-status-counter.css
  5. 11.x core/modules/system/css/components/system-status-counter.css
  6. 10 core/modules/system/css/components/system-status-counter.css
  7. 9 core/themes/stable9/css/system/components/system-status-counter.css
  8. 9 core/themes/seven/css/components/system-status-counter.css
  9. 9 core/themes/claro/css/components/system-status-counter.css
  10. 9 core/themes/stable/css/system/components/system-status-counter.css
  11. 9 core/modules/system/css/components/system-status-counter.css
  12. 8.9.x core/themes/seven/css/components/system-status-counter.css
  13. 8.9.x core/themes/claro/css/components/system-status-counter.css
  14. 8.9.x core/themes/stable/css/system/components/system-status-counter.css
  15. 8.9.x core/modules/system/css/components/system-status-counter.css
  16. 11.x core/themes/admin/css/components/system-status-counter.css
  17. 11.x core/themes/default_admin/css/components/system-status-counter.css

Styles for the system status counter component.

File

core/themes/default_admin/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. height: auto;
  16. padding: var(--admin-space-m) 0;
  17. white-space: nowrap;
  18. border-radius: var(--admin-radius-m);
  19. background: var(--admin-color-bg-surface);
  20. inline-size: 100%;
  21. }
  22. .system-status-counter__status-icon {
  23. display: inline-block;
  24. block-size: 4.0625rem;
  25. inline-size: 3.75rem;
  26. vertical-align: middle;
  27. background-color: transparent;
  28. box-shadow: none;
  29. &::before {
  30. display: block;
  31. block-size: 100%;
  32. inline-size: 100%;
  33. content: "";
  34. mask-repeat: no-repeat;
  35. mask-position: center 1rem;
  36. mask-size: 2rem;
  37. &:dir(rtl) {
  38. mask-position: left center;
  39. }
  40. @media (forced-colors: active) {
  41. background-color: canvastext;
  42. }
  43. }
  44. @media screen and (min-width: 61rem) {
  45. inline-size: 4.0625rem;
  46. }
  47. }
  48. .system-status-counter__status-icon--error::before {
  49. background-color: var(--admin-color-error);
  50. mask-image: var(--admin-icon-error);
  51. }
  52. .system-status-counter__status-icon--warning::before {
  53. background-color: var(--admin-color-warning);
  54. mask-image: var(--admin-icon-warning);
  55. }
  56. .system-status-counter__status-icon--checked::before {
  57. background-color: var(--admin-color-success);
  58. mask-image: var(--admin-icon-status);
  59. }
  60. .system-status-counter__status-title {
  61. display: inline-block;
  62. padding: 0 1.125rem;
  63. padding-inline-start: 0;
  64. vertical-align: middle;
  65. font-size: 1.125em;
  66. font-weight: bold;
  67. line-height: 1em;
  68. }
  69. .system-status-counter__title-count {
  70. display: block;
  71. margin-block-end: 0.5rem;
  72. font-weight: var(--admin-font-weight-semibold);
  73. }
  74. .system-status-counter__details {
  75. display: block;
  76. text-transform: none;
  77. font-size: var(--admin-font-size-s);
  78. font-weight: normal;
  79. line-height: 1.5;
  80. }

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