mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-10 14:28:43 +02:00
Add files via upload
This commit is contained in:
+237
-15
@@ -15842,17 +15842,17 @@ tr.mcp-stats-tool-row[data-tool-name]:focus-visible {
|
||||
|
||||
.batch-queue-detail-kv {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||
gap: 10px 20px;
|
||||
margin-bottom: 14px;
|
||||
grid-template-columns: repeat(2, minmax(280px, 1fr));
|
||||
gap: 12px 32px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.bq-kv {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(100px, 34%) 1fr;
|
||||
gap: 8px 12px;
|
||||
align-items: start;
|
||||
padding: 8px 0;
|
||||
grid-template-columns: minmax(88px, 112px) 1fr;
|
||||
gap: 10px 16px;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
@@ -15917,22 +15917,34 @@ tr.mcp-stats-tool-row[data-tool-name]:focus-visible {
|
||||
|
||||
/* Inline edit controls (replaces value in-place) */
|
||||
.bq-inline-edit-controls {
|
||||
display: inline-flex;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.bq-inline-edit-controls input[type="text"],
|
||||
.bq-inline-edit-controls select {
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1.5px solid var(--accent-color);
|
||||
font-size: 13px;
|
||||
font-size: 0.875rem;
|
||||
outline: none;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
.bq-inline-edit-controls input[type="text"] {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.bq-inline-edit-controls .bq-edit-cron-expr {
|
||||
flex: 1 1 280px;
|
||||
min-width: 240px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.bq-inline-edit-controls input[type="text"]:focus,
|
||||
.bq-inline-edit-controls select:focus {
|
||||
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.15);
|
||||
@@ -15960,11 +15972,18 @@ tr.mcp-stats-tool-row[data-tool-name]:focus-visible {
|
||||
.batch-task-inline-edit textarea:focus {
|
||||
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.15);
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.batch-queue-detail-kv {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.bq-kv,
|
||||
.bq-kv--block {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 4px;
|
||||
gap: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29318,7 +29337,8 @@ html[data-theme="dark"] .workflow-form-select-option:hover,
|
||||
html[data-theme="dark"] .projects-filter-select-option:hover,
|
||||
html[data-theme="dark"] .chat-files-filter-select-option:hover,
|
||||
html[data-theme="dark"] #role-modal .role-form-select-option:hover,
|
||||
html[data-theme="dark"] .monitor-filter-select-option:hover {
|
||||
html[data-theme="dark"] .monitor-filter-select-option:hover,
|
||||
html[data-theme="dark"] .batch-form-select-option:hover {
|
||||
background: rgba(96, 165, 250, 0.12);
|
||||
}
|
||||
|
||||
@@ -29334,7 +29354,8 @@ html[data-theme="dark"] .workflow-form-select-option.is-selected,
|
||||
html[data-theme="dark"] .projects-filter-select-option.is-selected,
|
||||
html[data-theme="dark"] .chat-files-filter-select-option.is-selected,
|
||||
html[data-theme="dark"] #role-modal .role-form-select-option.is-selected,
|
||||
html[data-theme="dark"] .monitor-filter-select-option.is-selected {
|
||||
html[data-theme="dark"] .monitor-filter-select-option.is-selected,
|
||||
html[data-theme="dark"] .batch-form-select-option.is-selected {
|
||||
background: rgba(96, 165, 250, 0.18);
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
@@ -29355,6 +29376,7 @@ html[data-theme="dark"] .workflow-tool-select-trigger,
|
||||
html[data-theme="dark"] .projects-filter-select-trigger,
|
||||
html[data-theme="dark"] .chat-files-filter-select-trigger,
|
||||
html[data-theme="dark"] .role-form-select-trigger,
|
||||
html[data-theme="dark"] .batch-form-select-trigger,
|
||||
html[data-theme="dark"] .monitor-filter-select-trigger,
|
||||
html[data-theme="dark"] .role-selector-btn,
|
||||
html[data-theme="dark"] .conversation-project-filter-trigger {
|
||||
@@ -29383,6 +29405,7 @@ html[data-theme="dark"] .workflow-form-select-ui.open .workflow-form-select-trig
|
||||
html[data-theme="dark"] .projects-filter-select-ui.open .projects-filter-select-trigger,
|
||||
html[data-theme="dark"] .chat-files-filter-select-ui.open .chat-files-filter-select-trigger,
|
||||
html[data-theme="dark"] #role-modal .role-form-select-ui.open .role-form-select-trigger,
|
||||
html[data-theme="dark"] .batch-form-select-ui.open .batch-form-select-trigger,
|
||||
html[data-theme="dark"] .monitor-filter-select-ui.open .monitor-filter-select-trigger {
|
||||
border-color: var(--accent-color);
|
||||
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
|
||||
@@ -31119,6 +31142,205 @@ html[data-theme="dark"] #agent-md-modal .modal-footer,
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 批量任务:新建队列 / 详情内联编辑 — 自定义下拉 */
|
||||
.batch-form-native-select {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#batch-import-modal .batch-form-select-ui,
|
||||
#batch-queue-detail-modal .batch-form-select-ui {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.batch-form-select-ui--inline {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-width: 220px;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.batch-form-select-trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 40px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
.batch-form-select-ui--inline .batch-form-select-trigger {
|
||||
min-height: 36px;
|
||||
padding: 8px 12px;
|
||||
font-size: 0.875rem;
|
||||
border-radius: 8px;
|
||||
border-width: 1.5px;
|
||||
border-color: var(--accent-color);
|
||||
}
|
||||
|
||||
.batch-form-select-trigger:hover:not(:disabled) {
|
||||
border-color: rgba(59, 130, 246, 0.45);
|
||||
}
|
||||
|
||||
.batch-form-select-ui.open .batch-form-select-trigger {
|
||||
border-color: var(--accent-color);
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
|
||||
}
|
||||
|
||||
.batch-form-select-ui.open {
|
||||
z-index: 120;
|
||||
}
|
||||
|
||||
.batch-form-select-ui.is-disabled .batch-form-select-trigger {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.batch-form-select-value {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.batch-form-select-caret {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-secondary);
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
.batch-form-select-ui.open .batch-form-select-caret {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.batch-form-select-dropdown {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
right: auto;
|
||||
min-width: 100%;
|
||||
width: max-content;
|
||||
max-width: min(420px, calc(100vw - 48px));
|
||||
z-index: 200;
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
padding: 4px;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.batch-form-select-ui.open .batch-form-select-dropdown {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.batch-form-select-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--text-primary);
|
||||
font-size: 0.8125rem;
|
||||
font-family: inherit;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
transition: background 0.12s ease, color 0.12s ease;
|
||||
}
|
||||
|
||||
.batch-form-select-option:hover {
|
||||
background: var(--bg-secondary);
|
||||
}
|
||||
|
||||
.batch-form-select-option.is-selected {
|
||||
background: rgba(59, 130, 246, 0.08);
|
||||
color: #2563eb;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.batch-form-select-check {
|
||||
width: 14px;
|
||||
flex-shrink: 0;
|
||||
visibility: hidden;
|
||||
color: #2563eb;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.batch-form-select-option.is-selected .batch-form-select-check {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.batch-form-select-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.batch-form-select-ui--inline .batch-form-select-value {
|
||||
white-space: nowrap;
|
||||
overflow: visible;
|
||||
text-overflow: unset;
|
||||
}
|
||||
|
||||
.batch-form-select-option .batch-form-select-label {
|
||||
overflow: visible;
|
||||
text-overflow: unset;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#batch-import-modal .modal-content:has(.batch-form-select-ui.open),
|
||||
#batch-import-modal .modal-body:has(.batch-form-select-ui.open),
|
||||
#batch-queue-detail-modal .modal-content:has(.batch-form-select-ui.open),
|
||||
#batch-queue-detail-modal .modal-body:has(.batch-form-select-ui.open) {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.bq-inline-edit-controls .batch-form-native-select {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.bq-inline-edit-controls .batch-form-select-ui--inline {
|
||||
margin: 0;
|
||||
flex: 1 1 240px;
|
||||
}
|
||||
|
||||
#batch-queue-detail-modal .bq-kv__v:has(.bq-inline-edit-controls) {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#batch-queue-detail-modal .batch-queue-detail-tech__sum {
|
||||
white-space: normal;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] #role-modal .modal-content,
|
||||
html[data-theme="dark"] #role-modal .modal-header,
|
||||
html[data-theme="dark"] #role-modal .modal-body,
|
||||
|
||||
Reference in New Issue
Block a user