You are here

system-status-counter.pcss.css in Drupal 9

Styles for the system status counter component.

File

core/themes/claro/css/components/system-status-counter.pcss.css
View source
  1. /**
  2. * @file
  3. * Styles for the system status counter component.
  4. */
  5. @import "../base/variables.pcss.css";
  6. .system-status-counter {
  7. display: inline-block;
  8. overflow-y: hidden;
  9. box-sizing: border-box;
  10. width: 100%;
  11. white-space: nowrap;
  12. }
  13. .system-status-counter__status-icon {
  14. display: inline-block;
  15. width: 65px;
  16. height: 60px;
  17. vertical-align: middle;
  18. }
  19. [dir="rtl"] .system-status-counter__status-icon {
  20. border-right: 0;
  21. border-left: 1px solid #e6e4df;
  22. }
  23. .system-status-counter__status-icon:before {
  24. display: block;
  25. width: 100%;
  26. height: 100%;
  27. content: "";
  28. background-repeat: no-repeat;
  29. background-position: right center;
  30. background-size: 40px;
  31. }
  32. .system-status-counter__status-icon--error:before {
  33. background-image: url(../../images/core/e32700/error.svg);
  34. }
  35. .system-status-counter__status-icon--warning:before {
  36. background-image: url(../../images/core/e29700/warning.svg);
  37. }
  38. .system-status-counter__status-icon--checked:before {
  39. background-image: url(../../images/core/73b355/check.svg);
  40. }
  41. .system-status-counter__status-title {
  42. display: inline-block;
  43. padding: 0 18px;
  44. vertical-align: middle;
  45. font-size: 1.125em;
  46. font-weight: bold;
  47. line-height: 1em;
  48. }
  49. .system-status-counter__title-count {
  50. display: block;
  51. margin-bottom: 8px;
  52. }
  53. .system-status-counter__details {
  54. display: block;
  55. text-transform: none;
  56. font-size: 14px;
  57. font-weight: normal;
  58. line-height: 1.5;
  59. }
  60. @media screen and (min-width: 61rem) {
  61. .system-status-report-counters__item {
  62. padding-top: var(--space-s);
  63. padding-bottom: var(--space-s);
  64. }
  65. .system-status-counter__status-icon,
  66. .system-status-counter {
  67. height: 65px;
  68. }
  69. .system-status-counter__status-icon {
  70. width: 65px;
  71. }
  72. }