插件UI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-12-28 14:26:13 +08:00
parent 5c7ae12f83
commit 957ac89c4d
3 changed files with 1007 additions and 4 deletions

View File

@@ -311,6 +311,47 @@ textarea.form-control {
padding: 16px;
}
/* JSON编辑器 */
.json-editor {
width: 100%;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
font-size: 13px !important;
line-height: 1.6 !important;
padding: 16px !important;
background: #1e1e1e !important;
color: #d4d4d4 !important;
border: 1px solid #3c3c3c !important;
border-radius: 6px !important;
resize: vertical;
min-height: 400px;
}
.json-editor:focus {
outline: none;
border-color: var(--primary) !important;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
}
.alert {
padding: 12px 16px;
border-radius: 6px;
border-left: 3px solid var(--primary);
background: rgba(24, 144, 255, 0.08);
font-size: 13px;
line-height: 1.6;
}
.alert-info {
border-left-color: var(--primary);
background: rgba(24, 144, 255, 0.08);
color: var(--text-secondary);
}
.alert ul {
font-size: 13px;
line-height: 1.8;
}
/* 响应式 */
@media (max-width: 768px) {
.admin-container {