openlayers.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * @file
  3. * OpenLayers Main CSS
  4. *
  5. * This file holds the base CSS for the openlayers module
  6. *
  7. * @ingroup openlayers
  8. */
  9. .openlayers-cck-feature-selected { border: 2px solid blue; }
  10. .openlayers-map {
  11. z-index:0;
  12. position:relative;
  13. }
  14. /**
  15. * prevent rtl translations from mirroring
  16. * vector layers
  17. */
  18. .openlayers-map .olLayerDiv {
  19. direction: ltr
  20. }
  21. /**
  22. * Controls
  23. */
  24. .openlayers-controls {
  25. z-index: 1000;
  26. }
  27. body .olControlLayerSwitcher .layersDiv {
  28. background-color: #222222;
  29. }
  30. body .olControlLayerSwitcher.legacy .layersDiv {
  31. background-color: darkblue;
  32. }
  33. body .olControlAttribution {
  34. right: 5px;
  35. bottom: 5px;
  36. }
  37. /**
  38. * This is a 'sensible default' for a weird decision
  39. * by OpenLayers to make 404 tiles pink.
  40. */
  41. body .olImageLoadError {
  42. background: transparent;
  43. }
  44. /*
  45. * Do not display the close button on tooltips.
  46. * See #1875844
  47. */
  48. .openlayers-container #tooltip #tooltip_close {
  49. display: none;
  50. }
  51. /*
  52. * Make OpenLayers img tag behave correctly with responsive stuff.
  53. * See #1816826
  54. */
  55. .openlayers-container img {
  56. max-width: none;
  57. }
  58. /*
  59. * Fix #1904424 and #1646646.
  60. */
  61. label.olButton {
  62. display: inline;
  63. }