@@ -13,35 +13,6 @@ $font_family: "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji",
13
13
$background_color_9 : #08c ;
14
14
$background_color_10 : rgba (136 , 136 , 136 , 0.24 );
15
15
16
- /*
17
- Buttons style by http://nicolasgallagher.com/lab/css3-github-buttons/
18
- Changed by Afshin Mehrabani
19
- */
20
- /* overrides extra padding on button elements in Firefox */
21
-
22
- @keyframes introjspulse {
23
- 0% {
24
- transform : scale (0 );
25
- opacity : 0 ;
26
- }
27
- 25% {
28
- transform : scale (0 );
29
- opacity : 0.1 ;
30
- }
31
- 50% {
32
- transform : scale (0.1 );
33
- opacity : 0.3 ;
34
- }
35
- 75% {
36
- transform : scale (0.5 );
37
- opacity : 0.5 ;
38
- }
39
- 100% {
40
- transform : scale (1 );
41
- opacity : 0 ;
42
- }
43
- }
44
-
45
16
.introjs-overlay {
46
17
position : absolute ;
47
18
box-sizing : content-box ;
@@ -439,7 +410,7 @@ tr.introjs-showElement {
439
410
440
411
& :hover {
441
412
> .introjs-hint-pulse {
442
- border : 5 px solid rgba (60 , 60 , 60 , 0.57 );
413
+ background-color : rgba (60 , 60 , 60 , 0.57 );
443
414
}
444
415
}
445
416
}
@@ -452,36 +423,50 @@ tr.introjs-showElement {
452
423
position : fixed ;
453
424
}
454
425
426
+ @keyframes introjspulse {
427
+ 0% {
428
+ transform : scale (0.95 );
429
+ box-shadow : 0 0 0 0 rgba (0 , 0 , 0 , 0.7 );
430
+ }
431
+
432
+ 70% {
433
+ transform : scale (1 );
434
+ box-shadow : 0 0 0 10px rgba (0 , 0 , 0 , 0 );
435
+ }
436
+
437
+ 100% {
438
+ transform : scale (0.95 );
439
+ box-shadow : 0 0 0 0 rgba (0 , 0 , 0 , 0 );
440
+ }
441
+ }
442
+
455
443
.introjs-hint-pulse {
456
444
box-sizing : content-box ;
457
- width : 10px ;
458
- height : 10px ;
459
- border : 5px solid rgba (60 , 60 , 60 , 0.27 );
445
+ width : 15px ;
446
+ height : 15px ;
460
447
border-radius : 30px ;
461
448
background-color : $background_color_10 ;
462
449
z-index : 10 ;
463
450
position : absolute ;
464
451
transition : all 0.2s ease-out ;
452
+ animation : introjspulse 2s infinite ;
465
453
}
466
454
467
455
.introjs-hint-no-anim {
468
- .introjs-hint-dot {
456
+ .introjs-hint-pulse {
469
457
animation : none ;
470
458
}
471
459
}
472
460
473
461
.introjs-hint-dot {
474
462
box-sizing : content-box ;
475
- border : 10px solid rgba (146 , 146 , 146 , 0.36 );
476
463
background : transparent ;
477
464
border-radius : 60px ;
478
465
height : 50px ;
479
466
width : 50px ;
480
- animation : introjspulse 3s ease-out ;
481
- animation-iteration-count : infinite ;
482
467
position : absolute ;
483
- top : -25 px ;
484
- left : -25 px ;
468
+ top : -18 px ;
469
+ left : -18 px ;
485
470
z-index : 1 ;
486
471
opacity : 0 ;
487
472
}
0 commit comments