chart-flot.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* ========================================================================
  2. Component: chart-flot
  3. ======================================================================== */
  4. .flot-chart-delegasi {
  5. display: block;
  6. width: 150%;
  7. height: 250px;
  8. .legend {
  9. >table tr td {
  10. padding: 3px;
  11. display: none;
  12. }
  13. >table tr td:first-child {
  14. padding-left: 3px;
  15. display: none;
  16. }
  17. >table tr td:last-child {
  18. padding-right: 3px;
  19. display: none;
  20. }
  21. >table tr+tr td {
  22. padding-top: 0;
  23. }
  24. >div:first-child {
  25. border-color: rgba(0, 0, 0, .1) !important;
  26. }
  27. .legendColorBox>div,
  28. .legendColorBox>div>div {
  29. border-radius: 400px;
  30. }
  31. }
  32. }
  33. .flot-chart {
  34. display: block;
  35. width: 150%;
  36. height: 250px;
  37. // font-size: 15px;
  38. .legend {
  39. font-size: 13px;
  40. >table tr td {
  41. padding: 3px;
  42. }
  43. >table tr td:first-child {
  44. padding-left: 3px;
  45. }
  46. >table tr td:last-child {
  47. padding-right: 3px;
  48. }
  49. >table tr+tr td {
  50. padding-top: 0;
  51. }
  52. >div:first-child {
  53. border-color: rgba(0, 0, 0, .1) !important;
  54. }
  55. .legendColorBox>div,
  56. .legendColorBox>div>div {
  57. border-radius: 400px;
  58. }
  59. }
  60. }
  61. .flot-chart-content {
  62. width: 100%;
  63. height: 100%;
  64. }
  65. // Labels for PIE CHARTS
  66. .flot-pie-label {
  67. padding: 3px 5px;
  68. font-size: 10px;
  69. text-align: center;
  70. color: #fff;
  71. }
  72. .flot-base {
  73. max-width: 100% !important;
  74. }
  75. // Tooltip style
  76. // --------------------------------------
  77. #flotTip {
  78. position: relative;
  79. padding: 5px;
  80. font-size: 12px !important;
  81. border-radius: 2px !important;
  82. border-color: transparent !important;
  83. background-color: rgba(0, 0, 0, .75) !important;
  84. color: #f1f1f1;
  85. z-index: 5;
  86. }