compareView.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. #viewTools {
  2. position:absolute;
  3. right:266px;
  4. width:370px;
  5. height:44px;
  6. position:absolute;
  7. top: 17px;
  8. z-index:999999999999;
  9. }
  10. #viewTools .button {
  11. width: 120px;
  12. height: 44px;
  13. text-align: center;
  14. line-height: 48px;
  15. text-decoration: none;
  16. cursor: pointer;
  17. float: left;
  18. font-size: 16px;
  19. font-weight: bold;
  20. color: #00d2ff;
  21. border: none;
  22. background: none;
  23. padding:0px 0px;
  24. margin: 0px;
  25. }
  26. #viewTools .button.select {
  27. background: url(../../images/atlas/bg-tab-cur2.png) no-repeat left top;
  28. color: #ffcd2c;
  29. }
  30. #mapHolder .leaflet-container {
  31. background:none;
  32. }
  33. .viewType-1 #leftMapWrap {
  34. position:absolute;
  35. left:0px;
  36. top:0px;
  37. width:100%;
  38. height:100%;
  39. overflow:hidden;
  40. }
  41. .viewType-2 #leftMapWrap {
  42. position:absolute;
  43. left:0px;
  44. top:0px;
  45. width:50%;
  46. height:100%;
  47. overflow:hidden;
  48. border:10px solid #FFF;
  49. border-right:5px solid #FFF;
  50. }
  51. .viewType-3 #leftMapWrap {
  52. position:absolute;
  53. left:0px;
  54. top:0px;
  55. width:100%;
  56. height:100%;
  57. overflow:hidden;
  58. }
  59. #leftMap {
  60. position:absolute;
  61. left:0px;
  62. top:0px;
  63. width:100%;
  64. height:100%;
  65. background:none;
  66. z-index:11;
  67. }
  68. .viewType-2 #leftMap {
  69. border:2px solid #333;
  70. }
  71. .viewType-1 #rightMapWrap{
  72. position:absolute;
  73. right:0px;
  74. top:0px;
  75. width:100%;
  76. height:100%;
  77. overflow:hidden;
  78. }
  79. .viewType-2 #rightMapWrap{
  80. position:absolute;
  81. right:0px;
  82. top:0px;
  83. width:50%;
  84. height:100%;
  85. overflow:hidden;
  86. border:10px solid #FFF;
  87. border-left:5px solid #FFF;
  88. }
  89. .viewType-3 #rightMapWrap{
  90. position:absolute;
  91. right:0px;
  92. top:0px;
  93. width:100%;
  94. height:100%;
  95. overflow:hidden;
  96. }
  97. #rightMap {
  98. position:absolute;
  99. right:0px;
  100. top:0px;
  101. width:100%;
  102. height:100%;
  103. background:none;
  104. z-index:10;
  105. }
  106. .viewType-2 #rightMap {
  107. border:2px solid #333;
  108. }
  109. #gapButton {
  110. display:none;
  111. }
  112. #gapButton .top {
  113. position:absolute;
  114. width:36px;
  115. height:36px;
  116. display:block;
  117. top: -2px;
  118. left: -14px;
  119. background:url(../../images/atlas/icon-gap-top.png) no-repeat;
  120. }
  121. #gapButton .bottom {
  122. position:absolute;
  123. width:36px;
  124. height:36px;
  125. display:block;
  126. bottom:-5px;
  127. left:-14px;
  128. background:url(../../images/atlas/icon-gap-bottom.png) no-repeat;
  129. }
  130. .viewType-1 #gapButton {
  131. width:6px;
  132. position:absolute;
  133. z-index:8000;
  134. left:50%;
  135. height:100%;
  136. margin-left:-3px;
  137. background:#122596;
  138. cursor:pointer;
  139. display:block;
  140. }
  141. .viewType-1 #gapButton:hover {
  142. background:#dd0000;
  143. }
  144. #opacityPanel {
  145. display:none;
  146. }
  147. .viewType-3 #opacityPanel {
  148. display:block;
  149. width:250px;
  150. height:10px;
  151. position:absolute;
  152. bottom:6px;
  153. z-index:7000;
  154. background:#FFF url(../../images/atlas/bg-opacity.png) no-repeat left center;
  155. border:1px solid #000;
  156. left:50%;
  157. margin-left:-125px;
  158. }
  159. .viewType-3 #opacityPanel a {
  160. display:block;
  161. width:20px;
  162. height:20px;
  163. background: #122596;
  164. border: 1px solid #fff;
  165. position:absolute;
  166. left:125px;
  167. top:-6px;
  168. margin-left:-10px;
  169. }