You are here

openlayers_behaviors.css in Openlayers 6

CSS for general behavoirs

File

modules/openlayers_behaviors/openlayers_behaviors.css
View source
  1. /* $Id */
  2. /**
  3. * @file
  4. * CSS for general behavoirs
  5. *
  6. * @ingroup openlayers
  7. */
  8. /**
  9. * Tooltip
  10. * You may also with to set offset_top, and offset_left in the behavior attributes
  11. * in order to fine tune the position of the tooltip.
  12. */
  13. .openlayers-behaviors-tooltip-container {
  14. display: none;
  15. position: fixed;
  16. top: 0px;
  17. left: 0px;
  18. z-index: 1004;
  19. }
  20. .openlayers-behaviors-tooltip {
  21. position: relative;
  22. right: 12px;
  23. bottom: 6px;
  24. background-color:white;
  25. padding: 2px 3px 2px 3px;
  26. border: 1px solid #006699;
  27. }
  28. img.openlayers-tooltip-point {
  29. position: absolute;
  30. bottom: -7px;
  31. left: 5px;
  32. padding: 0px;
  33. }
  34. /**
  35. * Controls
  36. */
  37. .openlayers-controls-draw-feature-link {
  38. display: block;
  39. width: 24px;
  40. height: 22px;
  41. z-index: 1000;
  42. margin: 2px;
  43. float: right;
  44. }
  45. /* pan */
  46. .openlayers-controls-draw-feature-link-pan.openlayers-controls-draw-feature-link-on {
  47. background: url("images/pan_on.png") top left no-repeat;
  48. }
  49. .openlayers-controls-draw-feature-link-pan.openlayers-controls-draw-feature-link-off {
  50. background: url("images/pan_off.png") top left no-repeat;
  51. }
  52. /* point */
  53. .openlayers-controls-draw-feature-link-point.openlayers-controls-draw-feature-link-on {
  54. background: url("images/draw_point_on.png") top left no-repeat;
  55. }
  56. .openlayers-controls-draw-feature-link-point.openlayers-controls-draw-feature-link-off {
  57. background: url("images/draw_point_off.png") top left no-repeat;
  58. }
  59. /* path */
  60. .openlayers-controls-draw-feature-link-path.openlayers-controls-draw-feature-link-on {
  61. background: url("images/draw_path_on.png") top left no-repeat;
  62. }
  63. .openlayers-controls-draw-feature-link-path.openlayers-controls-draw-feature-link-off {
  64. background: url("images/draw_path_off.png") top left no-repeat;
  65. }
  66. /* polygon */
  67. .openlayers-controls-draw-feature-link-polygon.openlayers-controls-draw-feature-link-on {
  68. background: url("images/draw_polygon_on.png") top left no-repeat;
  69. }
  70. .openlayers-controls-draw-feature-link-polygon.openlayers-controls-draw-feature-link-off {
  71. background: url("images/draw_polygon_off.png") top left no-repeat;
  72. }
  73. /**
  74. * Fullscreen
  75. */
  76. .openlayers-controls-fullscreen {
  77. cursor: pointer;
  78. width: 16px;
  79. height: 16px;
  80. background: url("images/view-fullscreen.png") top left no-repeat;
  81. display: block;
  82. float: right;
  83. margin: 4px;
  84. z-index: 1000;
  85. }
  86. .openlayers-controls-unfullscreen {
  87. cursor: pointer;
  88. width: 16px;
  89. height: 16px;
  90. background: url("images/unview-fullscreen.png") top left no-repeat;
  91. display: block;
  92. float: right;
  93. margin: 4px;
  94. z-index: 1000;
  95. }

Related topics