@vibe-forge/client 0.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/cli.cjs +6 -0
- package/index.html +27 -0
- package/package.json +42 -0
- package/src/App.tsx +174 -0
- package/src/api.ts +241 -0
- package/src/components/ArchiveView.scss +168 -0
- package/src/components/ArchiveView.tsx +299 -0
- package/src/components/AutomationView/AutomationView.scss +26 -0
- package/src/components/AutomationView/RuleFormPanel.scss +129 -0
- package/src/components/AutomationView/RuleFormPanel.tsx +257 -0
- package/src/components/AutomationView/RuleSidebar.scss +219 -0
- package/src/components/AutomationView/RuleSidebar.tsx +258 -0
- package/src/components/AutomationView/RunHistoryPanel.scss +286 -0
- package/src/components/AutomationView/RunHistoryPanel.tsx +320 -0
- package/src/components/AutomationView/TaskList.scss +128 -0
- package/src/components/AutomationView/TaskList.tsx +79 -0
- package/src/components/AutomationView/TriggerList.scss +153 -0
- package/src/components/AutomationView/TriggerList.tsx +217 -0
- package/src/components/AutomationView/index.tsx +228 -0
- package/src/components/AutomationView/types.ts +21 -0
- package/src/components/Chat.scss +89 -0
- package/src/components/Chat.tsx +92 -0
- package/src/components/ConfigView.scss +185 -0
- package/src/components/ConfigView.tsx +258 -0
- package/src/components/NavRail.scss +71 -0
- package/src/components/NavRail.tsx +188 -0
- package/src/components/Sidebar.scss +112 -0
- package/src/components/Sidebar.tsx +291 -0
- package/src/components/chat/ChatHeader.scss +401 -0
- package/src/components/chat/ChatHeader.tsx +342 -0
- package/src/components/chat/ChatHistoryView.tsx +122 -0
- package/src/components/chat/ChatSettingsView.tsx +22 -0
- package/src/components/chat/ChatTimelineView.scss +53 -0
- package/src/components/chat/ChatTimelineView.tsx +158 -0
- package/src/components/chat/CodeBlock.scss +87 -0
- package/src/components/chat/CodeBlock.tsx +179 -0
- package/src/components/chat/CompletionMenu.scss +70 -0
- package/src/components/chat/CompletionMenu.tsx +58 -0
- package/src/components/chat/CurrentTodoList.scss +217 -0
- package/src/components/chat/CurrentTodoList.tsx +103 -0
- package/src/components/chat/MarkdownContent.tsx +43 -0
- package/src/components/chat/MessageFooter.tsx +48 -0
- package/src/components/chat/MessageItem.scss +251 -0
- package/src/components/chat/MessageItem.tsx +78 -0
- package/src/components/chat/NewSessionGuide.scss +186 -0
- package/src/components/chat/NewSessionGuide.tsx +167 -0
- package/src/components/chat/Sender.scss +367 -0
- package/src/components/chat/Sender.tsx +541 -0
- package/src/components/chat/SessionTimelinePanel/EventList.scss +58 -0
- package/src/components/chat/SessionTimelinePanel/EventList.tsx +212 -0
- package/src/components/chat/SessionTimelinePanel/gantt.ts +177 -0
- package/src/components/chat/SessionTimelinePanel/git-graph.ts +518 -0
- package/src/components/chat/SessionTimelinePanel/index.scss +28 -0
- package/src/components/chat/SessionTimelinePanel/index.tsx +121 -0
- package/src/components/chat/SessionTimelinePanel/mermaid.ts +4 -0
- package/src/components/chat/SessionTimelinePanel/types.ts +64 -0
- package/src/components/chat/SessionTimelinePanel/utils.ts +20 -0
- package/src/components/chat/ThinkingStatus.scss +70 -0
- package/src/components/chat/ThinkingStatus.tsx +13 -0
- package/src/components/chat/ToolCallBox.scss +137 -0
- package/src/components/chat/ToolCallBox.tsx +55 -0
- package/src/components/chat/ToolGroup.scss +154 -0
- package/src/components/chat/ToolGroup.tsx +102 -0
- package/src/components/chat/ToolRenderer.tsx +45 -0
- package/src/components/chat/messageUtils.ts +171 -0
- package/src/components/chat/safeSerialize.ts +84 -0
- package/src/components/chat/tools/DefaultTool.tsx +63 -0
- package/src/components/chat/tools/adapter-claude/BashTool.scss +71 -0
- package/src/components/chat/tools/adapter-claude/BashTool.tsx +82 -0
- package/src/components/chat/tools/adapter-claude/GlobTool.scss +88 -0
- package/src/components/chat/tools/adapter-claude/GlobTool.tsx +85 -0
- package/src/components/chat/tools/adapter-claude/GrepTool.scss +96 -0
- package/src/components/chat/tools/adapter-claude/GrepTool.tsx +114 -0
- package/src/components/chat/tools/adapter-claude/LSTool.scss +85 -0
- package/src/components/chat/tools/adapter-claude/LSTool.tsx +94 -0
- package/src/components/chat/tools/adapter-claude/ReadTool.scss +57 -0
- package/src/components/chat/tools/adapter-claude/ReadTool.tsx +87 -0
- package/src/components/chat/tools/adapter-claude/TodoTool.scss +78 -0
- package/src/components/chat/tools/adapter-claude/TodoTool.tsx +60 -0
- package/src/components/chat/tools/adapter-claude/WriteTool.scss +92 -0
- package/src/components/chat/tools/adapter-claude/WriteTool.tsx +86 -0
- package/src/components/chat/tools/adapter-claude/components/FileList.scss +65 -0
- package/src/components/chat/tools/adapter-claude/components/FileList.tsx +185 -0
- package/src/components/chat/tools/adapter-claude/index.ts +28 -0
- package/src/components/chat/tools/defineToolRender.ts +28 -0
- package/src/components/chat/tools/task/GetTaskInfoTool.scss +50 -0
- package/src/components/chat/tools/task/GetTaskInfoTool.tsx +88 -0
- package/src/components/chat/tools/task/ListTasksTool.scss +56 -0
- package/src/components/chat/tools/task/ListTasksTool.tsx +83 -0
- package/src/components/chat/tools/task/StartTasksTool.scss +56 -0
- package/src/components/chat/tools/task/StartTasksTool.tsx +96 -0
- package/src/components/chat/tools/task/components/TaskToolCard.scss +127 -0
- package/src/components/chat/tools/task/components/TaskToolCard.tsx +177 -0
- package/src/components/chat/tools/task/index.ts +15 -0
- package/src/components/chat/useChatModels.tsx +206 -0
- package/src/components/chat/useChatSession.ts +370 -0
- package/src/components/config/ConfigAboutSection.scss +111 -0
- package/src/components/config/ConfigAboutSection.tsx +86 -0
- package/src/components/config/ConfigDisplayValue.scss +22 -0
- package/src/components/config/ConfigDisplayValue.tsx +62 -0
- package/src/components/config/ConfigEditors.scss +65 -0
- package/src/components/config/ConfigEditors.tsx +98 -0
- package/src/components/config/ConfigFieldRow.scss +97 -0
- package/src/components/config/ConfigFieldRow.tsx +36 -0
- package/src/components/config/ConfigSectionForm.scss +94 -0
- package/src/components/config/ConfigSectionForm.tsx +436 -0
- package/src/components/config/ConfigSectionPanel.tsx +67 -0
- package/src/components/config/ConfigShortcutInput.scss +11 -0
- package/src/components/config/ConfigShortcutInput.tsx +52 -0
- package/src/components/config/ConfigSourceSwitch.tsx +57 -0
- package/src/components/config/configSchema.ts +319 -0
- package/src/components/config/configUtils.ts +83 -0
- package/src/components/config/index.tsx +5 -0
- package/src/components/config/recordEditors/BooleanRecordEditor.scss +1 -0
- package/src/components/config/recordEditors/BooleanRecordEditor.tsx +75 -0
- package/src/components/config/recordEditors/KeyValueEditor.scss +1 -0
- package/src/components/config/recordEditors/KeyValueEditor.tsx +97 -0
- package/src/components/config/recordEditors/McpServersRecordEditor.scss +1 -0
- package/src/components/config/recordEditors/McpServersRecordEditor.tsx +258 -0
- package/src/components/config/recordEditors/ModelServicesRecordEditor.scss +1 -0
- package/src/components/config/recordEditors/ModelServicesRecordEditor.tsx +233 -0
- package/src/components/config/recordEditors/RecordEditors.scss +117 -0
- package/src/components/config/recordEditors/RecordJsonEditor.scss +1 -0
- package/src/components/config/recordEditors/RecordJsonEditor.tsx +113 -0
- package/src/components/config/recordEditors/index.tsx +5 -0
- package/src/components/knowledge-base/KnowledgeBaseView.scss +19 -0
- package/src/components/knowledge-base/KnowledgeBaseView.tsx +186 -0
- package/src/components/knowledge-base/components/ActionButton.scss +5 -0
- package/src/components/knowledge-base/components/ActionButton.tsx +9 -0
- package/src/components/knowledge-base/components/EmptyState.scss +19 -0
- package/src/components/knowledge-base/components/EmptyState.tsx +42 -0
- package/src/components/knowledge-base/components/EntitiesTab.scss +5 -0
- package/src/components/knowledge-base/components/EntitiesTab.tsx +80 -0
- package/src/components/knowledge-base/components/EntityItem.scss +82 -0
- package/src/components/knowledge-base/components/EntityItem.tsx +79 -0
- package/src/components/knowledge-base/components/EntityList.scss +5 -0
- package/src/components/knowledge-base/components/EntityList.tsx +70 -0
- package/src/components/knowledge-base/components/FilterBar.scss +21 -0
- package/src/components/knowledge-base/components/FilterBar.tsx +51 -0
- package/src/components/knowledge-base/components/FlowsTab.scss +5 -0
- package/src/components/knowledge-base/components/FlowsTab.tsx +80 -0
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.scss +27 -0
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.tsx +29 -0
- package/src/components/knowledge-base/components/KnowledgeList.scss +19 -0
- package/src/components/knowledge-base/components/KnowledgeList.tsx +19 -0
- package/src/components/knowledge-base/components/LoadingState.scss +5 -0
- package/src/components/knowledge-base/components/LoadingState.tsx +11 -0
- package/src/components/knowledge-base/components/MetaList.scss +19 -0
- package/src/components/knowledge-base/components/MetaList.tsx +18 -0
- package/src/components/knowledge-base/components/RulesTab.scss +5 -0
- package/src/components/knowledge-base/components/RulesTab.tsx +49 -0
- package/src/components/knowledge-base/components/SectionHeader.scss +22 -0
- package/src/components/knowledge-base/components/SectionHeader.tsx +21 -0
- package/src/components/knowledge-base/components/SkillsTab.scss +5 -0
- package/src/components/knowledge-base/components/SkillsTab.tsx +49 -0
- package/src/components/knowledge-base/components/SpecItem.scss +138 -0
- package/src/components/knowledge-base/components/SpecItem.tsx +131 -0
- package/src/components/knowledge-base/components/SpecList.scss +5 -0
- package/src/components/knowledge-base/components/SpecList.tsx +70 -0
- package/src/components/knowledge-base/components/TabContent.scss +8 -0
- package/src/components/knowledge-base/components/TabContent.tsx +17 -0
- package/src/components/knowledge-base/components/TabLabel.scss +10 -0
- package/src/components/knowledge-base/components/TabLabel.tsx +15 -0
- package/src/components/knowledge-base/index.tsx +1 -0
- package/src/components/sidebar/SessionItem.scss +256 -0
- package/src/components/sidebar/SessionItem.tsx +265 -0
- package/src/components/sidebar/SessionList.scss +92 -0
- package/src/components/sidebar/SessionList.tsx +166 -0
- package/src/components/sidebar/SidebarHeader.scss +79 -0
- package/src/components/sidebar/SidebarHeader.tsx +128 -0
- package/src/connectionManager.ts +172 -0
- package/src/hooks/useGlobalShortcut.ts +26 -0
- package/src/hooks/useQueryParams.ts +54 -0
- package/src/i18n.ts +22 -0
- package/src/main.tsx +41 -0
- package/src/resources/locales/en.json +765 -0
- package/src/resources/locales/zh.json +766 -0
- package/src/store/index.ts +23 -0
- package/src/styles/global.scss +100 -0
- package/src/utils/shortcutUtils.ts +88 -0
- package/src/vite-env.d.ts +12 -0
- package/src/ws.ts +33 -0
- package/vite.config.ts +26 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
.chat-header {
|
|
2
|
+
padding: 8px 24px;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
align-items: center;
|
|
6
|
+
background-color: var(--sub-bg-color);
|
|
7
|
+
border-bottom: 1px solid var(--sub-border-color);
|
|
8
|
+
transition: padding-left .3s cubic-bezier(.4, 0, .2, 1);
|
|
9
|
+
|
|
10
|
+
&.is-resizing {
|
|
11
|
+
transition: none !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.is-collapsed {
|
|
15
|
+
padding-left: 110px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-info {
|
|
19
|
+
width: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-title {
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
color: var(--text-color);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-subtitle {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: 4px;
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
color: var(--sub-text-color, #6b7280);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-session-id {
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
color: var(--sub-text-color, #9ca3af);
|
|
41
|
+
background-color: var(--tag-bg, #f9fafb);
|
|
42
|
+
padding: 2px 10px;
|
|
43
|
+
border-radius: 12px;
|
|
44
|
+
border: 1px solid var(--border-color);
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
user-select: none;
|
|
47
|
+
transition: all .2s;
|
|
48
|
+
font-family:
|
|
49
|
+
'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: var(--tag-hover-bg, #f3f4f6);
|
|
54
|
+
color: var(--sub-text-color, #6b7280);
|
|
55
|
+
border-color: var(--border-color-hover, #e5e7eb);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.chat-header-actions {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: 8px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.chat-header-view-group {
|
|
67
|
+
.ant-radio-button-wrapper {
|
|
68
|
+
height: 30px;
|
|
69
|
+
line-height: 28px;
|
|
70
|
+
padding: 0 12px;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.chat-header-view-option {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 6px;
|
|
79
|
+
|
|
80
|
+
.material-symbols-rounded {
|
|
81
|
+
font-size: 16px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.material-symbols-rounded.is-filled {
|
|
86
|
+
font-variation-settings: 'FILL' 1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.chat-header-divider {
|
|
90
|
+
width: 1px;
|
|
91
|
+
height: 18px;
|
|
92
|
+
background-color: var(--sub-border-color);
|
|
93
|
+
opacity: .8;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.session-settings-drawer {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
gap: 32px;
|
|
100
|
+
height: 100%;
|
|
101
|
+
|
|
102
|
+
&__form {
|
|
103
|
+
.config-view__card {
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0;
|
|
106
|
+
overflow: visible;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.settings-section {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
gap: 12px;
|
|
114
|
+
|
|
115
|
+
.section-header {
|
|
116
|
+
font-size: 12px;
|
|
117
|
+
font-weight: 700;
|
|
118
|
+
color: var(--sub-text-color);
|
|
119
|
+
text-transform: uppercase;
|
|
120
|
+
letter-spacing: .1em;
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
gap: 6px;
|
|
124
|
+
|
|
125
|
+
.material-symbols-rounded {
|
|
126
|
+
font-size: 16px;
|
|
127
|
+
color: var(--primary-color, #2563eb);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.settings-input {
|
|
132
|
+
background-color: var(--input-bg, #f8fafc);
|
|
133
|
+
border: 1px solid var(--border-color);
|
|
134
|
+
border-radius: 10px;
|
|
135
|
+
transition: all .2s;
|
|
136
|
+
|
|
137
|
+
&:hover, &:focus {
|
|
138
|
+
background-color: var(--bg-color);
|
|
139
|
+
border-color: var(--primary-color, #2563eb);
|
|
140
|
+
box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.tag-input-container {
|
|
145
|
+
display: flex;
|
|
146
|
+
gap: 8px;
|
|
147
|
+
|
|
148
|
+
.add-tag-btn {
|
|
149
|
+
width: 40px;
|
|
150
|
+
height: 40px;
|
|
151
|
+
padding: 0;
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
border-radius: 10px;
|
|
156
|
+
|
|
157
|
+
.material-symbols-rounded {
|
|
158
|
+
font-size: 20px;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tags-list {
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-wrap: wrap;
|
|
166
|
+
gap: 6px;
|
|
167
|
+
padding: 12px;
|
|
168
|
+
background-color: var(--tag-list-bg, #f8fafc);
|
|
169
|
+
border-radius: 12px;
|
|
170
|
+
border: 1px solid var(--border-color);
|
|
171
|
+
min-height: 48px;
|
|
172
|
+
|
|
173
|
+
&.empty {
|
|
174
|
+
justify-content: center;
|
|
175
|
+
align-items: center;
|
|
176
|
+
border-style: dashed;
|
|
177
|
+
color: var(--sub-text-color);
|
|
178
|
+
font-style: italic;
|
|
179
|
+
font-size: 12px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.settings-tag {
|
|
183
|
+
margin: 0;
|
|
184
|
+
padding: 4px 10px;
|
|
185
|
+
border-radius: 6px;
|
|
186
|
+
background-color: var(--tag-item-bg, #eff6ff);
|
|
187
|
+
color: var(--tag-item-text, #2563eb);
|
|
188
|
+
border: 1px solid transparent;
|
|
189
|
+
font-size: 12px;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
gap: 4px;
|
|
193
|
+
transition: all .2s;
|
|
194
|
+
|
|
195
|
+
&:hover {
|
|
196
|
+
background-color: var(--tag-item-hover-bg, #dbeafe);
|
|
197
|
+
border-color: var(--tag-item-text, #2563eb);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.ant-tag-close-icon {
|
|
201
|
+
font-size: 10px;
|
|
202
|
+
margin-left: 4px;
|
|
203
|
+
color: inherit;
|
|
204
|
+
&:hover {
|
|
205
|
+
color: #ef4444;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.settings-footer {
|
|
213
|
+
margin-top: auto;
|
|
214
|
+
padding-top: 24px;
|
|
215
|
+
border-top: 1px solid var(--border-color);
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
gap: 24px;
|
|
219
|
+
|
|
220
|
+
.actions-section {
|
|
221
|
+
gap: 12px;
|
|
222
|
+
|
|
223
|
+
.actions-grid {
|
|
224
|
+
display: grid;
|
|
225
|
+
grid-template-columns: 1fr 1fr;
|
|
226
|
+
gap: 12px;
|
|
227
|
+
|
|
228
|
+
.action-card {
|
|
229
|
+
height: 44px;
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-direction: row;
|
|
232
|
+
align-items: center;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
gap: 8px;
|
|
235
|
+
border-radius: 10px;
|
|
236
|
+
background-color: var(--bg-color);
|
|
237
|
+
border: 1px solid var(--border-color);
|
|
238
|
+
transition: all .2s;
|
|
239
|
+
padding: 0 12px;
|
|
240
|
+
|
|
241
|
+
.material-symbols-rounded {
|
|
242
|
+
font-size: 20px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
span:not(.material-symbols-rounded) {
|
|
246
|
+
font-size: 13px;
|
|
247
|
+
font-weight: 500;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&:hover {
|
|
251
|
+
transform: translateY(-1px);
|
|
252
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.star-action {
|
|
256
|
+
&:hover {
|
|
257
|
+
border-color: #f59e0b;
|
|
258
|
+
background-color: #fffbeb;
|
|
259
|
+
color: #b45309;
|
|
260
|
+
}
|
|
261
|
+
&.active {
|
|
262
|
+
background-color: #fef3c7;
|
|
263
|
+
border-color: #f59e0b;
|
|
264
|
+
color: #b45309;
|
|
265
|
+
&:hover {
|
|
266
|
+
background-color: #fde68a;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&.archive-action {
|
|
272
|
+
&:hover {
|
|
273
|
+
border-color: var(--danger-color);
|
|
274
|
+
background-color: color-mix(in srgb, var(--danger-color) 12%, transparent);
|
|
275
|
+
color: var(--danger-color);
|
|
276
|
+
}
|
|
277
|
+
&.active {
|
|
278
|
+
background-color: color-mix(in srgb, var(--danger-color) 18%, transparent);
|
|
279
|
+
border-color: var(--danger-color);
|
|
280
|
+
color: var(--danger-color);
|
|
281
|
+
&:hover {
|
|
282
|
+
background-color: color-mix(in srgb, var(--danger-color) 24%, transparent);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.danger-zone {
|
|
291
|
+
.delete-session-row {
|
|
292
|
+
display: flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
justify-content: space-between;
|
|
295
|
+
gap: 16px;
|
|
296
|
+
padding: 16px;
|
|
297
|
+
border-radius: 12px;
|
|
298
|
+
border: 1px solid var(--border-color);
|
|
299
|
+
background-color: var(--sub-bg-color);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.delete-session-meta {
|
|
303
|
+
display: flex;
|
|
304
|
+
flex-direction: column;
|
|
305
|
+
gap: 6px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.delete-session-title {
|
|
309
|
+
font-size: 14px;
|
|
310
|
+
font-weight: 600;
|
|
311
|
+
color: var(--text-color);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.delete-session-desc {
|
|
315
|
+
font-size: 12px;
|
|
316
|
+
color: var(--sub-text-color);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.delete-session-btn {
|
|
320
|
+
display: inline-flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
gap: 6px;
|
|
323
|
+
border-radius: 10px;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
html.dark {
|
|
330
|
+
.session-settings-drawer {
|
|
331
|
+
.settings-footer {
|
|
332
|
+
.actions-section {
|
|
333
|
+
.actions-grid {
|
|
334
|
+
.action-card {
|
|
335
|
+
&.star-action {
|
|
336
|
+
&:hover {
|
|
337
|
+
background-color: #2d2516;
|
|
338
|
+
color: #fbbf24;
|
|
339
|
+
}
|
|
340
|
+
&.active {
|
|
341
|
+
background-color: #2d2516;
|
|
342
|
+
border-color: #fbbf24;
|
|
343
|
+
color: #fbbf24;
|
|
344
|
+
&:hover {
|
|
345
|
+
background-color: #3d321d;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
&.archive-action {
|
|
351
|
+
&:hover {
|
|
352
|
+
background-color: color-mix(in srgb, var(--danger-color) 22%, transparent);
|
|
353
|
+
color: var(--danger-color);
|
|
354
|
+
}
|
|
355
|
+
&.active {
|
|
356
|
+
background-color: color-mix(in srgb, var(--danger-color) 26%, transparent);
|
|
357
|
+
border-color: var(--danger-color);
|
|
358
|
+
color: var(--danger-color);
|
|
359
|
+
&:hover {
|
|
360
|
+
background-color: color-mix(in srgb, var(--danger-color) 32%, transparent);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
--sub-text-color: #8c8c8c;
|
|
370
|
+
--tag-bg: #1f1f1f;
|
|
371
|
+
--tag-hover-bg: #262626;
|
|
372
|
+
--border-color-hover: #434343;
|
|
373
|
+
--input-bg: #1f1f1f;
|
|
374
|
+
--input-focus-bg: #141414;
|
|
375
|
+
--tag-list-bg: #1f1f1f;
|
|
376
|
+
--tag-item-bg: #111b26;
|
|
377
|
+
--tag-item-text: #3b82f6;
|
|
378
|
+
--tag-item-hover-bg: #152535;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.session-info-badge {
|
|
382
|
+
display: flex;
|
|
383
|
+
gap: 8px;
|
|
384
|
+
align-items: center;
|
|
385
|
+
|
|
386
|
+
.info-item {
|
|
387
|
+
display: flex;
|
|
388
|
+
align-items: center;
|
|
389
|
+
gap: 4px;
|
|
390
|
+
font-size: 11px;
|
|
391
|
+
color: #6b7280;
|
|
392
|
+
background-color: #f3f4f6;
|
|
393
|
+
padding: 2px 8px;
|
|
394
|
+
border-radius: 4px;
|
|
395
|
+
white-space: nowrap;
|
|
396
|
+
|
|
397
|
+
.material-symbols-rounded {
|
|
398
|
+
font-size: 14px;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|