@lemoncat7/dsh-knowledge 2.2.9 → 2.2.13-next.12
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 +3 -3
- package/docs/architecture.md +6 -2
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +42 -0
- package/lib/api.js.map +1 -1
- package/lib/client.js +22 -22
- package/lib/client.js.map +2 -2
- package/lib/domain.d.ts +15 -0
- package/lib/domain.d.ts.map +1 -1
- package/lib/domain.js.map +1 -1
- package/lib/local-provider.d.ts +11 -2
- package/lib/local-provider.d.ts.map +1 -1
- package/lib/local-provider.js +71 -0
- package/lib/local-provider.js.map +1 -1
- package/lib/management-proxy.js +1 -1
- package/lib/management-proxy.js.map +1 -1
- package/lib/notes/domain.d.ts +10 -0
- package/lib/notes/domain.d.ts.map +1 -1
- package/lib/notes/domain.js.map +1 -1
- package/lib/notes/store.d.ts +15 -1
- package/lib/notes/store.d.ts.map +1 -1
- package/lib/notes/store.js +277 -28
- package/lib/notes/store.js.map +1 -1
- package/lib/provider.d.ts +10 -2
- package/lib/provider.d.ts.map +1 -1
- package/lib/remote-provider.d.ts +10 -2
- package/lib/remote-provider.d.ts.map +1 -1
- package/lib/remote-provider.js +27 -0
- package/lib/remote-provider.js.map +1 -1
- package/lib/theme-bridge.js +7 -7
- package/lib/theme-bridge.js.map +1 -1
- package/lib/tool-authorization.js +11 -16
- package/lib/tool-authorization.js.map +1 -1
- package/lib/web-note-editor-chrome.d.ts +17 -0
- package/lib/web-note-editor-chrome.d.ts.map +1 -0
- package/lib/web-note-editor-chrome.js +38 -0
- package/lib/web-note-editor-chrome.js.map +1 -0
- package/lib/web-note-editor-find.d.ts +17 -0
- package/lib/web-note-editor-find.d.ts.map +1 -0
- package/lib/web-note-editor-find.js +225 -0
- package/lib/web-note-editor-find.js.map +1 -0
- package/lib/web-note-editor-outline.d.ts +15 -0
- package/lib/web-note-editor-outline.d.ts.map +1 -0
- package/lib/web-note-editor-outline.js +169 -0
- package/lib/web-note-editor-outline.js.map +1 -0
- package/lib/web-note-editor-search.d.ts +30 -0
- package/lib/web-note-editor-search.d.ts.map +1 -0
- package/lib/web-note-editor-search.js +143 -0
- package/lib/web-note-editor-search.js.map +1 -0
- package/lib/web-note-editor-selection.d.ts +15 -0
- package/lib/web-note-editor-selection.d.ts.map +1 -0
- package/lib/web-note-editor-selection.js +255 -0
- package/lib/web-note-editor-selection.js.map +1 -0
- package/lib/web-note-editor.d.ts +7 -0
- package/lib/web-note-editor.d.ts.map +1 -1
- package/lib/web-note-editor.js +36 -6
- package/lib/web-note-editor.js.map +1 -1
- package/lib/web-note-history.d.ts +28 -0
- package/lib/web-note-history.d.ts.map +1 -0
- package/lib/web-note-history.js +163 -0
- package/lib/web-note-history.js.map +1 -0
- package/lib/web-workspace-effects.d.ts.map +1 -1
- package/lib/web-workspace-effects.js +1 -2
- package/lib/web-workspace-effects.js.map +1 -1
- package/lib/web.d.ts.map +1 -1
- package/lib/web.js +4 -0
- package/lib/web.js.map +1 -1
- package/package.json +1 -1
- package/web/api-client.js +94 -0
- package/web/app.js +344 -235
- package/web/host-theme.js +63 -0
- package/web/index.html +1 -0
- package/web/note-editor.js +70 -70
- package/web/note-history.js +1 -0
- package/web/styles.css +374 -154
- package/web/ui-primitives.js +77 -0
- package/web/workspace-effects.js +1 -1
package/web/styles.css
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
--font-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei UI", Arial, sans-serif;
|
|
6
6
|
--font-reading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei UI", Arial, sans-serif;
|
|
7
7
|
--font-mono: "SFMono-Regular", "Cascadia Code", "Cascadia Mono", Menlo, Consolas, monospace;
|
|
8
|
-
--bg: #
|
|
9
|
-
--surface: #
|
|
10
|
-
--surface-raised: #
|
|
11
|
-
--surface-soft: #
|
|
12
|
-
--surface-hover:
|
|
13
|
-
--dialog-surface: #
|
|
8
|
+
--bg: #ebebeb;
|
|
9
|
+
--surface: #f4f4f4;
|
|
10
|
+
--surface-raised: #fafafa;
|
|
11
|
+
--surface-soft: #eeeeef;
|
|
12
|
+
--surface-hover: rgb(118 118 128 / 9%);
|
|
13
|
+
--dialog-surface: #f4f4f4;
|
|
14
14
|
--text: #1d1d1f;
|
|
15
15
|
--text-secondary: #515154;
|
|
16
16
|
--text-tertiary: #6e6e73;
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
--radius: 14px;
|
|
31
31
|
--radius-control: 9px;
|
|
32
32
|
--radius-small: 7px;
|
|
33
|
-
--material-sidebar:
|
|
34
|
-
--material-toolbar:
|
|
35
|
-
--material-panel: color-mix(in srgb, var(--surface-raised)
|
|
36
|
-
--material-control:
|
|
37
|
-
--material-control-hover: color-mix(in srgb, var(--surface-raised)
|
|
33
|
+
--material-sidebar: var(--surface);
|
|
34
|
+
--material-toolbar: var(--surface);
|
|
35
|
+
--material-panel: color-mix(in srgb, var(--surface-raised) 88%, var(--surface));
|
|
36
|
+
--material-control: var(--surface-raised);
|
|
37
|
+
--material-control-hover: color-mix(in srgb, var(--surface-raised) 92%, var(--surface-hover));
|
|
38
38
|
--separator: color-mix(in srgb, var(--border) 76%, transparent);
|
|
39
39
|
--panel-border: color-mix(in srgb, var(--border-strong) 58%, var(--border));
|
|
40
40
|
--surface-highlight: color-mix(in srgb, var(--surface-raised) 74%, transparent);
|
|
41
41
|
--shadow-soft: 0 1px 2px color-mix(in srgb, var(--text) 5%, transparent);
|
|
42
|
-
--shadow-panel: 0 1px 2px rgb(0 0 0 / 5%), 0
|
|
42
|
+
--shadow-panel: 0 1px 2px rgb(0 0 0 / 5%), 0 9px 24px rgb(31 31 35 / 7.5%);
|
|
43
43
|
--surface-canvas: var(--bg);
|
|
44
|
-
--surface-pane: color-mix(in srgb, var(--surface)
|
|
45
|
-
--surface-editor:
|
|
46
|
-
--surface-overlay:
|
|
47
|
-
--shadow-control: 0 1px 2px rgb(0 0 0 /
|
|
44
|
+
--surface-pane: color-mix(in srgb, var(--surface) 92%, var(--surface-raised));
|
|
45
|
+
--surface-editor: var(--surface-raised);
|
|
46
|
+
--surface-overlay: var(--surface-raised);
|
|
47
|
+
--shadow-control: 0 1px 2px rgb(0 0 0 / 5.5%), inset 0 1px 0 rgb(255 255 255 / 58%);
|
|
48
48
|
--shadow-floating: 0 22px 70px color-mix(in srgb, var(--text) 18%, transparent), 0 2px 8px color-mix(in srgb, var(--text) 8%, transparent);
|
|
49
49
|
--glass-clear: color-mix(in srgb, var(--surface-raised) 20%, transparent);
|
|
50
50
|
--glass-regular: color-mix(in srgb, var(--surface-raised) 36%, transparent);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
--glass-separator: var(--border);
|
|
54
54
|
--glass-rim-light: color-mix(in srgb, var(--surface-raised) 58%, transparent);
|
|
55
55
|
--glass-rim-shadow: color-mix(in srgb, var(--text) 12%, transparent);
|
|
56
|
-
--glass-filter: saturate(1.
|
|
56
|
+
--glass-filter: saturate(1.08) contrast(1.02) blur(18px);
|
|
57
57
|
--glass-shadow: inset 0 1px 0 var(--glass-rim-light), inset 0 -1px 0 var(--glass-rim-shadow), 0 10px 28px rgb(0 0 0 / 8.5%);
|
|
58
58
|
--liquid-glass-large: color-mix(in srgb, var(--surface) 68%, transparent);
|
|
59
59
|
--liquid-glass-regular: color-mix(in srgb, var(--surface-raised) 52%, transparent);
|
|
@@ -73,30 +73,35 @@
|
|
|
73
73
|
--motion-slow: 280ms;
|
|
74
74
|
--ease-out: cubic-bezier(.22, 1, .36, 1);
|
|
75
75
|
--ease-spring: cubic-bezier(.2, .9, .25, 1.04);
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
--
|
|
76
|
+
--font-caption: 12px;
|
|
77
|
+
--font-body: 13px;
|
|
78
|
+
--font-label: 14px;
|
|
79
|
+
--font-title: 18px;
|
|
80
|
+
--font-heading: 22px;
|
|
81
|
+
--sidebar-width: 214px;
|
|
82
|
+
--chrome-inset: 8px;
|
|
83
|
+
--topbar-inline-inset: 0px;
|
|
79
84
|
--scrollbar-thumb: color-mix(in srgb, var(--text-tertiary) 42%, transparent);
|
|
80
85
|
--scrollbar-thumb-hover: color-mix(in srgb, var(--text-secondary) 58%, transparent);
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
@media (prefers-color-scheme: dark) {
|
|
84
89
|
:root:not([data-color-scheme]) {
|
|
85
|
-
--bg:
|
|
86
|
-
--surface:
|
|
87
|
-
--surface-raised:
|
|
90
|
+
--bg: #101719;
|
|
91
|
+
--surface: #182022;
|
|
92
|
+
--surface-raised: #20292b;
|
|
88
93
|
--surface-soft: rgb(255 255 255 / 6%);
|
|
89
94
|
--surface-hover: rgb(255 255 255 / 7.5%);
|
|
90
|
-
--dialog-surface:
|
|
91
|
-
--text: #
|
|
92
|
-
--text-secondary: #
|
|
93
|
-
--text-tertiary: #
|
|
94
|
-
--border: rgb(
|
|
95
|
-
--border-strong: rgb(
|
|
96
|
-
--accent: #
|
|
97
|
-
--accent-hover: #
|
|
98
|
-
--accent-soft: rgb(
|
|
99
|
-
--on-accent: #
|
|
95
|
+
--dialog-surface: #20292b;
|
|
96
|
+
--text: #e3eaeb;
|
|
97
|
+
--text-secondary: #bbc9cc;
|
|
98
|
+
--text-tertiary: #95a7ab;
|
|
99
|
+
--border: rgb(184 204 205 / 10%);
|
|
100
|
+
--border-strong: rgb(184 204 205 / 18%);
|
|
101
|
+
--accent: #69b6ba;
|
|
102
|
+
--accent-hover: #8aced0;
|
|
103
|
+
--accent-soft: rgb(105 182 186 / 13%);
|
|
104
|
+
--on-accent: #101819;
|
|
100
105
|
--success: #30d158;
|
|
101
106
|
--success-soft: rgb(48 209 88 / 13%);
|
|
102
107
|
--warning: #ff9f0a;
|
|
@@ -146,18 +151,17 @@ html, body { min-height: 100%; }
|
|
|
146
151
|
|
|
147
152
|
body {
|
|
148
153
|
margin: 0;
|
|
149
|
-
background:
|
|
150
|
-
radial-gradient(ellipse 46% 72% at -8% 28%, color-mix(in srgb, var(--surface-raised) 88%, transparent), transparent 74%),
|
|
151
|
-
radial-gradient(ellipse 58% 42% at 84% -12%, color-mix(in srgb, var(--text-tertiary) 9%, transparent), transparent 72%),
|
|
152
|
-
var(--surface-canvas);
|
|
154
|
+
background: var(--surface-canvas);
|
|
153
155
|
color: var(--text);
|
|
154
|
-
font-size:
|
|
156
|
+
font-size: var(--font-body);
|
|
155
157
|
line-height: 1.5;
|
|
156
158
|
text-rendering: optimizeLegibility;
|
|
157
159
|
-webkit-font-smoothing: antialiased;
|
|
158
160
|
}
|
|
159
161
|
|
|
160
|
-
/*
|
|
162
|
+
/* Embedded workspaces expose the host canvas only between their own opaque
|
|
163
|
+
panels. Standalone management pages still keep a stable plugin-owned base. */
|
|
164
|
+
:root[data-dsh-host-theme="true"],
|
|
161
165
|
:root[data-dsh-host-theme="true"] body { background: transparent; }
|
|
162
166
|
|
|
163
167
|
button, input, select, textarea { font: inherit; }
|
|
@@ -259,6 +263,7 @@ html,
|
|
|
259
263
|
.mount-table,
|
|
260
264
|
.notes-tree,
|
|
261
265
|
.note-picker-results,
|
|
266
|
+
.notes-document-scroll,
|
|
262
267
|
.notes-inline-viewer,
|
|
263
268
|
.note-tree,
|
|
264
269
|
.note-editor-scroll,
|
|
@@ -271,16 +276,16 @@ html,
|
|
|
271
276
|
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar {
|
|
279
|
+
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-document-scroll, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar {
|
|
275
280
|
width: 8px;
|
|
276
281
|
height: 8px;
|
|
277
282
|
}
|
|
278
283
|
|
|
279
|
-
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-track {
|
|
284
|
+
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-document-scroll, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-track {
|
|
280
285
|
background: transparent;
|
|
281
286
|
}
|
|
282
287
|
|
|
283
|
-
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-thumb {
|
|
288
|
+
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-document-scroll, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-thumb {
|
|
284
289
|
min-width: 28px;
|
|
285
290
|
min-height: 28px;
|
|
286
291
|
border: 2px solid transparent;
|
|
@@ -289,7 +294,7 @@ html,
|
|
|
289
294
|
background-clip: padding-box;
|
|
290
295
|
}
|
|
291
296
|
|
|
292
|
-
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-thumb:hover {
|
|
297
|
+
:where(html, .mount-table, .notes-tree, .note-picker-results, .notes-document-scroll, .notes-inline-viewer, .note-tree, .note-editor-scroll, .markdown-preview pre, .markdown-table-scroll, .diff-viewer, .dialog-body, .textarea)::-webkit-scrollbar-thumb:hover {
|
|
293
298
|
background: var(--scrollbar-thumb-hover);
|
|
294
299
|
background-clip: padding-box;
|
|
295
300
|
}
|
|
@@ -393,8 +398,8 @@ html,
|
|
|
393
398
|
transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-base) ease, color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
|
|
394
399
|
}
|
|
395
400
|
|
|
396
|
-
.button:hover:not(:disabled) { background: var(--material-control-hover); border-color: var(--border-strong); box-shadow: 0
|
|
397
|
-
.button:active:not(:disabled) { box-shadow: var(--shadow-control); transform: translateY(0) scale(.
|
|
401
|
+
.button:hover:not(:disabled) { background: var(--material-control-hover); border-color: var(--border-strong); box-shadow: 0 6px 16px rgb(31 31 35 / 8%); transform: translateY(-1px); }
|
|
402
|
+
.button:active:not(:disabled) { box-shadow: var(--shadow-control); transform: translateY(0) scale(.98); }
|
|
398
403
|
.button.primary { border-color: color-mix(in srgb, var(--accent) 82%, var(--border)); background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-accent) 24%, transparent), 0 1px 3px color-mix(in srgb, var(--text) 16%, transparent); }
|
|
399
404
|
.button.primary:hover:not(:disabled) { border-color: var(--accent-hover); background: var(--accent-hover); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-accent) 26%, transparent), 0 2px 6px color-mix(in srgb, var(--text) 14%, transparent); }
|
|
400
405
|
.button.danger { border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); color: var(--danger); }
|
|
@@ -430,10 +435,10 @@ html,
|
|
|
430
435
|
margin-left: var(--chrome-inset);
|
|
431
436
|
padding: 18px 13px 13px;
|
|
432
437
|
border: 1px solid var(--glass-border);
|
|
433
|
-
border-radius:
|
|
438
|
+
border-radius: 15px;
|
|
434
439
|
overflow: hidden;
|
|
435
440
|
background: var(--material-sidebar);
|
|
436
|
-
box-shadow:
|
|
441
|
+
box-shadow: inset 0 1px 0 var(--surface-highlight), var(--shadow-soft);
|
|
437
442
|
-webkit-backdrop-filter: var(--glass-filter);
|
|
438
443
|
backdrop-filter: var(--glass-filter);
|
|
439
444
|
transform-origin: left center;
|
|
@@ -546,28 +551,43 @@ html,
|
|
|
546
551
|
.app-sidebar-resizer.is-dragging span { opacity: 1; background: var(--text-secondary); }
|
|
547
552
|
.app-sidebar-resizer:hover,
|
|
548
553
|
.app-sidebar-resizer.is-dragging { background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
549
|
-
.main {
|
|
554
|
+
.main {
|
|
555
|
+
min-width: 0;
|
|
556
|
+
width: auto;
|
|
557
|
+
height: calc(100vh - var(--chrome-inset) * 2);
|
|
558
|
+
height: calc(100dvh - var(--chrome-inset) * 2);
|
|
559
|
+
grid-column: 3;
|
|
560
|
+
margin: var(--chrome-inset) 10px var(--chrome-inset) 2px;
|
|
561
|
+
overflow-x: hidden;
|
|
562
|
+
overflow-y: auto;
|
|
563
|
+
overscroll-behavior: contain;
|
|
564
|
+
border: 1px solid var(--border);
|
|
565
|
+
border-radius: 15px;
|
|
566
|
+
background: var(--surface);
|
|
567
|
+
box-shadow: inset 0 1px 0 var(--surface-highlight), var(--shadow-soft);
|
|
568
|
+
}
|
|
550
569
|
.topbar {
|
|
551
570
|
position: sticky;
|
|
552
|
-
top:
|
|
571
|
+
top: 0;
|
|
553
572
|
z-index: 10;
|
|
554
|
-
min-height:
|
|
573
|
+
min-height: 68px;
|
|
555
574
|
display: flex;
|
|
556
575
|
align-items: center;
|
|
557
576
|
justify-content: space-between;
|
|
558
577
|
gap: 18px;
|
|
559
|
-
margin:
|
|
560
|
-
border:
|
|
561
|
-
border-
|
|
578
|
+
margin: 0;
|
|
579
|
+
border: 0;
|
|
580
|
+
border-bottom: 1px solid var(--border);
|
|
581
|
+
border-radius: 0;
|
|
562
582
|
padding: 14px clamp(18px, 3vw, 38px);
|
|
563
583
|
overflow: hidden;
|
|
564
|
-
background: var(--material-toolbar);
|
|
565
|
-
box-shadow:
|
|
584
|
+
background: color-mix(in srgb, var(--material-toolbar) 94%, transparent);
|
|
585
|
+
box-shadow: none;
|
|
566
586
|
-webkit-backdrop-filter: var(--glass-filter);
|
|
567
587
|
backdrop-filter: var(--glass-filter);
|
|
568
588
|
}
|
|
569
|
-
.topbar h1 { margin: 0; font-size:
|
|
570
|
-
.topbar p { margin: 3px 0 0; color: var(--text-tertiary); font-size:
|
|
589
|
+
.topbar h1 { margin: 0; font-size: var(--font-title); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
|
|
590
|
+
.topbar p { margin: 3px 0 0; color: var(--text-tertiary); font-size: var(--font-caption); text-wrap: pretty; }
|
|
571
591
|
.topbar-title { display: flex; align-items: center; gap: 12px; }
|
|
572
592
|
.topbar-heading { min-width: 0; }
|
|
573
593
|
.topbar-kicker { display: block; margin-bottom: 2px; color: var(--text-tertiary); font: 8px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 700; letter-spacing: .12em; }
|
|
@@ -663,16 +683,18 @@ html,
|
|
|
663
683
|
.app-shell[data-view="notes"] .page {
|
|
664
684
|
width: 100%;
|
|
665
685
|
max-width: none;
|
|
666
|
-
height: calc(
|
|
686
|
+
height: calc(100% - 64px);
|
|
667
687
|
margin: 0;
|
|
668
688
|
overflow: hidden;
|
|
669
689
|
padding: 0;
|
|
670
690
|
}
|
|
671
691
|
.app-shell[data-view="notes"] .view-stage { height: 100%; min-height: 0; overflow: hidden; }
|
|
672
692
|
|
|
673
|
-
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom:
|
|
674
|
-
.section-heading
|
|
693
|
+
.section-heading { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-left: 14px; }
|
|
694
|
+
.section-heading::before { position: absolute; top: 3px; bottom: 2px; left: 0; width: 2px; border-radius: 2px; background: linear-gradient(var(--text-secondary), transparent 92%); content: ''; }
|
|
695
|
+
.section-heading h2 { margin: 0; font-size: var(--font-title); font-weight: 650; letter-spacing: -.025em; }
|
|
675
696
|
.section-heading p { margin: 4px 0 0; color: var(--text-tertiary); font-size: 12px; }
|
|
697
|
+
.candidate-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
|
|
676
698
|
|
|
677
699
|
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
|
|
678
700
|
.metric { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--glass-border); border-radius: var(--radius-panel); padding: 18px; background: var(--material-panel); box-shadow: var(--shadow-control); transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease, transform var(--motion-base) var(--ease-out); }
|
|
@@ -737,44 +759,43 @@ html,
|
|
|
737
759
|
.base-result-summary { margin-left: auto; color: var(--text-tertiary); font-size: 12px; white-space: nowrap; }
|
|
738
760
|
.base-grid {
|
|
739
761
|
display: grid;
|
|
740
|
-
grid-template-columns:
|
|
741
|
-
|
|
742
|
-
border: 1px solid var(--glass-border);
|
|
743
|
-
border-radius: var(--radius);
|
|
744
|
-
background: var(--material-panel);
|
|
745
|
-
box-shadow: var(--glass-shadow);
|
|
762
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
|
|
763
|
+
gap: 12px;
|
|
746
764
|
}
|
|
747
765
|
.base-card {
|
|
766
|
+
position: relative;
|
|
748
767
|
min-width: 0;
|
|
749
|
-
grid-column: 1 / -1;
|
|
750
768
|
display: grid;
|
|
751
|
-
grid-template-columns:
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
769
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
770
|
+
align-content: start;
|
|
771
|
+
gap: 12px 16px;
|
|
772
|
+
min-height: 218px;
|
|
773
|
+
overflow: hidden;
|
|
774
|
+
border: 1px solid var(--border);
|
|
775
|
+
border-radius: 15px;
|
|
776
|
+
padding: 16px;
|
|
777
|
+
background: var(--material-panel);
|
|
778
|
+
box-shadow: inset 0 1px 0 var(--surface-highlight), var(--shadow-soft);
|
|
779
|
+
transition: background .16s ease, border-color .16s ease, box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
|
|
759
780
|
content-visibility: auto;
|
|
760
|
-
contain-intrinsic-size: auto
|
|
781
|
+
contain-intrinsic-size: auto 218px;
|
|
761
782
|
}
|
|
762
|
-
.base-card:
|
|
763
|
-
.base-card:hover { background: var(--surface-hover); }
|
|
783
|
+
.base-card::after { position: absolute; top: 0; right: 18px; left: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--surface-highlight), transparent); pointer-events: none; content: ''; }
|
|
784
|
+
.base-card:hover { border-color: var(--border-strong); background: color-mix(in srgb, var(--surface-raised) 92%, var(--surface-hover)); box-shadow: inset 0 1px 0 var(--surface-highlight), var(--shadow-panel); transform: translateY(-1px); }
|
|
764
785
|
.base-card.is-archived { opacity: .78; }
|
|
765
|
-
.base-card-header { min-width: 0; grid-column: 1
|
|
786
|
+
.base-card-header { min-width: 0; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
766
787
|
.base-card-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
|
|
767
788
|
.base-card-identity > div { min-width: 0; }
|
|
768
789
|
.base-card-header > .badge { flex: none; }
|
|
769
790
|
.base-symbol { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--glass-border); border-radius: 11px; background: var(--material-control); color: var(--text-secondary); box-shadow: var(--shadow-control); font-size: 14px; font-weight: 700; }
|
|
770
791
|
.base-card h3 { overflow: hidden; margin: 0; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
|
|
771
792
|
.base-card small { display: block; overflow: hidden; margin-top: 3px; color: var(--text-tertiary); text-overflow: ellipsis; white-space: nowrap; }
|
|
772
|
-
.base-description { min-height:
|
|
773
|
-
.base-card-tags { grid-column:
|
|
774
|
-
.base-card-meta { grid-column:
|
|
793
|
+
.base-description { min-height: 42px; grid-column: 1 / -1; display: -webkit-box; overflow: hidden; margin: 0; color: var(--text-secondary); font-size: var(--font-body); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
794
|
+
.base-card-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-content: start; gap: 5px; min-height: 21px; }
|
|
795
|
+
.base-card-meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; color: var(--text-secondary); font-size: var(--font-caption); }
|
|
775
796
|
.base-card-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
776
|
-
.base-card-meta strong { display:
|
|
777
|
-
.base-card-actions { grid-column:
|
|
797
|
+
.base-card-meta strong { display: inline; margin-right: 5px; color: var(--text-tertiary); font-size: var(--font-caption); font-weight: 550; }
|
|
798
|
+
.base-card-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 6px; }
|
|
778
799
|
.archived-bases { margin-top: 18px; }
|
|
779
800
|
.archived-bases summary { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; border-radius: 10px; padding: 9px 12px; background: var(--surface-soft); color: var(--text-secondary); cursor: pointer; font-size: 12px; font-weight: 600; list-style: none; }
|
|
780
801
|
.archived-bases summary::-webkit-details-marker { display: none; }
|
|
@@ -1016,20 +1037,66 @@ html,
|
|
|
1016
1037
|
.notes-folder-empty > div { display: flex; gap: 8px; }
|
|
1017
1038
|
.notes-empty-folder-mark { position: relative; width: 58px; height: 40px; border: 1.5px solid var(--border-strong); border-radius: 7px; background: var(--surface-soft); }
|
|
1018
1039
|
.notes-empty-folder-mark::before { content: ""; position: absolute; top: -8px; left: 4px; width: 24px; height: 8px; border: 1.5px solid var(--border-strong); border-bottom: 0; border-radius: 5px 5px 0 0; background: var(--surface-soft); }
|
|
1019
|
-
.notes-content.is-document {
|
|
1040
|
+
.notes-content.is-document, .notes-content.is-file { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
|
|
1041
|
+
.notes-content.is-document { --notes-document-inline: clamp(24px, 4.5vw, 76px); background: var(--surface-editor); }
|
|
1020
1042
|
.notes-content.is-document.has-line-numbers { --notes-document-inline: clamp(34px, 3.2vw, 48px); }
|
|
1021
|
-
.notes-
|
|
1022
|
-
.notes-
|
|
1023
|
-
.notes-
|
|
1043
|
+
.notes-editor-frame { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 0; overflow: hidden; }
|
|
1044
|
+
.notes-editor-frame[data-outline-open="true"] { grid-template-columns: minmax(0, 1fr) minmax(190px, 236px); }
|
|
1045
|
+
.notes-document-toolbar { position: relative; z-index: 2; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--separator); padding: 5px 14px 5px 20px; background: var(--material-toolbar); -webkit-backdrop-filter: blur(16px) saturate(108%); backdrop-filter: blur(16px) saturate(108%); }
|
|
1046
|
+
.notes-toolbar-leading { min-width: 0; display: flex; flex: 1 1 auto; align-items: center; overflow: hidden; }
|
|
1047
|
+
.notes-file-info { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; color: var(--text-tertiary); font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
1024
1048
|
.notes-file-info-item { min-width: 0; display: inline-flex; align-items: baseline; gap: 4px; }
|
|
1025
|
-
.notes-file-info-item strong { color: var(--text-secondary); font-size:
|
|
1049
|
+
.notes-file-info-item strong { color: var(--text-secondary); font-size: inherit; font-weight: 590; }
|
|
1026
1050
|
.notes-file-info-item > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
|
|
1051
|
+
.notes-file-info-item[data-note-info="id"] > span { font-family: var(--font-mono); }
|
|
1027
1052
|
.notes-document-actions { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 5px; }
|
|
1028
|
-
.notes-save-state { color: var(--text-tertiary); font-size: 10px; }
|
|
1053
|
+
.notes-save-state { color: var(--text-tertiary); font-size: 10px; white-space: nowrap; }
|
|
1029
1054
|
.notes-save-state[data-dirty="true"] { color: var(--warning); }
|
|
1055
|
+
.notes-outline-action { display: inline-flex; align-items: center; gap: 6px; }
|
|
1056
|
+
.notes-toolbar-action-icon { width: 16px; height: 16px; display: block; flex: none; color: currentColor; stroke-width: 2; }
|
|
1057
|
+
.notes-document-more { position: relative; display: none; flex: none; }
|
|
1058
|
+
.notes-document-more > summary { width: 44px; min-width: 44px; display: inline-grid; place-items: center; list-style: none; padding: 0; color: var(--text); user-select: none; }
|
|
1059
|
+
.notes-document-more > summary::-webkit-details-marker { display: none; }
|
|
1060
|
+
.notes-document-more > summary:hover, .notes-document-more[open] > summary { background: var(--surface-hover); color: var(--text); }
|
|
1061
|
+
.notes-document-more-icon { width: 22px; height: 22px; display: block; color: var(--text); stroke-width: 3.2; }
|
|
1062
|
+
.notes-document-more-menu {
|
|
1063
|
+
position: absolute;
|
|
1064
|
+
top: calc(100% + 7px);
|
|
1065
|
+
right: 0;
|
|
1066
|
+
z-index: 24;
|
|
1067
|
+
width: min(230px, calc(100vw - 16px));
|
|
1068
|
+
display: grid;
|
|
1069
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1070
|
+
gap: 2px;
|
|
1071
|
+
border: 1px solid var(--panel-border);
|
|
1072
|
+
border-radius: 12px;
|
|
1073
|
+
padding: 6px;
|
|
1074
|
+
background: var(--dialog-surface);
|
|
1075
|
+
box-shadow: var(--shadow-floating);
|
|
1076
|
+
}
|
|
1077
|
+
.notes-document-more-menu::before {
|
|
1078
|
+
position: absolute;
|
|
1079
|
+
top: -5px;
|
|
1080
|
+
right: 17px;
|
|
1081
|
+
width: 8px;
|
|
1082
|
+
height: 8px;
|
|
1083
|
+
border-top: 1px solid var(--panel-border);
|
|
1084
|
+
border-left: 1px solid var(--panel-border);
|
|
1085
|
+
background: var(--dialog-surface);
|
|
1086
|
+
content: "";
|
|
1087
|
+
transform: rotate(45deg);
|
|
1088
|
+
}
|
|
1089
|
+
.notes-document-more:not([open]) > .notes-document-more-menu { display: none; }
|
|
1090
|
+
.notes-document-more-menu .button { min-width: 0; width: 100%; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 10px; border-color: transparent; padding: 8px 10px; box-shadow: none; text-align: left; }
|
|
1091
|
+
.notes-document-more-menu .button:hover:not(:disabled) { border-color: transparent; background: var(--surface-hover); box-shadow: none; transform: none; }
|
|
1092
|
+
.notes-document-menu-icon { width: 18px; height: 18px; display: block; color: var(--text); stroke-width: 2; }
|
|
1093
|
+
.notes-document-menu-label { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
|
|
1094
|
+
.notes-document-menu-divider { height: 1px; margin: 4px 7px; background: var(--separator); }
|
|
1095
|
+
.notes-document-scroll { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
|
|
1096
|
+
.notes-document-scroll { scroll-padding-block: 72px 48px; }
|
|
1030
1097
|
.notes-document-title { min-width: 0; margin: 0; padding: clamp(26px, 4vw, 48px) var(--notes-document-inline) 0; outline: 0; color: var(--text); font-family: var(--font-reading); font-size: clamp(25px, 2.5vw, 32px); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; caret-color: var(--accent); }
|
|
1031
1098
|
.notes-document-title:focus, .notes-document-title:focus-visible { outline: 0; box-shadow: none; }
|
|
1032
|
-
.notes-
|
|
1099
|
+
.notes-document-scroll > .notes-live-editor, .notes-document-scroll > .notes-plain-editor { width: 100%; min-width: 0; min-height: max(520px, calc(100% - 74px)); margin-top: 0; padding: 16px var(--notes-document-inline) 72px; }
|
|
1033
1100
|
.notes-content.is-document, .note-paper { font-family: var(--font-reading); }
|
|
1034
1101
|
.notes-live-editor { width: 100%; min-height: 520px; color: color-mix(in srgb, var(--text) 82%, var(--text-secondary)); font-family: var(--font-reading); }
|
|
1035
1102
|
.notes-plain-editor { max-width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); cursor: text; }
|
|
@@ -1039,6 +1106,7 @@ html,
|
|
|
1039
1106
|
.notes-plain-editor-surface > p::before { content: counter(note-line); position: absolute; right: calc(100% + 8px); top: 0; width: 22px; color: color-mix(in srgb, var(--text-tertiary) 54%, transparent); font: 11px/2.25 var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; pointer-events: none; user-select: none; }
|
|
1040
1107
|
.notes-plain-editor-surface ::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
|
|
1041
1108
|
.notes-live-editor-surface { width: 100%; min-width: 0; max-width: 100%; min-height: 520px; border: 0; outline: 0; background: transparent; color: color-mix(in srgb, var(--text) 82%, var(--text-secondary)); font: 16px/1.55 var(--font-reading); letter-spacing: normal; overflow-wrap: anywhere; word-break: break-word; caret-color: var(--accent); }
|
|
1109
|
+
.notes-live-editor-surface p.is-editor-empty:first-child::before { height: 0; float: left; color: var(--text-tertiary); content: attr(data-placeholder); pointer-events: none; }
|
|
1042
1110
|
.notes-live-editor-surface:focus, .notes-live-editor-surface:focus-visible { border: 0; outline: 0; box-shadow: none; }
|
|
1043
1111
|
.notes-live-editor-surface > :first-child { margin-top: 0; }
|
|
1044
1112
|
.notes-live-editor-surface > :last-child { margin-bottom: 0; }
|
|
@@ -1057,18 +1125,89 @@ html,
|
|
|
1057
1125
|
.notes-live-editor-surface hr { border: 0; border-top: 1px solid var(--border); margin: 1.8em 0; }
|
|
1058
1126
|
.notes-live-editor-surface img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: 7px; }
|
|
1059
1127
|
.notes-live-editor-surface table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .94em; }
|
|
1128
|
+
.notes-live-editor-surface .tableWrapper { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
|
|
1060
1129
|
.notes-live-editor-surface th, .notes-live-editor-surface td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
|
|
1061
1130
|
.notes-live-editor-surface th { background: var(--surface-soft); color: var(--text); font-weight: 620; }
|
|
1062
1131
|
.notes-live-editor-surface ul[data-type="taskList"] { list-style: none; padding-left: 0; }
|
|
1063
1132
|
.notes-live-editor-surface ul[data-type="taskList"] li { display: flex; align-items: flex-start; gap: 8px; }
|
|
1064
1133
|
.notes-live-editor-surface ul[data-type="taskList"] label { margin-top: 3px; }
|
|
1065
1134
|
.notes-live-editor-surface ul[data-type="taskList"] li > div { flex: 1; min-width: 0; }
|
|
1135
|
+
.notes-editor-outline { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-left: 1px solid var(--separator); background: var(--surface-pane); opacity: 1; }
|
|
1136
|
+
.notes-editor-outline[aria-hidden="true"] { visibility: hidden; opacity: 0; pointer-events: none; }
|
|
1137
|
+
.notes-editor-outline-header { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; border-bottom: 1px solid var(--separator); padding: 7px 9px 7px 13px; }
|
|
1138
|
+
.notes-editor-outline-header strong { font-size: 12px; font-weight: 650; }
|
|
1139
|
+
.notes-editor-outline-header span { color: var(--text-tertiary); font-size: 9px; font-variant-numeric: tabular-nums; }
|
|
1140
|
+
.notes-editor-outline-close { min-height: 30px; border: 0; border-radius: 7px; padding: 4px 7px; background: transparent; color: var(--text-tertiary); font: inherit; font-size: 10px; }
|
|
1141
|
+
.notes-editor-outline-close:hover { background: var(--surface-hover); color: var(--text); }
|
|
1142
|
+
.notes-editor-outline-list { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 8px 6px 20px; }
|
|
1143
|
+
.notes-editor-outline-link { width: 100%; min-height: 32px; display: block; overflow: hidden; border: 0; border-radius: 7px; padding: 5px 8px 5px calc(8px + var(--outline-depth) * 11px); background: transparent; color: var(--text-tertiary); font: inherit; font-size: 11px; line-height: 1.45; text-align: left; text-overflow: ellipsis; white-space: nowrap; transition: background var(--motion-fast) ease, color var(--motion-fast) ease; }
|
|
1144
|
+
.notes-editor-outline-link:hover { background: var(--surface-hover); color: var(--text); }
|
|
1145
|
+
.notes-editor-outline-link[aria-current="location"] { background: var(--material-control); color: var(--text); font-weight: 620; box-shadow: inset 2px 0 0 var(--accent); }
|
|
1146
|
+
.notes-editor-outline-empty { margin: 0; padding: 18px 10px; color: var(--text-tertiary); font-size: 11px; line-height: 1.65; }
|
|
1147
|
+
.notes-find-panel { position: absolute; top: 10px; right: 10px; z-index: 20; width: min(720px, calc(100% - 20px)); border: 1px solid var(--panel-border); border-radius: 11px; padding: 7px; background: var(--dialog-surface); box-shadow: var(--shadow); }
|
|
1148
|
+
.notes-find-panel[hidden], .notes-replace-row[hidden], .notes-selection-menu[hidden], .notes-selection-block-menu[hidden], .notes-selection-link-form[hidden] { display: none; }
|
|
1149
|
+
.notes-find-row { min-width: 0; display: grid; grid-template-columns: minmax(150px, 1fr) auto repeat(5, auto); align-items: center; gap: 4px; }
|
|
1150
|
+
.notes-find-input, .notes-selection-link-input { box-sizing: border-box; min-width: 0; height: 34px; border: 1px solid var(--panel-border); border-radius: 7px; padding: 6px 9px; background: var(--material-control); color: var(--text); font: inherit; font-size: 12px; box-shadow: var(--shadow-control); }
|
|
1151
|
+
.notes-find-input:focus, .notes-selection-link-input:focus { border-color: var(--border-strong); outline: 3px solid color-mix(in srgb, var(--accent) 20%, transparent); outline-offset: 1px; }
|
|
1152
|
+
.notes-find-status { min-width: 48px; color: var(--text-tertiary); font-size: 10px; font-variant-numeric: tabular-nums; text-align: center; }
|
|
1153
|
+
.notes-find-button, .notes-selection-control { min-height: 34px; border: 0; border-radius: 7px; padding: 5px 8px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 11px; font-weight: 590; white-space: nowrap; transition: background var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
|
|
1154
|
+
.notes-find-button:hover:not(:disabled), .notes-selection-control:hover { background: var(--surface-hover); color: var(--text); }
|
|
1155
|
+
.notes-find-button[aria-pressed="true"], .notes-selection-control[aria-pressed="true"], .notes-selection-control[aria-checked="true"] { background: var(--material-control); color: var(--accent); box-shadow: var(--shadow-control); }
|
|
1156
|
+
.notes-find-button:disabled { opacity: .42; }
|
|
1157
|
+
.notes-find-close { color: var(--text-tertiary); }
|
|
1158
|
+
.notes-replace-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; align-items: center; gap: 4px; border-top: 1px solid var(--separator); margin-top: 6px; padding-top: 6px; }
|
|
1159
|
+
.notes-search-result { border-radius: 2px; background: var(--warning-soft); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--warning) 55%, transparent); }
|
|
1160
|
+
.notes-search-result-current { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); box-shadow: inset 0 -2px 0 var(--accent); }
|
|
1161
|
+
.notes-selection-menu { position: fixed; z-index: 70; max-width: calc(100vw - 16px); border: 1px solid var(--panel-border); border-radius: 10px; padding: 4px; background: var(--dialog-surface); box-shadow: var(--shadow); }
|
|
1162
|
+
.notes-selection-primary { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
|
|
1163
|
+
.notes-selection-primary::-webkit-scrollbar { display: none; }
|
|
1164
|
+
.notes-selection-block-toggle { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
|
|
1165
|
+
.notes-selection-mark { min-width: 34px; padding-inline: 7px; font-family: var(--font-mono); }
|
|
1166
|
+
.notes-selection-block-menu { display: grid; grid-template-columns: repeat(2, minmax(92px, 1fr)); gap: 3px; border-top: 1px solid var(--separator); margin-top: 4px; padding-top: 4px; }
|
|
1167
|
+
.notes-selection-block-menu .notes-selection-control { text-align: left; }
|
|
1168
|
+
.notes-selection-link-form { min-width: min(390px, calc(100vw - 26px)); display: grid; grid-template-columns: minmax(150px, 1fr) auto auto; align-items: center; gap: 4px; border-top: 1px solid var(--separator); margin-top: 4px; padding-top: 4px; }
|
|
1169
|
+
.notes-selection-link-error { grid-column: 1 / -1; color: var(--danger); font-size: 10px; }
|
|
1170
|
+
.dialog.note-history-dialog { width: min(1040px, calc(100vw - 40px)); height: min(760px, calc(100dvh - 48px)); max-height: min(760px, calc(100dvh - 48px)); }
|
|
1171
|
+
.dialog.note-history-dialog .dialog-body { min-height: 0; display: flex; padding: 0; }
|
|
1172
|
+
.note-history-workspace { min-width: 0; min-height: 0; width: 100%; display: grid; grid-template-columns: 224px minmax(0, 1fr); overflow: hidden; background: var(--surface-editor); }
|
|
1173
|
+
.note-history-timeline { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-right: 1px solid var(--separator); background: var(--surface-pane); }
|
|
1174
|
+
.note-history-timeline-heading { min-height: 54px; display: grid; align-content: center; gap: 2px; border-bottom: 1px solid var(--separator); padding: 9px 12px; }
|
|
1175
|
+
.note-history-timeline-heading strong { font-size: 12px; font-weight: 650; }
|
|
1176
|
+
.note-history-timeline-heading span { color: var(--text-tertiary); font-size: 10px; }
|
|
1177
|
+
.note-history-version-list { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 6px; }
|
|
1178
|
+
.note-history-version { width: 100%; min-height: 58px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 2px 7px; border: 0; border-radius: 8px; padding: 8px 9px; background: transparent; color: var(--text); text-align: left; transition: background var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
|
|
1179
|
+
.note-history-version:hover { background: var(--surface-hover); }
|
|
1180
|
+
.note-history-version[aria-current="true"] { background: var(--material-control); box-shadow: inset 2px 0 0 var(--accent), var(--shadow-control); }
|
|
1181
|
+
.note-history-version strong { min-width: 0; overflow: hidden; font-size: 11px; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
|
|
1182
|
+
.note-history-version span { grid-column: 1; color: var(--text-tertiary); font-size: 10px; }
|
|
1183
|
+
.note-history-version small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--text-tertiary); font-size: 9px; font-variant-numeric: tabular-nums; }
|
|
1184
|
+
.note-history-detail { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
|
|
1185
|
+
.note-history-detail-header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--separator); padding: 7px 10px 7px 14px; background: var(--material-toolbar); }
|
|
1186
|
+
.note-history-detail-copy { min-width: 0; }
|
|
1187
|
+
.note-history-detail-copy strong, .note-history-detail-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1188
|
+
.note-history-detail-copy strong { font-size: 12px; }
|
|
1189
|
+
.note-history-detail-copy span { margin-top: 2px; color: var(--text-tertiary); font-size: 10px; }
|
|
1190
|
+
.note-history-detail-actions { display: flex; flex: none; align-items: center; gap: 4px; }
|
|
1191
|
+
.note-history-mode { min-height: 30px; border: 0; border-radius: 7px; padding: 4px 8px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 10px; font-weight: 590; }
|
|
1192
|
+
.note-history-mode:hover { background: var(--surface-hover); color: var(--text); }
|
|
1193
|
+
.note-history-mode[aria-pressed="true"] { background: var(--material-control); color: var(--text); box-shadow: var(--shadow-control); }
|
|
1194
|
+
.note-history-content { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(22px, 4vw, 54px); }
|
|
1195
|
+
.note-history-content > .markdown-preview { max-width: 760px; margin: 0 auto; }
|
|
1196
|
+
.note-history-plain-preview { max-width: 820px; min-height: 100%; margin: 0 auto; color: var(--text-secondary); font: 13px/1.65 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1197
|
+
.note-history-loading, .note-history-error { min-height: 240px; display: grid; place-content: center; color: var(--text-tertiary); font-size: 12px; text-align: center; }
|
|
1198
|
+
.note-history-error { color: var(--danger); }
|
|
1199
|
+
.note-history-diff { min-width: 0; max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid var(--panel-border); border-radius: 10px; background: var(--surface); }
|
|
1200
|
+
.note-history-diff-summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--separator); padding: 8px 11px; background: var(--surface-raised); }
|
|
1201
|
+
.note-history-diff-summary strong { font-size: 11px; }
|
|
1202
|
+
.note-history-diff .diff-viewer { max-height: none; }
|
|
1066
1203
|
.notes-editor-loading, .notes-editor-error { min-height: 300px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--text-tertiary); font-size: 12px; }
|
|
1067
1204
|
.notes-editor-loading::before { content: ""; width: 36px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: note-editor-loading 1.1s ease-in-out infinite; }
|
|
1068
1205
|
.notes-editor-error strong { color: var(--text); font-size: 13px; }
|
|
1069
1206
|
@keyframes note-editor-loading { 0%, 100% { opacity: .25; transform: scaleX(.72); } 50% { opacity: .75; transform: scaleX(1); } }
|
|
1070
1207
|
@media (prefers-reduced-motion: reduce) { .notes-editor-loading::before { animation: none; opacity: .55; } }
|
|
1071
|
-
.notes-
|
|
1208
|
+
.notes-document-statusbar { position: relative; z-index: 2; min-height: 36px; display: flex; align-items: center; border-top: 1px solid var(--separator); padding: 6px 20px; background: var(--material-toolbar); -webkit-backdrop-filter: blur(16px) saturate(108%); backdrop-filter: blur(16px) saturate(108%); }
|
|
1209
|
+
.notes-document-statusbar .notes-file-info { width: 100%; }
|
|
1210
|
+
.notes-inline-viewer { min-width: 0; min-height: 0; display: grid; place-items: center; overflow: auto; padding: clamp(18px, 3vw, 36px); background: color-mix(in srgb, var(--surface-soft) 35%, var(--surface)); }
|
|
1072
1211
|
.notes-inline-viewer.is-pdf { padding: 0; background: var(--surface-soft); }
|
|
1073
1212
|
.notes-inline-image { display: block; max-width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 32px color-mix(in srgb, var(--text) 9%, transparent); }
|
|
1074
1213
|
.notes-inline-frame { width: 100%; height: max(620px, calc(100dvh - 130px)); border: 0; background: var(--surface); }
|
|
@@ -1343,6 +1482,22 @@ html,
|
|
|
1343
1482
|
.tab[aria-selected="true"] { background: var(--surface-raised); color: var(--text); box-shadow: var(--shadow-soft); }
|
|
1344
1483
|
|
|
1345
1484
|
.candidate-list { display: grid; gap: 13px; }
|
|
1485
|
+
.bulk-review-confirm { display: grid; gap: 14px; }
|
|
1486
|
+
.bulk-review-confirm > p { margin: 0; color: var(--text-secondary); line-height: 1.65; }
|
|
1487
|
+
.bulk-review-safety { display: grid; gap: 3px; border: 1px solid var(--panel-border); border-radius: 10px; padding: 11px 12px; background: var(--material-control); }
|
|
1488
|
+
.bulk-review-safety strong { color: var(--text); font-size: 12px; }
|
|
1489
|
+
.bulk-review-safety span { color: var(--text-tertiary); font-size: 11px; line-height: 1.5; }
|
|
1490
|
+
.bulk-review-status { display: grid; gap: 8px; border-top: 1px solid var(--separator); padding-top: 13px; }
|
|
1491
|
+
.bulk-review-status[hidden] { display: none; }
|
|
1492
|
+
.bulk-review-status > strong { font-size: 13px; }
|
|
1493
|
+
.bulk-review-status > p { margin: 0; color: var(--text-tertiary); font-size: 11px; }
|
|
1494
|
+
.bulk-review-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
|
|
1495
|
+
.bulk-review-metric { min-width: 0; display: grid; gap: 3px; border-radius: 8px; padding: 8px 9px; background: var(--surface-soft); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
|
|
1496
|
+
.bulk-review-metric small { overflow: hidden; color: var(--text-tertiary); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
|
1497
|
+
.bulk-review-metric strong { font-size: 15px; }
|
|
1498
|
+
.bulk-review-metric.success strong { color: var(--success); }
|
|
1499
|
+
.bulk-review-metric.warning strong { color: var(--warning); }
|
|
1500
|
+
.bulk-review-metric.danger strong { color: var(--danger); }
|
|
1346
1501
|
.candidate { overflow: hidden; border: 1px solid var(--panel-border); border-radius: var(--radius-panel); background: var(--surface-pane); box-shadow: var(--shadow-control); content-visibility: auto; contain-intrinsic-size: auto 560px; }
|
|
1347
1502
|
.candidate-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 18px 12px; }
|
|
1348
1503
|
.candidate-header h3 { margin: 8px 0 0; font-size: 15px; }
|
|
@@ -1445,20 +1600,18 @@ html,
|
|
|
1445
1600
|
.api-access-actions { align-items: center; border-top: 1px solid var(--border); padding-top: 13px; }
|
|
1446
1601
|
.api-access-actions small { color: var(--text-tertiary); }
|
|
1447
1602
|
|
|
1448
|
-
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background:
|
|
1603
|
+
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: transparent; animation: dialog-backdrop-enter var(--motion-base) ease both; }
|
|
1449
1604
|
.dialog {
|
|
1450
|
-
width: min(100
|
|
1451
|
-
max-height: min(
|
|
1605
|
+
width: min(560px, 100%);
|
|
1606
|
+
max-height: min(680px, calc(100dvh - 64px));
|
|
1452
1607
|
display: flex;
|
|
1453
1608
|
flex-direction: column;
|
|
1454
1609
|
overflow: hidden;
|
|
1455
|
-
border: 1px solid var(--
|
|
1456
|
-
border-radius:
|
|
1457
|
-
background:
|
|
1458
|
-
box-shadow:
|
|
1459
|
-
|
|
1460
|
-
backdrop-filter: var(--glass-filter);
|
|
1461
|
-
animation: dialog-enter var(--motion-base) var(--ease-spring) both;
|
|
1610
|
+
border: 1px solid color-mix(in srgb, var(--text) 18%, var(--border));
|
|
1611
|
+
border-radius: 16px;
|
|
1612
|
+
background: var(--dialog-surface);
|
|
1613
|
+
box-shadow: 0 22px 58px color-mix(in srgb, #000 18%, transparent), 0 4px 14px color-mix(in srgb, #000 8%, transparent), inset 0 1px 0 var(--surface-highlight);
|
|
1614
|
+
animation: dialog-enter 200ms var(--ease-out) both;
|
|
1462
1615
|
}
|
|
1463
1616
|
@keyframes dialog-backdrop-enter { from { opacity: 0; } }
|
|
1464
1617
|
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } }
|
|
@@ -1466,8 +1619,7 @@ html,
|
|
|
1466
1619
|
.dialog-backdrop.sheet-backdrop {
|
|
1467
1620
|
place-items: stretch end;
|
|
1468
1621
|
padding: 0;
|
|
1469
|
-
background:
|
|
1470
|
-
backdrop-filter: none;
|
|
1622
|
+
background: transparent;
|
|
1471
1623
|
}
|
|
1472
1624
|
.dialog.sheet {
|
|
1473
1625
|
width: min(560px, 100vw);
|
|
@@ -1479,11 +1631,12 @@ html,
|
|
|
1479
1631
|
animation: sheet-enter .2s cubic-bezier(.2, .8, .2, 1);
|
|
1480
1632
|
}
|
|
1481
1633
|
@keyframes sheet-enter { from { opacity: .75; transform: translateX(18px); } }
|
|
1482
|
-
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap:
|
|
1483
|
-
.dialog-header h2 { margin: 0; font-size:
|
|
1484
|
-
.dialog-header p { margin: 4px 0 0; color: var(--text-tertiary); font-size:
|
|
1485
|
-
.dialog-
|
|
1486
|
-
.dialog-
|
|
1634
|
+
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--separator); padding: 22px 22px 18px; background: var(--surface-raised); }
|
|
1635
|
+
.dialog-header h2 { margin: 0; font-size: var(--font-title); font-weight: 650; letter-spacing: -.02em; }
|
|
1636
|
+
.dialog-header p { margin: 4px 0 0; color: var(--text-tertiary); font-size: var(--font-caption); }
|
|
1637
|
+
.dialog-header .button { display: grid; place-items: center; width: 32px; min-width: 32px; min-height: 32px; padding: 0; border-color: transparent; border-radius: 9px; box-shadow: none; }
|
|
1638
|
+
.dialog-body { overflow: auto; padding: 20px 22px 24px; }
|
|
1639
|
+
.dialog-footer { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--separator); padding: 14px 22px; background: var(--surface-raised); }
|
|
1487
1640
|
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
|
|
1488
1641
|
.form-grid .span-2 { grid-column: 1 / -1; }
|
|
1489
1642
|
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
@@ -1572,15 +1725,6 @@ html,
|
|
|
1572
1725
|
box-shadow: none;
|
|
1573
1726
|
}
|
|
1574
1727
|
|
|
1575
|
-
.dialog.knowledge-glass-surface {
|
|
1576
|
-
background: var(--liquid-glass-dialog);
|
|
1577
|
-
box-shadow:
|
|
1578
|
-
inset 0 1px 0 var(--glass-rim-light),
|
|
1579
|
-
inset 0 -1px 0 var(--glass-rim-shadow),
|
|
1580
|
-
0 2px 8px rgb(0 0 0 / 8%),
|
|
1581
|
-
0 28px 76px rgb(0 0 0 / 25%);
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
1728
|
.knowledge-card-surface {
|
|
1585
1729
|
--knowledge-pointer-x: 50%;
|
|
1586
1730
|
--knowledge-pointer-y: 50%;
|
|
@@ -1763,11 +1907,11 @@ html,
|
|
|
1763
1907
|
}
|
|
1764
1908
|
|
|
1765
1909
|
@media (prefers-reduced-transparency: reduce) {
|
|
1766
|
-
.sidebar, .topbar, .note-tree-panel, .notes-browser, .notes-content-header, .notes-document-toolbar, .note-editor-toolbar, .dialog-backdrop {
|
|
1910
|
+
.sidebar, .topbar, .note-tree-panel, .notes-browser, .notes-content-header, .notes-document-toolbar, .notes-document-statusbar, .note-editor-toolbar, .dialog-backdrop {
|
|
1767
1911
|
-webkit-backdrop-filter: none;
|
|
1768
1912
|
backdrop-filter: none;
|
|
1769
1913
|
}
|
|
1770
|
-
.sidebar, .topbar, .note-tree-panel, .notes-browser, .notes-content-header, .notes-document-toolbar, .note-editor-toolbar { background: var(--surface); }
|
|
1914
|
+
.sidebar, .topbar, .note-tree-panel, .notes-browser, .notes-content-header, .notes-document-toolbar, .notes-document-statusbar, .note-editor-toolbar { background: var(--surface); }
|
|
1771
1915
|
.knowledge-glass-surface,
|
|
1772
1916
|
.knowledge-glass-surface[data-knowledge-glass="svg"] {
|
|
1773
1917
|
-webkit-backdrop-filter: none;
|
|
@@ -1778,7 +1922,6 @@ html,
|
|
|
1778
1922
|
-webkit-backdrop-filter: none;
|
|
1779
1923
|
backdrop-filter: none;
|
|
1780
1924
|
}
|
|
1781
|
-
.dialog.knowledge-glass-surface { background: var(--dialog-surface); }
|
|
1782
1925
|
.knowledge-border-surface::before,
|
|
1783
1926
|
.knowledge-border-surface::after,
|
|
1784
1927
|
.knowledge-glare-surface::after { display: none; }
|
|
@@ -1795,17 +1938,6 @@ html,
|
|
|
1795
1938
|
.notes-workspace { grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); }
|
|
1796
1939
|
}
|
|
1797
1940
|
|
|
1798
|
-
@media (max-width: 1180px) {
|
|
1799
|
-
.base-grid { grid-template-columns: minmax(0, 1fr) 190px; }
|
|
1800
|
-
.base-card { grid-template-rows: auto auto auto auto; gap: 7px 18px; }
|
|
1801
|
-
.base-card-header { grid-column: 1; grid-row: 1; }
|
|
1802
|
-
.base-description { grid-column: 1; grid-row: 2; }
|
|
1803
|
-
.base-card-tags { grid-column: 1; grid-row: 3; }
|
|
1804
|
-
.base-card-meta { grid-column: 1; grid-row: 4; display: flex; flex-wrap: wrap; gap: 7px 18px; }
|
|
1805
|
-
.base-card-meta strong { display: inline; margin-right: 5px; }
|
|
1806
|
-
.base-card-actions { grid-column: 2; grid-row: 1 / span 4; max-width: 170px; }
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
1941
|
@media (min-width: 761px) {
|
|
1810
1942
|
.app-shell[data-sidebar-hidden="true"] { grid-template-columns: 0 0 minmax(0, 1fr); }
|
|
1811
1943
|
.app-shell[data-sidebar-hidden="true"] > .sidebar {
|
|
@@ -1822,23 +1954,27 @@ html,
|
|
|
1822
1954
|
|
|
1823
1955
|
@media (max-width: 760px) {
|
|
1824
1956
|
:root { --sidebar-width: 0px; --chrome-inset: 8px; --topbar-inline-inset: 8px; }
|
|
1957
|
+
html { min-width: 0; overflow-x: hidden; }
|
|
1958
|
+
body { min-width: 0; overflow-x: hidden; font-size: 14px; }
|
|
1825
1959
|
.app-shell { height: auto; min-height: 100dvh; display: block; overflow: visible; }
|
|
1826
|
-
.main { width: 100%; height: auto; min-height: 100dvh; overflow: visible; }
|
|
1960
|
+
.main { width: 100%; height: auto; min-height: 100dvh; margin: 0; overflow: visible; border: 0; border-radius: 0; }
|
|
1827
1961
|
.app-sidebar-resizer { display: none; }
|
|
1828
1962
|
.pane-toggle-button[data-pane="main"] { display: none; }
|
|
1829
1963
|
.pane-toggle-button[data-pane="library"] { display: inline-grid; }
|
|
1830
|
-
.sidebar { position: fixed; top: 8px; bottom: 8px; z-index: 40; width: min(82vw, 270px); height: auto; margin-left: 8px; border-radius: 18px; transform: translateX(-110%); box-shadow: var(--shadow); transition: transform .2s ease; }
|
|
1964
|
+
.sidebar { position: fixed; top: max(8px, env(safe-area-inset-top)); bottom: max(8px, env(safe-area-inset-bottom)); z-index: 40; width: min(82vw, 270px); height: auto; margin-left: max(8px, env(safe-area-inset-left)); border-radius: 18px; transform: translateX(-110%); box-shadow: var(--shadow); transition: transform .2s ease; }
|
|
1831
1965
|
.app-shell[data-menu-open="true"] .sidebar { transform: translateX(0); }
|
|
1832
1966
|
.app-sidebar-scrim { position: fixed; inset: 0; z-index: 30; display: block; border: 0; padding: 0; background: rgb(0 0 0 / 35%); touch-action: manipulation; }
|
|
1833
1967
|
.mobile-menu { display: inline-grid; place-items: center; }
|
|
1834
|
-
.topbar { min-height: 64px; padding: 10px 16px; }
|
|
1968
|
+
.topbar { min-height: 64px; padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
|
|
1835
1969
|
.topbar-title { gap: 10px; }
|
|
1836
1970
|
.topbar h1 { font-size: 17px; }
|
|
1837
1971
|
.topbar p { display: none; }
|
|
1838
|
-
.page { padding: 22px 16px 42px; }
|
|
1839
|
-
.app-shell[data-view="notes"] .
|
|
1840
|
-
.app-shell[data-view="notes"] .
|
|
1841
|
-
.app-shell[data-view="notes"] .
|
|
1972
|
+
.page { padding: 22px max(16px, env(safe-area-inset-right)) max(42px, calc(24px + env(safe-area-inset-bottom))) max(16px, env(safe-area-inset-left)); }
|
|
1973
|
+
.app-shell[data-view="notes"] .main { height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
|
|
1974
|
+
.app-shell[data-view="notes"] .topbar { position: relative; }
|
|
1975
|
+
.app-shell[data-view="notes"] .page { height: auto; min-height: 0; overflow: hidden; padding: 0; }
|
|
1976
|
+
.app-shell[data-view="notes"] .view-stage,
|
|
1977
|
+
.app-shell[data-view="notes"] .notes-page { height: 100%; min-height: 0; overflow: hidden; }
|
|
1842
1978
|
.workspace-switcher { align-items: stretch; flex-direction: column; gap: 10px; }
|
|
1843
1979
|
.workspace-switcher-leading { align-items: flex-start; }
|
|
1844
1980
|
.workspace-switcher p { text-align: left; }
|
|
@@ -1895,20 +2031,93 @@ html,
|
|
|
1895
2031
|
.mount-bulk-actions { justify-content: stretch; }
|
|
1896
2032
|
.mount-bulk-actions .button { flex: 1 1 auto; }
|
|
1897
2033
|
.candidate-header, .candidate-footer { align-items: flex-start; flex-direction: column; }
|
|
2034
|
+
.candidate-page > .section-heading { align-items: stretch; flex-direction: column; }
|
|
2035
|
+
.candidate-heading-actions { align-items: stretch; flex-direction: column; }
|
|
2036
|
+
.candidate-heading-actions > .button { width: 100%; }
|
|
1898
2037
|
.candidate-footer { gap: 9px; }
|
|
1899
2038
|
.candidate-actions { width: 100%; justify-content: flex-start; }
|
|
1900
|
-
.notes-workspace { height:
|
|
1901
|
-
.notes-browser {
|
|
1902
|
-
.notes-
|
|
1903
|
-
.
|
|
2039
|
+
.notes-workspace { height: 100%; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
|
|
2040
|
+
.notes-browser { display: none; }
|
|
2041
|
+
.notes-content { min-height: 0; }
|
|
2042
|
+
.notes-editor-frame, .notes-editor-frame[data-outline-open="true"] { grid-template-columns: minmax(0, 1fr); }
|
|
2043
|
+
.notes-editor-outline { position: absolute; inset: 0 0 0 auto; z-index: 12; width: min(86vw, 300px); border-left-color: var(--border-strong); box-shadow: -16px 0 34px color-mix(in srgb, var(--text) 13%, transparent); transform: translateX(103%); transition: opacity var(--motion-base) ease, transform var(--motion-base) var(--ease-out); }
|
|
2044
|
+
.notes-editor-frame[data-outline-open="true"] .notes-editor-outline { transform: translateX(0); }
|
|
2045
|
+
.notes-editor-outline-header { padding-right: max(9px, env(safe-area-inset-right)); }
|
|
2046
|
+
.notes-editor-outline-close, .notes-editor-outline-link { min-height: 44px; touch-action: manipulation; }
|
|
2047
|
+
.notes-editor-outline-list { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
|
|
2048
|
+
.notes-document-toolbar { align-items: center; flex-direction: row; gap: 6px; overflow: visible; padding: 4px max(8px, env(safe-area-inset-right)) 4px max(8px, env(safe-area-inset-left)); }
|
|
2049
|
+
.notes-toolbar-leading { width: auto; min-height: 44px; flex: 1 1 auto; }
|
|
2050
|
+
.notes-document-actions { width: auto; display: flex; gap: 4px; }
|
|
2051
|
+
.notes-document-actions > [data-note-mobile-overflow] { display: none; }
|
|
2052
|
+
.notes-save-state { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 4px; color: var(--text-secondary); font-size: 11px; }
|
|
2053
|
+
.notes-save-state[data-dirty="true"] { color: var(--warning); }
|
|
2054
|
+
.notes-outline-action { min-width: 44px; padding-inline: 10px; }
|
|
2055
|
+
.notes-document-actions > .button, .notes-document-more > summary { min-height: 44px; justify-content: center; touch-action: manipulation; }
|
|
2056
|
+
.notes-document-more { display: block; }
|
|
2057
|
+
.notes-document-more-menu .button { min-height: 44px; touch-action: manipulation; }
|
|
2058
|
+
.notes-content.is-document { --notes-document-inline: 16px; }
|
|
2059
|
+
.notes-content.is-document.has-line-numbers { --notes-document-inline: 30px; }
|
|
2060
|
+
.notes-document-scroll > .notes-live-editor, .notes-document-scroll > .notes-plain-editor { padding-bottom: max(64px, calc(48px + env(safe-area-inset-bottom))); }
|
|
2061
|
+
.notes-find-panel { top: 8px; right: max(8px, env(safe-area-inset-right)); left: max(8px, env(safe-area-inset-left)); width: auto; }
|
|
2062
|
+
.notes-find-row { display: flex; flex-wrap: wrap; }
|
|
2063
|
+
.notes-find-row .notes-find-input { flex: 1 1 190px; }
|
|
2064
|
+
.notes-find-status { min-width: 54px; }
|
|
2065
|
+
.notes-find-button, .notes-selection-control { min-height: 44px; touch-action: manipulation; }
|
|
2066
|
+
.notes-replace-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2067
|
+
.notes-replace-row .notes-find-input { grid-column: 1 / -1; width: 100%; height: 44px; font-size: 16px; }
|
|
2068
|
+
.notes-selection-menu { width: auto; max-width: none; border-radius: 12px; padding: 6px; }
|
|
2069
|
+
.notes-selection-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; overflow: visible; }
|
|
2070
|
+
.notes-selection-block-toggle { max-width: none; grid-column: span 2; }
|
|
2071
|
+
.notes-selection-control { min-width: 0; }
|
|
2072
|
+
.notes-selection-link-form { min-width: min(350px, calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right))); grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2073
|
+
.notes-selection-link-input { grid-column: 1 / -1; width: 100%; height: 44px; font-size: 16px; }
|
|
2074
|
+
.notes-live-editor-surface pre { max-width: 100%; overflow-x: auto; }
|
|
2075
|
+
.notes-live-editor-surface table { min-width: max-content; }
|
|
2076
|
+
.notes-live-editor-surface .tableWrapper { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
|
2077
|
+
.note-history-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(132px, 28dvh) minmax(0, 1fr); }
|
|
2078
|
+
.note-history-timeline { grid-template-rows: auto minmax(0, 1fr); border-right: 0; border-bottom: 1px solid var(--separator); }
|
|
2079
|
+
.note-history-timeline-heading { min-height: 44px; padding-block: 5px; }
|
|
2080
|
+
.note-history-version-list { display: flex; gap: 5px; overflow-x: auto; overflow-y: hidden; padding: 6px max(8px, env(safe-area-inset-right)) 7px max(8px, env(safe-area-inset-left)); }
|
|
2081
|
+
.note-history-version { width: 182px; min-width: 182px; min-height: 66px; }
|
|
2082
|
+
.note-history-version[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--accent), var(--shadow-control); }
|
|
2083
|
+
.note-history-detail-header { align-items: stretch; flex-direction: column; padding: 9px max(10px, env(safe-area-inset-right)) 9px max(10px, env(safe-area-inset-left)); }
|
|
2084
|
+
.note-history-detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
2085
|
+
.note-history-mode, .note-history-detail-actions .button { min-width: 0; min-height: 44px; padding-inline: 5px; }
|
|
2086
|
+
.note-history-content { padding: 18px max(14px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
|
|
2087
|
+
.dialog.note-history-dialog { width: 100%; height: 100dvh; max-height: none; }
|
|
2088
|
+
.notes-file-list { min-width: 0; display: grid; gap: 8px; padding: 10px 12px max(28px, calc(16px + env(safe-area-inset-bottom))); }
|
|
2089
|
+
.notes-file-row { min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; border: 1px solid var(--separator); border-radius: 12px; padding: 10px 11px; background: var(--material-panel); box-shadow: var(--shadow-soft); }
|
|
2090
|
+
.notes-file-row:hover { background: var(--material-panel); }
|
|
2091
|
+
.notes-file-main { grid-column: 1 / -1; min-width: 0; min-height: 44px; padding: 2px 0; }
|
|
2092
|
+
.notes-file-main strong { font-size: 14px; }
|
|
2093
|
+
.notes-file-main small { margin-top: 2px; font-size: 12px; }
|
|
2094
|
+
.notes-file-row > time,
|
|
2095
|
+
.notes-file-row > .notes-file-size { display: inline-flex; min-width: 0; align-items: baseline; gap: 5px; font-size: 12px; }
|
|
2096
|
+
.notes-file-row > time::before,
|
|
2097
|
+
.notes-file-row > .notes-file-size::before { color: var(--text-tertiary); font-size: 10px; content: attr(data-label); }
|
|
2098
|
+
.notes-file-row > time { grid-column: 1; }
|
|
2099
|
+
.notes-file-row > .notes-file-size { grid-column: 2; justify-self: end; }
|
|
2100
|
+
.notes-file-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; opacity: 1; pointer-events: auto; }
|
|
2101
|
+
.notes-file-actions .button { min-width: 0; width: 100%; padding-inline: 5px; }
|
|
2102
|
+
.button, .tab, .nav-button, .note-tree-base, .note-tree-document, .note-tree-new, .note-tree-more, .notes-search-row, .check-option, .range-row { min-height: 44px; touch-action: manipulation; }
|
|
2103
|
+
.notes-breadcrumb button { min-height: 44px; margin-block: -12px; touch-action: manipulation; }
|
|
1904
2104
|
.note-add-button, .pane-toggle-button, .mobile-menu { width: 44px; min-width: 44px; min-height: 44px; }
|
|
2105
|
+
.input, .select { height: 44px; min-height: 44px; }
|
|
2106
|
+
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) { font-size: 16px; }
|
|
2107
|
+
.dialog-backdrop { place-items: stretch; padding: 0; }
|
|
2108
|
+
.dialog, .dialog.narrow, .dialog.sheet { width: 100%; height: 100dvh; max-height: none; border-width: 0; border-radius: 0; }
|
|
2109
|
+
.dialog-header { padding: max(15px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left)); }
|
|
2110
|
+
.dialog-header .button { width: 44px; min-width: 44px; min-height: 44px; }
|
|
2111
|
+
.dialog-body { padding: 18px max(16px, env(safe-area-inset-right)) max(24px, calc(16px + env(safe-area-inset-bottom))) max(16px, env(safe-area-inset-left)); }
|
|
2112
|
+
.dialog-footer { flex-wrap: wrap; padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
|
|
2113
|
+
.dialog-footer .button { flex: 1 1 120px; }
|
|
2114
|
+
.candidate-actions .button { min-width: min(100%, 112px); }
|
|
1905
2115
|
.toast-region { right: 12px; bottom: 12px; left: 12px; }
|
|
1906
2116
|
.toast { max-width: none; }
|
|
1907
2117
|
}
|
|
1908
2118
|
|
|
1909
2119
|
@media (max-width: 520px) {
|
|
1910
2120
|
.api-access-heading, .api-access-actions, .api-address-row { align-items: stretch; flex-direction: column; }
|
|
1911
|
-
body { font-size: 13px; }
|
|
1912
2121
|
.login-page { padding: 16px; }
|
|
1913
2122
|
.login-card { padding: 24px; }
|
|
1914
2123
|
.metrics { grid-template-columns: 1fr 1fr; gap: 9px; }
|
|
@@ -1917,7 +2126,7 @@ html,
|
|
|
1917
2126
|
.toolbar { align-items: stretch; }
|
|
1918
2127
|
.toolbar .select { min-width: 0; flex: 1; }
|
|
1919
2128
|
.topbar-actions .button:not(.primary) { display: none; }
|
|
1920
|
-
.topbar-actions .button.primary { width:
|
|
2129
|
+
.topbar-actions .button.primary { width: 44px; min-width: 44px; overflow: hidden; padding: 0; font-size: 0; }
|
|
1921
2130
|
.topbar-actions .button.primary::before { content: "+"; font-size: 18px; }
|
|
1922
2131
|
.workspace-tabs { width: 100%; }
|
|
1923
2132
|
.workspace-tabs .tab { min-width: 0; flex: 1; justify-content: center; padding-inline: 8px; }
|
|
@@ -1932,8 +2141,6 @@ html,
|
|
|
1932
2141
|
.form-grid .span-2 { grid-column: auto; }
|
|
1933
2142
|
.mount-context { grid-template-columns: 1fr; }
|
|
1934
2143
|
.mount-delete { align-items: stretch; flex-direction: column; }
|
|
1935
|
-
.dialog-backdrop { align-items: end; padding: 0; }
|
|
1936
|
-
.dialog, .dialog.narrow { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
|
|
1937
2144
|
.secret-value { flex-direction: column; }
|
|
1938
2145
|
.reader-actions .badge { display: none; }
|
|
1939
2146
|
.reader-footer { flex-direction: column; gap: 2px; }
|
|
@@ -1941,6 +2148,7 @@ html,
|
|
|
1941
2148
|
.candidate-body { padding-inline: 14px; }
|
|
1942
2149
|
.candidate-footer { padding-inline: 14px; }
|
|
1943
2150
|
.candidate-change-heading { align-items: flex-start; flex-direction: column; }
|
|
2151
|
+
.bulk-review-metrics { grid-template-columns: 1fr 1fr; }
|
|
1944
2152
|
.diff-column-headings, .diff-line { grid-template-columns: 30px 30px 20px minmax(0, 1fr); }
|
|
1945
2153
|
.diff-column-headings span, .diff-line-number { padding-inline: 4px; }
|
|
1946
2154
|
.candidate-actions .button { flex: 1 1 auto; }
|
|
@@ -1949,14 +2157,26 @@ html,
|
|
|
1949
2157
|
.notes-agent-capabilities { grid-template-columns: 1fr; }
|
|
1950
2158
|
.notes-content-title { align-items: stretch; flex-direction: column; }
|
|
1951
2159
|
.notes-content-actions .button { flex: 1 1 auto; }
|
|
1952
|
-
.notes-document-
|
|
1953
|
-
.notes-
|
|
1954
|
-
.notes-file-info { overflow: hidden; }
|
|
1955
|
-
.notes-document-actions { width: auto; flex-wrap: nowrap; justify-content: flex-end; }
|
|
1956
|
-
.notes-content.is-document { --notes-document-inline: 16px; }
|
|
1957
|
-
.notes-content.is-document.has-line-numbers { --notes-document-inline: 30px; }
|
|
2160
|
+
.notes-document-statusbar { padding-inline: 14px; }
|
|
2161
|
+
.notes-file-info { gap: 3px 14px; }
|
|
1958
2162
|
.notes-document-title { padding-top: 24px; }
|
|
1959
|
-
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
@media (max-width: 390px) {
|
|
2166
|
+
.topbar { gap: 8px; padding-inline: 10px; }
|
|
2167
|
+
.topbar-title { gap: 6px; }
|
|
2168
|
+
.topbar-heading { max-width: 118px; }
|
|
2169
|
+
.notes-file-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2170
|
+
.candidate-actions { display: grid; grid-template-columns: 1fr; }
|
|
2171
|
+
.candidate-actions .button { width: 100%; }
|
|
2172
|
+
.bulk-review-metrics { grid-template-columns: 1fr; }
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
@media (max-width: 760px) and (max-height: 520px) and (orientation: landscape) {
|
|
2176
|
+
.topbar { min-height: 52px; padding-top: 6px; padding-bottom: 6px; }
|
|
2177
|
+
.page { padding-top: 14px; padding-bottom: 20px; }
|
|
2178
|
+
.dialog-header { padding-top: 10px; padding-bottom: 10px; }
|
|
2179
|
+
.dialog-body { padding-top: 14px; }
|
|
1960
2180
|
}
|
|
1961
2181
|
|
|
1962
2182
|
@media (prefers-reduced-motion: reduce) {
|