mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:11:05 +00:00
components/Cursor.jsx is no longer mounted (its file went in the previous commit); its styles and the unused thumb-bar styles leave Layer.css. Pages' data-cursor attributes are now inert. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DqUybA3gCfaruBE8tifYd5
14 lines
1.2 KiB
CSS
14 lines
1.2 KiB
CSS
/* Styles for the phone layer (components/Phone.jsx). */
|
|
/* swipe hint */
|
|
.x-swipe { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 61; display: flex; gap: 8px; align-items: center; max-width: 80vw; padding: 10px 16px; border-radius: 999px; background: #0a0a0a; color: #fff; font: 500 14px/1.2 var(--sans); pointer-events: none; white-space: nowrap; }
|
|
.x-swipe span { overflow: hidden; text-overflow: ellipsis; }
|
|
.x-swipe i { font-style: normal; }
|
|
html[data-dir=next]::view-transition-new(root) { animation: hz-from-right .55s cubic-bezier(.16, 1, .3, 1) both; }
|
|
html[data-dir=next]::view-transition-old(root) { animation: hz-to-left .45s cubic-bezier(.7, 0, .84, 0) both; }
|
|
html[data-dir=prev]::view-transition-new(root) { animation: hz-from-left .55s cubic-bezier(.16, 1, .3, 1) both; }
|
|
html[data-dir=prev]::view-transition-old(root) { animation: hz-to-right .45s cubic-bezier(.7, 0, .84, 0) both; }
|
|
@keyframes hz-from-right { from { transform: translateX(30%); opacity: 0; } }
|
|
@keyframes hz-from-left { from { transform: translateX(-30%); opacity: 0; } }
|
|
@keyframes hz-to-left { to { transform: translateX(-12%); opacity: 0; } }
|
|
@keyframes hz-to-right { to { transform: translateX(12%); opacity: 0; } }
|