openlayers_plus.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /**
  2. * Legend =============================================================
  3. */
  4. .openlayers-legends {
  5. position:absolute;
  6. left:5px;
  7. bottom:5px;
  8. z-index:3000;
  9. }
  10. .openlayers-legends .legend {
  11. background:#fff;
  12. -moz-border-radius:3px;
  13. -webkit-border-radius:3px;
  14. }
  15. .openlayers-legends .swatch {
  16. float:left;
  17. display:block;
  18. width:15px;
  19. height:15px;
  20. margin-right:5px;
  21. }
  22. /**
  23. * Blockswitcher ======================================================
  24. */
  25. .openlayers-blockswitcher span.key {
  26. display:block;
  27. float:left;
  28. height:20px;
  29. width:20px;
  30. margin-right:5px;
  31. }
  32. .openlayers-blockswitcher input.form-radio,
  33. .openlayers-blockswitcher input.form-checkbox { margin-right:5px; }
  34. div.openlayers-map .openlayers_plus-blockswitcher {
  35. position:absolute;
  36. z-index:3000;
  37. background:#fff;
  38. width:auto;
  39. }
  40. div.openlayers-map .openlayers_plus-blockswitcher.ne { top:0px; right:0px; }
  41. div.openlayers-map .openlayers_plus-blockswitcher.nw { top:0px; left:0px; }
  42. div.openlayers-map .openlayers_plus-blockswitcher.se { bottom:0px; right:0px; }
  43. div.openlayers-map .openlayers_plus-blockswitcher.sw { bottom:0px; left:0px; }
  44. .openlayers_plus-blockswitcher h2.block-title { cursor:pointer; }
  45. .openlayers_plus-blockswitcher div.block-content { display:none; }
  46. .openlayers_plus-blockswitcher div.radio {
  47. background: #fff url('inactive.png');
  48. background-repeat: no-repeat;
  49. padding: 3px 0 3px 25px;
  50. }
  51. .openlayers_plus-blockswitcher div.activated {
  52. background: #fff url('active.png');
  53. background-repeat: no-repeat;
  54. padding: 3px 0 3px 25px;
  55. }
  56. /**
  57. * Blocktoggle ========================================================
  58. */
  59. div.openlayers-map .block-openlayers_plus-blocktoggle {
  60. position:absolute;
  61. z-index:3001;
  62. background:transparent;
  63. width:auto;
  64. padding: 0;
  65. -moz-border-radius:3px;
  66. -webkit-border-radius:3px;
  67. }
  68. div.openlayers-map .block-openlayers_plus-blocktoggle.ne { top:0px; right:0px; }
  69. div.openlayers-map .block-openlayers_plus-blocktoggle.nw { top:0px; left:0px; }
  70. div.openlayers-map .block-openlayers_plus-blocktoggle.se { bottom:0px; right:0px; }
  71. div.openlayers-map .block-openlayers_plus-blocktoggle.sw { bottom:0px; left:0px; }
  72. .block-openlayers_plus-blocktoggle h2.block-title { display:none; }
  73. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a,
  74. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  75. float:left;
  76. color:#666;
  77. background:url('point-button.png') #fff 5px 50% no-repeat;
  78. padding:0px 5px 0px 20px;
  79. line-height:20px;
  80. width:50px;
  81. cursor:pointer;
  82. }
  83. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-a {
  84. -moz-border-radius: 3px 0 0 3px;
  85. -webkit-border-radius: 3px 0 0 3px;
  86. border-right:1px solid #ccc;
  87. }
  88. .block-openlayers_plus-blocktoggle .openlayers-blocktoggle-b {
  89. -moz-border-radius: 0 3px 3px 0;
  90. -webkit-border-radius: 0 3px 3px 0;
  91. background-image:url('point-choro.png');
  92. }
  93. .block-openlayers_plus-blocktoggle .activated {
  94. background-color:#eee;
  95. color:#222;
  96. }
  97. /**
  98. * Sample themeregion css. You probably want to override this *
  99. */
  100. .openlayers_plus-themeregion {
  101. z-index: 1000; /* this is tricky, the layers are 999, the first OpenLayers control is 1001 */
  102. position: absolute; /* We do this in code, too, as some themes position the region by ID, so we lose */
  103. }
  104. /*
  105. ** For sample purposes, place the selected region at the top of the map
  106. ** If you select more regions, that wont work too well.
  107. */
  108. .openlayers_plus-themeregion.olControlNoSelect {
  109. top:0px; right:0px;
  110. }