* Create overlay element for highlighting
()
| 69 | * Create overlay element for highlighting |
| 70 | */ |
| 71 | createOverlay() { |
| 72 | this.overlay = document.createElement('div'); |
| 73 | this.overlay.id = '__pilot-picker-overlay'; |
| 74 | this.overlay.style.cssText = ` |
| 75 | position: absolute; |
| 76 | pointer-events: none; |
| 77 | z-index: 999999; |
| 78 | background: rgba(59, 130, 246, 0.2); |
| 79 | border: 2px solid rgb(59, 130, 246); |
| 80 | border-radius: 4px; |
| 81 | transition: all 0.1s ease; |
| 82 | display: none; |
| 83 | `; |
| 84 | document.body.appendChild(this.overlay); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Create tooltip element for component name display |