codexmate 0.1.36 → 0.1.38
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 +1 -1
- package/README.vi.md +1 -1
- package/README.zh.md +1 -1
- package/cli/desktop-release.js +73 -0
- package/cli/skills.js +103 -4
- package/cli/update.js +27 -15
- package/cli.js +9 -3
- package/package.json +2 -1
- package/web-ui/app.js +17 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +12 -0
- package/web-ui/modules/app.methods.agents.mjs +0 -3
- package/web-ui/modules/app.methods.install.mjs +38 -2
- package/web-ui/modules/app.methods.prompts-editor.mjs +30 -6
- package/web-ui/modules/app.methods.provider-cache.mjs +3 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +10 -5
- package/web-ui/modules/i18n/locales/en.mjs +25 -0
- package/web-ui/modules/i18n/locales/ja.mjs +26 -1
- package/web-ui/modules/i18n/locales/vi.mjs +25 -0
- package/web-ui/modules/i18n/locales/zh-tw.mjs +25 -0
- package/web-ui/modules/i18n/locales/zh.mjs +25 -0
- package/web-ui/modules/i18n.mjs +3 -2
- package/web-ui/modules/session-features.mjs +25 -1
- package/web-ui/modules/skills.methods.mjs +61 -16
- package/web-ui/partials/index/layout-header.html +91 -90
- package/web-ui/partials/index/modals-basic.html +22 -9
- package/web-ui/partials/index/panel-market.html +10 -3
- package/web-ui/partials/index/panel-plugins.html +13 -10
- package/web-ui/partials/index/panel-prompts.html +40 -20
- package/web-ui/partials/index/plugin-file-sharing.html +4 -4
- package/web-ui/partials/index/session-features.html +24 -7
- package/web-ui/res/web-ui-render.precompiled.js +831 -268
- package/web-ui/styles/layout-shell.css +176 -259
- package/web-ui/styles/plugins-panel.css +67 -46
- package/web-ui/styles/prompts-editor.css +127 -27
- package/web-ui/styles/session-features.css +12 -1
- package/web-ui/styles/settings-panel.css +16 -14
- package/web-ui/styles/system-prompt.css +9 -4
- package/web-ui/styles/theme-dark-tokens.css +4 -0
- package/web-ui/styles/theme-dark.css +5 -31
- package/web-ui/styles/theme-ocean-tokens.css +3 -0
- package/web-ui/styles/theme-ocean.css +3 -26
- package/web-ui/styles/theme-violet-tokens.css +3 -0
- package/web-ui/styles/theme-violet.css +12 -59
|
@@ -563,62 +563,75 @@
|
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
/* Match the instruction-file editor: flat workspace, underlined tabs and quiet tools. */
|
|
567
566
|
#panel-plugins { container-type: inline-size; }
|
|
568
|
-
#panel-plugins .plugins-layout { grid-template-columns: minmax(0, 1fr); gap:
|
|
569
|
-
#panel-plugins .plugins-sidebar { padding: 0; border: 0; background: transparent; box-shadow: none; }
|
|
567
|
+
#panel-plugins .plugins-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
568
|
+
#panel-plugins .plugins-sidebar { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
|
|
570
569
|
#panel-plugins .plugins-sidebar-header { display: none; }
|
|
571
|
-
#panel-plugins .plugins-list { display: flex;
|
|
572
|
-
#panel-plugins .plugins-item { width: auto; min-height: 44px; padding: 7px 10px 8px; gap: 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
|
|
570
|
+
#panel-plugins .plugins-list { display: flex; }
|
|
573
571
|
#panel-plugins .plugins-item-meta, #panel-plugins .plugins-item > .pill { display: none; }
|
|
574
|
-
#panel-plugins .plugins-item:hover { transform: none; background: transparent; }
|
|
575
|
-
#panel-plugins .plugins-item.active { background: transparent; color: var(--color-brand-dark); border-bottom-color: var(--color-brand); box-shadow: none; }
|
|
576
|
-
#panel-plugins .plugins-item.active .plugins-item-title { color: var(--color-brand-dark); }
|
|
577
572
|
#panel-plugins .plugins-item.active::before { display: none; }
|
|
578
|
-
#panel-plugins .plugins-item-title { font-size: 13px; }
|
|
579
573
|
#panel-plugins .plugins-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
|
|
580
|
-
#panel-plugins .plugins-panel-head {
|
|
581
|
-
#panel-plugins .plugins-panel-title { font-size:
|
|
574
|
+
#panel-plugins .plugins-panel-head { align-items: center; gap: 8px 16px; margin-bottom: 12px; }
|
|
575
|
+
#panel-plugins .plugins-panel-title { margin: 0; font-size: var(--font-size-title); line-height: 1.4; letter-spacing: 0; }
|
|
582
576
|
#panel-plugins .plugins-panel-note { line-height: 1.65; overflow-wrap: anywhere; }
|
|
583
|
-
#panel-plugins .prompt-templates-modebar {
|
|
584
|
-
|
|
585
|
-
#panel-plugins .
|
|
586
|
-
#panel-plugins .mode-pill.active::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 2px; background: var(--color-brand); }
|
|
587
|
-
#panel-plugins .mode-pill:hover:not(.active) { background: transparent; color: var(--color-text-primary); }
|
|
588
|
-
#panel-plugins .prompt-compose-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
|
|
577
|
+
#panel-plugins .prompt-templates-modebar { margin-bottom: 20px; }
|
|
578
|
+
|
|
579
|
+
#panel-plugins .prompt-compose-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
|
|
589
580
|
#panel-plugins .prompt-compose-main { gap: 24px; align-content: start; }
|
|
590
|
-
#panel-plugins .prompt-compose-form { display: grid; gap: 8px; }
|
|
591
|
-
#panel-plugins .form-label { margin: 0; font-size:
|
|
581
|
+
#panel-plugins .prompt-compose-form { display: grid; gap: 8px; padding: 0; border: 0; background: transparent; }
|
|
582
|
+
#panel-plugins .form-label { margin: 0; font-size: var(--font-size-body); font-weight: 600; }
|
|
592
583
|
#panel-plugins .prompt-vars-block { margin: 0; padding: 0; border: 0; background: transparent; }
|
|
593
|
-
#panel-plugins .prompt-vars-head { align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom:
|
|
594
|
-
#panel-plugins .prompt-vars-
|
|
595
|
-
#panel-plugins .prompt-vars-
|
|
596
|
-
#panel-plugins .prompt-
|
|
584
|
+
#panel-plugins .prompt-vars-head { align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; }
|
|
585
|
+
#panel-plugins .prompt-vars-head > div { min-width: 0; }
|
|
586
|
+
#panel-plugins .prompt-vars-title { font-size: var(--font-size-body); font-weight: 600; color: var(--color-text-primary); }
|
|
587
|
+
#panel-plugins .prompt-vars-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px), 1fr)); gap: 12px; }
|
|
588
|
+
#panel-plugins .prompt-var-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
|
|
597
589
|
#panel-plugins .prompt-var-label { color: var(--color-text-secondary); overflow-wrap: anywhere; }
|
|
598
|
-
#panel-plugins .prompt-preview-block {
|
|
599
|
-
#panel-plugins .prompt-compose-preview { display: flex; flex-direction: column;
|
|
600
|
-
#panel-plugins .prompt-preview-textarea {
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
590
|
+
#panel-plugins .prompt-preview-block { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
|
|
591
|
+
#panel-plugins .prompt-compose-preview { display: flex; flex-direction: column; }
|
|
592
|
+
#panel-plugins .prompt-preview-textarea {
|
|
593
|
+
flex: 1;
|
|
594
|
+
width: 100%;
|
|
595
|
+
min-height: 240px;
|
|
596
|
+
padding: 12px;
|
|
597
|
+
background: var(--color-surface-alt);
|
|
598
|
+
line-height: 1.65;
|
|
599
|
+
white-space: pre-wrap;
|
|
600
|
+
overflow-wrap: anywhere;
|
|
601
|
+
resize: vertical;
|
|
602
|
+
}
|
|
603
|
+
#panel-plugins .plugins-panel-text-tools .prompt-compose-main { grid-template-rows: 1fr; }
|
|
604
|
+
#panel-plugins .plugins-panel-text-tools .prompt-compose-form { grid-template-rows: minmax(44px, auto) 1fr; }
|
|
605
|
+
#panel-plugins .plugins-panel-text-tools .form-label { align-self: center; }
|
|
606
|
+
|
|
607
|
+
#panel-plugins .prompt-templates-grid { grid-template-columns: minmax(256px, 1fr) minmax(0, 2fr); gap: 24px; }
|
|
608
|
+
#panel-plugins .prompt-templates-pane-list { padding-inline-end: 16px; border-inline-end: 1px solid var(--color-border-soft); }
|
|
609
|
+
#panel-plugins .prompt-templates-toolbar { gap: 8px; margin-bottom: 12px; }
|
|
610
|
+
#panel-plugins .prompt-templates-toolbar .form-input { flex: 1 0 100%; min-width: 0; }
|
|
611
|
+
#panel-plugins .prompt-templates-list { gap: 4px; padding: 4px; }
|
|
612
|
+
#panel-plugins .prompt-template-item { min-height: 56px; padding: 8px 12px; text-align: start; border: 0; background: transparent; box-shadow: none; }
|
|
605
613
|
#panel-plugins .prompt-template-item:hover { transform: none; background: var(--color-surface-alt); }
|
|
606
614
|
#panel-plugins .prompt-template-item.active { background: var(--color-brand-light); box-shadow: none; }
|
|
607
|
-
#panel-plugins .prompt-
|
|
608
|
-
#panel-plugins .prompt-
|
|
609
|
-
#panel-plugins .prompt-
|
|
610
|
-
#panel-plugins
|
|
611
|
-
#panel-plugins .
|
|
612
|
-
#panel-plugins .prompt-
|
|
615
|
+
#panel-plugins .prompt-template-item.active .prompt-template-item-title { color: var(--color-text-primary); }
|
|
616
|
+
#panel-plugins .prompt-template-item-main { min-width: 0; overflow-wrap: anywhere; }
|
|
617
|
+
#panel-plugins .prompt-template-item-meta { display: flex; flex-wrap: wrap; gap: 0 4px; margin-top: 4px; }
|
|
618
|
+
#panel-plugins .prompt-template-item > .pill { flex-shrink: 0; }
|
|
619
|
+
#panel-plugins .prompt-templates-pane-editor { display: grid; align-content: start; gap: 16px; }
|
|
620
|
+
#panel-plugins .prompt-editor-head { margin: 0; padding: 0; border: 0; background: transparent; gap: 8px; }
|
|
621
|
+
#panel-plugins .prompt-editor-name { min-width: min(100%, 208px); font-size: var(--font-size-body); font-weight: 600; }
|
|
622
|
+
#panel-plugins .prompt-editor-body { display: grid; gap: 16px; min-width: 0; }
|
|
623
|
+
#panel-plugins .prompt-editor-body > .form-label { margin-bottom: -8px; }
|
|
624
|
+
#panel-plugins .prompt-editor-textarea { width: 100%; min-height: 240px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; resize: vertical; }
|
|
625
|
+
#panel-plugins :is(.form-input, .form-select) { max-width: 100%; min-height: 44px; border-radius: var(--radius-sm); }
|
|
626
|
+
#panel-plugins .btn-mini { min-width: 44px; min-height: 44px; max-width: 100%; padding: 8px 12px; white-space: normal; overflow-wrap: anywhere; }
|
|
613
627
|
#panel-plugins button { transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
|
|
614
628
|
#panel-plugins button:active:not(:disabled) { opacity: .8; }
|
|
615
629
|
#panel-plugins button:disabled { opacity: .45; cursor: not-allowed; }
|
|
616
630
|
#panel-plugins :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
|
|
617
|
-
@container (max-width:
|
|
618
|
-
#panel-plugins .prompt-compose-workspace, #panel-plugins .prompt-templates-grid { grid-template-columns: minmax(0, 1fr);
|
|
619
|
-
#panel-plugins .
|
|
620
|
-
#panel-plugins .prompt-
|
|
621
|
-
#panel-plugins .prompt-compose-preview { min-height: 300px; }
|
|
631
|
+
@container (max-width: 720px) {
|
|
632
|
+
#panel-plugins .prompt-compose-workspace, #panel-plugins .prompt-templates-grid { grid-template-columns: minmax(0, 1fr); }
|
|
633
|
+
#panel-plugins .prompt-templates-pane-list { padding: 0 0 16px; border-inline-end: 0; border-bottom: 1px solid var(--color-border-soft); }
|
|
634
|
+
#panel-plugins .prompt-templates-list { max-height: min(240px, 34vh); }
|
|
622
635
|
}
|
|
623
636
|
@media (prefers-reduced-motion: reduce) {
|
|
624
637
|
#panel-plugins button { transition: none; }
|
|
@@ -633,12 +646,20 @@
|
|
|
633
646
|
.file-sharing-batches { display: grid; gap: 16px; margin-block: 16px; }
|
|
634
647
|
.file-sharing-batches > li {
|
|
635
648
|
min-width: 0;
|
|
636
|
-
padding:
|
|
637
|
-
border-
|
|
638
|
-
|
|
649
|
+
padding-block: 8px;
|
|
650
|
+
border-bottom: 1px solid var(--color-border-soft);
|
|
651
|
+
}
|
|
652
|
+
.file-sharing-row { display: grid; align-items: center; gap: 4px 8px; min-width: 0; }
|
|
653
|
+
.file-sharing-batch-head { grid-template-columns: minmax(0, 1fr) auto; }
|
|
654
|
+
.file-sharing-file {
|
|
655
|
+
grid-template-columns: minmax(0, 1fr) auto repeat(2, 44px);
|
|
656
|
+
padding-block: 4px;
|
|
657
|
+
border-top: 1px solid var(--color-border-soft);
|
|
658
|
+
}
|
|
659
|
+
@container (max-width: 384px) {
|
|
660
|
+
.file-sharing-file { grid-template-columns: minmax(0, 1fr) repeat(2, 44px); }
|
|
661
|
+
.file-sharing-file > :first-child { grid-column: 1 / -1; }
|
|
639
662
|
}
|
|
640
|
-
.file-sharing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
|
|
641
|
-
.file-sharing-row > :first-child { flex: 1 1 160px; min-width: 0; }
|
|
642
663
|
.file-sharing-row .file-sharing-icon {
|
|
643
664
|
display: inline-grid;
|
|
644
665
|
place-items: center;
|
|
@@ -72,41 +72,61 @@
|
|
|
72
72
|
display: none;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.prompts-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
left: calc(50% - 13px);
|
|
79
|
-
z-index: 5;
|
|
80
|
-
display: inline-flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
justify-content: center;
|
|
83
|
-
width: 26px;
|
|
84
|
-
height: 26px;
|
|
85
|
-
padding: 0;
|
|
86
|
-
border: 1px solid var(--color-border-soft);
|
|
87
|
-
border-radius: var(--radius-sm);
|
|
88
|
-
background: rgba(255, 255, 255, 0.95);
|
|
89
|
-
color: var(--color-text-secondary);
|
|
90
|
-
cursor: pointer;
|
|
75
|
+
.prompts-editor-group--reading .btn-mini:is([aria-expanded="true"], [aria-pressed="true"]) {
|
|
76
|
+
color: var(--color-brand-dark);
|
|
77
|
+
background: var(--color-brand-light);
|
|
91
78
|
}
|
|
92
79
|
|
|
93
|
-
.prompts-
|
|
94
|
-
|
|
80
|
+
.prompts-outline {
|
|
81
|
+
display: none;
|
|
82
|
+
min-width: 0;
|
|
83
|
+
min-height: 0;
|
|
84
|
+
padding: 12px 8px;
|
|
85
|
+
overflow: auto;
|
|
86
|
+
background: var(--color-surface-alt);
|
|
87
|
+
border-inline-end: 1px solid var(--color-border-soft);
|
|
95
88
|
}
|
|
96
89
|
|
|
97
|
-
.prompts-
|
|
90
|
+
.prompts-outline-title {
|
|
91
|
+
padding: 4px 8px;
|
|
92
|
+
color: var(--color-text-secondary);
|
|
93
|
+
font-size: var(--font-size-caption);
|
|
94
|
+
font-weight: var(--font-weight-secondary);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.prompts-outline-item {
|
|
98
98
|
display: block;
|
|
99
|
-
width:
|
|
100
|
-
height:
|
|
99
|
+
width: 100%;
|
|
100
|
+
min-height: 44px;
|
|
101
|
+
padding: 4px 8px;
|
|
102
|
+
padding-inline-start: calc(8px + 8px * var(--outline-depth));
|
|
103
|
+
border: 0;
|
|
104
|
+
border-radius: var(--radius-sm);
|
|
105
|
+
color: var(--color-text-secondary);
|
|
106
|
+
background: transparent;
|
|
107
|
+
font: inherit;
|
|
108
|
+
font-size: var(--font-size-caption);
|
|
109
|
+
text-align: start;
|
|
110
|
+
overflow-wrap: anywhere;
|
|
111
|
+
cursor: pointer;
|
|
101
112
|
}
|
|
102
113
|
|
|
103
|
-
.prompts-
|
|
104
|
-
|
|
105
|
-
|
|
114
|
+
.prompts-outline-item:hover,
|
|
115
|
+
.prompts-outline-item:focus-visible {
|
|
116
|
+
background: var(--color-brand-light);
|
|
117
|
+
color: var(--color-text-primary);
|
|
106
118
|
}
|
|
107
119
|
|
|
108
|
-
|
|
109
|
-
|
|
120
|
+
@media (min-width: 768px) {
|
|
121
|
+
.prompts-editor-frame--outline {
|
|
122
|
+
display: grid;
|
|
123
|
+
grid-template-columns: clamp(128px, 16vw, 208px) minmax(0, 1fr);
|
|
124
|
+
grid-template-rows: minmax(0, 1fr);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.prompts-editor-frame--outline .prompts-outline {
|
|
128
|
+
display: block;
|
|
129
|
+
}
|
|
110
130
|
}
|
|
111
131
|
|
|
112
132
|
.prompts-edit-pane {
|
|
@@ -320,11 +340,13 @@
|
|
|
320
340
|
}
|
|
321
341
|
|
|
322
342
|
.prompts-editor-frame--split.prompts-editor-frame--mobile-preview .prompts-preview-pane {
|
|
343
|
+
display: block;
|
|
344
|
+
border-left: 0;
|
|
323
345
|
height: auto;
|
|
324
346
|
min-height: 75vh;
|
|
325
347
|
}
|
|
326
348
|
|
|
327
|
-
.prompts-
|
|
349
|
+
.prompts-editor-group--reading {
|
|
328
350
|
display: none;
|
|
329
351
|
}
|
|
330
352
|
|
|
@@ -379,3 +401,81 @@
|
|
|
379
401
|
overflow: auto;
|
|
380
402
|
margin-block: 8px;
|
|
381
403
|
}
|
|
404
|
+
|
|
405
|
+
/* Keep the shared panel top offset and sub-tab sizing; only style their contents. */
|
|
406
|
+
.prompts-file-badge {
|
|
407
|
+
margin-inline-start: 6px;
|
|
408
|
+
padding: 2px 6px;
|
|
409
|
+
border-radius: var(--radius-sm);
|
|
410
|
+
background: var(--color-surface-alt);
|
|
411
|
+
color: inherit;
|
|
412
|
+
font-size: var(--font-size-caption);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.prompts-target-card,
|
|
416
|
+
#panel-prompts .prompts-editor {
|
|
417
|
+
border: 1px solid var(--color-border-soft);
|
|
418
|
+
border-radius: var(--radius-md);
|
|
419
|
+
background: var(--color-bg-card);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.prompts-target-card {
|
|
423
|
+
padding: 12px 16px;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
#panel-prompts .prompts-editor > :not(.form-group) {
|
|
427
|
+
margin-inline: 12px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
#panel-prompts .prompts-editor-toolbar {
|
|
431
|
+
padding-block: 8px;
|
|
432
|
+
border-bottom: 1px solid var(--color-border-soft);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
#panel-prompts .prompts-editor > .form-group {
|
|
436
|
+
margin: 0;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
#panel-prompts .prompts-editor-frame {
|
|
440
|
+
border: 0;
|
|
441
|
+
border-radius: 0 0 var(--radius-md) var(--radius-md);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
#panel-prompts .prompts-editor-frame:focus-within {
|
|
445
|
+
outline: 1px solid var(--color-brand);
|
|
446
|
+
outline-offset: -1px;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
#panel-prompts .prompts-md-toolbar {
|
|
450
|
+
margin: 0 12px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
#panel-prompts .prompts-context-hint {
|
|
454
|
+
margin-inline: 12px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
@media (max-width: 980px) {
|
|
458
|
+
#panel-prompts .prompts-editor-toolbar {
|
|
459
|
+
flex-wrap: wrap;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
#panel-prompts .prompts-path-summary-wrap {
|
|
463
|
+
flex-basis: 100%;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
#panel-prompts .prompts-editor-actions {
|
|
467
|
+
flex: 1 1 100%;
|
|
468
|
+
flex-wrap: wrap;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@media (max-width: 540px) {
|
|
473
|
+
.prompts-target-card .project-path-row {
|
|
474
|
+
flex-direction: column;
|
|
475
|
+
align-items: stretch;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
#panel-prompts .prompts-editor-group--edit .btn-mini {
|
|
479
|
+
display: inline-flex;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
@@ -116,7 +116,18 @@
|
|
|
116
116
|
.feature-disclosure > summary { width: fit-content; max-width: 100%; min-height: 44px; display: list-item; align-content: center; cursor: pointer; color: var(--color-text-secondary); font-size: var(--font-size-secondary); overflow-wrap: anywhere; }
|
|
117
117
|
.feature-disclosure[open] > summary { color: var(--color-text-primary); }
|
|
118
118
|
.feature-record { padding: var(--spacing-md) 0; overflow-wrap: anywhere; min-width: 0; }
|
|
119
|
-
.feature-record + .feature-record { border-top: 1px solid var(--color-border-soft); }
|
|
119
|
+
.feature-record + .feature-record, .index-message-row + .index-message-row { border-top: 1px solid var(--color-border-soft); }
|
|
120
|
+
.index-result-views { margin-bottom: var(--spacing-sm); }
|
|
121
|
+
.index-result-views button { min-width: 44px; }
|
|
122
|
+
.session-features .index-result-views button[aria-pressed="true"] {
|
|
123
|
+
background: var(--color-brand-light);
|
|
124
|
+
color: var(--color-brand-dark);
|
|
125
|
+
}
|
|
126
|
+
.index-result-group > summary { width: auto; }
|
|
127
|
+
.index-result-group > summary .feature-source,
|
|
128
|
+
.index-result-group > summary .feature-meta { display: inline; margin-inline-start: var(--spacing-xs); }
|
|
129
|
+
.index-group-path { display: block; color: var(--color-text-muted); }
|
|
130
|
+
.index-result-group > .feature-record { margin-inline-start: var(--spacing-md); }
|
|
120
131
|
.feature-record-heading { margin-bottom: 8px; }
|
|
121
132
|
.feature-record-heading h4 { min-width: 0; overflow-wrap: anywhere; }
|
|
122
133
|
.feature-record pre, .feature-focus pre, .feature-code { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; line-height: 1.6; }
|
|
@@ -508,24 +508,26 @@
|
|
|
508
508
|
|
|
509
509
|
/* ---- Provider cache records ---- */
|
|
510
510
|
.project-announcement-overlay {
|
|
511
|
-
background:
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
511
|
+
background: linear-gradient(rgba(31, 26, 23, 0.28), rgba(31, 26, 23, 0.28));
|
|
512
|
+
align-items: flex-end;
|
|
513
|
+
justify-content: flex-start;
|
|
514
|
+
padding: var(--side-popup-gap) 8px calc(var(--side-toolbar-height) + var(--side-popup-gap));
|
|
515
|
+
backdrop-filter: none;
|
|
516
|
+
-webkit-backdrop-filter: none;
|
|
516
517
|
}
|
|
517
518
|
|
|
518
|
-
.provider-cache-announcement-modal {
|
|
519
|
+
.project-announcement-overlay .provider-cache-announcement-modal {
|
|
519
520
|
position: relative;
|
|
520
|
-
width: min(
|
|
521
|
-
max-width:
|
|
522
|
-
max-height:
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
background:
|
|
527
|
-
border-color:
|
|
521
|
+
width: min(520px, 100%);
|
|
522
|
+
max-width: none;
|
|
523
|
+
max-height: 100%;
|
|
524
|
+
overflow: auto;
|
|
525
|
+
scrollbar-gutter: stable;
|
|
526
|
+
display: block;
|
|
527
|
+
background: var(--color-surface-elevated);
|
|
528
|
+
border-color: var(--color-border-soft);
|
|
528
529
|
font-size: 12px;
|
|
530
|
+
animation: none;
|
|
529
531
|
}
|
|
530
532
|
|
|
531
533
|
.project-announcement-close {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
.sys-prompt-controls {
|
|
2
|
-
display:
|
|
3
|
-
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
|
|
4
|
+
align-items: start;
|
|
4
5
|
gap: 8px;
|
|
5
|
-
flex-wrap: wrap;
|
|
6
6
|
margin: 8px 0 4px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.sys-prompt-control-group {
|
|
10
10
|
display: flex;
|
|
11
|
-
flex: 1 1 180px;
|
|
12
11
|
min-width: 0;
|
|
13
12
|
flex-direction: column;
|
|
14
13
|
gap: 4px;
|
|
@@ -22,3 +21,9 @@
|
|
|
22
21
|
.sys-prompt-select {
|
|
23
22
|
min-width: 0;
|
|
24
23
|
}
|
|
24
|
+
|
|
25
|
+
@media (max-width: 767.98px) {
|
|
26
|
+
.sys-prompt-controls {
|
|
27
|
+
grid-template-columns: minmax(0, 1fr);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
作用于 <html data-theme="dark">;浅色默认值见 base-theme.css
|
|
4
4
|
============================================ */
|
|
5
5
|
:root[data-theme="dark"] {
|
|
6
|
+
--side-rail-surface: #202124;
|
|
7
|
+
--side-toolbar-border: var(--color-border-soft);
|
|
8
|
+
--side-section-title-color: var(--color-text-muted);
|
|
9
|
+
--side-active-surface: var(--color-surface-elevated);
|
|
6
10
|
color-scheme: dark;
|
|
7
11
|
|
|
8
12
|
/* 品牌色:保留暖橙 accent,提亮适配暗底 */
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
作用于 <html data-theme="dark">;浅色默认值见 base-theme.css
|
|
13
13
|
============================================ */
|
|
14
14
|
:root[data-theme="dark"] {
|
|
15
|
+
--side-rail-surface: #202124;
|
|
16
|
+
--side-toolbar-border: var(--color-border-soft);
|
|
17
|
+
--side-section-title-color: var(--color-text-muted);
|
|
18
|
+
--side-active-surface: var(--color-surface-elevated);
|
|
15
19
|
color-scheme: dark;
|
|
16
20
|
|
|
17
21
|
/* 品牌色:保留暖橙 accent,提亮适配暗底 */
|
|
@@ -108,9 +112,6 @@
|
|
|
108
112
|
[data-theme="dark"] .side-rail-collapse-toggle:hover {
|
|
109
113
|
border-color:rgba(255, 255, 255, 0.24);
|
|
110
114
|
}
|
|
111
|
-
[data-theme="dark"] .side-section + .side-section {
|
|
112
|
-
border-top:1px solid rgba(255, 255, 255, 0.06);
|
|
113
|
-
}
|
|
114
115
|
[data-theme="dark"] .lang-choice {
|
|
115
116
|
border:1px solid rgba(255, 255, 255, 0.22);
|
|
116
117
|
background-color:rgba(30, 31, 34, 0.92);
|
|
@@ -133,13 +134,6 @@
|
|
|
133
134
|
[data-theme="dark"] .lang-fab .lang-switch:hover .lang-switch-track {
|
|
134
135
|
border-color:rgba(255, 255, 255, 0.3);
|
|
135
136
|
}
|
|
136
|
-
[data-theme="dark"] .side-rail-lang {
|
|
137
|
-
background-image:linear-gradient(180deg, rgba(255, 255, 255, 0.02), #202124 28%);
|
|
138
|
-
border-top:1px solid rgba(255, 255, 255, 0.06);
|
|
139
|
-
}
|
|
140
|
-
[data-theme="dark"] .side-rail-lang .lang-choice {
|
|
141
|
-
background-color:rgba(30, 31, 34, 0.9);
|
|
142
|
-
}
|
|
143
137
|
[data-theme="dark"] .lang-switch-track {
|
|
144
138
|
border:1px solid rgba(255, 255, 255, 0.27);
|
|
145
139
|
background-color:rgba(30, 31, 34, 0.78);
|
|
@@ -151,18 +145,9 @@
|
|
|
151
145
|
[data-theme="dark"] .lang-switch-track::after {
|
|
152
146
|
background-image:radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 55%);
|
|
153
147
|
}
|
|
154
|
-
[data-theme="dark"] .side-item:hover {
|
|
148
|
+
[data-theme="dark"] .side-item:where(:hover:not(.nav-intent-inactive)) {
|
|
155
149
|
background-color:rgba(30, 31, 34, 0.64);
|
|
156
150
|
}
|
|
157
|
-
[data-theme="dark"] .side-item.active,
|
|
158
|
-
[data-theme="dark"] .side-item.nav-intent-active {
|
|
159
|
-
border-color:rgba(255, 255, 255, 0.15);
|
|
160
|
-
background-image:linear-gradient(135deg, rgba(30, 31, 34, 0.86), rgba(255, 255, 255, 0.07));
|
|
161
|
-
box-shadow:0 8px 20px rgba(0, 0, 0, 0.14);
|
|
162
|
-
}
|
|
163
|
-
[data-theme="dark"] .sidebar-collapsed .side-section + .side-section {
|
|
164
|
-
border-top-color:rgba(255, 255, 255, 0.04);
|
|
165
|
-
}
|
|
166
151
|
[data-theme="dark"] .brand-block {
|
|
167
152
|
background-image:linear-gradient(180deg, rgba(30, 31, 34, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
|
|
168
153
|
}
|
|
@@ -238,14 +223,6 @@
|
|
|
238
223
|
border-color:rgba(255, 255, 255, 0.3);
|
|
239
224
|
background-color:rgba(30, 31, 34, 0.96);
|
|
240
225
|
}
|
|
241
|
-
[data-theme="dark"] .side-announcement-button {
|
|
242
|
-
border:1px solid rgba(255, 255, 255, 0.2);
|
|
243
|
-
background-color:rgba(30, 31, 34, 0.92);
|
|
244
|
-
}
|
|
245
|
-
[data-theme="dark"] .side-announcement-button:hover {
|
|
246
|
-
border-color:rgba(255, 255, 255, 0.3);
|
|
247
|
-
background-color:rgba(30, 31, 34, 0.96);
|
|
248
|
-
}
|
|
249
226
|
[data-theme="dark"] .lang-toggle-btn.active {
|
|
250
227
|
border-color:rgba(255, 255, 255, 0.2);
|
|
251
228
|
}
|
|
@@ -1279,9 +1256,6 @@
|
|
|
1279
1256
|
[data-theme="dark"] .webhook-readonly-value {
|
|
1280
1257
|
background-color:rgba(30, 31, 34, 0.55);
|
|
1281
1258
|
}
|
|
1282
|
-
[data-theme="dark"] .prompts-split-collapse-btn {
|
|
1283
|
-
background-color:rgba(30, 31, 34, 0.95);
|
|
1284
|
-
}
|
|
1285
1259
|
[data-theme="dark"] .prompts-preview-pane {
|
|
1286
1260
|
background-color:rgba(30, 31, 34, 0.55);
|
|
1287
1261
|
}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
* node scripts/generate-ocean-theme-css.mjs
|
|
12
12
|
*/
|
|
13
13
|
:root[data-theme="ocean"] {
|
|
14
|
+
--side-rail-surface: #F3F9FE;
|
|
15
|
+
--side-toolbar-border: var(--color-border-soft);
|
|
16
|
+
--side-section-title-color: var(--color-text-muted);
|
|
14
17
|
color-scheme: light;
|
|
15
18
|
|
|
16
19
|
/* 品牌色:海洋蓝(源自 dafy-whale-theme 的 --dsw-alias-brand-primary) */
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
* node scripts/generate-ocean-theme-css.mjs
|
|
21
21
|
*/
|
|
22
22
|
:root[data-theme="ocean"] {
|
|
23
|
+
--side-rail-surface: #F3F9FE;
|
|
24
|
+
--side-toolbar-border: var(--color-border-soft);
|
|
25
|
+
--side-section-title-color: var(--color-text-muted);
|
|
23
26
|
color-scheme: light;
|
|
24
27
|
|
|
25
28
|
/* 品牌色:海洋蓝(源自 dafy-whale-theme 的 --dsw-alias-brand-primary) */
|
|
@@ -113,9 +116,6 @@
|
|
|
113
116
|
[data-theme="ocean"] .side-rail-collapse-toggle:hover {
|
|
114
117
|
border-color:rgba(59, 98, 246, 0.35);
|
|
115
118
|
}
|
|
116
|
-
[data-theme="ocean"] .side-section + .side-section {
|
|
117
|
-
border-top:1px solid rgba(159, 195, 232, 0.08);
|
|
118
|
-
}
|
|
119
119
|
[data-theme="ocean"] .lang-choice {
|
|
120
120
|
border:1px solid rgba(198, 220, 242, 0.32);
|
|
121
121
|
background-color:rgba(243, 249, 254, 0.92);
|
|
@@ -139,13 +139,6 @@
|
|
|
139
139
|
[data-theme="ocean"] .lang-fab .lang-switch:hover .lang-switch-track {
|
|
140
140
|
border-color:rgba(59, 98, 246, 0.7);
|
|
141
141
|
}
|
|
142
|
-
[data-theme="ocean"] .side-rail-lang {
|
|
143
|
-
background-image:linear-gradient(180deg, rgba(233, 243, 252, 0), rgba(233, 243, 252, 0.94) 28%);
|
|
144
|
-
border-top:1px solid rgba(159, 195, 232, 0.08);
|
|
145
|
-
}
|
|
146
|
-
[data-theme="ocean"] .side-rail-lang .lang-choice {
|
|
147
|
-
background-color:rgba(243, 249, 254, 0.9);
|
|
148
|
-
}
|
|
149
142
|
[data-theme="ocean"] .lang-switch-track {
|
|
150
143
|
border:1px solid rgba(198, 220, 242, 0.38);
|
|
151
144
|
background-color:rgba(243, 249, 254, 0.78);
|
|
@@ -158,15 +151,6 @@
|
|
|
158
151
|
[data-theme="ocean"] .lang-switch-track::after {
|
|
159
152
|
background-image:radial-gradient(circle at 30% 20%, rgba(59, 98, 246, 0.18), rgba(59, 98, 246, 0) 55%);
|
|
160
153
|
}
|
|
161
|
-
[data-theme="ocean"] .side-item.active,
|
|
162
|
-
[data-theme="ocean"] .side-item.nav-intent-active {
|
|
163
|
-
border-color:rgba(59, 98, 246, 0.22);
|
|
164
|
-
background-image:linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(59, 98, 246, 0.1));
|
|
165
|
-
box-shadow:0 8px 20px rgba(16, 48, 92, 0.06);
|
|
166
|
-
}
|
|
167
|
-
[data-theme="ocean"] .sidebar-collapsed .side-section + .side-section {
|
|
168
|
-
border-top-color:rgba(159, 195, 232, 0.06);
|
|
169
|
-
}
|
|
170
154
|
[data-theme="ocean"] .brand-kicker {
|
|
171
155
|
color:rgb(14, 42, 92);
|
|
172
156
|
}
|
|
@@ -218,13 +202,6 @@
|
|
|
218
202
|
[data-theme="ocean"] .language-settings-link:hover {
|
|
219
203
|
border-color:rgba(59, 98, 246, 0.58);
|
|
220
204
|
}
|
|
221
|
-
[data-theme="ocean"] .side-announcement-button {
|
|
222
|
-
border:1px solid rgba(198, 220, 242, 0.28);
|
|
223
|
-
background-color:rgba(243, 249, 254, 0.92);
|
|
224
|
-
}
|
|
225
|
-
[data-theme="ocean"] .side-announcement-button:hover {
|
|
226
|
-
border-color:rgba(59, 98, 246, 0.58);
|
|
227
|
-
}
|
|
228
205
|
[data-theme="ocean"] .lang-toggle-btn.active {
|
|
229
206
|
border-color:rgba(59, 98, 246, 0.28);
|
|
230
207
|
}
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
* Regenerate: node scripts/generate-ocean-theme-css.mjs violet
|
|
8
8
|
*/
|
|
9
9
|
:root[data-theme="violet"] {
|
|
10
|
+
--side-rail-surface: var(--color-surface);
|
|
11
|
+
--side-toolbar-border: var(--color-border-soft);
|
|
12
|
+
--side-section-title-color: var(--color-text-muted);
|
|
10
13
|
color-scheme: light;
|
|
11
14
|
--color-brand: oklch(54.5% 0.250346 297.016);
|
|
12
15
|
--color-brand-dark: oklch(49% 0.225 297.016);
|