_panel_heatmap.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .heatmap-canvas-wrapper {
  2. // position: relative;
  3. cursor: crosshair;
  4. }
  5. .heatmap-panel {
  6. position: relative;
  7. .axis .tick {
  8. text {
  9. fill: $text-color;
  10. color: $text-color;
  11. font-size: $font-size-sm;
  12. }
  13. line {
  14. opacity: 0.4;
  15. stroke: $text-color-weak;
  16. }
  17. }
  18. // This hack prevents mouseenter/mouseleave events get fired too often
  19. svg {
  20. pointer-events: none;
  21. rect {
  22. pointer-events: visiblePainted;
  23. }
  24. }
  25. }
  26. .heatmap-tooltip {
  27. white-space: nowrap;
  28. font-size: $font-size-sm;
  29. background-color: $graph-tooltip-bg;
  30. color: $text-color;
  31. }
  32. .heatmap-histogram rect {
  33. fill: $text-color-weak;
  34. }
  35. .heatmap-crosshair {
  36. line {
  37. stroke: darken($red,15%);
  38. stroke-width: 1;
  39. }
  40. }
  41. .heatmap-selection {
  42. stroke-width: 1;
  43. fill: rgba(102, 102, 102, 0.4);
  44. stroke: rgba(102, 102, 102, 0.8);
  45. }
  46. .heatmap-legend-wrapper {
  47. @include clearfix();
  48. margin: 0 $spacer;
  49. padding-top: 10px;
  50. svg {
  51. width: 100%;
  52. max-width: 300px;
  53. height: 33px;
  54. float: left;
  55. white-space: nowrap;
  56. padding-left: 10px;
  57. }
  58. .heatmap-legend-values {
  59. display: inline-block;
  60. }
  61. .axis .tick {
  62. text {
  63. fill: $text-color;
  64. color: $text-color;
  65. font-size: $font-size-sm;
  66. }
  67. line {
  68. opacity: 0.4;
  69. stroke: $text-color-weak;
  70. }
  71. .domain {
  72. opacity: 0.4;
  73. stroke: $text-color-weak;
  74. }
  75. }
  76. }