ol_ext.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /**----------------拉框放大缩小框样式-----------------------*/
  2. .ol-box {
  3. border: 2px solid #ff0000;
  4. background-color: rgba(255, 0, 0, 0.2);
  5. }
  6. /**----------------end-----------------------*/
  7. /**----------------地图量算工具样式-----------------------*/
  8. .tool-wrapper {
  9. position: absolute;
  10. z-index: 9;
  11. right: 30px;
  12. top: 30px;
  13. background-color: white;
  14. padding: 0 4px 0 6px;
  15. border-radius: 4px;
  16. }
  17. .tool:hover {
  18. color: rgba(209, 52, 214, 0.904);
  19. cursor: pointer;
  20. }
  21. .helptooltip {
  22. position: relative;
  23. background: rgb(255, 255, 255);
  24. color: #666;
  25. padding: 5px 5px;
  26. border: 1px solid #ff0000;
  27. white-space: nowrap;
  28. font-size: 12px;
  29. }
  30. .elementtooltip {
  31. position: relative;
  32. background: rgb(255, 255, 255);
  33. color: #337ab7;
  34. padding: 0px 5px;
  35. border: 1px solid #0000ff;
  36. white-space: nowrap;
  37. font-size: 13px;
  38. }
  39. .tooltip-element {
  40. opacity: 1;
  41. font-weight: bold;
  42. }
  43. .measuretooltip {
  44. position: relative;
  45. background: rgb(255, 255, 255);
  46. color: #666;
  47. padding: 0px 5px;
  48. border: 1px solid #ff0000;
  49. white-space: nowrap;
  50. font-size: 12px;
  51. }
  52. .helptooltip .output {
  53. color: #000;
  54. }
  55. .helptooltip span {
  56. color: #ff6319;
  57. font-weight: 700;
  58. }
  59. .tooltip-measure {
  60. opacity: 1;
  61. font-weight: bold;
  62. }
  63. .tooltip-static {
  64. background-color: rgb(204, 16, 16);
  65. color: black;
  66. border: 1px solid #ff0000;
  67. }
  68. .tooltip-measure:before,
  69. .tooltip-static:before {
  70. border-top: 6px solid rgb(204, 16, 16);
  71. border-right: 6px solid transparent;
  72. border-left: 6px solid transparent;
  73. content: "";
  74. position: absolute;
  75. bottom: -6px;
  76. margin-left: -7px;
  77. left: 50%;
  78. }
  79. .tooltip-static:before {
  80. border-top-color: rgb(204, 16, 16);
  81. }
  82. /**----------------end-----------------------*/
  83. /**----------------自定义popup样式-----------------------*/
  84. .custom_popup {
  85. position: absolute;
  86. background-color: #F7F7F7;
  87. box-shadow: 0 0 0.75em #777777;
  88. border-radius: 5px;
  89. bottom: 36px;
  90. left: -62px;
  91. min-width: 270px;
  92. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  93. font-size: 12px;
  94. }
  95. .ol-popup:after, .ol-popup:before {
  96. top: 100%;
  97. border: solid #0000000a;
  98. content: " ";
  99. height: 0;
  100. width: 0;
  101. position: absolute;
  102. pointer-events: none;
  103. }
  104. .ol-popup:after {
  105. border-top-color: #F7F7F7;
  106. border-width: 10px;
  107. left: 48px;
  108. margin-left: -10px;
  109. }
  110. .ol-popup:before {
  111. border-top-color: #F7F7F7;
  112. border-width: 11px;
  113. left: 48px;
  114. margin-left: -11px;
  115. }
  116. .custom_popup-title {
  117. width: 100%;
  118. height: 20px;
  119. border-radius: 5px 5px 0 0;
  120. background: #444444;
  121. color: #FFFFFF;
  122. }
  123. .custom_popup-title span {
  124. margin-left: 6px;
  125. line-height: 20px;
  126. }
  127. .custom_popup-prev {
  128. width: 0;
  129. height: 0;
  130. border-top: 7px solid transparent;
  131. border-right: 10px solid white;
  132. border-bottom: 7px solid transparent;
  133. cursor: pointer;
  134. position: absolute;
  135. right: 44px;
  136. top: 3px;
  137. display: none;
  138. }
  139. .custom_popup-next {
  140. width: 0;
  141. height: 0;
  142. border-top: 7px solid transparent;
  143. border-left: 10px solid white;
  144. border-bottom: 7px solid transparent;
  145. cursor: pointer;
  146. position: absolute;
  147. right: 28px;
  148. top: 3px;
  149. display: none;
  150. }
  151. .custom_popup-closer {
  152. text-decoration: none;
  153. position: absolute;
  154. right: 0px;
  155. transition-duration: 0.4s;
  156. color: white;
  157. border-radius: 0 5px 0 0;
  158. width: 20px;
  159. cursor: pointer;
  160. line-height: 20px;
  161. text-align: center;
  162. }
  163. .custom_popup-closer:hover {
  164. color: white;
  165. text-shadow: 0px 0px 2px #444444;
  166. background: red;
  167. }
  168. .custom_popup-content {
  169. padding: 8px 6px 8px 10px;
  170. color: #333333;
  171. line-height: 16px;
  172. }
  173. /**----------------end-----------------------*/
  174. /**----------------鹰眼样式-----------------------*/
  175. div.ol-custom-overviewmap,
  176. div.ol-custom-overviewmap.ol-uncollapsible {
  177. bottom: 10px;
  178. left: auto;
  179. right: 50px;
  180. top: auto;
  181. }
  182. div.ol-custom-overviewmap:not(.ol-collapsed) {
  183. border: 1px solid #0081c2;
  184. }
  185. div.ol-custom-overviewmap div.ol-overviewmap-map {
  186. border: none;
  187. width: 300px;
  188. background: white;
  189. }
  190. div.ol-custom-overviewmap div.ol-overviewmap-box {
  191. border: 1px solid #e43ab8;
  192. background-color: rgba(208, 39, 140, 0.2);
  193. }
  194. div.ol-custom-overviewmap:not(.ol-collapsed) button {
  195. bottom: auto;
  196. left: auto;
  197. right: 1px;
  198. top: 1px;
  199. }
  200. div.ol-rotate {
  201. top: 170px;
  202. right: 0;
  203. }
  204. /**----------------end-----------------------*/
  205. /**---------------比例尺---------*/
  206. .ol-scale-line-inner {
  207. border: 2px solid #666;
  208. color: #666;
  209. border-top: none;
  210. }
  211. .ol-scale-line {
  212. background: rgba(0,60,136,0);
  213. border-radius: 4px;
  214. bottom: 2px;
  215. left: 8px;
  216. padding: 2px;
  217. position: absolute;
  218. }
  219. /**---------------end---------*/
  220. /**----------------放大镜-----------*/
  221. .TfMagnifier {
  222. position: absolute;
  223. left: calc(50% - 150px);
  224. top: calc(50% - 150px);
  225. width: 300px;
  226. height: 300px;
  227. border: 4px solid #686868;
  228. border-radius: 150px;
  229. background-color: white;
  230. text-overflow: clip;
  231. z-index: 10001;
  232. box-shadow: rgb(102, 102, 102) 0px 0px 24px 0px;
  233. display: none;
  234. }
  235. .TfMagnifierClose {
  236. position: absolute;
  237. top: 0px;
  238. right: 45px;
  239. color: #d9534f;
  240. z-index:10003;
  241. }
  242. .TfMagnifierCloseButton {
  243. top: 25px;
  244. right: 30px;
  245. cursor: pointer;
  246. z-index: 1;
  247. background-color: #FFF;
  248. border-radius: 12px;
  249. font-size: 24px;
  250. }
  251. .TfMagnifierCover {
  252. width: 100%;
  253. height: 100%;
  254. position: absolute;
  255. bottom: 0px;
  256. z-index:10002;
  257. }
  258. .TfMagnifier .ol-viewport {
  259. border-radius: 150px;
  260. }
  261. /**-------------end----------------*/
  262. /**--------------流向结果--------------*/
  263. @font-face {
  264. font-family:'icomoon';
  265. src:url('fonts/icomoon.eot?mt6r3x');
  266. font-style:normal;
  267. }
  268. /**---------------end--------------*/