123 lines
3.3 KiB
CSS
123 lines
3.3 KiB
CSS
/* Premium interactions layered over the core Throwit interface. */
|
|
.paper-core {
|
|
touch-action: none;
|
|
user-select: none;
|
|
cursor: grab;
|
|
will-change: transform, opacity;
|
|
}
|
|
.paper-core:focus-visible { outline: 3px solid rgba(255,98,104,.32); outline-offset: 8px; }
|
|
.paper-core.slingshot-dragging {
|
|
cursor: grabbing;
|
|
transition: none !important;
|
|
box-shadow: 0 34px 95px rgba(36,31,24,.21), inset 0 0 0 1px rgba(18,18,16,.04);
|
|
}
|
|
.paper-core.slingshot-dragging img { animation-play-state: paused; }
|
|
.paper-core.slingshot-flying { pointer-events: none; }
|
|
.paper-core.launch { animation: none !important; }
|
|
.flight-copy { display: none !important; }
|
|
|
|
.enhanced-sling-tether {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
z-index: 3;
|
|
width: 0;
|
|
height: 2px;
|
|
transform-origin: left center;
|
|
background: linear-gradient(90deg, rgba(255,98,104,.12), rgba(255,98,104,.76));
|
|
pointer-events: none;
|
|
filter: drop-shadow(0 2px 4px rgba(255,98,104,.25));
|
|
}
|
|
.enhanced-sling-tether::before,
|
|
.enhanced-sling-tether::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background: inherit;
|
|
transform-origin: left center;
|
|
}
|
|
.enhanced-sling-tether::before { transform: translateY(-7px) rotate(-2deg); }
|
|
.enhanced-sling-tether::after { transform: translateY(7px) rotate(2deg); }
|
|
|
|
.device-icon { color: #23231f; overflow: visible; position: relative; }
|
|
.device-icon svg { width: 24px; height: 24px; }
|
|
.peer.active .device-icon { color: #fff; }
|
|
.peer.active .device-icon::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 5px;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--red);
|
|
box-shadow: 0 0 0 5px rgba(255,98,104,.16);
|
|
}
|
|
.radar.enhanced-throwing .peer.active .device-icon {
|
|
animation: enhanced-catch 1.34s cubic-bezier(.16,.72,.14,1);
|
|
}
|
|
@keyframes enhanced-catch {
|
|
0%, 62% { transform: translateY(-2px) scale(1); }
|
|
80% { transform: translateY(-2px) scale(1.18) rotate(-4deg); box-shadow: 0 0 0 13px rgba(255,98,104,.12), 0 16px 36px rgba(0,0,0,.22); }
|
|
100% { transform: translateY(-2px) scale(1); }
|
|
}
|
|
|
|
.credit-footer > span { display: none; }
|
|
.footer-credit {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.footer-credit span { color: var(--muted); }
|
|
.footer-credit a {
|
|
color: var(--ink);
|
|
font-weight: 850;
|
|
text-decoration: none;
|
|
}
|
|
.footer-credit a:hover { color: var(--red); }
|
|
|
|
.professional-file-meta {
|
|
margin: 15px 0 4px;
|
|
padding: 14px 15px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 5px 14px;
|
|
text-align: left;
|
|
border: 1px solid var(--line);
|
|
border-radius: 15px;
|
|
background: rgba(255,255,255,.72);
|
|
}
|
|
.professional-file-meta span {
|
|
overflow: hidden;
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.professional-file-meta strong { font-size: 11px; }
|
|
.professional-file-meta small {
|
|
grid-column: 1 / -1;
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
letter-spacing: .01em;
|
|
}
|
|
.professional-file-note {
|
|
max-width: 300px;
|
|
margin: 12px auto 0 !important;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.paper-core,
|
|
.peer.active .device-icon { animation: none !important; transition: none !important; }
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
.device-icon svg { width: 21px; height: 21px; }
|
|
.professional-file-meta { padding: 12px; }
|
|
}
|