chart-flot.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* ========================================================================
  2. Component: chart-flot
  3. ======================================================================== */
  4. .flot-chart {
  5. display: block;
  6. width: 100%;
  7. height: 250px;
  8. .legend {
  9. >table tr td {
  10. padding: 3px;
  11. }
  12. >table tr td:first-child {
  13. padding-left: 3px;
  14. }
  15. >table tr td:last-child {
  16. padding-right: 3px;
  17. }
  18. >table tr+tr td {
  19. padding-top: 0;
  20. }
  21. >div:first-child {
  22. border-color: rgba(0, 0, 0, .1) !important;
  23. }
  24. .legendColorBox>div,
  25. .legendColorBox>div>div {
  26. border-radius: 400px;
  27. }
  28. }
  29. }
  30. .flot-chart-content {
  31. width: 100%;
  32. height: 100%;
  33. }
  34. // Labels for PIE CHARTS
  35. .flot-pie-label {
  36. padding: 3px 5px;
  37. font-size: 10px;
  38. text-align: center;
  39. color: #fff;
  40. }
  41. .flot-base {
  42. max-width: 100% !important;
  43. }
  44. // Tooltip style
  45. // --------------------------------------
  46. #flotTip {
  47. position: relative;
  48. padding: 5px;
  49. font-size: 12px !important;
  50. border-radius: 2px !important;
  51. border-color: transparent !important;
  52. background-color: rgba(0, 0, 0, .75) !important;
  53. color: #f1f1f1;
  54. z-index: 5;
  55. }