map.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. body{background:#fff;}
  2. .y_maptop_main{background: #fff; }
  3. .y_maptop{ width: 90%; margin: 0 auto; padding: 15px 0;}
  4. .y_maptop_left{ float: left; width: 590px;position:relative;}
  5. .y_maptop_left .y_maptop_scr{ float: left; width: 485px; height: 40px; border: 1px solid #e1e1e1; display: block; font-size: 15px; color: #666; padding:0 40px 0 20px;border-radius:40px;}
  6. .y_maptop_left .y_maptop_sub{position:absolute;right:30px; width: 105px; height: 40px; display: block; border: none; background: url('../image/ico_map7.png') #ff5849 no-repeat center;border-radius:40px;}
  7. .y_maptop_right{ float: left;}
  8. .y_maptop_right .y_maptop_sel{border:1px solid #D9D9D9;margin-right: 20px;float: left; width: 125px; position: relative; text-align: center; height: 40px;}
  9. .y_maptop_right .y_maptop_sel p.y_city{ margin-top: 10px;}
  10. .y_maptop_right .y_maptop_sel p.y_city span{display:inline-block; font-size: 15px; color: #333;}
  11. .y_maptop_right .y_maptop_sel p.y_city i{display:inline-block; width: 11px; height: auto; margin-left: 10px; position: relative; top: 5px;}
  12. .y_maptop_right .y_maptop_sel p.y_city i img{ width: 100%; height: 100%;}
  13. .y_maptop_right .y_maptop_sel:nth-child(2) .y_qysf{width: 125px;max-height:270px;overflow:auto;}
  14. .y_maptop_right .y_maptop_sel:nth-child(3) .y_qysf{width: 125px;max-height:270px;overflow:auto;}
  15. .y_maptop_right .y_maptop_sel:nth-child(3) p.y_leixing{padding: 0 30px;}
  16. .y_maptop_right .y_maptop_sel:nth-child(4) .y_qysf{width: 125px;max-height:270px;overflow:auto;}
  17. /*修改滚动条样式*/
  18. /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  19. .y_maptop_sel .y_qysf::-webkit-scrollbar
  20. {
  21. width: 3px; /*滚动条宽度*/
  22. height: 16px; /*滚动条高度*/
  23. }
  24. /*定义滚动条轨道 内阴影+圆角*/
  25. .y_maptop_sel .y_qysf::-webkit-scrollbar-track
  26. {
  27. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  28. /* border-radius: 10px;*/ /*滚动条的背景区域的圆角*/
  29. background-color: rgba(138, 138, 138, 0);/*滚动条的背景颜色*/
  30. }
  31. /*定义滑块 内阴影+圆角*/
  32. .y_maptop_sel .y_qysf::-webkit-scrollbar-thumb
  33. {
  34. border-radius: 10px; /*滚动条的圆角*/
  35. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  36. background-color: #8a8a8a; /*滚动条的背景颜色*/
  37. }
  38. .y_maptop_sel .y_qysf{box-shadow:0px 5px 20px 0px rgba(74, 74, 74, 0.18); display: none; position: absolute; left: 0px; top: 40px; background: #FFF; width: 328px; height: auto; z-index: 5;padding: 10px 0;}
  39. .y_maptop_sel .y_qysf p.y_left{float: left; border-right: 1px solid #e1e1e1;}
  40. .y_maptop_sel .y_qysf p.y_left a{ display: block; font-size: 14px; color: #666; line-height: 25px; margin: 10px; padding: 0 8px;}
  41. .y_maptop_sel .y_qysf p.y_right{float: left; width: 200px; text-align: left; padding: 10px 10px;}
  42. .y_maptop_sel .y_qysf p.y_right a{ display:inline-block; font-size: 14px; color: #666; line-height: 25px; padding: 0px 10px;margin: 2px 0;}
  43. .y_maptop_sel .y_qysf p.y_right a:hover{ color: #f00;}
  44. .y_maptop_sel .y_qysf i{
  45. position: absolute;
  46. left: 40px;
  47. top: -9px;
  48. width:0px;
  49. height:0px;
  50. border-top:0px solid rgba(0,0,0,0);
  51. border-right:10px solid rgba(0,0,0,0);
  52. border-bottom:10px solid #f7f7f8;
  53. border-left:10px solid rgba(0,0,0,0);
  54. }
  55. .y_maptop_sel p.y_leixing{ text-align: left;padding:0 10px;}
  56. .y_maptop_sel p.y_leixing a{ font-size: 14px; color: #666;line-height:32px;white-space:nowrap;margin:0 8px}
  57. .y_maptop_sel p.y_leixing a + a {}
  58. .y_maptop_sel p.y_leixing a:hover{ color: #f00;}
  59. .y_mapcond{ background: #2c3e50; width: 100%; padding: 15px 0;}
  60. .y_mapcond_main{ width: 90%; margin: 0 auto;}
  61. .y_mapcond_main .y_mapcond_left{ float: left;}
  62. .y_mapcond_main .y_mapcond_left a{ font-size: 14px; color: #fff; display: block;}
  63. .y_mapcond_main .y_mapcond_left a i{display: inline-block; margin-right: 5px;width: 15px; height: 16px;}
  64. .y_mapcond_main .y_mapcond_left a i img{width: 15px; height: 16px;}
  65. .y_mapcond_main .y_mapcond_right{ height: 18px; float: left; margin-left: 35px;}
  66. .y_mapcond_main .y_mapcond_right span{ padding:0 10px; font-size:14px; color: #fff;}
  67. .y_mapcond_main .y_mapcond_right span a{ width: 15px; height: 16px; position: relative; top: 2px; margin-left: 8px;}
  68. .y_mapcond_main .y_mapcond_right span a img{ width: 15px; height: 16px; }
  69. .y_mapcenter{ position: relative; width: 100%; height: 790px; overflow: hidden;}
  70. .y_mapcenter .y_mapcenter_left{ float: left; width: 450px; background: #f5f7fa; padding: 10px 0px 0px 20px; z-index: 5; height: 100%;}
  71. .y_mapcenter .y_mapcenter_left .y_mapcenter_he{ padding: 10px 20px;}
  72. .y_mapcenter .y_mapcenter_left .y_mapcenter_he span{ display: block; float: left; font-size: 14px; color: #556982;}
  73. .y_mapcenter .y_mapcenter_left .y_mapcenter_he span em{ color: #f00;}
  74. .y_mapcenter .y_mapcenter_left .y_mapcenter_he p{ display: block; float: right;}
  75. .y_mapcenter .y_mapcenter_left .y_mapcenter_he p a{ font-size: 14px; color: #556982; display: inline-block;}
  76. .y_mapcenter .y_mapcenter_left .y_mapcenter_he p a+a{ margin-left: 10px;}
  77. .y_mapcenter_list{ height: 670px; overflow: auto;background:#fff;}
  78. .y_mapcenter_list ul li{ background: #fff; padding: 10px; margin:10px 0; margin-right: 15px;}
  79. .y_mapcenter_list ul li .y_tu{ width:125px; height: 115px; float: left;}
  80. .y_mapcenter_list ul li .y_tu img{ width:100%; height: 100%; }
  81. /*数据加载样式*/
  82. .y_mapcenter_list ul li#loading {text-align:center;font-size:16px;line-height:34px;height:52px;padding-top:70%;}
  83. .y_mapcenter_list ul li#loading img {display:inline-block;position:relative;right:10px;}
  84. .y_mapcenter_list ul li .y_textmain{ float: right; width: 235px;}
  85. .y_mapcenter_list ul li .y_textmain .y_text a{display: block; float: left; font-size: 16px; color: #333;}
  86. .y_mapcenter_list ul li .y_textmain .y_text span{ font-size: 14px; color: #666; display: block; float: right;}
  87. .y_mapcenter_list ul li .y_textmain .y_text span em{ font-size: 20px; color: #f00;}
  88. .y_mapcenter_list ul li .y_textmain .y_qixian{ font-size: 12px; color: #666666; margin-top: 5px;}
  89. .y_mapcenter_list ul li .y_textmain .y_hx{ font-size: 14px; color: #666666; margin-top: 8px;text-overflow: ellipsis;
  90. white-space: nowrap;
  91. overflow: hidden;}
  92. .y_mapcenter_list ul li .y_textmain .y_tese{ margin-top: 10px;}
  93. .y_mapcenter_list ul li .y_textmain .y_tese i{display: block; float: left; font-size: 14px; padding: 5px 8px;}
  94. .y_mapcenter_list ul li .y_textmain .y_tese i+i{ margin-left: 5px;}
  95. .y_mapcenter_list ul li .y_textmain .y_tese i:nth-child(1){background: #ebf3fe; color: #638ec9;}
  96. .y_mapcenter_list ul li .y_textmain .y_tese i:nth-child(2){background: #f8eae6; color: #e3957e;}
  97. .y_mapcenter_list ul li .y_textmain .y_tese i:nth-child(3){background: #e2f8e1; color: #75ab78;}
  98. .y_mapcenter_list::-webkit-scrollbar {/*滚动条整体样式*/
  99. width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  100. height: 1px;
  101. }
  102. .y_mapcenter_list::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
  103. border-radius: 10px;
  104. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  105. background: #a4a4a4;
  106. }
  107. .y_mapcenter_list::-webkit-scrollbar-track {/*滚动条里面轨道*/
  108. -webkit-box-shadow: inset 0 0 5px #f5f7fa;
  109. border-radius: 10px;
  110. background: #f5f7fa;
  111. }
  112. .y_mapcenter_main{ width: 1000px; height: 100%; float: left;}
  113. #allmap{ width: 100%; height: 100%;overflow: hidden;}
  114. .y_footmzsm,.y_footer{ display: none;}
  115. /*地图标题*/
  116. .anchorBL{
  117. display:none;
  118. }
  119. .BMap_bubble_title{
  120. color:black;
  121. font-size:13px;
  122. font-weight: bold;
  123. text-align:left;
  124. }
  125. .BMap_pop div:nth-child(1){
  126. border-radius:5px 0 0 0;
  127. }
  128. .BMap_pop div:nth-child(3){
  129. border-radius:0 5px 0 0;background:#ABABAB;;
  130. /*background: #ABABAB;*/
  131. width:23px;
  132. width:0px;height:0px;
  133. }
  134. .BMap_pop div:nth-child(3) div{
  135. border-radius:5px;
  136. }
  137. .BMap_pop div:nth-child(5){
  138. border-radius:0 0 0 5px;
  139. }
  140. .BMap_pop div:nth-child(5) div{
  141. border-radius:5px;
  142. }
  143. .BMap_pop div:nth-child(7){
  144. border-radius:0 0 7px 0 ;
  145. }
  146. .BMap_pop div:nth-child div(7){
  147. border-radius:5px ;
  148. }