system-status-counter.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * @file
  3. * Styles for the system status counter component.
  4. */
  5. .system-status-counter {
  6. box-sizing: border-box;
  7. display: inline-block;
  8. width: 100%;
  9. white-space: nowrap;
  10. background: #f5f5f5;
  11. }
  12. .system-status-counter__status-icon {
  13. display: inline-block;
  14. height: 60px;
  15. width: 60px;
  16. vertical-align: middle;
  17. }
  18. .system-status-counter__status-icon:before {
  19. content: "";
  20. background-size: 25px;
  21. background-position: 50% center;
  22. background-repeat: no-repeat;
  23. width: 100%;
  24. height: 100%;
  25. display: block;
  26. }
  27. .system-status-counter__status-icon--error:before {
  28. background-image: url(../../../images/icons/error.svg);
  29. }
  30. .system-status-counter__status-icon--warning:before {
  31. background-image: url(../../../images/icons/warning.svg);
  32. }
  33. .system-status-counter__status-icon--checked:before {
  34. background-image: url(../../../images/icons/check.svg);
  35. }
  36. .system-status-counter__status-title {
  37. display: inline-block;
  38. vertical-align: middle;
  39. text-transform: uppercase;
  40. padding: 0;
  41. font-size: 14px;
  42. line-height: 1;
  43. font-weight: bold;
  44. }
  45. .system-status-counter__title-count {
  46. display: block;
  47. }
  48. .system-status-counter__details {
  49. font-size: 12px;
  50. font-weight: normal;
  51. text-transform: none;
  52. display: block;
  53. line-height: 1;
  54. margin-top: 5px;
  55. }
  56. .system-status-counter__details a {
  57. color: #333;
  58. }
  59. @media screen and (min-width: 61em) {
  60. .system-status-counter__status-icon,
  61. .system-status-counter {
  62. height: 65px;
  63. }
  64. .system-status-counter__status-icon {
  65. width: 65px;
  66. }
  67. .system-status-counter__status-icon:before {
  68. background-size: 35px;
  69. }
  70. }