跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

remote-browser.css

45 行 · 4.0 KB历史下载
1.remote-browser { display: flex; flex: 1; flex-direction: column; min-height: 0; }
2.remote-tools, .remote-address, .remote-keyboard { display: flex; align-items: center; }
3.workspace-address-slot { min-width: 0; flex: 1; }
4.workspace-address-slot + .top-actions { flex: none; }
5.remote-domain { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--muted); font-size: 13px; overflow: hidden; }
6.remote-address, .remote-keyboard input { border-radius: 10px; background: var(--soft); }
7.remote-address { height: 38px; flex: 1; min-width: 0; gap: 8px; padding-left: 11px; }
8.remote-address svg { flex: none; color: var(--muted); }
9.remote-address input, .remote-keyboard input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); }
10.remote-address input { width: 100%; height: 44px; border: 0; background: transparent; }
11.remote-address button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; }
12.remote-stage { flex: 1; min-height: 0; position: relative; overflow: hidden; background: var(--soft); }
13.remote-screen { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; touch-action: none; }
14.remote-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 16px; text-align: center; }
15.remote-tools { flex: none; min-height: 48px; gap: 4px; border-top: 1px solid var(--line); padding: 2px 12px max(2px, var(--safe-bottom, env(safe-area-inset-bottom))); }
16.remote-keyboard { flex: none; flex-wrap: wrap; padding: 4px 8px max(4px, var(--safe-bottom, env(safe-area-inset-bottom))); border-top: 1px solid var(--line); }
17.remote-keyboard input { border: 1px solid var(--line); padding: 9px; }
18.remote-keyboard .icon-button { width: 38px; }
19.remote-note { width: 100%; padding: 3px 10px; color: var(--error); font-size: 13px; }
20@media (max-height: 490px) {
21 .remote-tools { padding-block: 0; min-height: 44px; }
22}
23.display-surface { width: 100%; height: 100%; }
24.display-surface.reading { width: 155%; height: 155%; cursor: grab; }
25.display-surface.reading:active { cursor: grabbing; }
26.remote-tools > button:last-child { margin-left: auto; }
27.phone-favorites { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 18px 18px; background: var(--paper); }
28.bookmark-heading, .bookmark-save-actions, .bookmark-folder-trigger, .phone-bookmarks li, .bookmark-open { display: flex; align-items: center; }
29.bookmark-heading { gap: 6px; margin: 0 -8px 6px; }
30.bookmark-heading h2 { flex: 1; }
31.bookmark-current { padding: 4px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
32.bookmark-current .inline-select-trigger { border-radius: 8px; background: var(--soft); padding: 0 12px; color: var(--ink); }
33.bookmark-save-actions { justify-content: flex-end; gap: 5px; margin-top: 6px; }
34.bookmark-folder-trigger, .bookmark-open { width: 100%; min-height: 46px; gap: 8px; padding: 5px 3px; border: 0; background: transparent; text-align: left; }
35.bookmark-folder-trigger span, .bookmark-open strong, .bookmark-open small { white-space: nowrap; overflow:hidden; text-overflow:ellipsis; }
36.bookmark-folder-trigger svg, .bookmark-open svg { flex:none; color:var(--muted); }
37.phone-bookmarks { padding: 0; margin: 0; list-style: none; }
38.bookmark-folder .phone-bookmarks, .bookmark-folder .tree-empty { margin-left: 13px; padding-left: 12px; border-left: 1px solid var(--line); }
39.bookmark-open { min-width:0; flex:1; }
40.bookmark-open span { min-width: 0; display: grid; gap: 3px; }
41.bookmark-open strong { font-size: 15px; font-weight: 550; }
42.bookmark-open small { color: var(--muted); font-size: 12px; }
43.phone-bookmarks .icon-button { color:var(--muted); }
44
45.remote-home-note { flex: none; padding: 7px 12px; background: var(--soft); color: var(--muted); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }