248 lines
4.4 KiB
CSS
248 lines
4.4 KiB
CSS
.agent-editor-identity-card {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.agent-editor-identity-layout {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.875rem;
|
|
}
|
|
|
|
.agent-editor-identity-avatar {
|
|
position: relative;
|
|
display: flex;
|
|
width: 5.5rem;
|
|
height: 5.5rem;
|
|
flex: 0 0 5.5rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border: 3px solid rgba(255, 255, 255, 0.92);
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, #0046c8, #12b7ff);
|
|
box-shadow: 0 18px 32px rgba(0, 97, 255, 0.2);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
font-size: 1.875rem;
|
|
font-weight: 800;
|
|
outline: 4px solid #fff;
|
|
}
|
|
|
|
.agent-editor-identity-meta {
|
|
min-width: 0;
|
|
}
|
|
|
|
.agent-editor-identity-name {
|
|
margin-bottom: 0.25rem;
|
|
color: var(--color-text);
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.agent-editor-identity-description {
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.78125rem;
|
|
}
|
|
|
|
.agent-editor-small-action,
|
|
.agent-editor-danger-action {
|
|
border-radius: 0.625rem;
|
|
}
|
|
|
|
.agent-editor-collapse-label,
|
|
.agent-editor-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--color-text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.agent-editor-disabled-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: #99a6ba;
|
|
cursor: not-allowed;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.agent-editor-label-icon {
|
|
color: var(--color-brand);
|
|
}
|
|
|
|
.agent-editor-skill-actions,
|
|
.agent-editor-tool-list-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.875rem;
|
|
}
|
|
|
|
.agent-editor-skill-item {
|
|
margin-bottom: 0.5rem;
|
|
padding: 0.625rem 0.75rem !important;
|
|
border: 1px solid #edf1f7;
|
|
border-radius: 0.75rem;
|
|
background: #fff;
|
|
}
|
|
|
|
.agent-editor-skill-name {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.agent-editor-tool-section + .agent-editor-tool-section {
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
.agent-editor-tool-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
margin-bottom: 0.625rem;
|
|
color: var(--color-text);
|
|
font-size: 0.8125rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.agent-editor-tool-empty {
|
|
padding: 1.25rem;
|
|
border: 1px dashed #d9e1ec;
|
|
border-radius: 0.75rem;
|
|
color: var(--color-text-secondary);
|
|
text-align: center;
|
|
}
|
|
|
|
.agent-editor-plugin-card {
|
|
border-color: #e7edf6;
|
|
border-radius: 0.875rem;
|
|
}
|
|
|
|
.agent-editor-plugin-description {
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.agent-editor-plugin-meta {
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.agent-editor-plugin-apis {
|
|
margin-top: 0.625rem;
|
|
border-top: 1px solid #edf1f7;
|
|
}
|
|
|
|
.agent-editor-api-detail {
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.78125rem;
|
|
}
|
|
|
|
.agent-editor-api-config-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 0.75rem;
|
|
margin-top: 0.625rem;
|
|
}
|
|
|
|
.agent-editor-api-config-grid pre {
|
|
max-height: 12rem;
|
|
margin: 0.25rem 0 0;
|
|
padding: 0.625rem;
|
|
overflow: auto;
|
|
border-radius: 0.5rem;
|
|
background: #f6f8fb;
|
|
color: #334155;
|
|
font-size: 0.6875rem;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.agent-editor-tool-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 0.875rem;
|
|
}
|
|
|
|
.agent-editor-tool-list {
|
|
width: 100%;
|
|
}
|
|
|
|
.agent-editor-tool-list-header {
|
|
margin: 0;
|
|
}
|
|
|
|
.agent-editor-tool-help {
|
|
margin-top: 0.125rem;
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.agent-editor-tool-card {
|
|
border-radius: 0.875rem;
|
|
}
|
|
|
|
.agent-editor-code-input {
|
|
font-family: Consolas, Menlo, Monaco, monospace;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.agent-editor-tool-grid,
|
|
.agent-editor-api-config-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 0;
|
|
}
|
|
|
|
.agent-editor-skill-actions,
|
|
.agent-editor-tool-list-header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.agent-editor-field-input,
|
|
.agent-editor-number-input {
|
|
height: 2.625rem;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
.agent-editor-field-textarea {
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
.agent-editor-field-select {
|
|
min-height: 2.625rem;
|
|
}
|
|
|
|
.agent-editor-section-card {
|
|
margin-bottom: 1rem;
|
|
border-radius: 1.125rem;
|
|
}
|
|
|
|
.agent-editor-number-input {
|
|
width: 5rem;
|
|
}
|
|
|
|
.agent-editor-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.agent-editor-indexing-label {
|
|
display: inline-block;
|
|
animation: agent-editor-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
}
|
|
|
|
.agent-editor-web-search-card {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
@keyframes agent-editor-pulse {
|
|
50% {
|
|
opacity: 0.45;
|
|
}
|
|
}
|