mirage2d 1.1.88 → 1.1.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,510 +1,920 @@
1
- /* DivGraphic 相关的样式 */
1
+ /* DivGraphic 相关的样式 */
2
+
3
+ .mirage2d-colorPoint {
4
+ background: #ff6a00;
5
+ border: #eee 2px solid;
6
+ width: 15px;
7
+ height: 15px;
8
+ border-radius: 50%;
9
+ box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
10
+ }
11
+
12
+ /**************** 一个黑色面板,指向左下角黄色连线 ****************/
13
+ .mirageBlackPanel {
14
+
15
+ min-width: 90px;
16
+ min-height: 35px;
17
+ position: absolute;
18
+ left: 16px;
19
+ bottom: 31px;
20
+ cursor: default;
21
+ border-radius: 4px;
22
+ opacity: 0.96;
23
+ border: 1px solid #14171c;
24
+ box-shadow: 0px 2px 21px 0px rgba(33, 34, 39, 0.55);
25
+ border-radius: 4px;
26
+ box-sizing: border-box;
27
+ background: linear-gradient(0deg, #1e202a 0%, #0d1013 100%);
2
28
 
3
- mirage2d-colorPoint {
4
- background: #ff6a00;
5
- border: #eee 2px solid;
6
- width: 15px;
7
- height: 15px;
8
- border-radius: 50%;
9
- box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
10
- }
11
-
12
- /**************** 一个黑色面板,指向左下角黄色连线 ****************/
13
- .mirageBlackPanel {
14
- min-width: 90px;
15
- min-height: 35px;
16
- position: absolute;
17
- left: 16px;
18
- bottom: 31px;
19
- cursor: default;
20
- border-radius: 4px;
21
- opacity: 0.96;
22
- border: 1px solid #14171c;
23
- box-shadow: 0px 2px 21px 0px rgba(33, 34, 39, 0.55);
24
- border-radius: 4px;
25
- box-sizing: border-box;
26
- background: linear-gradient(0deg, #1e202a 0%, #0d1013 100%);
27
- }
28
-
29
- .mirageBlackPanel::before {
30
- content: "";
31
- width: calc(100% + 22px);
32
- height: 39px;
33
- position: absolute;
34
- bottom: -39px;
35
- left: -22px;
36
- background: url("../../image/marker/popupLbl.png") 0px 0px no-repeat;
37
- background-position: 0px 0px;
38
- }
39
-
40
- .mirageBlackPanel-text {
41
- width: 100%;
42
- height: 100%;
43
- min-height: 33px;
44
- text-align: center;
45
- padding: 5px 5px 0 5px;
46
- margin: 0;
47
- font-size: 14px;
48
- font-weight: 400;
49
- color: #ffffff;
50
- border: 1px solid #ffffff4f;
51
- -webkit-box-sizing: border-box;
52
- box-sizing: border-box;
53
- white-space: nowrap;
54
- }
55
-
56
- .mirageBlackPanel-highlight {
57
- border: 2px solid yellow;
58
- }
59
-
60
- /**************** 一个渐变的文本面板,中间竖直连线 ****************/
61
- .mirageBlueGradientPnl {
62
- text-align: center;
63
- padding: 5px 30px;
64
- margin: 0;
65
- color: #fff;
66
- background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
67
- -webkit-border-radius: 5px;
68
- -moz-border-radius: 5px;
69
- border-radius: 5px;
70
- max-height: 130px;
71
- -webkit-user-select: none;
72
- -moz-user-select: none;
73
- -ms-user-select: none;
74
- user-select: none;
75
- white-space: nowrap;
76
- }
77
-
78
- .mirageBlueGradientPnl:after {
79
- content: "";
80
- position: absolute;
81
- bottom: -60px;
82
- left: calc(50% - 3px);
83
- display: block;
84
- width: 3px;
85
- height: 60px;
86
- border-right: 3px solid #2bcdbb;
87
- }
88
-
89
- .mirageBlueGradientPnl-highlight {
90
- border: 2px solid yellow;
91
- }
92
- .mirageBlueGradientPnl-highlight:after {
93
- border-right: 3px solid yellow;
94
- }
95
29
 
96
- /**************** 一个简洁文本面板,中间竖直连线 ****************/
97
- .mirageGreenGradientPnl {
98
- width: 100px;
99
- text-align: center;
100
- background-image: linear-gradient(to right, #565d39, #00ffc3);
101
- position: absolute;
102
- left: -50px;
103
- bottom: 30px;
104
- cursor: default;
105
- padding: 5px;
106
- border: 1px solid #9c9944e8;
30
+ }
31
+
32
+ .mirageBlackPanel::before {
33
+ content: "";
34
+ width: calc(100% + 22px);
35
+ height: 39px;
36
+ position: absolute;
37
+ bottom: -39px;
38
+ left: -22px;
39
+ background: url("../image/marker/popupLbl.png") 0px 0px no-repeat;
40
+ background-position: 0px 0px;
41
+ }
42
+
43
+ .mirageBlackPanel-text {
44
+ width: 100%;
45
+ height: 100%;
46
+ min-height: 33px;
47
+ text-align: center;
48
+ padding: 5px 5px 0 5px;
49
+ margin: 0;
50
+ font-size: 14px;
51
+ font-weight: 400;
52
+ color: #ffffff;
53
+ border: 1px solid #ffffff4f;
54
+ -webkit-box-sizing: border-box;
55
+ box-sizing: border-box;
56
+ white-space: nowrap;
57
+ }
58
+
59
+ .mirageBlackPanel-highlight {
60
+ border: 2px solid yellow;
61
+ }
62
+
63
+ /**************** 一个渐变的文本面板,中间竖直连线 ****************/
64
+ .mirageBlueGradientPnl {
65
+ text-align: center;
66
+ padding: 5px 30px;
67
+ margin: 0;
68
+ color: #fff;
69
+ background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
70
+ -webkit-border-radius: 5px;
71
+ -moz-border-radius: 5px;
72
+ border-radius: 5px;
73
+ max-height: 130px;
74
+ -webkit-user-select: none;
75
+ -moz-user-select: none;
76
+ -ms-user-select: none;
77
+ user-select: none;
78
+ white-space: nowrap;
79
+ }
80
+
81
+ .mirageBlueGradientPnl:after {
82
+ content: "";
83
+ position: absolute;
84
+ bottom: -60px;
85
+ left: calc(50% - 3px);
86
+ display: block;
87
+ width: 3px;
88
+ height: 60px;
89
+ border-right: 3px solid #2bcdbb;
90
+ }
91
+
92
+ .mirageBlueGradientPnl-highlight {
93
+ border: 2px solid yellow;
94
+ }
95
+
96
+ .mirageBlueGradientPnl-highlight:after {
97
+ border-right: 3px solid yellow;
98
+ }
99
+
100
+ /**************** 一个简洁文本面板,中间竖直连线 ****************/
101
+ .mirageGreenGradientPnl {
102
+ width: 100px;
103
+ text-align: center;
104
+ background-image: linear-gradient(to right, #565d39, #00ffc3);
105
+ position: absolute;
106
+ left: -50px;
107
+ bottom: 30px;
108
+ cursor: default;
109
+ padding: 5px;
110
+ border: 1px solid #9c9944e8;
111
+ }
112
+
113
+ .mirageGreenGradientPnl:hover {
114
+ border: 1px solid rgb(9, 255, 0);
115
+ }
116
+
117
+ .mirageGreenGradientPnl::before {
118
+ position: absolute;
119
+ content: "";
120
+ left: 50%;
121
+ bottom: -30px;
122
+ height: 30px;
123
+ border-left: 2px dashed #c5e22770;
124
+ }
125
+
126
+ .mirageGreenGradientPnl-highlight {
127
+ border: 2px solid yellow;
128
+ }
129
+
130
+ .mirageGreenGradientPnl-highlight::before {
131
+ border-left: 2px dashed yellow !important;
132
+ }
133
+
134
+ /********** 面板:倾斜指向左下角的div1.png图片面板样式 ***********/
135
+
136
+ .mirageImgPanel1 {
137
+ position: relative;
138
+ width: 200px;
139
+ height: 134px;
140
+ background: rgba(42, 42, 42, 0.8);
141
+ border-radius: 4px;
142
+
143
+ background: url("../image/marker/div1.png");
144
+ background-size: 100%;
145
+ -webkit-background-size: cover;
146
+ -moz-background-size: cover;
147
+ -o-background-size: cover;
148
+
149
+ -webkit-animation: mymove 5s infinite;
150
+ animation: mymove 5s infinite;
151
+ animation-duration: 5s;
152
+ animation-timing-function: ease;
153
+ animation-delay: 0s;
154
+ animation-iteration-count: infinite;
155
+ animation-direction: normal;
156
+ animation-fill-mode: none;
157
+ animation-play-state: running;
158
+ animation-name: mymove;
159
+ }
160
+
161
+ .mirageImgPanel1 .title {
162
+ position: relative;
163
+ top: 20px;
164
+ left: 70px;
165
+ font-size: 15px;
166
+ text-align: left;
167
+ color: rgba(255, 255, 255, 1);
168
+ text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
169
+ }
170
+
171
+ /********** 面板:倾斜指向左下角的div2.png图片面板样式 ***********/
172
+ .mirageImgPanel2 {
173
+ position: relative;
174
+ width: 200px;
175
+ height: 157px;
176
+ background: rgba(42, 42, 42, 0.8);
177
+ border-radius: 4px;
178
+ background: url("../image/marker/div2.png");
179
+ background-size: 100%;
180
+ -webkit-background-size: cover;
181
+ -moz-background-size: cover;
182
+ -o-background-size: cover;
183
+
184
+ -webkit-animation: mymove 5s infinite;
185
+ animation: mymove 5s infinite;
186
+ animation-duration: 5s;
187
+ animation-timing-function: ease;
188
+ animation-delay: 0s;
189
+ animation-iteration-count: infinite;
190
+ animation-direction: normal;
191
+ animation-fill-mode: none;
192
+ animation-play-state: running;
193
+ animation-name: mymove;
194
+ }
195
+
196
+ .mirageImgPanel2 .title {
197
+ position: inherit;
198
+ top: 22px;
199
+ left: 70px;
200
+ font-size: 14px;
201
+ text-align: left;
202
+
203
+ color: rgba(255, 255, 255, 1);
204
+ text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
205
+ }
206
+
207
+ .mirageImgPanel2 .content {
208
+ position: inherit;
209
+ font-size: 14px;
210
+ top: 30px;
211
+ left: 50px;
212
+ width: 140px;
213
+ height: auto;
214
+ text-align: left;
215
+ color: rgba(255, 255, 255, 1);
216
+ overflow: hidden;
217
+ }
218
+
219
+ /********** 面板:倾斜指向左下角的面板样式 ***********/
220
+ .mirageTiltPanel {
221
+ width: 400px;
222
+ }
223
+
224
+ .mirageTiltPanel-wrap {
225
+ position: relative;
226
+ padding: 30px;
227
+ overflow: hidden;
228
+ }
229
+
230
+ .mirageTiltPanel .area {
231
+ position: relative;
232
+ min-width: 180px;
233
+ }
234
+
235
+ .mirageTiltPanel .b-t {
236
+ position: absolute;
237
+ top: 0;
238
+ left: 44px;
239
+ right: 0;
240
+ height: 1px;
241
+ z-index: 10;
242
+ }
243
+
244
+ .mirageTiltPanel .b-r {
245
+ position: absolute;
246
+ top: 0;
247
+ right: 0;
248
+ bottom: 44px;
249
+ width: 1px;
250
+ z-index: 10;
251
+ }
252
+
253
+ .mirageTiltPanel .b-b {
254
+ position: absolute;
255
+ left: 0;
256
+ right: 44px;
257
+ bottom: 0;
258
+ height: 1px;
259
+ z-index: 10;
260
+ }
261
+
262
+ .mirageTiltPanel .b-l {
263
+ position: absolute;
264
+ top: 44px;
265
+ left: 0;
266
+ bottom: 0;
267
+ width: 1px;
268
+ z-index: 10;
269
+ }
270
+
271
+ .mirageTiltPanel .b-t-l {
272
+ position: absolute;
273
+ top: 0;
274
+ left: 0;
275
+ width: 1px;
276
+ height: 62px;
277
+ transform: rotate(45deg) translate(52px, -22px);
278
+ z-index: 10;
279
+ }
280
+
281
+ .mirageTiltPanel .b-b-r {
282
+ position: absolute;
283
+ bottom: 0;
284
+ right: 0;
285
+ width: 1px;
286
+ height: 62px;
287
+ transform: rotate(45deg) translate(-52px, 22px);
288
+ z-index: 10;
289
+ }
290
+
291
+ .mirageTiltPanel .label-wrap {
292
+ padding-left: 12px;
293
+ color: #fff;
294
+ font-size: 16px;
295
+ white-space: nowrap;
296
+ overflow: hidden;
297
+ }
298
+
299
+ .mirageTiltPanel .title {
300
+ margin-top: 20px;
301
+ padding: 0 12px 0 30px;
302
+ height: 36px;
303
+ line-height: 36px;
304
+ position: relative;
305
+ }
306
+
307
+ .mirageTiltPanel .title::before {
308
+ content: "";
309
+ position: absolute;
310
+ bottom: -4px;
311
+ left: 0;
312
+ right: 0;
313
+ z-index: 10;
314
+ height: 2px;
315
+ }
316
+
317
+ .mirageTiltPanel .label-content {
318
+ padding: 15px 0;
319
+ }
320
+
321
+ .mirageTiltPanel .data-li {
322
+ padding: 4px 45px 4px 0;
323
+ }
324
+
325
+ .mirageTiltPanel .data-label,
326
+ .data-value {
327
+ display: inline-block;
328
+ }
329
+
330
+ .mirageTiltPanel .data-value {
331
+ font-size: 14px;
332
+ }
333
+
334
+ .mirageTiltPanel .label-num {
335
+ margin-right: 3px;
336
+ color: #f09e28;
337
+ font-weight: 600;
338
+ }
339
+
340
+ .mirageTiltPanel .label-tag {
341
+ display: inline-block;
342
+ position: relative;
343
+ margin-right: 6px;
344
+ padding: 0 6px;
345
+ font-weight: 600;
346
+ cursor: pointer;
347
+ background-color: #909399;
348
+ border-radius: 4px;
349
+ }
350
+
351
+ .mirageTiltPanel .label-tag::after {
352
+ content: attr(alt);
353
+ display: inline-block;
354
+ position: absolute;
355
+ bottom: -22px;
356
+ right: -35px;
357
+ z-index: -1;
358
+ padding: 2px 4px;
359
+ color: #fff;
360
+ font-size: 14px;
361
+ background-color: #333;
362
+ border-radius: 3px;
363
+ opacity: 0;
364
+ transition: all 0.3s ease-in;
365
+ }
366
+
367
+ .mirageTiltPanel .label-tag:hover::after {
368
+ opacity: 1;
369
+ z-index: 11;
370
+ }
371
+
372
+ .mirageTiltPanel .data-value-status-0 {
373
+ background-color: #f0285c;
374
+ }
375
+
376
+ .mirageTiltPanel .data-value-status-1 {
377
+ background-color: #35b15b;
378
+ }
379
+
380
+ .mirageTiltPanel .data-value-status-2 {
381
+ background-color: #f09e28;
382
+ }
383
+
384
+ .mirageTiltPanel .arrow {
385
+ position: absolute;
386
+ bottom: 0;
387
+ left: 0;
388
+ width: 45px;
389
+ height: 2px;
390
+ transform: rotate(-45deg) translate(5px, -15px);
391
+ }
392
+
393
+ /* 蓝色主题 */
394
+
395
+ .mirageTiltPanel-theme-blue .b-t,
396
+ .mirageTiltPanel-theme-blue .b-r,
397
+ .mirageTiltPanel-theme-blue .b-b,
398
+ .mirageTiltPanel-theme-blue .b-l,
399
+ .mirageTiltPanel-theme-blue .b-t-l,
400
+ .mirageTiltPanel-theme-blue .b-b-r {
401
+ background-color: #29baf1;
402
+ box-shadow: 0 0 10px 2px #29baf1;
403
+ }
404
+
405
+ .mirageTiltPanel-theme-blue .area {
406
+ background-image: linear-gradient(135deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50%, transparent 50%),
407
+ linear-gradient(-45deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50.1%, transparent 50%);
408
+ }
409
+
410
+ .mirageTiltPanel-theme-blue .title {
411
+ background-image: linear-gradient(135deg, transparent 25px, #29baf1 25px);
412
+ }
413
+
414
+ .mirageTiltPanel-theme-blue .arrow,
415
+ .mirageTiltPanel-theme-blue .title::before {
416
+ background-color: #28bbf0;
417
+ }
418
+
419
+ /* 绿色主题 */
420
+
421
+ .mirageTiltPanel-theme-green .b-t,
422
+ .mirageTiltPanel-theme-green .b-r,
423
+ .mirageTiltPanel-theme-green .b-b,
424
+ .mirageTiltPanel-theme-green .b-l,
425
+ .mirageTiltPanel-theme-green .b-t-l,
426
+ .mirageTiltPanel-theme-green .b-b-r {
427
+ background-color: #06e34a;
428
+ box-shadow: 0 0 10px 2px #06e34a;
429
+ }
430
+
431
+ .mirageTiltPanel-theme-green .area {
432
+ background-image: linear-gradient(135deg, transparent 30px, #06e3486c 30px, #06e3486c 50%, transparent 50%),
433
+ linear-gradient(-45deg, transparent 30px, #06e3486c 30px, #06e3486c 50.1%, transparent 50%);
434
+ }
435
+
436
+ .mirageTiltPanel-theme-green .title {
437
+ background-image: linear-gradient(135deg, transparent 25px, #06e34a 25px);
438
+ }
439
+
440
+ .mirageTiltPanel-theme-green .arrow,
441
+ .mirageTiltPanel-theme-green .title::before {
442
+ background-color: #06e34a;
443
+ }
444
+
445
+ /* 红色主题 */
446
+ .mirageTiltPanel-theme-red .b-t,
447
+ .mirageTiltPanel-theme-red .b-r,
448
+ .mirageTiltPanel-theme-red .b-b,
449
+ .mirageTiltPanel-theme-red .b-l,
450
+ .mirageTiltPanel-theme-red .b-t-l,
451
+ .mirageTiltPanel-theme-red .b-b-r {
452
+ background-color: #e3064f;
453
+ box-shadow: 0 0 10px 2px #e3064f;
454
+ }
455
+
456
+ .mirageTiltPanel-theme-red .area {
457
+ background-image: linear-gradient(134deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%),
458
+ linear-gradient(-46deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%);
459
+ }
460
+
461
+ .mirageTiltPanel-theme-red .title {
462
+ background-image: linear-gradient(135deg, transparent 25px, #e3064f 25px);
463
+ }
464
+
465
+ .mirageTiltPanel-theme-red .arrow,
466
+ .mirageTiltPanel-theme-red .title::before {
467
+ background-color: #e3064f;
468
+ }
469
+
470
+ /* 黄色主题 */
471
+
472
+ .mirageTiltPanel-theme-e9b709 .b-t,
473
+ .mirageTiltPanel-theme-e9b709 .b-r,
474
+ .mirageTiltPanel-theme-e9b709 .b-b,
475
+ .mirageTiltPanel-theme-e9b709 .b-l,
476
+ .mirageTiltPanel-theme-e9b709 .b-t-l,
477
+ .mirageTiltPanel-theme-e9b709 .b-b-r {
478
+ background-color: #e9b709;
479
+ box-shadow: 0 0 10px 2px #e9b709;
480
+ }
481
+
482
+ .mirageTiltPanel-theme-e9b709 .area {
483
+ background-image: linear-gradient(135deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%),
484
+ linear-gradient(-45deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%);
485
+ }
486
+
487
+ .mirageTiltPanel-theme-e9b709 .title {
488
+ background-image: linear-gradient(135deg, transparent 25px, #e9b709 25px);
489
+ }
490
+
491
+ .mirageTiltPanel-theme-e9b709 .arrow,
492
+ .mirageTiltPanel-theme-e9b709 .title::before {
493
+ background-color: #e9b709;
494
+ }
495
+
496
+ /**************** 部分公共样式,如选中样式、动画等 ****************/
497
+
498
+ .animation-spaceInDown {
499
+ animation-duration: 1s;
500
+ animation-fill-mode: both;
501
+ animation-name: spaceInDown;
502
+ }
503
+
504
+ @keyframes spaceInDown {
505
+ 0% {
506
+ opacity: 0;
507
+ transform-origin: 0% 100%;
508
+ transform: scale(0.2) translate(0, 200%);
107
509
  }
108
-
109
- .mirageGreenGradientPnl:hover {
110
- border: 1px solid rgb(9, 255, 0);
510
+
511
+ 100% {
512
+ opacity: 1;
513
+ transform-origin: 0% 100%;
514
+ transform: scale(1) translate(0, 0);
111
515
  }
112
-
113
- .mirageGreenGradientPnl::before {
114
- position: absolute;
115
- content: "";
116
- left: 50%;
117
- bottom: -30px;
516
+ }
517
+
518
+ /**内置的DivGraphic通用样式【文本动态边框】*/
519
+ .mirage2d-divBoderLabel {
520
+ position: absolute;
521
+ left: 0px;
522
+ bottom: 0px;
523
+ cursor: pointer;
524
+ --animation-name: mirage2d-divBoderLabel-animate;
525
+ --text-left-position: -75px;
526
+ }
527
+ @keyframes mirage2d-divBoderLabel-animate {
528
+ 0%,
529
+ 100% {
530
+ clip: rect(0px, var(--clip-width-1), 2px, 0px);
531
+ }
532
+ 25% {
533
+ clip: rect(0px, 2px, var(--clip-height-1), 0px);
534
+ }
535
+ 50% {
536
+ clip: rect(var(--clip-height-2), var(--clip-width-1), var(--clip-width-1), 0px);
537
+ }
538
+ 75% {
539
+ clip: rect(0px, var(--clip-width-1), var(--clip-height-1), var(--clip-width-2));
540
+ }
541
+ }
542
+ .mirage2d-divBoderLabel {
543
+ --text-font-size: 15px;
544
+ --boder-width: 170px;
545
+ --clip-width-1: 177px;
546
+ --clip-width-2: 175px;
547
+ --boder-height: 30px;
548
+ --clip-height-1: 40px;
549
+ --clip-height-2: 38px;
550
+ --text-color: #ccc;
551
+ --border-color: #15d1f2;
552
+ --box-shadow-color: rgba(21, 209, 242, 0.56);
553
+ }
554
+
555
+ .mirage2d-divBoderLabel-boder {
556
+ width: var(--boder-width);
557
+ height: var(--boder-height);
558
+ margin: auto;
559
+ color: var(--border-color);
560
+ box-shadow: inset 0 0 0 1px var(--box-shadow-color);
561
+ }
562
+
563
+ .mirage2d-divBoderLabel-text {
564
+ color: var(--text-color);
565
+ font-size: var(--text-font-size);
566
+ display: flex;
567
+ width: 100%;
568
+ height: 100%;
569
+ align-items: center;
570
+ justify-content: center;
571
+ font-weight: bolder;
572
+ user-select: none;
573
+ cursor: pointer;
574
+ }
575
+
576
+ .mirage2d-divBoderLabel-boder,
577
+ .mirage2d-divBoderLabel-boder::before,
578
+ .mirage2d-divBoderLabel-boder::after {
579
+ position: absolute;
580
+ top: 0;
581
+ bottom: 0;
582
+ left: 0;
583
+ right: 0;
584
+ }
585
+
586
+ .mirage2d-divBoderLabel-boder::before,
587
+ .mirage2d-divBoderLabel-boder::after {
588
+ content: "";
589
+ margin: -5%;
590
+ box-shadow: inset 0 0 0 2px;
591
+ animation: var(--animation-name) 8s linear infinite;
592
+ }
593
+ .mirage2d-divBoderLabel-boder::before {
594
+ animation-delay: -4s;
595
+ }
596
+
597
+ /**内置的DivGraphic通用样式【动画点】*/
598
+ .mirage2d-animation-point,
599
+ .mirage2d-animation-point:after,
600
+ .mirage2d-animation-point:before,
601
+ .mirage2d-animation-point p,
602
+ .mirage2d-animation-point p:after,
603
+ .mirage2d-animation-point p:before {
604
+ margin: 0;
605
+ padding: 0;
606
+ -webkit-box-sizing: border-box;
607
+ -moz-box-sizing: border-box;
608
+ -o-box-sizing: border-box;
609
+ -ms-box-sizing: border-box;
610
+ box-sizing: border-box;
611
+ }
612
+ .mirage2d-animation-point {
613
+ width: 10px;
614
+ height: 10px;
615
+ border-radius: 50%;
616
+ border: 1px solid hsla(0, 0%, 100%, 0.5);
617
+ cursor: pointer;
618
+ color: #0ff;
619
+ background: currentColor;
620
+ z-index: 3;
621
+ left: 50%;
622
+ top: 50%;
623
+ -webkit-transform: translate(-50%, -50%);
624
+ -moz-transform: translate(-50%, -50%);
625
+ -o-transform: translate(-50%, -50%);
626
+ -ms-transform: translate(-50%, -50%);
627
+ transform: translate(-50%, -50%);
628
+ box-shadow: 0 0 2em currentColor, 0 0 0.5em currentColor;
629
+ position: absolute;
630
+ }
631
+ .mirage2d-animation-point p {
632
+ position: absolute;
633
+ left: 50%;
634
+ top: 50%;
635
+ width: 0;
636
+ height: 0;
637
+ border-radius: 50%;
638
+ -webkit-transform: translate(-50%, -50%);
639
+ -moz-transform: translate(-50%, -50%);
640
+ -o-transform: translate(-50%, -50%);
641
+ -ms-transform: translate(-50%, -50%);
642
+ transform: translate(-50%, -50%);
643
+ -webkit-animation: mirage2d-animation-point-mapAni 2s ease infinite;
644
+ -moz-animation: mirage2d-animation-point-mapAni 2s ease infinite;
645
+ -o-animation: mirage2d-animation-point-mapAni 2s ease infinite;
646
+ -ms-animation: mirage2d-animation-point-mapAni 2s ease infinite;
647
+ animation: mirage2d-animation-point-mapAni 2s ease infinite;
648
+ }
649
+ .mirage2d-animation-point .mapError {
650
+ color: red;
651
+ }
652
+ .mirage2d-animation-point .mapWarn {
653
+ color: #b5a603;
654
+ }
655
+ .mirage2d-animation-point .mapSuccess {
656
+ color: #239233;
657
+ }
658
+ .mirage2d-animation-point .mapOrange {
659
+ color: #8c4d34;
660
+ }
661
+ .mirage2d-animation-point:after,
662
+ .mirage2d-animation-point:before,
663
+ .mirage2d-animation-point p:after,
664
+ .mirage2d-animation-point p:before {
665
+ content: "";
666
+ position: absolute;
667
+ width: 100%;
668
+ height: 100%;
669
+ left: 50%;
670
+ top: 50%;
671
+ border-radius: 50%;
672
+ -webkit-transform: translate(-50%, -50%);
673
+ -moz-transform: translate(-50%, -50%);
674
+ -o-transform: translate(-50%, -50%);
675
+ -ms-transform: translate(-50%, -50%);
676
+ transform: translate(-50%, -50%);
677
+ }
678
+ .mirage2d-animation-point:after,
679
+ .mirage2d-animation-point:before {
680
+ border: 1px solid;
681
+ -webkit-animation: mirage2d-animation-point-mapAni 1s ease infinite;
682
+ -moz-animation: mirage2d-animation-point-mapAni 1s ease infinite;
683
+ -o-animation: mirage2d-animation-point-mapAni 1s ease infinite;
684
+ -ms-animation: mirage2d-animation-point-mapAni 1s ease infinite;
685
+ animation: mirage2d-animation-point-mapAni 1s ease infinite;
686
+ }
687
+ .mirage2d-animation-point p:before {
688
+ border: 1px solid;
689
+ }
690
+ @-webkit-keyframes mirage2d-animation-point-mapAni {
691
+ 0% {
692
+ width: 0;
693
+ height: 0;
694
+ opacity: 1;
695
+ filter: alpha(opacity=1);
696
+ }
697
+ 25% {
698
+ width: 12px;
699
+ height: 12px;
700
+ opacity: 0.7;
701
+ filter: alpha(opacity=70);
702
+ }
703
+ 50% {
704
+ width: 20px;
705
+ height: 20px;
706
+ opacity: 0.5;
707
+ filter: alpha(opacity=50);
708
+ }
709
+ 75% {
710
+ width: 30px;
118
711
  height: 30px;
119
- border-left: 2px dashed #c5e22770;
120
- }
121
-
122
- .mirageGreenGradientPnl-highlight {
123
- border: 2px solid yellow;
124
- }
125
-
126
- .mirageGreenGradientPnl-highlight::before {
127
- border-left: 2px dashed yellow !important;
128
- }
129
-
130
- /********** 面板:倾斜指向左下角的div1.png图片面板样式 ***********/
131
-
132
- .mirageImgPanel1 {
133
- position: relative;
134
- width: 200px;
135
- height: 134px;
136
- background: rgba(42, 42, 42, 0.8);
137
- border-radius: 4px;
138
-
139
- background: url("../../image/marker/div1.png");
140
- background-size: 100%;
141
- -webkit-background-size: cover;
142
- -moz-background-size: cover;
143
- -o-background-size: cover;
144
-
145
- -webkit-animation: mymove 5s infinite;
146
- animation: mymove 5s infinite;
147
- animation-duration: 5s;
148
- animation-timing-function: ease;
149
- animation-delay: 0s;
150
- animation-iteration-count: infinite;
151
- animation-direction: normal;
152
- animation-fill-mode: none;
153
- animation-play-state: running;
154
- animation-name: mymove;
155
- }
156
-
157
- .mirageImgPanel1 .title {
158
- position: relative;
159
- top: 20px;
160
- left: 70px;
161
- font-size: 15px;
162
- text-align: left;
163
- color: rgba(255, 255, 255, 1);
164
- text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
165
- }
166
-
167
- /********** 面板:倾斜指向左下角的div2.png图片面板样式 ***********/
168
- .mirageImgPanel2 {
169
- position: relative;
170
- width: 200px;
171
- height: 157px;
172
- background: rgba(42, 42, 42, 0.8);
173
- border-radius: 4px;
174
- background: url("../../image/marker/div2.png");
175
- background-size: 100%;
176
- -webkit-background-size: cover;
177
- -moz-background-size: cover;
178
- -o-background-size: cover;
179
-
180
- -webkit-animation: mymove 5s infinite;
181
- animation: mymove 5s infinite;
182
- animation-duration: 5s;
183
- animation-timing-function: ease;
184
- animation-delay: 0s;
185
- animation-iteration-count: infinite;
186
- animation-direction: normal;
187
- animation-fill-mode: none;
188
- animation-play-state: running;
189
- animation-name: mymove;
190
- }
191
-
192
- .mirageImgPanel2 .title {
193
- position: inherit;
194
- top: 22px;
195
- left: 70px;
196
- font-size: 14px;
197
- text-align: left;
198
-
199
- color: rgba(255, 255, 255, 1);
200
- text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
201
- }
202
-
203
- .mirageImgPanel2 .content {
204
- position: inherit;
205
- font-size: 14px;
206
- top: 30px;
207
- left: 50px;
208
- width: 140px;
209
- height: auto;
210
- text-align: left;
211
- color: rgba(255, 255, 255, 1);
212
- overflow: hidden;
213
- }
214
-
215
- /********** 面板:倾斜指向左下角的面板样式 ***********/
216
- .mirageTiltPanel {
217
- width: 400px;
218
- }
219
- .mirageTiltPanel-wrap {
220
- position: relative;
221
- padding: 30px;
222
- overflow: hidden;
712
+ opacity: 0.2;
713
+ filter: alpha(opacity=20);
223
714
  }
224
-
225
- .mirageTiltPanel .area {
226
- position: relative;
227
- min-width: 180px;
228
- }
229
-
230
- .mirageTiltPanel .b-t {
231
- position: absolute;
232
- top: 0;
233
- left: 44px;
234
- right: 0;
235
- height: 1px;
236
- z-index: 10;
237
- }
238
-
239
- .mirageTiltPanel .b-r {
240
- position: absolute;
241
- top: 0;
242
- right: 0;
243
- bottom: 44px;
244
- width: 1px;
245
- z-index: 10;
246
- }
247
-
248
- .mirageTiltPanel .b-b {
249
- position: absolute;
250
- left: 0;
251
- right: 44px;
252
- bottom: 0;
253
- height: 1px;
254
- z-index: 10;
255
- }
256
-
257
- .mirageTiltPanel .b-l {
258
- position: absolute;
259
- top: 44px;
260
- left: 0;
261
- bottom: 0;
262
- width: 1px;
263
- z-index: 10;
264
- }
265
-
266
- .mirageTiltPanel .b-t-l {
267
- position: absolute;
268
- top: 0;
269
- left: 0;
270
- width: 1px;
271
- height: 62px;
272
- transform: rotate(45deg) translate(52px, -22px);
273
- z-index: 10;
274
- }
275
-
276
- .mirageTiltPanel .b-b-r {
277
- position: absolute;
278
- bottom: 0;
279
- right: 0;
280
- width: 1px;
281
- height: 62px;
282
- transform: rotate(45deg) translate(-52px, 22px);
283
- z-index: 10;
284
- }
285
-
286
- .mirageTiltPanel .label-wrap {
287
- padding-left: 12px;
288
- color: #fff;
289
- font-size: 16px;
290
- white-space: nowrap;
291
- overflow: hidden;
292
- }
293
-
294
- .mirageTiltPanel .title {
295
- margin-top: 20px;
296
- padding: 0 12px 0 30px;
297
- height: 36px;
298
- line-height: 36px;
299
- position: relative;
300
- }
301
-
302
- .mirageTiltPanel .title::before {
303
- content: "";
304
- position: absolute;
305
- bottom: -4px;
306
- left: 0;
307
- right: 0;
308
- z-index: 10;
309
- height: 2px;
310
- }
311
-
312
- .mirageTiltPanel .label-content {
313
- padding: 15px 0;
314
- }
315
-
316
- .mirageTiltPanel .data-li {
317
- padding: 4px 45px 4px 0;
318
- }
319
-
320
- .mirageTiltPanel .data-label,
321
- .data-value {
322
- display: inline-block;
323
- }
324
-
325
- .mirageTiltPanel .data-value {
326
- font-size: 14px;
327
- }
328
-
329
- .mirageTiltPanel .label-num {
330
- margin-right: 3px;
331
- color: #f09e28;
332
- font-weight: 600;
333
- }
334
-
335
- .mirageTiltPanel .label-tag {
336
- display: inline-block;
337
- position: relative;
338
- margin-right: 6px;
339
- padding: 0 6px;
340
- font-weight: 600;
341
- cursor: pointer;
342
- background-color: #909399;
343
- border-radius: 4px;
344
- }
345
-
346
- .mirageTiltPanel .label-tag::after {
347
- content: attr(alt);
348
- display: inline-block;
349
- position: absolute;
350
- bottom: -22px;
351
- right: -35px;
352
- z-index: -1;
353
- padding: 2px 4px;
354
- color: #fff;
355
- font-size: 14px;
356
- background-color: #333;
357
- border-radius: 3px;
715
+ to {
716
+ width: 40px;
717
+ height: 40px;
358
718
  opacity: 0;
359
- transition: all 0.3s ease-in;
719
+ filter: alpha(opacity=0);
360
720
  }
361
-
362
- .mirageTiltPanel .label-tag:hover::after {
721
+ }
722
+ @-moz-keyframes mirage2d-animation-point-mapAni {
723
+ 0% {
724
+ width: 0;
725
+ height: 0;
363
726
  opacity: 1;
364
- z-index: 11;
365
- }
366
-
367
- .mirageTiltPanel .data-value-status-0 {
368
- background-color: #f0285c;
369
- }
370
-
371
- .mirageTiltPanel .data-value-status-1 {
372
- background-color: #35b15b;
373
- }
374
-
375
- .mirageTiltPanel .data-value-status-2 {
376
- background-color: #f09e28;
377
- }
378
-
379
- .mirageTiltPanel .arrow {
380
- position: absolute;
381
- bottom: 0;
382
- left: 0;
383
- width: 45px;
384
- height: 2px;
385
- transform: rotate(-45deg) translate(5px, -15px);
386
- }
387
-
388
- /* 蓝色主题 */
389
-
390
- .mirageTiltPanel-theme-blue .b-t,
391
- .mirageTiltPanel-theme-blue .b-r,
392
- .mirageTiltPanel-theme-blue .b-b,
393
- .mirageTiltPanel-theme-blue .b-l,
394
- .mirageTiltPanel-theme-blue .b-t-l,
395
- .mirageTiltPanel-theme-blue .b-b-r {
396
- background-color: #29baf1;
397
- box-shadow: 0 0 10px 2px #29baf1;
398
- }
399
-
400
- .mirageTiltPanel-theme-blue .area {
401
- background-image: linear-gradient(135deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50%, transparent 50%),
402
- linear-gradient(-45deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50.1%, transparent 50%);
403
- }
404
-
405
- .mirageTiltPanel-theme-blue .title {
406
- background-image: linear-gradient(135deg, transparent 25px, #29baf1 25px);
407
- }
408
-
409
- .mirageTiltPanel-theme-blue .arrow,
410
- .mirageTiltPanel-theme-blue .title::before {
411
- background-color: #28bbf0;
412
- }
413
-
414
- /* 绿色主题 */
415
-
416
- .mirageTiltPanel-theme-green .b-t,
417
- .mirageTiltPanel-theme-green .b-r,
418
- .mirageTiltPanel-theme-green .b-b,
419
- .mirageTiltPanel-theme-green .b-l,
420
- .mirageTiltPanel-theme-green .b-t-l,
421
- .mirageTiltPanel-theme-green .b-b-r {
422
- background-color: #06e34a;
423
- box-shadow: 0 0 10px 2px #06e34a;
424
- }
425
-
426
- .mirageTiltPanel-theme-green .area {
427
- background-image: linear-gradient(135deg, transparent 30px, #06e3486c 30px, #06e3486c 50%, transparent 50%),
428
- linear-gradient(-45deg, transparent 30px, #06e3486c 30px, #06e3486c 50.1%, transparent 50%);
727
+ filter: alpha(opacity=1);
728
+ }
729
+ 25% {
730
+ width: 12px;
731
+ height: 12px;
732
+ opacity: 0.7;
733
+ filter: alpha(opacity=70);
734
+ }
735
+ 50% {
736
+ width: 20px;
737
+ height: 20px;
738
+ opacity: 0.5;
739
+ filter: alpha(opacity=50);
740
+ }
741
+ 75% {
742
+ width: 30px;
743
+ height: 30px;
744
+ opacity: 0.2;
745
+ filter: alpha(opacity=20);
429
746
  }
430
-
431
- .mirageTiltPanel-theme-green .title {
432
- background-image: linear-gradient(135deg, transparent 25px, #06e34a 25px);
747
+ to {
748
+ width: 40px;
749
+ height: 40px;
750
+ opacity: 0;
751
+ filter: alpha(opacity=0);
433
752
  }
434
-
435
- .mirageTiltPanel-theme-green .arrow,
436
- .mirageTiltPanel-theme-green .title::before {
437
- background-color: #06e34a;
753
+ }
754
+ @-o-keyframes mirage2d-animation-point-mapAni {
755
+ 0% {
756
+ width: 0;
757
+ height: 0;
758
+ opacity: 1;
759
+ filter: alpha(opacity=1);
760
+ }
761
+ 25% {
762
+ width: 12px;
763
+ height: 12px;
764
+ opacity: 0.7;
765
+ filter: alpha(opacity=70);
766
+ }
767
+ 50% {
768
+ width: 20px;
769
+ height: 20px;
770
+ opacity: 0.5;
771
+ filter: alpha(opacity=50);
772
+ }
773
+ 75% {
774
+ width: 30px;
775
+ height: 30px;
776
+ opacity: 0.2;
777
+ filter: alpha(opacity=20);
438
778
  }
439
-
440
- /* 红色主题 */
441
- .mirageTiltPanel-theme-red .b-t,
442
- .mirageTiltPanel-theme-red .b-r,
443
- .mirageTiltPanel-theme-red .b-b,
444
- .mirageTiltPanel-theme-red .b-l,
445
- .mirageTiltPanel-theme-red .b-t-l,
446
- .mirageTiltPanel-theme-red .b-b-r {
447
- background-color: #e3064f;
448
- box-shadow: 0 0 10px 2px #e3064f;
779
+ to {
780
+ width: 40px;
781
+ height: 40px;
782
+ opacity: 0;
783
+ filter: alpha(opacity=0);
449
784
  }
450
-
451
- .mirageTiltPanel-theme-red .area {
452
- background-image: linear-gradient(134deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%),
453
- linear-gradient(-46deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%);
785
+ }
786
+ @-ms-keyframes mirage2d-animation-point-mapAni {
787
+ 0% {
788
+ width: 0;
789
+ height: 0;
790
+ opacity: 1;
791
+ filter: alpha(opacity=1);
792
+ }
793
+ 25% {
794
+ width: 12px;
795
+ height: 12px;
796
+ opacity: 0.7;
797
+ filter: alpha(opacity=70);
798
+ }
799
+ 50% {
800
+ width: 20px;
801
+ height: 20px;
802
+ opacity: 0.5;
803
+ filter: alpha(opacity=50);
804
+ }
805
+ 75% {
806
+ width: 30px;
807
+ height: 30px;
808
+ opacity: 0.2;
809
+ filter: alpha(opacity=20);
454
810
  }
455
-
456
- .mirageTiltPanel-theme-red .title {
457
- background-image: linear-gradient(135deg, transparent 25px, #e3064f 25px);
811
+ to {
812
+ width: 40px;
813
+ height: 40px;
814
+ opacity: 0;
815
+ filter: alpha(opacity=0);
458
816
  }
459
-
460
- .mirageTiltPanel-theme-red .arrow,
461
- .mirageTiltPanel-theme-red .title::before {
462
- background-color: #e3064f;
817
+ }
818
+ @keyframes mirage2d-animation-point-mapAni {
819
+ 0% {
820
+ width: 0;
821
+ height: 0;
822
+ opacity: 1;
823
+ filter: alpha(opacity=1);
824
+ }
825
+ 25% {
826
+ width: 12px;
827
+ height: 12px;
828
+ opacity: 0.7;
829
+ filter: alpha(opacity=70);
830
+ }
831
+ 50% {
832
+ width: 20px;
833
+ height: 20px;
834
+ opacity: 0.5;
835
+ filter: alpha(opacity=50);
836
+ }
837
+ 75% {
838
+ width: 30px;
839
+ height: 30px;
840
+ opacity: 0.2;
841
+ filter: alpha(opacity=20);
463
842
  }
464
-
465
- /* 黄色主题 */
466
-
467
- .mirageTiltPanel-theme-e9b709 .b-t,
468
- .mirageTiltPanel-theme-e9b709 .b-r,
469
- .mirageTiltPanel-theme-e9b709 .b-b,
470
- .mirageTiltPanel-theme-e9b709 .b-l,
471
- .mirageTiltPanel-theme-e9b709 .b-t-l,
472
- .mirageTiltPanel-theme-e9b709 .b-b-r {
473
- background-color: #e9b709;
474
- box-shadow: 0 0 10px 2px #e9b709;
843
+ to {
844
+ width: 40px;
845
+ height: 40px;
846
+ opacity: 0;
847
+ filter: alpha(opacity=0);
475
848
  }
476
-
477
- .mirageTiltPanel-theme-e9b709 .area {
478
- background-image: linear-gradient(135deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%),
479
- linear-gradient(-45deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%);
849
+ }
850
+
851
+ /**内置的DivGraphic通用样式【竖直文本】*/
852
+ .mirage2d-divUpLabel {
853
+ text-align: center;
854
+ background: transparent;
855
+ color: white;
856
+ display: block;
857
+ box-sizing: border-box;
858
+ animation-duration: 1s;
859
+ animation-fill-mode: both;
860
+ animation-name: mirage2d-divUpLabel-tinUpIn;
861
+ }
862
+ .mirage2d-divUpLabel-text {
863
+ writing-mode: vertical-lr;
864
+ font-size: 16px;
865
+ letter-spacing: 4px;
866
+ }
867
+ .mirage2d-divUpLabel-line {
868
+ display: block;
869
+ height: 100px;
870
+ width: 1.5px;
871
+ margin-left: calc(50% - 1px);
872
+ margin-top: 3px;
873
+ background-color: white;
874
+ }
875
+ @keyframes mirage2d-divUpLabel-tinUpIn {
876
+ 0% {
877
+ opacity: 0;
878
+ transform: scale(1, 1) translateY(-900%);
480
879
  }
481
-
482
- .mirageTiltPanel-theme-e9b709 .title {
483
- background-image: linear-gradient(135deg, transparent 25px, #e9b709 25px);
880
+ 50%,
881
+ 70%,
882
+ 90% {
883
+ opacity: 1;
884
+ transform: scale(1.1, 1.1) translateY(0);
484
885
  }
485
-
486
- .mirageTiltPanel-theme-e9b709 .arrow,
487
- .mirageTiltPanel-theme-e9b709 .title::before {
488
- background-color: #e9b709;
886
+ 100%,
887
+ 60%,
888
+ 80% {
889
+ opacity: 1;
890
+ transform: scale(1, 1) translateY(0);
489
891
  }
490
-
491
- /**************** 部分公共样式,如选中样式、动画等 ****************/
492
-
493
- .animation-spaceInDown {
494
- animation-duration: 1s;
495
- animation-fill-mode: both;
496
- animation-name: spaceInDown;
497
- }
498
- @keyframes spaceInDown {
499
- 0% {
500
- opacity: 0;
501
- transform-origin: 0% 100%;
502
- transform: scale(0.2) translate(0, 200%);
503
- }
504
- 100% {
505
- opacity: 1;
506
- transform-origin: 0% 100%;
507
- transform: scale(1) translate(0, 0);
508
- }
509
- }
510
-
892
+ }
893
+
894
+ .mirage2d-label-graphic {
895
+ color: #fc0000;
896
+ white-space: nowrap;
897
+ }
898
+ .mirage2d-label-graphic-measure {
899
+ font-size: 14px;
900
+ color: #fff;
901
+ background: rgba(0, 0, 0, 0.4);
902
+ border: 1px solid transparent;
903
+ -webkit-border-radius: 2px;
904
+ border-radius: 4px;
905
+ padding: 1px 2px;
906
+ white-space: nowrap;
907
+ pointer-events: none;
908
+ }
909
+ .mirage2d-widgetbar {
910
+ margin: 0 auto;
911
+ position: absolute;
912
+ bottom: 30px;
913
+ left: 20%;
914
+ width: 60%;
915
+ height: auto;
916
+ z-index: 1987;
917
+ }
918
+ .mirage2d-widgetbar .fa {
919
+ margin-right: 5px;
920
+ }