clay-server 4.8.0-beta.1 → 4.8.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundled-skills/clay-agent-browser/SKILL.md +36 -0
- package/lib/clay-skill-install.js +33 -0
- package/lib/clay-skill-storage.js +49 -0
- package/lib/linear-api.js +62 -0
- package/lib/linear-store.js +52 -0
- package/lib/project-http.js +14 -5
- package/lib/project-linear-launch.js +70 -0
- package/lib/project-session-linear.js +197 -0
- package/lib/project-shared-browser.js +256 -0
- package/lib/project.js +74 -2
- package/lib/public/app.js +7 -0
- package/lib/public/css/filebrowser.css +2 -25
- package/lib/public/css/issues.css +1 -14
- package/lib/public/css/linear.css +35 -0
- package/lib/public/css/mcp-skills-workbench.css +51 -0
- package/lib/public/css/project-logs.css +0 -11
- package/lib/public/css/right-workbench.css +28 -0
- package/lib/public/css/scheduled-tasks.css +1 -1
- package/lib/public/css/settings-ui.css +295 -0
- package/lib/public/css/shared-browser-skins.css +28 -0
- package/lib/public/css/shared-browser.css +91 -0
- package/lib/public/css/sticky-notes.css +0 -11
- package/lib/public/index.html +50 -22
- package/lib/public/modules/app-messages.js +6 -0
- package/lib/public/modules/app-projects.js +1 -1
- package/lib/public/modules/extension-settings.js +110 -0
- package/lib/public/modules/issues.js +4 -1
- package/lib/public/modules/linear-panel.js +120 -0
- package/lib/public/modules/linear-settings.js +61 -0
- package/lib/public/modules/mcp-skills-workbench.js +67 -0
- package/lib/public/modules/mcp-ui.js +9 -12
- package/lib/public/modules/notifications.js +2 -107
- package/lib/public/modules/project-settings.js +19 -1
- package/lib/public/modules/session-github.js +15 -5
- package/lib/public/modules/shared-browser-activity.js +66 -0
- package/lib/public/modules/shared-browser-input.js +73 -0
- package/lib/public/modules/shared-browser-tabs.js +33 -0
- package/lib/public/modules/shared-browser-viewport-menu.js +76 -0
- package/lib/public/modules/shared-browser.js +214 -0
- package/lib/public/modules/sidebar-mobile.js +3 -3
- package/lib/public/modules/skills-actions.js +247 -0
- package/lib/public/modules/skills-detail.js +148 -0
- package/lib/public/modules/skills-state.js +10 -0
- package/lib/public/modules/skills.js +64 -459
- package/lib/public/modules/sticky-notes.js +23 -6
- package/lib/public/modules/tool-palette-order.js +11 -13
- package/lib/public/modules/user-settings.js +4 -0
- package/lib/public/style.css +8 -0
- package/lib/sdk-bridge.js +22 -1
- package/lib/server-linear.js +50 -0
- package/lib/server.js +5 -0
- package/lib/sessions.js +7 -0
- package/lib/shared-browser-activity-history.js +17 -0
- package/lib/shared-browser-policy.js +26 -0
- package/lib/shared-browser-runtime.js +82 -0
- package/lib/shared-browser-tools.js +21 -0
- package/lib/shared-browser-worker.js +160 -0
- package/lib/ws-schema.js +10 -0
- package/lib/yoke/skill-discovery.js +22 -2
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.mcp-skills-workbench { display:flex; flex-direction:column; flex-shrink:0; width:50%; max-width:720px; min-width:360px; height:calc(100% - 16px); align-self:center; margin:8px 8px 8px 10px; border:1px solid var(--border); border-radius:12px; background:var(--bg); overflow:hidden; }
|
|
2
|
+
.mcp-skills-workbench.hidden { display:none; }
|
|
3
|
+
.mcp-skills-workbench.workbench-wide { width:70%; max-width:1200px; }
|
|
4
|
+
.mcp-skills-workbench.panel-fullscreen { width:100%; max-width:none; min-width:0; height:100%; margin:0; border:0; border-radius:0; }
|
|
5
|
+
.mcp-skills-header { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--border); }
|
|
6
|
+
.mcp-skills-header strong,.mcp-skills-header>div { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; }
|
|
7
|
+
.mcp-skills-header svg { width:15px; height:15px; }
|
|
8
|
+
.mcp-skills-header button { display:flex; padding:6px; background:transparent; border:0; border-radius:6px; color:var(--text-muted); cursor:pointer; }
|
|
9
|
+
.mcp-skills-header button:hover { background:var(--bg-alt); color:var(--text); }
|
|
10
|
+
.mcp-skills-tabs { display:flex; padding:0 16px; border-bottom:1px solid var(--border); gap:24px; flex-shrink:0; }
|
|
11
|
+
.mcp-skills-tabs button { padding:13px 0 11px; background:none; border:0; border-bottom:2px solid transparent; color:var(--text-muted); font:inherit; font-size:12px; cursor:pointer; }
|
|
12
|
+
.mcp-skills-tabs button[aria-selected="true"] { color:var(--text); border-bottom-color:var(--accent); }
|
|
13
|
+
.mcp-skills-tabs button[hidden] { display:none; }
|
|
14
|
+
#mcp-skills-workbench #skills-modal,#mcp-skills-workbench #mcp-modal { position:static; inset:auto; z-index:auto; display:flex; flex:1; min-height:0; align-items:stretch; justify-content:stretch; }
|
|
15
|
+
#mcp-skills-workbench #skills-modal.hidden,#mcp-skills-workbench #mcp-modal.hidden { display:none; }
|
|
16
|
+
#mcp-skills-workbench .skills-dialog,#mcp-skills-workbench .mcp-dialog { width:100%; max-width:none; min-width:0; height:100%; max-height:none; padding:0; display:flex; flex-direction:column; overflow:hidden; }
|
|
17
|
+
#mcp-skills-workbench .mcp-header,#mcp-skills-workbench #skills-modal-close { display:none; }
|
|
18
|
+
#mcp-skills-workbench .skills-header { padding:12px 16px 0; }
|
|
19
|
+
#mcp-skills-workbench .skills-title { font-size:12px; font-weight:500; }
|
|
20
|
+
#mcp-skills-workbench .skills-powered-by { font-size:10px; }
|
|
21
|
+
#mcp-skills-workbench .skills-search { margin:12px 16px 0; }
|
|
22
|
+
#mcp-skills-workbench .skills-tabs { padding:8px 16px 0; gap:0; overflow-x:auto; }
|
|
23
|
+
#mcp-skills-workbench .skills-tab { padding:9px 10px; font-size:11px; white-space:nowrap; }
|
|
24
|
+
#mcp-skills-workbench .skills-content,#mcp-skills-workbench .mcp-content { flex:1; min-height:0; overflow-y:auto; padding:16px; }
|
|
25
|
+
#mcp-skills-workbench .skills-detail { display:flex; flex-direction:column; gap:24px; height:auto; min-height:0; }
|
|
26
|
+
#mcp-skills-workbench .skills-detail-main { min-width:0; flex:none; border-right:0; overflow:visible; }
|
|
27
|
+
#mcp-skills-workbench .skills-detail-sidebar { width:auto; border-left:0; padding-left:0; border-top:1px solid var(--border); padding-top:20px; }
|
|
28
|
+
#mcp-skills-workbench .skills-detail-name { font-size:24px; overflow-wrap:anywhere; }
|
|
29
|
+
#mcp-skills-workbench .skills-installed-item { align-items:flex-start; }
|
|
30
|
+
#mcp-skills-workbench .skills-item { padding:12px 0; }
|
|
31
|
+
#mcp-skills-workbench .mcp-server-row { flex-wrap:wrap; }
|
|
32
|
+
#mcp-skills-workbench .mcp-server-perm-reason { flex-basis:100%; padding-left:26px; }
|
|
33
|
+
#mcp-skills-workbench button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
34
|
+
@media (max-width:1023px) { .mcp-skills-workbench,.mcp-skills-workbench.workbench-wide { position:fixed; inset:0; z-index:160; width:100%; max-width:none; min-width:0; height:100dvh; margin:0; border:0; border-radius:0; padding-top:env(safe-area-inset-top); padding-bottom:env(safe-area-inset-bottom); } }
|
|
35
|
+
|
|
36
|
+
#mcp-skills-workbench .skills-detail-main > .skills-detail-md-wrap { flex:none; overflow:visible; padding:0; }
|
|
37
|
+
#mcp-skills-workbench .skills-detail-main > .skills-detail-name,#mcp-skills-workbench .skills-detail-main > .skills-detail-desc,#mcp-skills-workbench .skills-detail-main > .skills-detail-cmd { margin-left:0; margin-right:0; }
|
|
38
|
+
|
|
39
|
+
#mcp-skills-workbench .skills-detail-cmd code { min-width:0; overflow-x:auto; }
|
|
40
|
+
|
|
41
|
+
#mcp-skills-workbench .ext-pill-wrap { display:block; flex-shrink:0; padding:12px 16px; border-bottom:1px solid var(--border); max-height:55%; overflow-y:auto; }
|
|
42
|
+
#mcp-skills-workbench .top-bar-ext-btn { padding:8px 10px; border-radius:6px; gap:6px; }
|
|
43
|
+
#mcp-skills-workbench .top-bar-ext-btn::after { content:"Setup"; margin-left:8px; color:var(--text-muted); font-weight:400; }
|
|
44
|
+
#mcp-skills-workbench .top-bar-ext-btn.ext-connected::after { content:"Connected"; color:var(--success); }
|
|
45
|
+
#mcp-skills-workbench .ext-popover { position:static; width:auto; margin-top:12px; padding:12px; box-shadow:none; border-radius:8px; }
|
|
46
|
+
|
|
47
|
+
#mcp-skills-workbench .ext-feature-summary { margin:8px 0 0; font-size:12px; line-height:1.5; color:var(--text-muted); }
|
|
48
|
+
#mcp-skills-workbench .ext-popover-desc p { margin:0 0 8px; }
|
|
49
|
+
#mcp-skills-workbench .ext-feature-list { margin:0 0 16px; padding-left:18px; }
|
|
50
|
+
#mcp-skills-workbench .ext-feature-list li { margin-bottom:8px; line-height:1.6; }
|
|
51
|
+
#mcp-skills-workbench .ext-feature-list strong { color:var(--text); font-weight:500; }
|
|
@@ -18,12 +18,6 @@
|
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
flex-shrink: 0;
|
|
21
|
-
box-shadow:
|
|
22
|
-
4px 8px 18px rgba(var(--shadow-rgb), 0.14),
|
|
23
|
-
2px 2px 4px rgba(var(--shadow-rgb), 0.08),
|
|
24
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
25
|
-
animation: workbench-panel-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
26
|
-
transition: max-width 0.2s ease, width 0.2s ease, box-shadow 0.2s ease;
|
|
27
21
|
}
|
|
28
22
|
#project-logs-panel.hidden { display: none; }
|
|
29
23
|
#project-logs-panel.project-logs-wide {
|
|
@@ -38,14 +32,9 @@
|
|
|
38
32
|
margin: 0;
|
|
39
33
|
border: 0;
|
|
40
34
|
border-radius: 0;
|
|
41
|
-
box-shadow: none;
|
|
42
|
-
animation: none;
|
|
43
35
|
}
|
|
44
36
|
}
|
|
45
37
|
|
|
46
|
-
@media (prefers-reduced-motion: reduce) {
|
|
47
|
-
#project-logs-panel { animation: none; }
|
|
48
|
-
}
|
|
49
38
|
|
|
50
39
|
/* Narrow screens: full overlay, like the other workbench tools. */
|
|
51
40
|
@media (max-width: 1023px) {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* Shared desktop workbench elevation and motion. Keep panel content styles local. */
|
|
2
|
+
@keyframes workbench-panel-in {
|
|
3
|
+
from { opacity: 0; transform: translateX(10px) scale(0.995); }
|
|
4
|
+
to { opacity: 1; transform: translateX(0) scale(1); }
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@media (min-width: 1024px) {
|
|
8
|
+
:is(#file-viewer, #terminal-container, #project-logs-panel, #issues-panel, #linear-panel, #notes-browser, #scheduled-tasks-panel, #shared-browser-panel, #mcp-skills-workbench):not(.panel-fullscreen) {
|
|
9
|
+
box-shadow:
|
|
10
|
+
4px 8px 18px rgba(var(--shadow-rgb), 0.14),
|
|
11
|
+
2px 2px 4px rgba(var(--shadow-rgb), 0.08),
|
|
12
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
13
|
+
animation: workbench-panel-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
14
|
+
transition: max-width 0.2s ease, width 0.2s ease, box-shadow 0.2s ease;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:is(#file-viewer, #terminal-container, #project-logs-panel, #issues-panel, #linear-panel, #notes-browser, #scheduled-tasks-panel, #shared-browser-panel, #mcp-skills-workbench).panel-fullscreen {
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
animation: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (prefers-reduced-motion: reduce) {
|
|
24
|
+
:is(#file-viewer, #terminal-container, #project-logs-panel, #issues-panel, #linear-panel, #notes-browser, #scheduled-tasks-panel, #shared-browser-panel, #mcp-skills-workbench):not(.panel-fullscreen) {
|
|
25
|
+
animation: none;
|
|
26
|
+
transition: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@media (min-width: 1024px) {
|
|
2
|
-
#scheduled-tasks-panel { width: 50%; max-width: 760px; min-width: 380px; height: calc(100% - 16px); min-height: 0; align-self: center; margin: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0;
|
|
2
|
+
#scheduled-tasks-panel { width: 50%; max-width: 760px; min-width: 380px; height: calc(100% - 16px); min-height: 0; align-self: center; margin: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; }
|
|
3
3
|
#scheduled-tasks-panel.hidden { display: none; }
|
|
4
4
|
#scheduled-tasks-panel.scheduled-tasks-wide { width: 70%; max-width: 1200px; }
|
|
5
5
|
#scheduled-tasks-panel.panel-fullscreen { width: 100%; max-width: none; min-width: 0; height: 100%; margin: 0; border: 0; border-radius: 0; }
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Settings UI primitives
|
|
3
|
+
One scoped visual language for User, Project and Server settings.
|
|
4
|
+
Loaded after the per-surface sheets so these rules win on equal specificity.
|
|
5
|
+
Uses existing theme tokens only; nothing here applies outside settings.
|
|
6
|
+
========================================================================== */
|
|
7
|
+
|
|
8
|
+
:is(#user-settings, #project-settings, #server-settings) {
|
|
9
|
+
--sui-radius-control: 8px;
|
|
10
|
+
--sui-radius-card: 10px;
|
|
11
|
+
--sui-control-h: 36px;
|
|
12
|
+
--sui-focus: 0 0 0 3px var(--accent-12);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* --- Headings --- */
|
|
16
|
+
:is(.us-section, .ps-section, .server-settings-section) h2 {
|
|
17
|
+
margin: 0 0 18px;
|
|
18
|
+
font-size: 20px;
|
|
19
|
+
font-weight: var(--font-weight-heading, 650);
|
|
20
|
+
letter-spacing: -0.01em;
|
|
21
|
+
line-height: 1.25;
|
|
22
|
+
color: var(--text);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:is(.us-section, .ps-section, .server-settings-section) h3 {
|
|
26
|
+
margin: 26px 0 8px;
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
font-weight: var(--font-weight-heading, 650);
|
|
29
|
+
letter-spacing: 0.06em;
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
color: var(--text-muted);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:is(.us-section, .ps-section, .server-settings-section) .settings-card h3 {
|
|
35
|
+
margin: 0 0 4px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
letter-spacing: 0;
|
|
38
|
+
text-transform: none;
|
|
39
|
+
color: var(--text);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* --- Navigation --- */
|
|
43
|
+
:is(#user-settings .us-nav-item, #project-settings .settings-nav-item, #server-settings .settings-nav-item) {
|
|
44
|
+
padding: 7px 10px;
|
|
45
|
+
border: 0;
|
|
46
|
+
border-radius: var(--sui-radius-control);
|
|
47
|
+
font-size: 13.5px;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
color: var(--text-muted);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:is(#user-settings .us-nav-item, #project-settings .settings-nav-item, #server-settings .settings-nav-item):hover {
|
|
53
|
+
background: rgba(var(--overlay-rgb), 0.05);
|
|
54
|
+
color: var(--text);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:is(#user-settings .us-nav-item, #project-settings .settings-nav-item, #server-settings .settings-nav-item).active {
|
|
58
|
+
background: rgba(var(--overlay-rgb), 0.08);
|
|
59
|
+
color: var(--text);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:is(#user-settings .us-nav-danger, #server-settings .settings-nav-danger, #project-settings .settings-nav-danger),
|
|
63
|
+
:is(#user-settings .us-nav-danger, #server-settings .settings-nav-danger, #project-settings .settings-nav-danger).active {
|
|
64
|
+
color: var(--error);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-nav-item, .settings-nav-item, .settings-nav-dropdown):focus-visible {
|
|
68
|
+
outline: 2px solid var(--accent);
|
|
69
|
+
outline-offset: -2px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* --- Cards and rows --- */
|
|
73
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-card {
|
|
74
|
+
margin-bottom: 16px;
|
|
75
|
+
padding: 4px 0;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
border: 1px solid var(--border);
|
|
78
|
+
border-radius: var(--sui-radius-card);
|
|
79
|
+
background: var(--bg-alt);
|
|
80
|
+
box-shadow: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-card:has(.layout-switcher) { padding: 14px; }
|
|
84
|
+
|
|
85
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding: 14px 16px; }
|
|
86
|
+
|
|
87
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field-row,
|
|
88
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row {
|
|
89
|
+
position: relative;
|
|
90
|
+
gap: 16px;
|
|
91
|
+
padding: 12px 16px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-label {
|
|
95
|
+
display: block;
|
|
96
|
+
margin: 0 0 6px;
|
|
97
|
+
font-size: 13px;
|
|
98
|
+
font-weight: 500;
|
|
99
|
+
line-height: 1.4;
|
|
100
|
+
color: var(--text);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.settings-field-row, .settings-toggle-row) .settings-label { margin-bottom: 0; }
|
|
104
|
+
|
|
105
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-hint,
|
|
106
|
+
:is(.ps-section-desc, .ps-save-status) {
|
|
107
|
+
margin: 4px 0 0;
|
|
108
|
+
font-size: 12.5px;
|
|
109
|
+
line-height: 1.5;
|
|
110
|
+
color: var(--text-muted);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-value { color: var(--text); }
|
|
114
|
+
|
|
115
|
+
/* --- Toggle: keep the input keyboard-reachable, show focus on the track --- */
|
|
116
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row input {
|
|
117
|
+
display: block;
|
|
118
|
+
position: absolute;
|
|
119
|
+
width: 1px;
|
|
120
|
+
height: 1px;
|
|
121
|
+
margin: 0;
|
|
122
|
+
opacity: 0;
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row input:focus-visible + .toggle-track {
|
|
127
|
+
outline: 2px solid var(--accent);
|
|
128
|
+
outline-offset: 2px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* --- Text controls --- */
|
|
132
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, #settings-pin-input) {
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
width: 100%;
|
|
135
|
+
min-height: var(--sui-control-h);
|
|
136
|
+
padding: 8px 12px;
|
|
137
|
+
border: 1px solid var(--border);
|
|
138
|
+
border-radius: var(--sui-radius-control);
|
|
139
|
+
background: var(--bg);
|
|
140
|
+
color: var(--text);
|
|
141
|
+
font-family: inherit;
|
|
142
|
+
font-size: 14px;
|
|
143
|
+
line-height: 1.4;
|
|
144
|
+
outline: none;
|
|
145
|
+
box-shadow: none;
|
|
146
|
+
transition: border-color 0.15s, box-shadow 0.15s;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.ps-textarea, .settings-network-origins) {
|
|
150
|
+
padding: 10px 12px;
|
|
151
|
+
line-height: 1.6;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, #settings-pin-input):hover:not(:disabled) {
|
|
155
|
+
border-color: var(--text-dimmer);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, #settings-pin-input):focus,
|
|
159
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, #settings-pin-input):focus-visible {
|
|
160
|
+
border-color: var(--accent);
|
|
161
|
+
box-shadow: var(--sui-focus);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .ps-textarea, #settings-pin-input)::placeholder { color: var(--text-dimmer); }
|
|
165
|
+
|
|
166
|
+
:is(#user-settings, #project-settings, #server-settings) :is(input, textarea, select):disabled { opacity: 0.55; cursor: not-allowed; }
|
|
167
|
+
|
|
168
|
+
:is(#user-settings, #project-settings, #server-settings) :is(input, textarea)[aria-invalid="true"] {
|
|
169
|
+
border-color: var(--error);
|
|
170
|
+
box-shadow: 0 0 0 3px var(--error-12);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* --- Buttons: primary / secondary / destructive --- */
|
|
174
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn, .settings-btn-sm, .settings-btn-option) {
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
min-height: 32px;
|
|
177
|
+
padding: 6px 14px;
|
|
178
|
+
border-radius: var(--sui-radius-control);
|
|
179
|
+
font-family: inherit;
|
|
180
|
+
font-size: 13px;
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
line-height: 1.3;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:is(#user-settings, #project-settings, #server-settings) .us-btn {
|
|
188
|
+
border: 1px solid var(--accent);
|
|
189
|
+
background: var(--accent);
|
|
190
|
+
color: #fff;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:is(#user-settings, #project-settings, #server-settings) .us-btn:hover:not(:disabled) {
|
|
194
|
+
opacity: 1;
|
|
195
|
+
filter: brightness(1.08);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn-secondary, .settings-btn-sm) {
|
|
199
|
+
border: 1px solid var(--border);
|
|
200
|
+
background: transparent;
|
|
201
|
+
color: var(--text-secondary);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn-secondary, .settings-btn-sm):hover:not(:disabled) {
|
|
205
|
+
filter: none;
|
|
206
|
+
border-color: var(--text-dimmer);
|
|
207
|
+
background: rgba(var(--overlay-rgb), 0.06);
|
|
208
|
+
color: var(--text);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn-danger, .settings-btn-danger) {
|
|
212
|
+
border-color: color-mix(in srgb, var(--error) 40%, var(--border));
|
|
213
|
+
background: transparent;
|
|
214
|
+
color: var(--error);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn-danger, .settings-btn-danger):hover:not(:disabled) {
|
|
218
|
+
background: var(--error-12);
|
|
219
|
+
border-color: var(--error);
|
|
220
|
+
color: var(--error);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn, .settings-btn-sm):focus-visible {
|
|
224
|
+
outline: 2px solid var(--accent);
|
|
225
|
+
outline-offset: 2px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-btn, .settings-btn-sm):disabled {
|
|
229
|
+
opacity: 0.45;
|
|
230
|
+
cursor: not-allowed;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* --- Form layout and status --- */
|
|
234
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-form { display: flex; flex-direction: column; align-items: stretch; }
|
|
235
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-form .settings-hint { margin-top: 8px; }
|
|
236
|
+
|
|
237
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-form-actions {
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-wrap: wrap;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: 8px;
|
|
242
|
+
margin-top: 14px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status {
|
|
246
|
+
min-height: 18px;
|
|
247
|
+
margin: 12px 0 0;
|
|
248
|
+
padding-left: 14px;
|
|
249
|
+
position: relative;
|
|
250
|
+
font-size: 12.5px;
|
|
251
|
+
line-height: 1.5;
|
|
252
|
+
color: var(--text-muted);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status::before {
|
|
256
|
+
content: "";
|
|
257
|
+
position: absolute;
|
|
258
|
+
left: 0;
|
|
259
|
+
top: 0.55em;
|
|
260
|
+
width: 7px;
|
|
261
|
+
height: 7px;
|
|
262
|
+
border-radius: 50%;
|
|
263
|
+
background: var(--text-dimmer);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status:empty { display: none; }
|
|
267
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status[data-state="connected"] { color: var(--text); }
|
|
268
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status[data-state="connected"]::before { background: var(--success, #3fb950); }
|
|
269
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status[data-state="error"] { color: var(--error); }
|
|
270
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-status[data-state="error"]::before { background: var(--error); }
|
|
271
|
+
|
|
272
|
+
@media (max-width: 580px) {
|
|
273
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-form-actions > .us-btn { flex: 1 1 auto; }
|
|
274
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding: 14px; }
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Monospace controls keep their face after the shared control reset. */
|
|
278
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-pin-input, .settings-network-origins, .ps-textarea-mono) {
|
|
279
|
+
font-family: var(--font-mono, "Roboto Mono", monospace);
|
|
280
|
+
font-size: 13px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* Description-to-form gap inside integration cards. */
|
|
284
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field > .settings-hint + .settings-form { margin-top: 16px; }
|
|
285
|
+
|
|
286
|
+
/* The shared server-settings mobile dropdown margin (16px sides) pushed the
|
|
287
|
+
100%-wide User Settings dropdown past the modal edge. */
|
|
288
|
+
@media (max-width: 580px) {
|
|
289
|
+
#user-settings .settings-nav-dropdown {
|
|
290
|
+
box-sizing: border-box;
|
|
291
|
+
width: 100%;
|
|
292
|
+
max-width: 100%;
|
|
293
|
+
margin: 0;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* Device silhouettes follow viewport dimensions; they do not emulate an OS. */
|
|
2
|
+
.shared-browser-viewport[data-skin="laptop"] .shared-browser-monitor { border: 9px solid #252729; border-bottom: 30px solid #c8cbcc; border-radius: 12px 12px 5px 5px; box-shadow: 0 0 0 2px #acb0b2, 0 20px 32px #0005; }
|
|
3
|
+
.shared-browser-viewport[data-skin="laptop"] .shared-browser-monitor-brand { left: 0; right: 0; text-align: center; color: #53585a; }
|
|
4
|
+
.shared-browser-viewport[data-skin="laptop"] .shared-browser-monitor-stand { bottom: -49px; height: 18px; width: calc(100% + 60px); background: linear-gradient(#dfe1e2, #babfc2); border-radius: 2px 2px 45% 45%; box-shadow: 0 3px 0 #858b8e, 0 12px 15px #0005; }
|
|
5
|
+
.shared-browser-viewport[data-skin="laptop"] .shared-browser-monitor-stand::before { top: 0; bottom: auto; height: 5px; left: 42%; right: 42%; clip-path: none; background: #9ba1a4; border-radius: 0 0 5px 5px; }
|
|
6
|
+
.shared-browser-viewport[data-skin="laptop"] .shared-browser-monitor-stand::after { display: none; }
|
|
7
|
+
.shared-browser-viewport[data-skin="crt"] { background: #183638; }
|
|
8
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor { border: 22px solid #c9c7b9; border-bottom-width: 42px; border-radius: 24px; box-shadow: inset 0 0 0 3px #797b72, 0 0 0 2px #e4e1d4, 8px 10px 0 #999b90, 12px 24px 30px #0005; }
|
|
9
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor::before { inset: -5px; border: 5px solid; border-color: #8a8b80 #b4b5a8 #e3e1d4 #9c9e91; border-radius: 6px; }
|
|
10
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor-brand { bottom: -33px; }
|
|
11
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor::after { bottom: -28px; right: 6px; width: 9px; height: 9px; border: 3px solid #afb1a3; }
|
|
12
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor-stand { bottom: -66px; width: 35%; height: 24px; }
|
|
13
|
+
.shared-browser-viewport[data-skin="crt"] .shared-browser-monitor-detail { position: absolute; bottom: -27px; right: 35px; width: 40px; height: 4px; background: repeating-linear-gradient(90deg, #85897e 0 6px, transparent 6px 12px); }
|
|
14
|
+
.shared-browser-viewport[data-skin="mac"] { background: #292824; gap: 28px; }
|
|
15
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor { border: 24px solid #d7cfbb; border-top-width: 30px; border-bottom-width: 78px; border-radius: 15px 15px 7px 7px; box-shadow: 0 5px 0 #afa68f, 0 7px 0 #e6ddc9, 0 22px 30px #0005; }
|
|
16
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor::before { inset: -6px; border: 6px solid; border-color: #aaa18c #bcb39d #ede4cf #bab099; border-radius: 9px; }
|
|
17
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor-brand { bottom: -51px; left: 1px; color: #696250; }
|
|
18
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor-stand { display: none; }
|
|
19
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor-detail { position: absolute; bottom: -43px; right: 2px; width: 30%; height: 5px; background: #625f54; border-bottom: 2px solid #efe6d3; border-radius: 1px; }
|
|
20
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor-detail::after { content: ""; position: absolute; top: 15px; right: 0; width: 65%; height: 10px; background: repeating-linear-gradient(90deg, #aaa08a 0 2px, transparent 2px 5px); }
|
|
21
|
+
.shared-browser-viewport[data-skin="mac"] .shared-browser-monitor::after { bottom: -67px; }
|
|
22
|
+
.shared-browser-viewport[data-skin="phone"] { background: #23282d; gap: 24px; }
|
|
23
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor { border: 12px solid #141517; border-top-width: 48px; border-bottom-width: 54px; border-radius: 38px; box-shadow: 0 0 0 2px #9a9d9f, 0 0 0 4px #46494c, 0 20px 35px #0006; }
|
|
24
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor::before { inset: auto auto -44px 50%; width: 32px; height: 32px; transform: translateX(-50%); border: 1px solid #666a6e; border-radius: 50%; background: #191b1d; box-shadow: inset 0 0 0 2px #111; }
|
|
25
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor::after { top: -27px; bottom: auto; right: calc(50% + 39px); width: 6px; height: 6px; background: #283d52; box-shadow: 0 0 0 2px #08090a; }
|
|
26
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor-detail { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 42px; height: 5px; border-radius: 4px; background: #08090a; box-shadow: 0 1px 0 #383b3d; }
|
|
27
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor-brand { left: auto; right: 10px; bottom: -34px; font-size: 10px; color: #92979c; }
|
|
28
|
+
.shared-browser-viewport[data-skin="phone"] .shared-browser-monitor-stand { display: none; }
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@import url("./shared-browser-skins.css");
|
|
2
|
+
|
|
3
|
+
/* Shared browser uses the existing mutually exclusive right workbench. */
|
|
4
|
+
.shared-browser-panel { width: 50%; max-width: 780px; min-width: 360px; height: calc(100% - 16px); align-self: center; margin: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; box-shadow: 4px 8px 18px rgba(var(--shadow-rgb), .14); }
|
|
5
|
+
.shared-browser-panel.hidden, #shared-browser-btn.hidden { display: none; }
|
|
6
|
+
.shared-browser-panel.shared-browser-wide { width: 70%; max-width: 1280px; }
|
|
7
|
+
.shared-browser-panel.panel-fullscreen { width: 100%; max-width: none; min-width: 0; height: 100%; margin: 0; border: 0; border-radius: 0; }
|
|
8
|
+
.shared-browser-header { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
|
|
9
|
+
.shared-browser-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
|
|
10
|
+
.shared-browser-panel svg { width: 15px; height: 15px; flex-shrink: 0; }
|
|
11
|
+
.shared-browser-phase { font-size: 10px; color: var(--text-muted); }
|
|
12
|
+
.shared-browser-phase[data-live="true"]::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--accent); }
|
|
13
|
+
.shared-browser-window { display: flex; margin-left: auto; gap: 2px; }
|
|
14
|
+
.shared-browser-panel button { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text); border: 0; border-radius: 6px; padding: 7px; cursor: pointer; font: inherit; }
|
|
15
|
+
.shared-browser-panel button:hover { background: var(--bg-alt); }
|
|
16
|
+
.shared-browser-panel button:disabled, .shared-browser-panel input:disabled, .shared-browser-panel select:disabled { opacity: .45; cursor: default; }
|
|
17
|
+
.shared-browser-panel button:focus-visible, #shared-browser-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
18
|
+
.shared-browser-address { display: flex; align-items: center; gap: 3px; padding: 8px; border-bottom: 1px solid var(--border); }
|
|
19
|
+
.shared-browser-address input { flex: 1; width: 0; min-width: 0; background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; font: inherit; font-size: 11px; }
|
|
20
|
+
.shared-browser-viewport { position: relative; flex: 1; min-height: 0; background: #202224; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 44px; }
|
|
21
|
+
.shared-browser-monitor { position: relative; flex-shrink: 0; box-sizing: content-box; border: 10px solid #e7e2d6; border-bottom-width: 32px; border-radius: 13px; background: #111315; box-shadow: 0 2px 0 #b8b2a5, 0 18px 36px rgba(0,0,0,.28), 0 0 0 1px #f5f0e6; }
|
|
22
|
+
.shared-browser-monitor::before { content: ""; position: absolute; inset: -1px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
|
|
23
|
+
.shared-browser-monitor::after { content: ""; position: absolute; bottom: -20px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: #aaa697; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
|
|
24
|
+
.shared-browser-monitor[data-live="true"]::after { background: #79a582; box-shadow: 0 0 5px rgba(121,165,130,.4), inset 0 1px 1px rgba(0,0,0,.15); }
|
|
25
|
+
.shared-browser-monitor-brand { position: absolute; left: 5px; bottom: -25px; color: #787469; font-family: "Source Serif 4", Georgia, serif; font-size: 15px; font-weight: 600; font-synthesis: none; letter-spacing: -.012em; line-height: 24px; pointer-events: none; }
|
|
26
|
+
.shared-browser-monitor-stand { position: absolute; left: 50%; bottom: -57px; width: clamp(80px, 28%, 180px); height: 25px; transform: translateX(-50%); pointer-events: none; }
|
|
27
|
+
.shared-browser-monitor-stand::before { content: ""; position: absolute; top: 0; bottom: 3px; left: 30%; right: 30%; background: linear-gradient(#aaa69c, #d2cdbf); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
|
|
28
|
+
.shared-browser-monitor-stand::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: #d8d3c6; border-radius: 2px; box-shadow: 0 1px 0 #9b978d, 0 6px 10px rgba(0,0,0,.22); }
|
|
29
|
+
.shared-browser-monitor-label { color: #a5aaaf; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
|
|
30
|
+
.shared-browser-monitor .shared-browser-empty { color: #a5aaaf; }
|
|
31
|
+
.shared-browser-monitor .shared-browser-empty h3 { color: #eceeef; }
|
|
32
|
+
.shared-browser-viewport canvas { display: block; width: 100%; height: 100%; object-fit: contain; touch-action: none; }
|
|
33
|
+
.shared-browser-keyboard { position: absolute; bottom: 0; left: 50%; width: 1px; height: 1px; opacity: 0; padding: 0; border: 0; }
|
|
34
|
+
.shared-browser-empty { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; color: var(--text-muted); pointer-events: none; }
|
|
35
|
+
.shared-browser-empty.hidden { display: none; }
|
|
36
|
+
.shared-browser-empty > svg { width: 28px; height: 28px; opacity: .65; }
|
|
37
|
+
.shared-browser-empty h3 { font-size: 14px; font-weight: 500; color: var(--text); margin: 16px 0 0; }
|
|
38
|
+
.shared-browser-empty p { font-size: 12px; line-height: 1.6; }
|
|
39
|
+
.shared-browser-empty .shared-browser-private { font-size: 10px; margin-top: 20px; }
|
|
40
|
+
.shared-browser-footer { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 40px; padding: 5px 10px; border-top: 1px solid var(--border); font-size: 10px; }
|
|
41
|
+
.shared-browser-control, .shared-browser-details { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
42
|
+
.shared-browser-control span { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
43
|
+
.shared-browser-footer button { padding: 5px 6px; white-space: nowrap; flex-shrink: 0; }
|
|
44
|
+
.shared-browser-footer button[hidden] { display: none; }
|
|
45
|
+
.shared-browser-control button { border: 1px solid var(--border); }
|
|
46
|
+
.shared-browser-details { margin-left: auto; flex-shrink: 0; color: var(--text-muted); }
|
|
47
|
+
.shared-browser-details select { font: inherit; background: transparent; color: var(--text-muted); border: 0; padding: 4px 0; cursor: pointer; }
|
|
48
|
+
.shared-browser-details [data-action="end"] { color: var(--text-muted); border-left: 1px solid var(--border); border-radius: 0; padding-left: 10px; }
|
|
49
|
+
.shared-browser-error.hidden { display: none; }
|
|
50
|
+
.shared-browser-error { padding: 8px 12px; margin: 0; font-size: 11px; color: var(--text); background: var(--bg-alt); }
|
|
51
|
+
@media (max-width: 1023px) { #shared-browser-panel, #shared-browser-btn { display: none !important; } }
|
|
52
|
+
|
|
53
|
+
.shared-browser-resolution { position: relative; }
|
|
54
|
+
.shared-browser-resolution [data-viewport-trigger] { gap: 5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
|
|
55
|
+
.shared-browser-resolution [data-viewport-trigger] svg { width: 11px; height: 11px; }
|
|
56
|
+
.shared-browser-resolution-menu { position: absolute; z-index: 10; right: 0; bottom: calc(100% + 9px); width: 158px; max-height: min(260px, 50vh); overflow-y: auto; padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
|
|
57
|
+
.shared-browser-resolution-menu[hidden] { display: none; }
|
|
58
|
+
.shared-browser-resolution-menu button { display: flex; justify-content: space-between; width: 100%; padding: 8px 10px; text-align: left; font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
59
|
+
.shared-browser-resolution-menu button[aria-checked="true"] { background: var(--bg-alt); color: var(--text); }
|
|
60
|
+
.shared-browser-resolution-menu button[aria-checked="true"]::after { content: "✓"; color: var(--accent); }
|
|
61
|
+
|
|
62
|
+
.shared-browser-caption { display: flex; flex-direction: column; align-items: center; gap: 10px; width: calc(100% - 40px); max-width: 590px; text-align: center; }
|
|
63
|
+
.shared-browser-activity { position: relative; width: 100%; max-width: 590px; }
|
|
64
|
+
.shared-browser-activity[hidden], .shared-browser-pointer[hidden] { display: none; }
|
|
65
|
+
.shared-browser-caption-history { max-height: 170px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #70757a transparent; padding: 8px 16px; text-align: center; }
|
|
66
|
+
.shared-browser-caption-history:focus-visible { outline: 1px solid #92979c; outline-offset: 2px; border-radius: 6px; }
|
|
67
|
+
.shared-browser-caption-row { margin: 0 0 14px; color: #fff; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; font-weight: 600; text-shadow: 0 2px 3px #000, 1px 0 2px #000, -1px 0 2px #000; overflow-wrap: anywhere; }
|
|
68
|
+
.shared-browser-caption-row:last-child { margin-bottom: 0; }
|
|
69
|
+
.shared-browser-activity-text { padding: 2px 7px; background: rgba(0,0,0,.62); box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 3px; }
|
|
70
|
+
.shared-browser-caption-row[data-age="1"] { opacity: .7; }
|
|
71
|
+
.shared-browser-caption-row[data-age="2"] { opacity: .48; }
|
|
72
|
+
.shared-browser-caption-row[data-age="3"] { opacity: .3; }
|
|
73
|
+
.shared-browser-activity[data-reviewing="true"] .shared-browser-caption-row { opacity: .9; }
|
|
74
|
+
.shared-browser-caption-row small { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; color: #edc6ae; }
|
|
75
|
+
.shared-browser-panel .shared-browser-caption-latest { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); padding: 3px 9px; font-size: 10px; white-space: nowrap; color: #eceeef; background: #353a3f; border: 1px solid #62686e; border-radius: 12px; }
|
|
76
|
+
.shared-browser-caption-latest[hidden] { display: none; }
|
|
77
|
+
.shared-browser-caption-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
|
78
|
+
.shared-browser-pointer-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
|
|
79
|
+
.shared-browser-pointer { position: absolute; width: 24px; height: 28px; transition: left .12s linear, top .12s linear; filter: drop-shadow(0 2px 2px #0006); }
|
|
80
|
+
.shared-browser-pointer svg { width: 24px; height: 28px; fill: #8076f5; stroke: white; stroke-width: 1.6; }
|
|
81
|
+
.shared-browser-pointer i { position: absolute; left: -12px; top: -12px; width: 30px; height: 30px; border: 2px solid #a59dff; border-radius: 50%; opacity: 0; }
|
|
82
|
+
@media (prefers-reduced-motion: reduce) { .shared-browser-pointer { transition: none; } }
|
|
83
|
+
|
|
84
|
+
.shared-browser-tabs { display: flex; gap: 4px; align-items: center; overflow-x: auto; flex-shrink: 0; padding: 6px 8px 0; border-bottom: 1px solid var(--border); }
|
|
85
|
+
.shared-browser-tab { display: flex; align-items: center; min-width: 100px; max-width: 210px; border-radius: 7px 7px 0 0; background: var(--bg-alt); }
|
|
86
|
+
.shared-browser-tab:has([aria-selected="true"]) { box-shadow: inset 0 -2px var(--accent); background: var(--bg-surface, var(--bg-alt)); }
|
|
87
|
+
.shared-browser-tab [role="tab"] { min-width: 0; gap: 8px; font-size: 11px; padding: 9px 8px; }
|
|
88
|
+
.shared-browser-tab [role="tab"] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
89
|
+
.shared-browser-tab small { font-size: 9px; color: var(--text-muted); }
|
|
90
|
+
.shared-browser-tab [aria-selected="true"] small { color: var(--accent); }
|
|
91
|
+
.shared-browser-tab > button:last-child { padding: 5px; font-size: 15px; color: var(--text-muted); }
|
|
@@ -561,12 +561,6 @@
|
|
|
561
561
|
flex-direction: column;
|
|
562
562
|
overflow: hidden;
|
|
563
563
|
flex-shrink: 0;
|
|
564
|
-
box-shadow:
|
|
565
|
-
4px 8px 18px rgba(var(--shadow-rgb), 0.14),
|
|
566
|
-
2px 2px 4px rgba(var(--shadow-rgb), 0.08),
|
|
567
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
568
|
-
animation: workbench-panel-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
569
|
-
transition: max-width 0.2s ease, width 0.2s ease, box-shadow 0.2s ease;
|
|
570
564
|
}
|
|
571
565
|
#notes-browser.hidden { display: none; }
|
|
572
566
|
#notes-browser.notes-browser-wide { width: 70%; max-width: 1200px; }
|
|
@@ -578,14 +572,9 @@
|
|
|
578
572
|
margin: 0;
|
|
579
573
|
border: 0;
|
|
580
574
|
border-radius: 0;
|
|
581
|
-
box-shadow: none;
|
|
582
|
-
animation: none;
|
|
583
575
|
}
|
|
584
576
|
}
|
|
585
577
|
|
|
586
|
-
@media (prefers-reduced-motion: reduce) {
|
|
587
|
-
#notes-browser { animation: none; }
|
|
588
|
-
}
|
|
589
578
|
|
|
590
579
|
/* Narrow screens: full viewport overlay, like the other workbench tools. */
|
|
591
580
|
@media (max-width: 1023px) {
|