Skip to content

All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.

3.5 KB
Raw Blame
/* TwinDesk — Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE. */
/* File Sharing › File Shelf's loop (shared/ui-shelf.js): 7 s, then again. */
.shelf-demo-wrap { display: flex; justify-content: center; padding: 4px 0 10px; }
.shelf-demo { width: 100%; max-width: 380px; height: auto; }
.shelf-demo .sh-desk { fill: var(--content, rgba(127,127,127,.08)); stroke: var(--line, rgba(127,127,127,.25)); }
.shelf-demo .sh-panel { fill: var(--card, #fff); stroke: var(--control-line, rgba(127,127,127,.3)); }
.shelf-demo .sh-line { fill: var(--muted, #8a8a90); opacity: .45; }
.shelf-demo .sh-slot { fill: none; stroke: var(--accent, #007aff); stroke-dasharray: 4 3; opacity: .7; }
.shelf-demo .sh-share { fill: var(--content, rgba(127,127,127,.12)); }
.shelf-demo .sh-device { fill: none; stroke: var(--muted, #8a8a90); stroke-width: 1.6; }
.shelf-demo .sh-file { fill: var(--accent, #007aff); }
.shelf-demo .sh-fold { fill: rgba(255,255,255,.55); }
.shelf-demo .sh-cursor { fill: #111; stroke: #fff; stroke-width: 1.2; }
.shelf-demo .sh-drag, .shelf-demo .sh-shelf, .shelf-demo .sh-kept, .shelf-demo .sh-corner, .shelf-demo .sh-dev1 { transform-box: view-box; }
.shelf-demo .sh-drag { animation: sh-drag 7s ease-in-out infinite; }
.shelf-demo .sh-shelf { animation: sh-shelf 7s ease-in-out infinite; transform-origin: 235px 85px; }
.shelf-demo .sh-kept { animation: sh-kept 7s ease-in-out infinite; }
.shelf-demo .sh-kept .sh-file { transform: scale(.75); }
.shelf-demo .sh-corner { animation: sh-corner 7s ease-in-out infinite; transform-origin: 282px 138px; }
.shelf-demo .sh-dev1 { animation: sh-dev 7s ease-in-out infinite; }
/* the file: in from the left, shaken, onto the shelf; later out of the shelf onto a device */
@keyframes sh-drag {
  0% { transform: translate(20px, 70px); opacity: 0; }
  6% { opacity: 1; }
  14% { transform: translate(110px, 66px); }
  17% { transform: translate(84px, 66px); }
  20% { transform: translate(116px, 66px); }
  23% { transform: translate(84px, 66px); }
  26% { transform: translate(116px, 66px); }
  29% { transform: translate(100px, 66px); }
  40% { transform: translate(196px, 52px); opacity: 1; }
  43%, 55% { transform: translate(196px, 52px); opacity: 0; }
  58% { transform: translate(196px, 52px); opacity: 1; }
  72% { transform: translate(198px, 98px); opacity: 1; }
  78%, 100% { transform: translate(198px, 98px) scale(.6); opacity: 0; }
}
@keyframes sh-shelf {
  0%, 28% { transform: scale(.85); opacity: 0; }
  34%, 90% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes sh-kept {
  0%, 41% { transform: translate(196px, 55px); opacity: 0; }
  44%, 55% { transform: translate(196px, 55px); opacity: 1; }
  58%, 100% { transform: translate(196px, 55px); opacity: 0; }
}
@keyframes sh-corner {
  0%, 56% { transform: scale(.35, .4); opacity: .6; }
  62%, 90% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes sh-dev { 0%, 70% { stroke: var(--muted, #8a8a90); } 74%, 86% { stroke: var(--good, #30b94d); stroke-width: 2.4; } 90%, 100% { stroke: var(--muted, #8a8a90); } }
.shelf-steps { margin: 0 0 8px; padding-left: 18px; color: var(--muted, #8a8a90); font-size: 12px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .shelf-demo .sh-drag, .shelf-demo .sh-shelf, .shelf-demo .sh-kept, .shelf-demo .sh-corner, .shelf-demo .sh-dev1 { animation: none; }
  .shelf-demo .sh-drag { transform: translate(196px, 52px); opacity: 0; }
  .shelf-demo .sh-kept { transform: translate(196px, 55px); }
}