style.css 8.5 KB

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