Spaces:
Paused
Paused
File size: 2,422 Bytes
801bc8a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | /* 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;
} |