chart-flot.scss 2.1 KB

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