mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-05-21 23:26:50 +02:00
Add files via upload
This commit is contained in:
@@ -236,6 +236,25 @@ header {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.conversation-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.conversation-group:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.conversation-group-title {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
padding: 8px 8px 0;
|
||||
}
|
||||
|
||||
.conversation-item {
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
@@ -697,6 +716,16 @@ header {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.chat-input-field {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.chat-input-field textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.chat-input-container textarea {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
@@ -774,6 +803,174 @@ header {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.mention-suggestions {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 8px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(15, 23, 42, 0.08);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
z-index: 15;
|
||||
backdrop-filter: blur(6px);
|
||||
animation: mentionFadeIn 0.15s ease-out;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mention-suggestions-list {
|
||||
max-height: 320px;
|
||||
overflow-y: auto;
|
||||
padding: 12px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@keyframes mentionFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.mention-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 12px 18px;
|
||||
width: 100%;
|
||||
border: 1px solid rgba(15, 23, 42, 0.05);
|
||||
background: #f7f8fa !important;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
font-size: 0.875rem;
|
||||
color: rgba(15, 23, 42, 0.9) !important;
|
||||
transition: background 0.18s ease, border-left-color 0.18s ease, color 0.15s ease, transform 0.18s ease;
|
||||
border-left: 3px solid transparent;
|
||||
outline: none;
|
||||
border-radius: 12px;
|
||||
margin: 0 0 8px 0;
|
||||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.mention-item:focus,
|
||||
.mention-item:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.mention-item:hover {
|
||||
background: #ffffff !important;
|
||||
border-left-color: rgba(0, 0, 0, 0.18);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
|
||||
.mention-item.active,
|
||||
.mention-item:focus,
|
||||
.mention-item:focus-visible {
|
||||
background: linear-gradient(105deg, rgba(0, 102, 255, 0.08), rgba(0, 102, 255, 0.02)) !important;
|
||||
border-left-color: rgba(0, 102, 255, 0.6);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 26px rgba(0, 102, 255, 0.22);
|
||||
color: rgba(15, 23, 42, 0.95);
|
||||
}
|
||||
|
||||
.mention-item.active .mention-item-name,
|
||||
.mention-item.active .mention-item-desc,
|
||||
.mention-item.active .mention-item-meta,
|
||||
.mention-item.active .mention-status {
|
||||
color: rgba(15, 23, 42, 0.95);
|
||||
}
|
||||
|
||||
.mention-item.active .mention-status {
|
||||
background: rgba(0, 102, 255, 0.12);
|
||||
color: #0052cc;
|
||||
}
|
||||
|
||||
.mention-item.disabled {
|
||||
opacity: 0.65;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.mention-item-name {
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: rgba(15, 23, 42, 0.95);
|
||||
}
|
||||
|
||||
.mention-item-icon {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.mention-item-text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mention-item-desc {
|
||||
font-size: 0.78rem;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.4;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.mention-item-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.mention-status {
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mention-status.enabled {
|
||||
background: rgba(46, 204, 113, 0.18);
|
||||
color: #1e8a4d;
|
||||
}
|
||||
|
||||
.mention-status.disabled {
|
||||
background: rgba(231, 76, 60, 0.18);
|
||||
color: #b23d2f;
|
||||
}
|
||||
|
||||
.mention-origin {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.mention-item-badge {
|
||||
font-size: 0.68rem;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
color: var(--text-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mention-item-badge.internal {
|
||||
background: rgba(108, 117, 125, 0.18);
|
||||
color: rgba(33, 37, 41, 0.9);
|
||||
}
|
||||
|
||||
.mention-empty {
|
||||
padding: 10px 18px;
|
||||
font-size: 0.78rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* MCP调用详情按钮 */
|
||||
.mcp-detail-btn {
|
||||
display: inline-flex;
|
||||
|
||||
Reference in New Issue
Block a user