_charts.scss 732 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .chart {
  2. display: block;
  3. min-height: 10rem;
  4. text {
  5. font-family: inherit;
  6. }
  7. }
  8. .chart-sm {
  9. height: 2.5rem;
  10. }
  11. .chart-lg {
  12. height: 15rem;
  13. }
  14. .chart-square {
  15. height: 5.75rem;
  16. }
  17. /**
  18. Chart sparkline
  19. */
  20. .chart-sparkline {
  21. position: relative;
  22. width: 4rem;
  23. height: 2.5rem;
  24. line-height: 1;
  25. min-height: 0 !important;
  26. }
  27. .chart-sparkline-sm {
  28. height: 1.5rem;
  29. }
  30. .chart-sparkline-square {
  31. width: 2.5rem;
  32. }
  33. .chart-sparkline-wide {
  34. width: 6rem;
  35. }
  36. .chart-sparkline-label {
  37. position: absolute;
  38. top: 0;
  39. right: 0;
  40. bottom: 0;
  41. left: 0;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. font-size: $h6-font-size;
  46. .icon {
  47. width: 1rem;
  48. height: 1rem;
  49. font-size: 1rem;
  50. }
  51. }