Spaces:
Running
Running
| /* Text Selection Menu Styles */ | |
| .selection-menu { | |
| position: fixed; | |
| display: none; | |
| flex-direction: row; | |
| gap: 8px; | |
| background: rgba(15, 23, 42, 0.95); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| border-radius: 16px; | |
| padding: 8px; | |
| box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), | |
| 0 0 30px rgba(59, 130, 246, 0.2); | |
| z-index: 10001; | |
| opacity: 0; | |
| transform: translateY(-10px) scale(0.95); | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .selection-menu.visible { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| .menu-action { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 4px; | |
| background: rgba(255, 255, 255, 0.05); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 12px; | |
| padding: 10px 14px; | |
| min-width: 70px; | |
| cursor: pointer; | |
| color: #f8fafc; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .menu-action:hover { | |
| background: linear-gradient(135deg, #3b82f6, #2563eb); | |
| border-color: #3b82f6; | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4); | |
| } | |
| .menu-action svg { | |
| color: #94a3b8; | |
| transition: color 0.2s; | |
| } | |
| .menu-action:hover svg { | |
| color: white; | |
| } | |
| .menu-action span { | |
| font-size: 0.7rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Selection Notification */ | |
| .selection-notification { | |
| position: fixed; | |
| bottom: 30px; | |
| left: 50%; | |
| transform: translateX(-50%) translateY(100px); | |
| background: rgba(15, 23, 42, 0.95); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| color: white; | |
| padding: 14px 24px; | |
| border-radius: 12px; | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| z-index: 10002; | |
| opacity: 0; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .selection-notification.visible { | |
| opacity: 1; | |
| transform: translateX(-50%) translateY(0); | |
| } | |
| /* Prevent text selection menu from interfering with existing UI */ | |
| .selection-menu * { | |
| user-select: none; | |
| -webkit-user-select: none; | |
| } |