chart-flot.scss 2.0 KB

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