ctmap.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. /* div Point */
  2. .divpoint-color {
  3. color: #2b2929;
  4. }
  5. .divpoint-background {
  6. background: rgba(255, 255, 255, 0.85);
  7. }
  8. .divpoint-wrap {
  9. position: relative;
  10. padding: 30px;
  11. overflow: hidden;
  12. }
  13. .divpoint .area {
  14. position: relative;
  15. min-width: 180px;
  16. }
  17. .divpoint .b-t {
  18. position: absolute;
  19. top: 0;
  20. left: 44px;
  21. right: 0;
  22. height: 1px;
  23. z-index: 10;
  24. }
  25. .divpoint .b-r {
  26. position: absolute;
  27. top: 0;
  28. right: 0;
  29. bottom: 44px;
  30. width: 1px;
  31. z-index: 10;
  32. }
  33. .divpoint .b-b {
  34. position: absolute;
  35. left: 0;
  36. right: 44px;
  37. bottom: 0;
  38. height: 1px;
  39. z-index: 10;
  40. }
  41. .divpoint .b-l {
  42. position: absolute;
  43. top: 44px;
  44. left: 0;
  45. bottom: 0;
  46. width: 1px;
  47. z-index: 10;
  48. }
  49. .divpoint .b-t-l {
  50. position: absolute;
  51. top: 0;
  52. left: 0;
  53. width: 1px;
  54. height: 62px;
  55. transform: rotate(45deg) translate(52px, -22px);
  56. z-index: 10;
  57. }
  58. .divpoint .b-b-r {
  59. position: absolute;
  60. bottom: 0;
  61. right: 0;
  62. width: 1px;
  63. height: 62px;
  64. transform: rotate(45deg) translate(-52px, 22px);
  65. z-index: 10;
  66. }
  67. .divpoint .label-wrap {
  68. padding-left: 12px;
  69. color: #fff;
  70. font-size: 16px;
  71. white-space: nowrap;
  72. overflow: hidden;
  73. }
  74. .divpoint .title {
  75. margin-top: 20px;
  76. padding: 0 12px 0 30px;
  77. height: 36px;
  78. line-height: 36px;
  79. position: relative;
  80. }
  81. .divpoint .title::before {
  82. content: '';
  83. position: absolute;
  84. bottom: -4px;
  85. left: 0;
  86. right: 0;
  87. z-index: 10;
  88. height: 2px;
  89. }
  90. .divpoint .label-content {
  91. padding: 15px 0;
  92. }
  93. .divpoint .data-li {
  94. padding: 4px 45px 4px 0;
  95. }
  96. .divpoint .data-label,
  97. .data-value {
  98. display: inline-block;
  99. }
  100. .divpoint .data-value {
  101. font-size: 14px;
  102. }
  103. .divpoint .label-num {
  104. margin-right: 3px;
  105. color: #f09e28;
  106. font-weight: 600;
  107. }
  108. .divpoint .label-tag {
  109. display: inline-block;
  110. position: relative;
  111. margin-right: 6px;
  112. padding: 0 6px;
  113. font-weight: 600;
  114. cursor: pointer;
  115. background-color: #909399;
  116. border-radius: 4px;
  117. }
  118. .divpoint .label-tag::after {
  119. content: attr(alt);
  120. display: inline-block;
  121. position: absolute;
  122. bottom: -22px;
  123. right: -35px;
  124. z-index: -1;
  125. padding: 2px 4px;
  126. color: #fff;
  127. font-size: 14px;
  128. background-color: #333;
  129. border-radius: 3px;
  130. opacity: 0;
  131. transition: all .3s ease-in;
  132. }
  133. .divpoint .label-tag:hover::after {
  134. opacity: 1;
  135. z-index: 11;
  136. }
  137. .divpoint .data-value-status-0 {
  138. background-color: #f0285c;
  139. }
  140. .divpoint .data-value-status-1 {
  141. background-color: #35b15b;
  142. }
  143. .divpoint .data-value-status-2 {
  144. background-color: #f09e28;
  145. }
  146. .divpoint .arrow {
  147. position: absolute;
  148. bottom: 0;
  149. left: 0;
  150. width: 45px;
  151. height: 2px;
  152. transform: rotate(-45deg) translate(5px, -15px);
  153. }
  154. .divpoint-theme-29baf1 .b-t,
  155. .divpoint-theme-29baf1 .b-r,
  156. .divpoint-theme-29baf1 .b-b,
  157. .divpoint-theme-29baf1 .b-l,
  158. .divpoint-theme-29baf1 .b-t-l,
  159. .divpoint-theme-29baf1 .b-b-r {
  160. background-color: #29baf1;
  161. box-shadow: 0 0 10px 2px #29baf1;
  162. }
  163. .divpoint-theme-29baf1 .area {
  164. background-image: linear-gradient(135deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50.1%, transparent 50%);
  165. }
  166. .divpoint-theme-29baf1 .title {
  167. background-image: linear-gradient(135deg, transparent 25px, #29baf1 25px);
  168. }
  169. .divpoint-theme-29baf1 .arrow,
  170. .divpoint-theme-29baf1 .title::before {
  171. background-color: #28bbf0;
  172. }
  173. .divpoint-theme-06e34a .b-t,
  174. .divpoint-theme-06e34a .b-r,
  175. .divpoint-theme-06e34a .b-b,
  176. .divpoint-theme-06e34a .b-l,
  177. .divpoint-theme-06e34a .b-t-l,
  178. .divpoint-theme-06e34a .b-b-r {
  179. background-color: #06e34a;
  180. box-shadow: 0 0 10px 2px #06e34a;
  181. }
  182. .divpoint-theme-06e34a .area {
  183. background-image: linear-gradient(135deg, transparent 30px, #06e3486c 30px, #06e3486c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #06e3486c 30px, #06e3486c 50.1%, transparent 50%);
  184. }
  185. .divpoint-theme-06e34a .title {
  186. background-image: linear-gradient(135deg, transparent 25px, #06e34a 25px);
  187. }
  188. .divpoint-theme-06e34a .arrow,
  189. .divpoint-theme-06e34a .title::before {
  190. background-color: #06e34a;
  191. }
  192. .divpoint-theme-e3064f .b-t,
  193. .divpoint-theme-e3064f .b-r,
  194. .divpoint-theme-e3064f .b-b,
  195. .divpoint-theme-e3064f .b-l,
  196. .divpoint-theme-e3064f .b-t-l,
  197. .divpoint-theme-e3064f .b-b-r {
  198. background-color: #e3064f;
  199. box-shadow: 0 0 10px 2px #e3064f;
  200. }
  201. .divpoint-theme-e3064f .area {
  202. background-image: linear-gradient(135deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%);
  203. }
  204. .divpoint-theme-e3064f .title {
  205. background-image: linear-gradient(135deg, transparent 25px, #e3064f 25px);
  206. }
  207. .divpoint-theme-e3064f .arrow,
  208. .divpoint-theme-e3064f .title::before {
  209. background-color: #e3064f;
  210. }
  211. .divpoint-theme-e9b709 .b-t,
  212. .divpoint-theme-e9b709 .b-r,
  213. .divpoint-theme-e9b709 .b-b,
  214. .divpoint-theme-e9b709 .b-l,
  215. .divpoint-theme-e9b709 .b-t-l,
  216. .divpoint-theme-e9b709 .b-b-r {
  217. background-color: #e9b709;
  218. box-shadow: 0 0 10px 2px #e9b709;
  219. }
  220. .divpoint-theme-e9b709 .area {
  221. background-image: linear-gradient(135deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%);
  222. }
  223. .divpoint-theme-e9b709 .title {
  224. background-image: linear-gradient(135deg, transparent 25px, #e9b709 25px);
  225. }
  226. .divpoint-theme-e9b709 .arrow,
  227. .divpoint-theme-e9b709 .title::before {
  228. background-color: #e9b709;
  229. }
  230. .divpoint1 {
  231. position: relative;
  232. width: 200px;
  233. height: 134px;
  234. background: rgba(42, 42, 42, 0.8);
  235. border-radius: 4px;
  236. background: url("../img/marker/div1.png");
  237. background-size: 100%;
  238. -webkit-background-size: cover;
  239. -moz-background-size: cover;
  240. -o-background-size: cover;
  241. -webkit-animation: mymove 5s infinite;
  242. animation: mymove 5s infinite;
  243. animation-duration: 5s;
  244. animation-timing-function: ease;
  245. animation-delay: 0s;
  246. animation-iteration-count: infinite;
  247. animation-direction: normal;
  248. animation-fill-mode: none;
  249. animation-play-state: running;
  250. animation-name: mymove;
  251. }
  252. .divpoint1 .title {
  253. position: relative;
  254. top: 20px;
  255. left: 70px;
  256. font-size: 15px;
  257. text-align: left;
  258. color: rgba(255, 255, 255, 1);
  259. text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
  260. }
  261. .divpoint2 {
  262. position: relative;
  263. width: 200px;
  264. height: 157px;
  265. background: rgba(42, 42, 42, 0.8);
  266. border-radius: 4px;
  267. background: url("../img/marker/div2.png");
  268. background-size: 100%;
  269. -webkit-background-size: cover;
  270. -moz-background-size: cover;
  271. -o-background-size: cover;
  272. -webkit-animation: mymove 5s infinite;
  273. animation: mymove 5s infinite;
  274. animation-duration: 5s;
  275. animation-timing-function: ease;
  276. animation-delay: 0s;
  277. animation-iteration-count: infinite;
  278. animation-direction: normal;
  279. animation-fill-mode: none;
  280. animation-play-state: running;
  281. animation-name: mymove;
  282. }
  283. .divpoint2 .title {
  284. position: inherit;
  285. top: 22px;
  286. left: 70px;
  287. font-size: 14px;
  288. text-align: left;
  289. color: rgba(255, 255, 255, 1);
  290. text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
  291. }
  292. .divpoint2 .content {
  293. position: inherit;
  294. font-size: 14px;
  295. top: 30px;
  296. left: 50px;
  297. width: 140px;
  298. height: auto;
  299. text-align: left;
  300. color: rgba(255, 255, 255, 1);
  301. }
  302. .mars3d-divlabel {
  303. min-width: 90px;
  304. min-height: 35px;
  305. position: absolute;
  306. left: 16px;
  307. bottom: 31px;
  308. cursor: default;
  309. border-radius: 4px;
  310. opacity: 0.96;
  311. border: 1px solid #14171c;
  312. box-shadow: 0px 2px 21px 0px rgba(33, 34, 39, 0.55);
  313. border-radius: 4px;
  314. box-sizing: border-box;
  315. background: linear-gradient(0deg, #1e202a 0%, #0d1013 100%);
  316. }
  317. .mars3d-divlabel::before {
  318. content: "";
  319. width: calc(100% + 22px);
  320. height: 39px;
  321. position: absolute;
  322. bottom: -39px;
  323. left: -22px;
  324. background: url(../img/marker/popupLbl.png) 0px 0px no-repeat;
  325. background-position: 0px 0px;
  326. }
  327. .mars3d-divlabel-text {
  328. width: 100%;
  329. height: 100%;
  330. text-align: center;
  331. padding: 1px 20px;
  332. font-size: 14px;
  333. font-family: 'MicrosoftYaHei';
  334. font-weight: 400;
  335. color: #ffffff;
  336. line-height: 33px;
  337. border: 1px solid #ffffff4f;
  338. -webkit-box-sizing: border-box;
  339. box-sizing: border-box;
  340. white-space: nowrap;
  341. }
  342. .mars3d-gradient-label {
  343. text-align: center;
  344. padding: 5px 30px;
  345. margin: 0;
  346. color: #fff;
  347. background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
  348. -webkit-border-radius: 5px;
  349. -moz-border-radius: 5px;
  350. border-radius: 5px;
  351. max-height: 130px;
  352. -webkit-user-select: none;
  353. -moz-user-select: none;
  354. -ms-user-select: none;
  355. user-select: none;
  356. white-space: nowrap;
  357. }
  358. .mars3d-gradient-label:after {
  359. content: "";
  360. position: absolute;
  361. bottom: -60px;
  362. left: calc(50% - 3px);
  363. display: block;
  364. width: 3px;
  365. height: 60px;
  366. border-right: 3px solid #2bcdbb;
  367. }