module.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <kibana-panel ng-controller='map' ng-init="init()">
  2. <style>
  3. .jvectormap-label {
  4. position: absolute;
  5. display: none;
  6. visibility: hidden;
  7. border: solid 1px #CDCDCD;
  8. -webkit-border-radius: 3px;
  9. -moz-border-radius: 3px;
  10. border-radius: 3px;
  11. background: #292929;
  12. color: white;
  13. font-family: sans-serif, Verdana;
  14. font-size: smaller;
  15. padding: 3px;
  16. }
  17. .jvectormap-zoomin, .jvectormap-zoomout {
  18. position: absolute;
  19. left: 10px;
  20. -webkit-border-radius: 3px;
  21. -moz-border-radius: 3px;
  22. border-radius: 3px;
  23. background: #292929;
  24. padding: 3px;
  25. color: white;
  26. width: 10px;
  27. height: 10px;
  28. cursor: pointer;
  29. line-height: 10px;
  30. text-align: center;
  31. }
  32. .jvectormap {
  33. position: relative;
  34. }
  35. .jvectormap-zoomin {
  36. display: none;
  37. top: 10px;
  38. }
  39. .jvectormap-zoomout {
  40. display: none;
  41. top: 30px;
  42. }
  43. .map-legend {
  44. color : #c8c8c8;
  45. padding : 10px;
  46. font-size: 11pt;
  47. font-weight: 200;
  48. background-color: #1f1f1f;
  49. border-radius: 5px;
  50. position: absolute;
  51. right: 0px;
  52. top: 15px;
  53. display: none;
  54. z-index: 99;
  55. }
  56. </style>
  57. <span ng-show="panel.spyable" class='spy panelextra pointer'>
  58. <i bs-modal="'partials/modal.html'" class="icon-eye-open"></i>
  59. </span>
  60. <div class="jvectormap" map params="{{panel}}" style="height:{{panel.height || row.height}}"></div>
  61. </kibana-panel>