chart-flot.scss 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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: inline-block;
  35. height: 150px;
  36. width: 300px;
  37. margin-right: -70px;
  38. // font-size: 15px;
  39. .legend {
  40. font-size: 13px;
  41. >table tr td {
  42. padding: 3px;
  43. }
  44. >table tr td:first-child {
  45. padding-left: 3px;
  46. }
  47. >table tr td:last-child {
  48. padding-right: 3px;
  49. }
  50. >table tr+tr td {
  51. padding-top: 0;
  52. }
  53. >div:first-child {
  54. border-color: rgba(0, 0, 0, .1) !important;
  55. }
  56. .legendColorBox>div,
  57. .legendColorBox>div>div {
  58. // border-radius: 400px;
  59. }
  60. }
  61. }
  62. .flot-chart-content {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. // Labels for PIE CHARTS
  67. .flot-pie-label {
  68. padding: 3px 5px;
  69. font-size: 10px;
  70. text-align: center;
  71. color: #fff;
  72. }
  73. .flot-base {
  74. max-width: 100% !important;
  75. }
  76. // Tooltip style
  77. // --------------------------------------
  78. #flotTip {
  79. position: relative;
  80. padding: 5px;
  81. font-size: 12px !important;
  82. border-radius: 2px !important;
  83. border-color: transparent !important;
  84. background-color: rgba(0, 0, 0, .75) !important;
  85. color: #f1f1f1;
  86. z-index: 5;
  87. }