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.

4.0 KB
Raw Blame
/* TwinDesk — Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE. */
/* The Multi-device tab's matrix (shared/ui-matrix.js): rows send, columns take. */
.mx { display: grid; gap: 10px; padding: 10px 12px; }
.mx .seg { flex-wrap: wrap; }
.mx-grid { display: grid; gap: 4px; align-items: center; overflow-x: auto; font-size: 12px; }
.mx-corner { color: var(--muted, #888); font-size: 11px; }
.mx-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mx-head span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-head.self { font-weight: 600; }
.mx-cell {
  height: 28px; border-radius: 6px; display: grid; place-items: center;
  background: var(--field, rgba(127, 127, 127, 0.12)); border: 1px solid transparent; padding: 0; font: inherit; color: inherit;
}
button.mx-cell { cursor: pointer; border-color: var(--border, rgba(127, 127, 127, 0.35)); }
button.mx-cell:hover { border-color: var(--accent, #0a84ff); }
button.mx-cell:focus-visible { outline: 2px solid var(--accent, #0a84ff); outline-offset: 1px; }
.mx-cell.mx-self { background: none; }
.mx-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--muted, #888); }
.mx-cell.on .mx-dot { background: var(--muted, #888); }
.mx-cell.live .mx-dot { background: var(--green, #30d158); border-color: var(--green, #30d158); box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.2); }
.mx-cell.unknown .mx-dot { border-style: dashed; }

/* Notifications › Across devices (MeshMatrix.notifs) */
.ng-body { display: flex; gap: 16px; align-items: flex-start; padding: 6px 12px 12px; transition: opacity 0.2s; }
.ng-body.ng-bypass { opacity: 0.4; pointer-events: none; }
.ng-main { flex: 1; min-width: 0; }
.ng-grid { display: grid; gap: 6px; align-items: center; overflow-x: auto; font-size: 12px; }
.ng-corner { color: var(--muted, #888); font-size: 11px; }
.ng-col { text-align: center; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-rowhead { display: flex; flex-direction: column; min-width: 0; }
.ng-rowhead b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-rowhead small { color: var(--muted, #888); font-size: 11px; }
.ng-cell { height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; border: 1px solid transparent; }
.ng-cell.ng-self { color: var(--muted, #888); font-weight: 400; }
.ng-cell.ng-all { background: var(--accent, #0a84ff); color: #fff; }
.ng-cell.ng-some { background: var(--accent-soft, rgba(10, 132, 255, 0.18)); color: var(--accent, #0a84ff); }
.ng-cell.ng-off { background: var(--track-off, rgba(127, 127, 127, 0.12)); color: var(--muted, #888); border-color: rgba(127, 127, 127, 0.18); font-weight: 500; }
button.ng-cell { cursor: pointer; }
div.ng-cell:not(.ng-self) { cursor: default; }
.ng-cell.sel { box-shadow: 0 0 0 2px var(--text, #fff); }
.ng-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: 12px; color: var(--muted, #888); }
.ng-key { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.ng-key.ng-all { background: var(--accent, #0a84ff); }
.ng-key.ng-some { background: var(--accent-soft, rgba(10, 132, 255, 0.25)); }
.ng-key.ng-off { border: 1px solid rgba(127, 127, 127, 0.4); }
.ng-key:not(:first-child) { margin-left: 10px; }
.ng-tip { flex-basis: 100%; }
.ng-panel { width: 260px; flex: none; border-radius: 12px; padding: 12px; background: var(--track-off, rgba(127, 127, 127, 0.08)); display: flex; flex-direction: column; gap: 8px; }
.ng-panel h3 { margin: 0; font-size: 15px; }
.ng-panel .seg { display: flex; }
.ng-panel .seg button { flex: 1; }
@media (max-width: 900px) { .ng-body { flex-direction: column; } .ng-panel { width: auto; align-self: stretch; } }
.ng-panel > button.small { align-self: flex-start; }
.ng-apps { max-height: min(60vh, 480px); overflow: hidden auto; margin-top: 10px; outline: none; } /* Configure's pop-up: the apps of one cell */