bridgerator 1.0.7 → 1.1.0
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/README.md +78 -15
- package/assets/bridgerator.ico +0 -0
- package/assets/icon-16.png +0 -0
- package/assets/icon-20.png +0 -0
- package/assets/icon-24.png +0 -0
- package/assets/icon-256.png +0 -0
- package/assets/icon-32.png +0 -0
- package/assets/icon-48.png +0 -0
- package/assets/icon-64.png +0 -0
- package/assets/logo.svg +1 -0
- package/install.ps1 +465 -43
- package/npm-shrinkwrap.json +8621 -0
- package/package.json +55 -49
- package/recipes/backup-folder.json +31 -0
- package/recipes/clean-downloads.json +48 -0
- package/recipes/disk-report.json +66 -0
- package/recipes/sort-folder.json +49 -0
- package/recipes/update-apps.json +25 -0
- package/src/ask-lib.ps1 +230 -0
- package/src/ask.mjs +51 -0
- package/src/ask.ps1 +17 -0
- package/src/automations.mjs +673 -0
- package/src/batch.mjs +221 -0
- package/src/bridge.mjs +743 -29
- package/src/cli.mjs +561 -53
- package/src/confirm.mjs +418 -0
- package/src/dc-config-hooks.mjs +18 -8
- package/src/dc-isolate.mjs +5 -0
- package/src/delegate.mjs +555 -0
- package/src/docs-tool.mjs +494 -0
- package/src/doctor.mjs +200 -0
- package/src/events.mjs +21 -0
- package/src/extra-tools.mjs +122 -0
- package/src/guard.mjs +34 -0
- package/src/notice.mjs +86 -23
- package/src/pair.mjs +41 -6
- package/src/pc-check.mjs +112 -0
- package/src/pc-check.ps1 +103 -0
- package/src/pc-text.mjs +94 -0
- package/src/pdf-font.mjs +245 -0
- package/src/photos-tool.mjs +187 -0
- package/src/photos.ps1 +145 -0
- package/src/plan.mjs +90 -0
- package/src/policy.mjs +293 -109
- package/src/queue.mjs +194 -0
- package/src/recent.mjs +48 -0
- package/src/recipes.mjs +108 -0
- package/src/recycle.mjs +185 -0
- package/src/recycle.ps1 +110 -0
- package/src/screen-tool.mjs +185 -0
- package/src/screen.ps1 +285 -0
- package/src/search-tool.mjs +189 -0
- package/src/search.ps1 +129 -0
- package/src/settings-tool.mjs +186 -0
- package/src/setup-tool.mjs +129 -0
- package/src/software-tool.mjs +185 -0
- package/src/telemetry.mjs +86 -0
- package/src/tool-lib.mjs +177 -0
- package/src/tool-text.mjs +45 -0
- package/src/tray.mjs +97 -0
- package/src/tray.ps1 +359 -0
- package/src/undo.mjs +313 -0
- package/src/win.mjs +17 -0
- package/ui/app.css +388 -0
- package/ui/app.js +868 -0
- package/ui/i18n/en.json +598 -0
- package/ui/i18n/ru.json +598 -0
- package/ui/index.html +26 -0
- package/vendor/webview2/LICENSE.txt +27 -0
- package/vendor/webview2/Microsoft.Web.WebView2.Core.dll +0 -0
- package/vendor/webview2/Microsoft.Web.WebView2.WinForms.dll +0 -0
- package/vendor/webview2/NOTICE.txt +85 -0
- package/vendor/webview2/SHA256SUMS.txt +4 -0
- package/vendor/webview2/SOURCE.txt +1 -0
- package/vendor/webview2/arm64/WebView2Loader.dll +0 -0
- package/vendor/webview2/x64/WebView2Loader.dll +0 -0
package/ui/app.css
ADDED
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
/* Bridgerator tray window. Ported 1:1 from the approved mockup (Main / Queue / QueueEdit / Recent /
|
|
2
|
+
Safety / Notifications / Settings / Help / Sidebar boards); repeated inline styles → classes.
|
|
3
|
+
Dark values are the mockup's; the light palette keeps the same structure. */
|
|
4
|
+
:root, [data-theme="dark"] {
|
|
5
|
+
--chrome: #0c0d0f; --chrome-line: #1f2125; --chrome-fg: #c9cbd1;
|
|
6
|
+
--bg: #141518; --card: #1b1c20; --card-line: #2a2c31; --row-line: #25272c;
|
|
7
|
+
--fg: #f2f3f5; --muted: #a1a3ab; --label: #c9cbd1; --mono: #d7d9de; --strong: #fff;
|
|
8
|
+
--btn2: #24262b; --btn2-line: #34363c; --primary: #2563eb; --accent: #4c9bff; --link: #6aa8ff; --link-hover: #9cc4ff;
|
|
9
|
+
--input: #141518; --input-line: #3a3c42; --dash: #4a4d55; --chip: #26282d;
|
|
10
|
+
--nav-on: #1f2126; --nav-hover: #17181b; --seg-on: #2a2c31; --seg-on-fg: #fff;
|
|
11
|
+
--green: #32d74b; --green-bg: #11331b; --green-fg: #7ee28f;
|
|
12
|
+
--blue-bg: #1d3a66; --blue-fg: #cfe2ff;
|
|
13
|
+
--red: #ff6961; --red-bg: #3a1715; --red-fg: #ffaba6; --red-line: #5a2622; --danger-card: #3a2220;
|
|
14
|
+
--yellow: #ffd27a; --yellow-bg: #3a2a0b; --yellow-line: #5c4512;
|
|
15
|
+
--switch-off: #6b6e76; --knob-off: #a1a3ab; --track: #2a2c31; --grip: #5b5e66; --ring-idle: #3a3c42;
|
|
16
|
+
--hint-bg: #14233a; --hint-line: #1e3a63; --hint-btn: #2e5a96; --hint-fg: #cfe2ff;
|
|
17
|
+
--dialog: #1f2024; --overlay: rgba(0, 0, 0, .55); --shadow: 0 24px 64px rgba(0, 0, 0, .5);
|
|
18
|
+
--preview: #101113; --picked: #16243a; --menu: #24262b;
|
|
19
|
+
color-scheme: dark;
|
|
20
|
+
}
|
|
21
|
+
[data-theme="light"] {
|
|
22
|
+
--chrome: #eceef2; --chrome-line: #d9dce2; --chrome-fg: #3d414a;
|
|
23
|
+
--bg: #f6f7f9; --card: #ffffff; --card-line: #e0e3e8; --row-line: #eceef2;
|
|
24
|
+
--fg: #1b1c20; --muted: #5f6470; --label: #3d414a; --mono: #2b2e35; --strong: #000;
|
|
25
|
+
--btn2: #ffffff; --btn2-line: #cfd3da; --primary: #2563eb; --accent: #2f7cf6; --link: #1f5fd6; --link-hover: #1747a8;
|
|
26
|
+
--input: #ffffff; --input-line: #c9cdd4; --dash: #b3b8c1; --chip: #eef0f3;
|
|
27
|
+
--nav-on: #dde2ea; --nav-hover: #e5e8ed; --seg-on: #ffffff; --seg-on-fg: #1b1c20;
|
|
28
|
+
--green: #1f9e3a; --green-bg: #e2f5e6; --green-fg: #19702f;
|
|
29
|
+
--blue-bg: #dce8ff; --blue-fg: #1d4ea0;
|
|
30
|
+
--red: #d93a32; --red-bg: #fde8e6; --red-fg: #b42318; --red-line: #f0b2ac; --danger-card: #f3c7c2;
|
|
31
|
+
--yellow: #a26a00; --yellow-bg: #fff3d6; --yellow-line: #f0d48f;
|
|
32
|
+
--switch-off: #8e939c; --knob-off: #8e939c; --track: #e3e6eb; --grip: #a3a8b1; --ring-idle: #c9cdd4;
|
|
33
|
+
--hint-bg: #eaf2ff; --hint-line: #c5d9fb; --hint-btn: #8fb5f2; --hint-fg: #1d4ea0;
|
|
34
|
+
--dialog: #ffffff; --overlay: rgba(20, 22, 28, .35); --shadow: 0 24px 64px rgba(20, 22, 28, .25);
|
|
35
|
+
--preview: #eef0f3; --picked: #eaf2ff; --menu: #ffffff;
|
|
36
|
+
color-scheme: light;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
* { box-sizing: border-box; }
|
|
40
|
+
html, body { margin: 0; height: 100%; }
|
|
41
|
+
body {
|
|
42
|
+
display: flex; flex-direction: column; overflow: hidden; background: var(--bg); color: var(--fg);
|
|
43
|
+
font-family: 'Segoe UI Variable Text', 'Segoe UI', Inter, system-ui, sans-serif; font-size: 14px; user-select: none;
|
|
44
|
+
}
|
|
45
|
+
input, textarea, select, button { font: inherit; }
|
|
46
|
+
input, textarea { user-select: text; }
|
|
47
|
+
.mono { font-family: Consolas, 'Cascadia Mono', monospace; }
|
|
48
|
+
.muted { color: var(--muted); }
|
|
49
|
+
.grow { flex-grow: 1; }
|
|
50
|
+
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
|
|
51
|
+
[hidden] { display: none !important; }
|
|
52
|
+
|
|
53
|
+
/* motion */
|
|
54
|
+
button, a, .nav a { transition: background-color .12s ease-out, border-color .12s ease-out, color .12s ease-out, transform .1s ease-out, filter .12s ease-out; }
|
|
55
|
+
button:hover:not(:disabled), a.btn:hover { filter: brightness(1.12); }
|
|
56
|
+
button:active:not(:disabled), a.btn:active { transform: scale(.97); }
|
|
57
|
+
:focus-visible { outline: 2px solid #4c9bff; outline-offset: 2px; }
|
|
58
|
+
a { color: var(--link); } a:hover { color: var(--link-hover); }
|
|
59
|
+
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } button:active, a:active { transform: none !important; } }
|
|
60
|
+
|
|
61
|
+
/* title bar (drag region; WebView2 non-client region support) */
|
|
62
|
+
.titlebar { height: 32px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding-left: 14px; background: var(--chrome); border-bottom: 1px solid var(--chrome-line); user-select: none; }
|
|
63
|
+
.titlebar .name { font-size: 12px; color: var(--chrome-fg); }
|
|
64
|
+
.titlebar .wbtn { width: 46px; height: 32px; border: 0; background: transparent; color: var(--chrome-fg); display: flex; align-items: center; justify-content: center; }
|
|
65
|
+
.titlebar .wbtn:hover { background: var(--nav-hover); filter: none; }
|
|
66
|
+
.titlebar .wbtn:active { transform: none; }
|
|
67
|
+
|
|
68
|
+
.layout { flex-grow: 1; display: flex; min-height: 0; }
|
|
69
|
+
|
|
70
|
+
/* sidebar */
|
|
71
|
+
.nav { width: max-content; flex-shrink: 0; padding: 12px 10px; background: var(--chrome); border-right: 1px solid var(--chrome-line); display: flex; flex-direction: column; gap: 2px; }
|
|
72
|
+
.nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 6px; text-decoration: none; font-size: 14px; color: var(--muted); }
|
|
73
|
+
.nav a:hover { color: var(--fg); background: var(--nav-hover); }
|
|
74
|
+
.nav a:active { transform: scale(.98); }
|
|
75
|
+
.nav a[aria-current="page"] { background: var(--nav-on); color: var(--fg); font-weight: 600; }
|
|
76
|
+
/* The menu is as wide as its longest item (owner 21.10); each label reserves its bold width so the menu never jumps. */
|
|
77
|
+
.nav a .grow { display: inline-flex; flex-direction: column; }
|
|
78
|
+
.nav a .grow::after { content: attr(data-t); font-weight: 600; height: 0; overflow: hidden; visibility: hidden; }
|
|
79
|
+
.nav :focus-visible { outline-offset: -2px; }
|
|
80
|
+
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue-bg); color: var(--blue-fg); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
|
|
81
|
+
.nav-status { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--card-line); }
|
|
82
|
+
.nav-status .line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
|
|
83
|
+
.nav-status .sub { font-size: 12px; color: var(--muted); }
|
|
84
|
+
.dot { width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; background: var(--switch-off); }
|
|
85
|
+
.dot.online { background: var(--green); } .dot.paused { background: #ffb900; }
|
|
86
|
+
|
|
87
|
+
/* page */
|
|
88
|
+
main { flex-grow: 1; min-width: 0; padding: 28px 32px 20px; display: flex; flex-direction: column; gap: 16px; overflow: auto; position: relative; }
|
|
89
|
+
main.home { padding: 28px 32px; gap: 18px; }
|
|
90
|
+
main.queue, main.recent { gap: 14px; }
|
|
91
|
+
.head { display: flex; flex-direction: column; gap: 4px; }
|
|
92
|
+
.head-row { display: flex; align-items: center; gap: 16px; }
|
|
93
|
+
h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
|
|
94
|
+
h2 { margin: 0; font-size: 15px; font-weight: 600; }
|
|
95
|
+
.sub { font-size: 13px; color: var(--muted); }
|
|
96
|
+
.card { border-radius: 10px; background: var(--card); border: 1px solid var(--card-line); }
|
|
97
|
+
|
|
98
|
+
/* buttons: every button 32 px tall */
|
|
99
|
+
.btn { height: 32px; padding: 0 16px; border-radius: 6px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; text-decoration: none; cursor: default; white-space: nowrap; }
|
|
100
|
+
.btn-primary { border: 0; background: var(--primary); color: #fff; font-weight: 600; }
|
|
101
|
+
.btn-secondary { border: 1px solid var(--btn2-line); background: var(--btn2); color: var(--fg); }
|
|
102
|
+
.btn-danger { border: 1px solid var(--red-line); background: transparent; color: var(--red-fg); }
|
|
103
|
+
.btn-dashed { border: 1px dashed var(--dash); background: transparent; color: var(--label); padding: 0 12px; }
|
|
104
|
+
.btn-ghost { border: 0; background: transparent; color: var(--muted); padding: 0; }
|
|
105
|
+
.btn:disabled { opacity: .5; }
|
|
106
|
+
.w96 { width: 96px; padding: 0; } .w112 { width: 112px; padding: 0; } .w120 { width: 120px; padding: 0; } .w128 { width: 128px; } .w148 { width: 148px; }
|
|
107
|
+
.icon-btn { width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; }
|
|
108
|
+
.icon-btn:hover { background: var(--nav-hover); }
|
|
109
|
+
|
|
110
|
+
/* switch */
|
|
111
|
+
.switch { width: 40px; height: 20px; border-radius: 10px; border: 0; position: relative; flex-shrink: 0; padding: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--switch-off); }
|
|
112
|
+
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; border-radius: 6px; background: var(--knob-off); transition: left .18s ease-out, background-color .18s ease-out; }
|
|
113
|
+
.switch[aria-checked="true"] { background: var(--primary); box-shadow: none; }
|
|
114
|
+
.switch[aria-checked="true"]::after { left: 24px; background: #fff; }
|
|
115
|
+
.switch:disabled { opacity: .4; }
|
|
116
|
+
.switch:active:not(:disabled) { transform: none; }
|
|
117
|
+
|
|
118
|
+
/* segmented control */
|
|
119
|
+
.seg { display: flex; padding: 2px; border-radius: 6px; background: var(--input); border: 1px solid var(--input-line); }
|
|
120
|
+
.seg button { flex: 1 0 auto; height: 26px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
|
|
121
|
+
.seg button[aria-checked="true"] { background: var(--seg-on); color: var(--seg-on-fg); font-weight: 600; box-shadow: 0 0 0 1px var(--card-line); }
|
|
122
|
+
.seg button:active { transform: none; }
|
|
123
|
+
|
|
124
|
+
/* inputs */
|
|
125
|
+
.input, .select { height: 32px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--input-line); background: var(--input); color: var(--fg); font-size: 13px; }
|
|
126
|
+
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom: 2px solid var(--accent); }
|
|
127
|
+
.textarea { padding: 10px 12px; border-radius: 6px; border: 1px solid var(--input-line); background: var(--input); color: var(--fg); font-size: 13px; resize: none; }
|
|
128
|
+
.field { display: flex; flex-direction: column; gap: 6px; }
|
|
129
|
+
.field label, .flabel { font-size: 12px; font-weight: 600; color: var(--label); }
|
|
130
|
+
.field label .opt, .flabel .opt { font-weight: 400; color: var(--muted); }
|
|
131
|
+
|
|
132
|
+
/* rows inside cards */
|
|
133
|
+
.row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; font-size: 13px; }
|
|
134
|
+
.row + .row { border-top: 1px solid var(--row-line); }
|
|
135
|
+
.row.tall { min-height: 64px; }
|
|
136
|
+
.stack { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
|
|
137
|
+
.stack .hint { font-size: 12px; line-height: 1.4; color: var(--muted); }
|
|
138
|
+
.sec-title { margin: 0; padding: 14px 16px 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
|
|
139
|
+
|
|
140
|
+
/* chips (paths) */
|
|
141
|
+
.chip { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 10px; border-radius: 6px; background: var(--chip); font-family: Consolas, 'Cascadia Mono', monospace; font-size: 12px; min-width: 0; }
|
|
142
|
+
.chip span { flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
143
|
+
.chip button { width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
|
|
144
|
+
.chip.inline { display: inline-flex; gap: 6px; }
|
|
145
|
+
|
|
146
|
+
/* pills / status */
|
|
147
|
+
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 10px; white-space: nowrap; }
|
|
148
|
+
.t-done { background: var(--green-bg); color: var(--green-fg); }
|
|
149
|
+
.t-doing { background: var(--blue-bg); color: var(--blue-fg); }
|
|
150
|
+
.t-todo, .t-skipped { background: var(--chip); color: var(--label); }
|
|
151
|
+
.t-failed, .t-error { background: var(--red-bg); color: var(--red-fg); }
|
|
152
|
+
.t-denied, .t-paused { background: var(--yellow-bg); color: var(--yellow); }
|
|
153
|
+
|
|
154
|
+
/* status page */
|
|
155
|
+
.conn { display: flex; align-items: center; gap: 18px; padding: 20px; }
|
|
156
|
+
.conn-icon { width: 48px; height: 48px; border-radius: 24px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green); }
|
|
157
|
+
.conn-icon.offline { background: var(--chip); color: var(--muted); } .conn-icon.paused { background: var(--yellow-bg); color: var(--yellow); }
|
|
158
|
+
.conn-main { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
159
|
+
.conn-main .title { font-size: 16px; font-weight: 600; }
|
|
160
|
+
.usage { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
|
|
161
|
+
.bar { flex-grow: 1; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; display: flex; }
|
|
162
|
+
.bar > div { height: 6px; }
|
|
163
|
+
.bar .b-blue { background: var(--accent); } .bar .b-green { background: var(--green); } .bar .b-red { background: var(--red); }
|
|
164
|
+
.usage span, .note-sm { font-size: 12px; color: var(--muted); white-space: nowrap; }
|
|
165
|
+
.conn-btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
|
|
166
|
+
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
167
|
+
.tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; text-decoration: none; color: var(--fg); }
|
|
168
|
+
.tile:hover { color: var(--fg); filter: brightness(1.06); }
|
|
169
|
+
.tile:active { transform: scale(.97); }
|
|
170
|
+
.tile .k { font-size: 12px; color: var(--muted); }
|
|
171
|
+
.tile .v { font-size: 20px; font-weight: 600; }
|
|
172
|
+
.tile .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
173
|
+
.steps { display: flex; flex-direction: column; gap: 2px; padding: 8px 20px; }
|
|
174
|
+
.step { display: flex; align-items: center; gap: 14px; height: 56px; }
|
|
175
|
+
.step + .step { border-top: 1px solid var(--row-line); }
|
|
176
|
+
.step:first-child { height: 52px; }
|
|
177
|
+
.check { width: 22px; height: 22px; border-radius: 11px; flex-shrink: 0; border: 2px solid var(--ring-idle); display: flex; align-items: center; justify-content: center; }
|
|
178
|
+
.check.next { border-color: var(--accent); }
|
|
179
|
+
.check.ok { border: 0; background: var(--green); color: #0c0d0f; }
|
|
180
|
+
.step .t { font-size: 14px; font-weight: 600; }
|
|
181
|
+
.step.ok .t { font-weight: 400; color: var(--muted); text-decoration: line-through; }
|
|
182
|
+
.step .h { font-size: 12px; color: var(--muted); }
|
|
183
|
+
.step .h .mono { color: var(--fg); }
|
|
184
|
+
|
|
185
|
+
/* queue */
|
|
186
|
+
.filters { display: flex; gap: 6px; }
|
|
187
|
+
.filters button { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 13px; border: 1px solid var(--card-line); background: transparent; color: var(--label); }
|
|
188
|
+
.filters button[aria-selected="true"] { border-color: var(--accent); background: var(--blue-bg); color: var(--strong); }
|
|
189
|
+
.filters .n { color: var(--muted); margin-left: 6px; }
|
|
190
|
+
.list { flex-grow: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
|
|
191
|
+
.qrow { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px 8px 8px; border-bottom: 1px solid var(--row-line); background: var(--card); }
|
|
192
|
+
.qrow.dragging { opacity: .5; } .qrow.drop-above { box-shadow: inset 0 2px 0 var(--accent); }
|
|
193
|
+
.grip { color: var(--grip); cursor: grab; display: flex; flex-shrink: 0; }
|
|
194
|
+
.sdot { width: 12px; height: 12px; border-radius: 6px; flex-shrink: 0; }
|
|
195
|
+
.sdot.done { background: var(--green); } .sdot.doing { background: var(--accent); box-shadow: 0 0 0 4px var(--blue-bg); } .sdot.failed { background: var(--red); }
|
|
196
|
+
.sdot.todo, .sdot.skipped { border: 2px solid var(--grip); }
|
|
197
|
+
.qtext { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
198
|
+
.qtext .t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
199
|
+
.qtext .t.done { color: var(--muted); text-decoration: line-through; }
|
|
200
|
+
.qtext .n { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
201
|
+
.qpill { width: 96px; display: flex; justify-content: flex-end; flex-shrink: 0; }
|
|
202
|
+
.empty { padding: 28px 20px; font-size: 13px; color: var(--muted); text-align: center; }
|
|
203
|
+
.hintbar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--hint-bg); border: 1px solid var(--hint-line); }
|
|
204
|
+
.hintbar .txt { flex-grow: 1; font-size: 13px; color: var(--hint-fg); }
|
|
205
|
+
.hintbar .mono { color: var(--strong); }
|
|
206
|
+
.hint-rows { flex-grow: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; }
|
|
207
|
+
.hint-rows .txt::first-letter { text-transform: uppercase; }
|
|
208
|
+
.phrase-chip { justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--card); border: 1px solid var(--hint-line); font-size: 12px; }
|
|
209
|
+
.btn-hint { border: 1px solid var(--hint-btn); background: transparent; color: var(--hint-fg); }
|
|
210
|
+
.menu { position: fixed; z-index: 30; min-width: 180px; padding: 4px; border-radius: 8px; background: var(--menu); border: 1px solid var(--btn2-line); box-shadow: 0 8px 32px rgba(0, 0, 0, .35); }
|
|
211
|
+
.menu button { width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: var(--fg); font-size: 13px; text-align: left; display: block; }
|
|
212
|
+
.menu button:hover { background: var(--nav-hover); filter: none; }
|
|
213
|
+
.menu button.danger { color: var(--red-fg); }
|
|
214
|
+
.menu button:active { transform: none; }
|
|
215
|
+
|
|
216
|
+
/* dialog */
|
|
217
|
+
.overlay { position: fixed; inset: 0; z-index: 20; background: var(--overlay); display: flex; align-items: center; justify-content: center; }
|
|
218
|
+
.dialog { width: 520px; max-height: calc(100% - 40px); overflow: auto; padding: 24px; border-radius: 12px; background: var(--dialog); border: 1px solid var(--btn2-line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
|
|
219
|
+
.dialog h2 { font-size: 18px; }
|
|
220
|
+
.dialog p { margin: 0; font-size: 13px; color: var(--label); line-height: 1.5; }
|
|
221
|
+
.dialog .chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
222
|
+
.dialog .chips .chip { max-width: 100%; }
|
|
223
|
+
.dialog.drop { box-shadow: var(--shadow), 0 0 0 2px var(--accent); }
|
|
224
|
+
.dlg-foot { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
|
|
225
|
+
.err { font-size: 12px; color: var(--red-fg); }
|
|
226
|
+
|
|
227
|
+
/* recent */
|
|
228
|
+
.searchbox { flex-grow: 1; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--input-line); background: var(--card); }
|
|
229
|
+
.searchbox input { flex-grow: 1; border: 0; background: transparent; color: var(--fg); font-size: 13px; outline: none; }
|
|
230
|
+
.select.w150 { width: 150px; background: var(--card); }
|
|
231
|
+
.table { flex-grow: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
|
|
232
|
+
.trow { display: grid; grid-template-columns: 72px 130px minmax(0, 1fr) 96px 64px; gap: 12px; align-items: center; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--row-line); font-size: 13px; }
|
|
233
|
+
.trow.th { height: auto; padding: 10px 16px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--card-line); }
|
|
234
|
+
.trow .time { color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
235
|
+
.trow .cmd { font-family: Consolas, 'Cascadia Mono', monospace; font-size: 12px; color: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: text; }
|
|
236
|
+
.trow .pill { justify-self: start; padding: 3px 8px; }
|
|
237
|
+
.tbody { overflow: auto; flex-grow: 1; }
|
|
238
|
+
.toggle-line { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--label); }
|
|
239
|
+
|
|
240
|
+
/* safety */
|
|
241
|
+
.two { flex-grow: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
|
|
242
|
+
.confirm-card { display: flex; flex-direction: column; overflow: hidden; }
|
|
243
|
+
.confirm-card .top { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
|
|
244
|
+
.confirm-card .top .stack .hint { line-height: 1.45; }
|
|
245
|
+
.cat { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--row-line); }
|
|
246
|
+
.cat.dim { opacity: .45; }
|
|
247
|
+
.cat .stack span:first-child { font-size: 13px; font-weight: 500; }
|
|
248
|
+
.foot-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--row-line); font-size: 13px; }
|
|
249
|
+
.foot-row label { flex-grow: 1; color: var(--label); }
|
|
250
|
+
.folders { display: flex; flex-direction: column; gap: 14px; padding: 16px; min-height: 0; overflow: auto; }
|
|
251
|
+
.fgroup { display: flex; flex-direction: column; gap: 8px; }
|
|
252
|
+
.note { display: flex; gap: 10px; padding: 12px; border-radius: 8px; background: var(--bg); font-size: 12px; color: var(--muted); line-height: 1.45; }
|
|
253
|
+
|
|
254
|
+
/* notifications */
|
|
255
|
+
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
|
256
|
+
.style-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 10px; color: var(--fg); background: var(--card); border: 1px solid var(--card-line); text-align: left; }
|
|
257
|
+
.style-card[aria-checked="true"] { background: var(--picked); border-color: var(--accent); }
|
|
258
|
+
.style-card:active { transform: scale(.99); }
|
|
259
|
+
.radio { width: 18px; height: 18px; border-radius: 9px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--switch-off); }
|
|
260
|
+
.radio::after { content: ''; width: 8px; height: 8px; border-radius: 4px; }
|
|
261
|
+
[aria-checked="true"] > .radio { border-color: var(--accent); } [aria-checked="true"] > .radio::after { background: var(--accent); }
|
|
262
|
+
.style-card .stack span:first-child { font-size: 14px; font-weight: 600; }
|
|
263
|
+
.style-card .stack .hint { line-height: 1.4; }
|
|
264
|
+
.nsplit { display: flex; gap: 14px; flex-grow: 1; min-height: 0; }
|
|
265
|
+
.nsplit > .card:first-child { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
266
|
+
.preview { width: 396px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 10px; background: var(--preview); border: 1px solid var(--card-line); }
|
|
267
|
+
.preview .bar-top { display: flex; align-items: center; justify-content: space-between; }
|
|
268
|
+
.preview .seg { background: var(--card); border-color: var(--card-line); }
|
|
269
|
+
.preview .seg button { width: 64px; flex: none; }
|
|
270
|
+
.toast { padding: 14px 16px 16px; border-radius: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 32px rgba(0, 0, 0, .35); }
|
|
271
|
+
.toast.dark { background: #2b2b2b; color: #fff; border: 1px solid #3d3d3d; --tmuted: #c5c5c5; --tbtn: #3a3a3a; --tbtn-line: #4a4a4a; --tbtn-fg: #fff; }
|
|
272
|
+
.toast.light { background: #f9f9f9; color: #1a1a1a; border: 1px solid #e3e3e3; --tmuted: #5f5f5f; --tbtn: #fff; --tbtn-line: #d6d6d6; --tbtn-fg: #1a1a1a; }
|
|
273
|
+
.toast .app { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tmuted); }
|
|
274
|
+
.toast .h { font-size: 14px; font-weight: 600; }
|
|
275
|
+
.toast .c { font-family: Consolas, 'Cascadia Mono', monospace; font-size: 12px; line-height: 1.45; }
|
|
276
|
+
.toast .m { font-size: 12px; color: var(--tmuted); }
|
|
277
|
+
.toast .btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
|
|
278
|
+
.toast .btns span { height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 13px; white-space: nowrap; background: var(--tbtn); border: 1px solid var(--tbtn-line); color: var(--tbtn-fg); }
|
|
279
|
+
|
|
280
|
+
/* settings */
|
|
281
|
+
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
|
|
282
|
+
.cols + .card { margin-top: 14px; }
|
|
283
|
+
/* Settings: cards in pairs per row; both cards of a row are equally tall (owner 21.10: symmetric). */
|
|
284
|
+
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
|
|
285
|
+
.pairs + .card { margin-top: 14px; }
|
|
286
|
+
.col { display: flex; flex-direction: column; gap: 14px; }
|
|
287
|
+
.w168 { width: 168px; }
|
|
288
|
+
.seg.w168 { width: auto; min-width: 168px; }
|
|
289
|
+
.input.w168 { width: 168px; }
|
|
290
|
+
.acct { display: flex; flex-direction: column; gap: 2px; padding: 6px 16px 12px; font-size: 13px; }
|
|
291
|
+
.acct .hint { font-size: 12px; color: var(--muted); }
|
|
292
|
+
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 16px; }
|
|
293
|
+
.danger-card { border-color: var(--danger-card); }
|
|
294
|
+
.ok-text { color: var(--green-fg); } .warn-text { color: var(--yellow); }
|
|
295
|
+
|
|
296
|
+
/* help */
|
|
297
|
+
.help { display: flex; gap: 14px; flex-grow: 1; min-height: 0; }
|
|
298
|
+
.topics { width: 190px; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
299
|
+
.topics button { text-align: left; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; font-size: 13px; background: transparent; color: var(--muted); }
|
|
300
|
+
.topics button[aria-current="page"] { background: var(--nav-on); color: var(--strong); font-weight: 600; }
|
|
301
|
+
.topics button:hover { color: var(--fg); }
|
|
302
|
+
.article { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; overflow: auto; }
|
|
303
|
+
.article h2 { font-size: 18px; }
|
|
304
|
+
.article p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--label); }
|
|
305
|
+
.article ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
|
|
306
|
+
.article li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
|
|
307
|
+
.article li .num { width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; background: var(--blue-bg); color: var(--blue-fg); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
|
|
308
|
+
.tip { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding: 12px 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--card-line); }
|
|
309
|
+
.tip .k { font-size: 12px; color: var(--muted); }
|
|
310
|
+
.tip .mono { font-size: 13px; user-select: text; }
|
|
311
|
+
|
|
312
|
+
/* plan banner (board "Plan states") */
|
|
313
|
+
:root, [data-theme="dark"] { --by-bg: #2e2510; --by-line: #5c4714; --by-fg: #ffe7b0; --by-ico: #ffd27a; --by-btn: #ffd27a; --by-btn-fg: #2a1f05; --by-x: #c9b47f;
|
|
314
|
+
--br-bg: #331614; --br-line: #6a2a25; --br-fg: #ffd3d0; --br-ico: #ffaba6; --br-btn: #ff8a80; --br-btn-fg: #2b0806; --br-x: #d99a95; }
|
|
315
|
+
[data-theme="light"] { --by-bg: #fff6dc; --by-line: #f0d48f; --by-fg: #6b4a00; --by-ico: #b07a00; --by-btn: #f5b800; --by-btn-fg: #2a1f05; --by-x: #8a6a1c;
|
|
316
|
+
--br-bg: #fdeceb; --br-line: #f1b6b0; --br-fg: #8c1d14; --br-ico: #c4372d; --br-btn: #d93a32; --br-btn-fg: #fff; --br-x: #a3463f; }
|
|
317
|
+
.banner { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 10px 0 14px; border-radius: 10px; font-size: 13px; flex-shrink: 0; }
|
|
318
|
+
.banner.yellow { background: var(--by-bg); border: 1px solid var(--by-line); color: var(--by-fg); --ico: var(--by-ico); --b: var(--by-btn); --bf: var(--by-btn-fg); --x: var(--by-x); }
|
|
319
|
+
.banner.red { background: var(--br-bg); border: 1px solid var(--br-line); color: var(--br-fg); --ico: var(--br-ico); --b: var(--br-btn); --bf: var(--br-btn-fg); --x: var(--br-x); }
|
|
320
|
+
.banner .bico { color: var(--ico); flex-shrink: 0; }
|
|
321
|
+
.banner .txt { flex-grow: 1; }
|
|
322
|
+
.banner .bbtn { width: 120px; padding: 0; border: 0; background: var(--b); color: var(--bf); font-weight: 600; }
|
|
323
|
+
.banner .bx { color: var(--x); }
|
|
324
|
+
.banner .bx:hover { background: transparent; }
|
|
325
|
+
.banner .bspace { width: 32px; flex-shrink: 0; }
|
|
326
|
+
|
|
327
|
+
/* in-window toast (Undo, Copied) */
|
|
328
|
+
.snack { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border-radius: 8px; background: var(--menu); border: 1px solid var(--btn2-line); box-shadow: 0 8px 32px rgba(0, 0, 0, .35); font-size: 13px; animation: snack-in .16s ease-out; }
|
|
329
|
+
.snack.plain { padding-right: 16px; }
|
|
330
|
+
@keyframes snack-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
|
|
331
|
+
.wbtns { display: flex; }
|
|
332
|
+
.w132 { width: 132px; }
|
|
333
|
+
.hint-ico { color: var(--link); flex-shrink: 0; }
|
|
334
|
+
.note-ico { flex-shrink: 0; margin-top: 1px; }
|
|
335
|
+
.lock { color: var(--yellow); flex-shrink: 0; }
|
|
336
|
+
.preview .b { font-size: 13px; font-weight: 600; }
|
|
337
|
+
.wrap { line-height: 1.4; white-space: normal; }
|
|
338
|
+
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
339
|
+
::-webkit-scrollbar-track { background: transparent; }
|
|
340
|
+
::-webkit-scrollbar-thumb { background: var(--btn2-line); border-radius: 5px; border: 2px solid transparent; background-clip: padding-box; }
|
|
341
|
+
::-webkit-scrollbar-thumb:hover { background-color: var(--dash); }
|
|
342
|
+
.topics .btn-secondary { height: 32px; padding: 0 12px; border: 1px solid var(--btn2-line); border-radius: 6px; background: var(--btn2); color: var(--fg); justify-content: center; text-align: center; }
|
|
343
|
+
.grid1 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 16px 16px; }
|
|
344
|
+
.grid2 + .grid1 { margin-top: -8px; }
|
|
345
|
+
.diff { margin: 0; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: 6px; background: var(--input); border: 1px solid var(--input-line); font-size: 12px; line-height: 1.5; white-space: pre-wrap; user-select: text; }
|
|
346
|
+
.allfolders { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 6px; background: var(--chip); font-size: 13px; }
|
|
347
|
+
.linkbtn { height: 32px; border: 0; background: transparent; color: var(--link); font-size: 12px; padding: 0 4px; }
|
|
348
|
+
.linkbtn:hover { color: var(--link-hover); filter: none; }
|
|
349
|
+
.phrases { display: flex; flex-direction: column; }
|
|
350
|
+
.phrase { display: flex; align-items: center; gap: 12px; min-height: 56px; border-top: 1px solid var(--row-line); }
|
|
351
|
+
.phrase:first-child { border-top: 0; }
|
|
352
|
+
.phrase .mono { font-size: 13px; user-select: text; }
|
|
353
|
+
|
|
354
|
+
/* Safety tabs, access preset, Undo, keep-awake */
|
|
355
|
+
.w240 { width: 240px; }
|
|
356
|
+
.preset-hint { font-size: 12px; color: var(--muted); margin-top: -8px; }
|
|
357
|
+
.awake-line { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
|
|
358
|
+
.awake-line.on { color: var(--label); }
|
|
359
|
+
.trow .linkbtn { justify-self: start; height: 24px; }
|
|
360
|
+
.trow .hint { font-size: 12px; color: var(--muted); }
|
|
361
|
+
.foot-row .grow, .cat .hint.grow { flex-grow: 1; }
|
|
362
|
+
main.safety { gap: 12px; }
|
|
363
|
+
main.safety .confirm-card { overflow: auto; }
|
|
364
|
+
/* Automations page, plan card, usage forecast (automations.mjs, batch.mjs, plan.mjs forecast) */
|
|
365
|
+
main.automations { gap: 14px; }
|
|
366
|
+
main.automations .list { flex-grow: 0; max-height: none; }
|
|
367
|
+
main.automations section.phrases { padding: 0 16px; }
|
|
368
|
+
main.automations section.phrases .phrase:first-child { border-top: 0; }
|
|
369
|
+
.arow { padding-left: 14px; }
|
|
370
|
+
.arow .switch { flex-shrink: 0; }
|
|
371
|
+
.forecast { font-size: 12px; margin-top: 4px; }
|
|
372
|
+
/* Agents page (AI ↔ AI delegation, delegate.mjs) */
|
|
373
|
+
main.agents { gap: 14px; overflow: auto; }
|
|
374
|
+
main.agents .list { flex-grow: 0; flex-shrink: 0; overflow: visible; }
|
|
375
|
+
main.agents .two { flex-grow: 0; flex-shrink: 0; }
|
|
376
|
+
main.agents .phrases .phrase { padding: 8px 16px; }
|
|
377
|
+
main.agents .sec-title { margin: 4px 0 0; }
|
|
378
|
+
.agrow .hint { flex-shrink: 0; }
|
|
379
|
+
.qtext .n.mono { font-size: 11px; }
|
|
380
|
+
.dialog.wide { width: 640px; }
|
|
381
|
+
.plist { max-height: 300px; overflow: auto; border: 1px solid var(--input-line); border-radius: 6px; background: var(--input); padding: 6px 10px; display: flex; flex-direction: column; }
|
|
382
|
+
.prow { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 12px; line-height: 1.4; }
|
|
383
|
+
.prow input { margin-top: 2px; flex-shrink: 0; }
|
|
384
|
+
.prow .mono { word-break: break-all; user-select: text; }
|
|
385
|
+
.runs { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow: auto; }
|
|
386
|
+
details.run summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; padding: 4px 0; }
|
|
387
|
+
details.run summary .hint { font-size: 12px; color: var(--muted); }
|
|
388
|
+
details.run .diff { margin-top: 6px; }
|