|
41 | 41 |
|
42 | 42 | /* Highlighted target section */ |
43 | 43 | .tutorial-highlight-target { |
44 | | - outline: 2px solid var(--vscode-focusBorder, #007acc); |
45 | | - outline-offset: -2px; |
| 44 | + outline: none; |
| 45 | + box-shadow: |
| 46 | + inset 0 0 0 3px var(--vscode-focusBorder, #007acc), |
| 47 | + inset 0 0 12px rgba(0, 122, 204, 0.3); |
46 | 48 | border-radius: 4px; |
47 | | - transition: outline-color 0.3s ease; |
| 49 | + transition: box-shadow 0.3s ease; |
48 | 50 | } |
49 | 51 |
|
50 | 52 | .tutorial-highlight-pulse { |
51 | 53 | animation: tutorial-pulse 2s ease-in-out infinite; |
52 | 54 | } |
53 | 55 |
|
| 56 | +/* Button-specific highlight: flash background color */ |
| 57 | +button.tutorial-highlight-target { |
| 58 | + outline: none; |
| 59 | + box-shadow: none; |
| 60 | + animation: tutorial-btn-pulse 1s ease-in-out infinite; |
| 61 | + border-radius: 4px; |
| 62 | +} |
| 63 | + |
| 64 | +@keyframes tutorial-btn-pulse { |
| 65 | + 0%, |
| 66 | + 100% { |
| 67 | + background: var(--vscode-button-bg, #007acc); |
| 68 | + filter: brightness(1); |
| 69 | + } |
| 70 | + 50% { |
| 71 | + background: var(--vscode-button-bg, #007acc); |
| 72 | + filter: brightness(1.6); |
| 73 | + } |
| 74 | +} |
| 75 | + |
54 | 76 | @keyframes tutorial-pulse { |
55 | 77 | 0%, |
56 | 78 | 100% { |
57 | | - outline-color: var(--vscode-focusBorder, #007acc); |
| 79 | + box-shadow: |
| 80 | + inset 0 0 0 3px var(--vscode-focusBorder, #007acc), |
| 81 | + inset 0 0 12px rgba(0, 122, 204, 0.3); |
58 | 82 | } |
59 | 83 | 50% { |
60 | | - outline-color: rgba(0, 122, 204, 0.4); |
| 84 | + box-shadow: |
| 85 | + inset 0 0 0 3px rgba(0, 122, 204, 0.5), |
| 86 | + inset 0 0 20px rgba(0, 122, 204, 0.15); |
61 | 87 | } |
62 | 88 | } |
63 | 89 |
|
|
0 commit comments