_panel_heatmap.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. opacity: 0.3;
  44. fill: #828282;
  45. stroke: darken($red,15%);
  46. }
  47. .heatmap-legend-wrapper {
  48. @include clearfix();
  49. margin: 0 $spacer;
  50. padding-top: 10px;
  51. svg {
  52. width: 100%;
  53. max-width: 300px;
  54. height: 38px;
  55. float: left;
  56. white-space: nowrap;
  57. padding-left: 10px;
  58. }
  59. .heatmap-legend-values {
  60. display: inline-block;
  61. }
  62. .axis .tick {
  63. text {
  64. fill: $text-color;
  65. color: $text-color;
  66. font-size: $font-size-sm;
  67. }
  68. line {
  69. opacity: 0.4;
  70. stroke: $text-color-weak;
  71. }
  72. .domain {
  73. opacity: 0.4;
  74. stroke: $text-color-weak;
  75. }
  76. }
  77. }