system-status-counter.css

Same filename in this branch
  1. 8.9.x core/themes/seven/css/components/system-status-counter.css
  2. 8.9.x core/themes/stable/css/system/components/system-status-counter.css
  3. 8.9.x core/modules/system/css/components/system-status-counter.css
Same filename in other branches
  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/claro/css/components/system-status-counter.css
  4. 9 core/themes/stable/css/system/components/system-status-counter.css
  5. 9 core/modules/system/css/components/system-status-counter.css
  6. 10 core/themes/stable9/css/system/components/system-status-counter.css
  7. 10 core/themes/claro/css/components/system-status-counter.css
  8. 10 core/modules/system/css/components/system-status-counter.css
  9. 11.x core/themes/stable9/css/system/components/system-status-counter.css
  10. 11.x core/themes/claro/css/components/system-status-counter.css
  11. 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/2815083
  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. border: 1px solid #e6e4df;
  18. border-radius: 3px;
  19. background: #fcfcfa;
  20. }
  21. .system-status-counter__status-icon {
  22. display: inline-block;
  23. width: 60px;
  24. height: 60px;
  25. vertical-align: middle;
  26. border-right: 1px solid #e6e4df; /* LTR */
  27. border-left: 0; /* LTR */
  28. background-color: #faf9f5;
  29. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
  30. }
  31. [dir="rtl"] .system-status-counter__status-icon {
  32. border-right: 0;
  33. border-left: 1px solid #e6e4df;
  34. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
  35. }
  36. .system-status-counter__status-icon:before {
  37. display: block;
  38. width: 100%;
  39. height: 100%;
  40. content: "";
  41. background-repeat: no-repeat;
  42. background-position: 50% center;
  43. background-size: 25px;
  44. }
  45. .system-status-counter__status-icon--error:before {
  46. background-image: url(../../images/core/e32700/error.svg);
  47. }
  48. .system-status-counter__status-icon--warning:before {
  49. background-image: url(../../images/core/e29700/warning.svg);
  50. }
  51. .system-status-counter__status-icon--checked:before {
  52. background-image: url(../../images/core/73b355/check.svg);
  53. }
  54. .system-status-counter__status-title {
  55. display: inline-block;
  56. padding: 0 6px;
  57. vertical-align: middle;
  58. text-transform: uppercase;
  59. font-size: 1rem;
  60. font-weight: bold;
  61. line-height: 1em;
  62. }
  63. .system-status-counter__title-count {
  64. display: block;
  65. margin-bottom: 2px;
  66. }
  67. .system-status-counter__details {
  68. display: block;
  69. text-transform: none;
  70. font-size: 12px;
  71. font-weight: normal;
  72. line-height: 1.5;
  73. }
  74. @media screen and (min-width: 61em) {
  75. .system-status-counter__status-icon,
  76. .system-status-counter {
  77. height: 65px;
  78. }
  79. .system-status-counter__status-icon {
  80. width: 65px;
  81. }
  82. .system-status-counter__status-title {
  83. padding: 10px 3%;
  84. font-size: 16px;
  85. }
  86. .system-status-counter__status-icon:before {
  87. background-size: 35px;
  88. }
  89. }

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