style.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. div.olMap {
  2. z-index: 0;
  3. padding: 0px!important;
  4. margin: 0px!important;
  5. cursor: default;
  6. }
  7. div.olMapViewport {
  8. text-align: left;
  9. }
  10. div.olLayerDiv {
  11. -moz-user-select: none;
  12. }
  13. .olControlAttribution {
  14. font-size: smaller;
  15. right: 3px;
  16. bottom: 4.5em;
  17. position: absolute;
  18. display: block;
  19. }
  20. .olControlScale {
  21. right: 3px;
  22. bottom: 3em;
  23. display: block;
  24. position: absolute;
  25. font-size: smaller;
  26. }
  27. .olControlScaleLine {
  28. display: block;
  29. position: absolute;
  30. left: 10px;
  31. bottom: 15px;
  32. font-size: xx-small;
  33. }
  34. .olControlScaleLineBottom {
  35. border: solid 2px black;
  36. border-bottom: none;
  37. margin-top:-2px;
  38. text-align: center;
  39. }
  40. .olControlScaleLineTop {
  41. border: solid 2px black;
  42. border-top: none;
  43. text-align: center;
  44. }
  45. .olControlPermalink {
  46. right: 3px;
  47. bottom: 1.5em;
  48. display: block;
  49. position: absolute;
  50. font-size: smaller;
  51. }
  52. div.olControlMousePosition {
  53. bottom: 0em;
  54. right: 3px;
  55. display: block;
  56. position: absolute;
  57. font-family: Arial;
  58. font-size: smaller;
  59. }
  60. .olControlOverviewMapContainer {
  61. position: absolute;
  62. bottom: 0px;
  63. right: 0px;
  64. }
  65. .olControlOverviewMapElement {
  66. padding: 10px 18px 10px 10px;
  67. background-color: #00008B;
  68. -moz-border-radius: 1em 0 0 0;
  69. }
  70. .olControlOverviewMapMinimizeButton {
  71. right: 0px;
  72. bottom: 80px;
  73. }
  74. .olControlOverviewMapMaximizeButton {
  75. right: 0px;
  76. bottom: 80px;
  77. }
  78. .olControlOverviewMapExtentRectangle {
  79. overflow: hidden;
  80. background-image: url("img/blank.gif");
  81. cursor: move;
  82. border: 2px dotted red;
  83. }
  84. .olControlOverviewMapRectReplacement {
  85. overflow: hidden;
  86. cursor: move;
  87. background-image: url("img/overview_replacement.gif");
  88. background-repeat: no-repeat;
  89. background-position: center;
  90. }
  91. .olLayerGeoRSSDescription {
  92. float:left;
  93. width:100%;
  94. overflow:auto;
  95. font-size:1.0em;
  96. }
  97. .olLayerGeoRSSClose {
  98. float:right;
  99. color:gray;
  100. font-size:1.2em;
  101. margin-right:6px;
  102. font-family:sans-serif;
  103. }
  104. .olLayerGeoRSSTitle {
  105. float:left;font-size:1.2em;
  106. }
  107. .olPopupContent {
  108. padding:5px;
  109. overflow: auto;
  110. }
  111. .olControlNavToolbar {
  112. width:0px;
  113. height:0px;
  114. }
  115. .olControlNavToolbar div {
  116. display:block;
  117. width: 28px;
  118. height: 28px;
  119. top: 300px;
  120. left: 6px;
  121. position: relative;
  122. }
  123. .olControlNavigationHistory {
  124. background-image: url("img/navigation_history.png");
  125. background-repeat: no-repeat;
  126. width: 24px;
  127. height: 24px;
  128. }
  129. .olControlNavigationHistoryPreviousItemActive {
  130. background-position: 0px 0px;
  131. }
  132. .olControlNavigationHistoryPreviousItemInactive {
  133. background-position: 0px -24px;
  134. }
  135. .olControlNavigationHistoryNextItemActive {
  136. background-position: -24px 0px;
  137. }
  138. .olControlNavigationHistoryNextItemInactive {
  139. background-position: -24px -24px;
  140. }
  141. .olControlNavToolbar .olControlNavigationItemActive {
  142. background-image: url("img/panning-hand-on.png");
  143. background-repeat: no-repeat;
  144. }
  145. .olControlNavToolbar .olControlNavigationItemInactive {
  146. background-image: url("img/panning-hand-off.png");
  147. background-repeat: no-repeat;
  148. }
  149. .olControlNavToolbar .olControlZoomBoxItemActive {
  150. background-image: url("img/drag-rectangle-on.png");
  151. background-color: orange;
  152. background-repeat: no-repeat;
  153. }
  154. .olControlNavToolbar .olControlZoomBoxItemInactive {
  155. background-image: url("img/drag-rectangle-off.png");
  156. background-repeat: no-repeat;
  157. }
  158. .olControlEditingToolbar {
  159. float:right;
  160. right: 0px;
  161. height: 30px;
  162. width: 200px;
  163. }
  164. .olControlEditingToolbar div {
  165. background-image: url("img/editing_tool_bar.png");
  166. background-repeat: no-repeat;
  167. float:right;
  168. width: 24px;
  169. height: 24px;
  170. margin: 5px;
  171. }
  172. .olControlEditingToolbar .olControlNavigationItemActive {
  173. background-position: -103px -23px;
  174. }
  175. .olControlEditingToolbar .olControlNavigationItemInactive {
  176. background-position: -103px -0px;
  177. }
  178. .olControlEditingToolbar .olControlDrawFeaturePointItemActive {
  179. background-position: -77px -23px;
  180. }
  181. .olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
  182. background-position: -77px -0px;
  183. }
  184. .olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
  185. background-position: -51px 0px;
  186. }
  187. .olControlEditingToolbar .olControlDrawFeaturePathItemActive {
  188. background-position: -51px -23px;
  189. }
  190. .olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
  191. background-position: -26px 0px;
  192. }
  193. .olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
  194. background-position: -26px -23px ;
  195. }
  196. div.olControlSaveFeaturesItemActive {
  197. background-image: url(img/save_features_on.png);
  198. background-repeat: no-repeat;
  199. background-position: 0px 1px;
  200. }
  201. div.olControlSaveFeaturesItemInactive {
  202. background-image: url(img/save_features_off.png);
  203. background-repeat: no-repeat;
  204. background-position: 0px 1px;
  205. }
  206. .olHandlerBoxZoomBox {
  207. border: 2px solid red;
  208. position: absolute;
  209. background-color: white;
  210. opacity: 0.50;
  211. font-size: 1px;
  212. filter: alpha(opacity=50);
  213. }
  214. .olHandlerBoxSelectFeature {
  215. border: 2px solid blue;
  216. position: absolute;
  217. background-color: white;
  218. opacity: 0.50;
  219. font-size: 1px;
  220. filter: alpha(opacity=50);
  221. }
  222. .olControlPanPanel {
  223. top: 10px;
  224. left: 5px;
  225. }
  226. .olControlPanPanel div {
  227. background-image: url(img/pan-panel.png);
  228. height: 18px;
  229. width: 18px;
  230. cursor: pointer;
  231. position: absolute;
  232. }
  233. .olControlPanPanel .olControlPanNorthItemInactive {
  234. top: 0px;
  235. left: 9px;
  236. background-position: 0px 0px;
  237. }
  238. .olControlPanPanel .olControlPanSouthItemInactive {
  239. top: 36px;
  240. left: 9px;
  241. background-position: 18px 0px;
  242. }
  243. .olControlPanPanel .olControlPanWestItemInactive {
  244. position: absolute;
  245. top: 18px;
  246. left: 0px;
  247. background-position: 0px 18px;
  248. }
  249. .olControlPanPanel .olControlPanEastItemInactive {
  250. top: 18px;
  251. left: 18px;
  252. background-position: 18px 18px;
  253. }
  254. .olControlZoomPanel {
  255. top: 71px;
  256. left: 14px;
  257. }
  258. .olControlZoomPanel div {
  259. background-image: url(img/zoom-panel.png);
  260. position: absolute;
  261. height: 18px;
  262. width: 18px;
  263. cursor: pointer;
  264. }
  265. .olControlZoomPanel .olControlZoomInItemInactive {
  266. top: 0px;
  267. left: 0px;
  268. background-position: 0px 0px;
  269. }
  270. .olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
  271. top: 18px;
  272. left: 0px;
  273. background-position: 0px -18px;
  274. }
  275. .olControlZoomPanel .olControlZoomOutItemInactive {
  276. top: 36px;
  277. left: 0px;
  278. background-position: 0px 18px;
  279. }
  280. .olPopupCloseBox {
  281. background: url("img/close.gif") no-repeat;
  282. cursor: pointer;
  283. }
  284. .olFramedCloudPopupContent {
  285. padding: 5px;
  286. overflow: auto;
  287. }
  288. .olControlNoSelect {
  289. -moz-user-select: none;
  290. }
  291. .olImageLoadError {
  292. background-color: pink;
  293. opacity: 0.5;
  294. filter: alpha(opacity=50); /* IE */
  295. }
  296. /**
  297. * Cursor styles
  298. */
  299. .olCursorWait {
  300. cursor: wait;
  301. }
  302. .olDragDown {
  303. cursor: move;
  304. }
  305. .olDrawBox {
  306. cursor: crosshair;
  307. }
  308. .olControlDragFeatureOver {
  309. cursor: move;
  310. }
  311. .olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
  312. cursor: -moz-grabbing;
  313. }
  314. /**
  315. * Layer switcher
  316. */
  317. .olControlLayerSwitcher {
  318. position: absolute;
  319. top: 25px;
  320. right: 0px;
  321. width: 20em;
  322. font-family: sans-serif;
  323. font-weight: bold;
  324. margin-top: 3px;
  325. margin-left: 3px;
  326. margin-bottom: 3px;
  327. font-size: smaller;
  328. color: white;
  329. background-color: transparent;
  330. }
  331. .olControlLayerSwitcher .layersDiv {
  332. padding-top: 5px;
  333. padding-left: 10px;
  334. padding-bottom: 5px;
  335. padding-right: 75px;
  336. background-color: darkblue;
  337. width: 100%;
  338. height: 100%;
  339. }
  340. .olControlLayerSwitcher .layersDiv .baseLbl,
  341. .olControlLayerSwitcher .layersDiv .dataLbl {
  342. margin-top: 3px;
  343. margin-left: 3px;
  344. margin-bottom: 3px;
  345. }
  346. .olControlLayerSwitcher .layersDiv .baseLayersDiv,
  347. .olControlLayerSwitcher .layersDiv .dataLayersDiv {
  348. padding-left: 10px;
  349. }
  350. .olControlLayerSwitcher .maximizeDiv,
  351. .olControlLayerSwitcher .minimizeDiv {
  352. top: 5px;
  353. right: 0px;
  354. }