.dck-body { background: #0f172a; color: #e5e7eb; height: 100vh; overflow: hidden; } .dck-body .container { height: calc(100vh - 24px); min-height: 0; display: flex; flex-direction: column; overflow: hidden; } #dck-app { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } .dck-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; } .dck-header-main { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; } .dck-header h2 { margin: 0; display: flex; align-items: center; white-space: nowrap; flex: 0 0 auto; } .dck-actions { display: flex; gap: 8px; flex: 0 0 auto; } .dck-login { max-width: 450px; margin: 24px auto; background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.16) 0, rgba(15, 23, 42, 0.8) 40%, rgba(15, 23, 42, 0.98) 100%); border-radius: 18px; border: 1px solid rgba(148, 163, 184, 0.6); padding: 18px 18px 16px; box-shadow: 0 32px 80px rgba(15, 23, 42, 0.9); backdrop-filter: blur(16px); } .dck-login h3 { font-size: 18px; font-weight: 600; margin: 0 0 16px 0; text-align: center; } .dck-login .list-card { padding: 8px 0 0; } .dck-body .modal-row { margin-bottom: 10px; } .dck-body .modal-label { font-size: 13px; color: #cbd5e1; } .dck-body .modal-input { width: 100%; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.6); background: rgba(15, 23, 42, 0.88); color: #e5e7eb; padding: 8px 10px; font-size: 14px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; } .dck-body .modal-input::placeholder { color: #64748b; } .dck-body .modal-input:focus { border-color: rgba(59, 130, 246, 0.9); box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.7), 0 18px 40px rgba(15, 23, 42, 0.9); background: rgba(15, 23, 42, 1); } .dck-body .action-buttons { display: flex; align-items: center; } .dck-body .action-btn { border-radius: 999px; border: none; padding: 7px 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.8)); color: #f9fafb; cursor: pointer; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9); transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease; } .dck-body .action-btn:hover { background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.6), rgba(37, 99, 235, 0.95)); transform: translateY(-1px); box-shadow: 0 24px 60px rgba(15, 23, 42, 1); } .dck-body .action-btn:active { transform: translateY(0); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9); } .dck-banner { margin: 8px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(248, 113, 113, 0.6); background: rgba(220, 38, 38, 0.2); } .dck-stats { display: flex; gap: 16px; margin: 0; color: #cbd5e1; align-items: center; flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; min-width: 0; } .dck-stats span, .dck-stats a { flex: 0 0 auto; } .dck-layout { display: grid; grid-template-columns: 290px 1fr; gap: 12px; flex: 1; min-height: 0; align-items: stretch; overflow: hidden; } .dck-left, .dck-right { background: rgba(15, 23, 42, 0.72); border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 12px; padding: 10px; min-height: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; } .dck-left-top { display: flex; gap: 8px; margin-bottom: 8px; } .dck-folders { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow: auto; } .dck-folders li { border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; margin-bottom: 8px; padding: 8px; cursor: pointer; } .dck-folders li.active { border-color: #60a5fa; background: rgba(59, 130, 246, 0.2); } .dck-folder-node { display: flex; align-items: center; justify-content: space-between; gap: 6px; } .dck-folders li .dck-edit-folder-btn { display: none; background: transparent; border: none; color: #94a3b8; cursor: pointer; padding: 2px 4px; font-size: 14px; border-radius: 4px; } .dck-folders li:hover .dck-edit-folder-btn { display: inline-block; } .dck-folders li .dck-edit-folder-btn:hover { color: #60a5fa; background: rgba(255, 255, 255, 0.1); } .dck-folder-depth { display: inline-block; width: 10px; height: 1px; } .dck-folder-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dck-toolbar, .dck-batch, .dck-meta { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: nowrap; overflow-x: auto; } .dck-small { width: 140px; min-width: 140px; } .dck-table-wrap { border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 8px; flex: 1; min-height: 0; overflow: auto; } .dck-table { width: 100%; border-collapse: collapse; } .dck-table th, .dck-table td { border-bottom: 1px solid rgba(148, 163, 184, 0.2); padding: 6px 8px; white-space: nowrap; } .dck-local-btn { min-width: 26px; height: 24px; padding: 0 6px; } .dck-table tbody tr:hover { background: rgba(148, 163, 184, 0.1); } .dck-table tbody tr.active { background: rgba(59, 130, 246, 0.2); } .dck-doc-title-wrap { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; vertical-align: middle; } .dck-doc-title { display: inline-block; } .dck-doc-parent-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #fef9c3; color: #111827; font-size: 11px; line-height: 1.4; white-space: nowrap; vertical-align: middle; } .dck-version-count-tag { display: inline-block; min-width: 24px; padding: 1px 7px; border: none; border-radius: 999px; background: #ffedd5; color: #111827; font-size: 11px; line-height: 1.4; white-space: nowrap; vertical-align: middle; cursor: pointer; } .dck-version-count-tag:hover { background: #fed7aa; } .dck-row-expired { background: rgba(239, 68, 68, 0.22); } .dck-row-urgent { background: rgba(249, 115, 22, 0.2); } .dck-versions-body { width: min(900px, 92vw); background: #ffffff; } .dck-versions-head { display: flex; justify-content: space-between; align-items: center; } .dck-versions-list { margin-top: 10px; max-height: 70vh; overflow: auto; color: #374151; } .dck-versions-tabs { display: flex; gap: 8px; padding: 12px 16px 0 16px; align-items: center; } .dck-versions-refresh-btn { margin-left: auto; white-space: nowrap; } .dck-versions-compare-btn { margin-left: auto; white-space: nowrap; } .dck-versions-compare-btn:disabled { opacity: 0.45; cursor: not-allowed; } .dck-version-select { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-size: 12px; color: #475569; } .dck-version-select input { margin: 0; } .dck-versions-tab { border: 1px solid #cbd5e1; background: #f8fafc; color: #334155; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px; } .dck-versions-tab.active { background: #dbeafe; border-color: #60a5fa; color: #1d4ed8; } .dck-version-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid #d1d5db; border-radius: 4px; padding: 8px; margin-bottom: 8px; background: #ffffff; color: #111827; } .dck-version-main { min-width: 0; } .dck-version-title { font-weight: 600; margin-bottom: 4px; color: #111827; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .dck-version-meta { font-size: 12px; color: #6b7280; line-height: 1.5; } .dck-oss-status { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11px; line-height: 1.3; background: #e5e7eb; color: #374151; } .dck-oss-status.uploaded { background: #dcfce7; color: #166534; } .dck-oss-status.pending { background: #fef3c7; color: #92400e; } .dck-oss-status.failed { background: #fee2e2; color: #b91c1c; } .dck-oss-deleted { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11px; line-height: 1.3; background: #fde68a; color: #111827; } .dck-compare-body { width: min(1180px, 96vw); padding: 0; border-radius: 0; border: 1px solid #0078d7; box-shadow: 0 0 0 1px #0078d7, 0 10px 20px rgba(0, 0, 0, 0.35); background: #fff; color: #111827; } .dck-compare-layout { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr) minmax(360px, 1.2fr); min-height: 520px; } .dck-compare-panel { border-right: 1px solid #d1d5db; min-height: 0; display: flex; flex-direction: column; } .dck-compare-panel:last-child { border-right: none; } .dck-compare-section-title { padding: 12px 14px; border-bottom: 1px solid #d1d5db; background: #f8fafc; font-size: 14px; font-weight: 600; color: #111827; } .dck-compare-section-content { padding: 14px; overflow: auto; font-size: 13px; line-height: 1.6; color: #334155; } .dck-compare-block { border: 1px solid #dbe3ee; border-radius: 6px; background: #f8fafc; padding: 10px 12px; margin-bottom: 10px; } .dck-compare-block-title { font-weight: 600; margin-bottom: 6px; color: #111827; } .dck-compare-list { margin: 0; padding-left: 18px; } .dck-compare-list li { margin-bottom: 6px; word-break: break-word; } .dck-compare-warning { border-color: #fbbf24; background: #fffbeb; color: #92400e; } .dck-compare-filter-row { display: flex; flex-direction: column; gap: 8px; } .dck-compare-filter-row label { font-size: 12px; color: #475569; } .dck-compare-filter-select { min-width: 0; background: #fff; color: #111827; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; } .dck-version-row button { background: #ffffff; color: #111827; border: 1px solid #9ca3af; } .dck-version-row button:hover { background: #e5f1fb; border-color: #0078d7; } .dck-form-body { width: min(620px, 92vw); padding: 0; border-radius: 0; border: 1px solid #0078d7; box-shadow: 0 0 0 1px #0078d7, 0 10px 20px rgba(0, 0, 0, 0.35); background: #fff; color: #111827; } .dck-form-head, .dck-action-head { display: flex; justify-content: space-between; align-items: center; height: 34px; background: #0078d7; color: #ffffff; padding: 0 0 0 12px; box-sizing: border-box; } .dck-form-head h3, .dck-action-head h3 { margin: 0; font-size: 14px; font-weight: 500; color: #ffffff; } .dck-form-head .icon-theme, .dck-action-head .icon-theme { width: 46px; height: 34px; border: none; border-radius: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; } .dck-form-head .icon-theme:hover, .dck-action-head .icon-theme:hover { background: #e81123; color: #fff; } .dck-form-msg, .dck-action-msg { margin: 16px 16px 10px 16px; color: #374151; font-size: 14px; } #dck-form-fields { margin-top: 10px; padding: 0 16px 16px 16px; } .dck-form-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .dck-form-row .modal-label { width: 90px; min-width: 90px; color: #374151; font-size: 14px; } .dck-form-row .modal-input, .dck-form-row select, .dck-form-row textarea { flex: 1; background: #ffffff; color: #111827; border: 1px solid #9ca3af; border-radius: 4px; padding: 6px 10px; font-size: 14px; } .dck-form-row .modal-input:focus, .dck-form-row select:focus, .dck-form-row textarea:focus { border-color: #0078d7; box-shadow: 0 0 0 1px #0078d7; background: #ffffff; } .dck-form-actions, .dck-action-actions { margin-top: 0; display: flex; justify-content: flex-end; gap: 8px; background: #f3f4f6; border-top: 1px solid #d1d5db; padding: 10px 16px; } .dck-action-body { width: min(960px, 94vw); padding: 0; border-radius: 0; border: 1px solid #0078d7; box-shadow: 0 0 0 1px #0078d7, 0 10px 20px rgba(0, 0, 0, 0.35); background: #fff; color: #111827; } .dck-action-status { margin-top: 8px; font-weight: 600; padding: 0 16px; } .dck-action-status.ok { color: #86efac; } .dck-action-status.err { color: #fca5a5; } .dck-action-logs { margin: 10px 16px 16px 16px; border: 1px solid #cbd5e1; border-radius: 4px; padding: 8px; max-height: 55vh; overflow: auto; background: #f8fafc; font-family: Consolas, Menlo, Monaco, monospace; font-size: 12px; color: #334155; } .dck-log-line { margin-bottom: 4px; white-space: pre-wrap; word-break: break-word; } .dck-log-line.err { color: #ef4444; } .dck-log-line.ok { color: #10b981; } .dck-form-actions .mini-btn, .dck-action-actions .mini-btn { background: #ffffff; color: #111827; border: 1px solid #9ca3af; } .dck-form-actions .mini-btn:hover, .dck-action-actions .mini-btn:hover { background: #e5f1fb; border-color: #0078d7; } .dck-oss-probe-body { width: min(1280px, 96vw); padding: 0; border-radius: 0; border: 1px solid #0078d7; box-shadow: 0 0 0 1px #0078d7, 0 10px 20px rgba(0, 0, 0, 0.35); background: #fff; color: #111827; } .dck-oss-probe-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.4fr) minmax(320px, 1fr); gap: 0; min-height: 520px; } .dck-oss-probe-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #d1d5db; } .dck-oss-probe-panel:last-child { border-right: none; } .dck-oss-probe-panel-title { padding: 12px 14px; border-bottom: 1px solid #d1d5db; background: #f8fafc; font-size: 14px; font-weight: 600; color: #111827; } .dck-oss-probe-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px; } .dck-oss-probe-file, .dck-oss-probe-result { margin: 0 14px 14px 14px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; background: #f8fafc; color: #334155; white-space: pre-wrap; word-break: break-word; font-family: Consolas, Menlo, Monaco, monospace; font-size: 12px; line-height: 1.6; } .dck-oss-probe-result.ok { border-color: #86efac; background: #f0fdf4; } .dck-oss-probe-result.err { border-color: #fca5a5; background: #fef2f2; } .dck-oss-probe-logs { flex: 1; min-height: 0; height: 100%; max-height: 60vh; margin: 14px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; overflow-y: scroll; overflow-x: hidden; background: #0f172a; color: #e2e8f0; font-family: Consolas, Menlo, Monaco, monospace; font-size: 12px; line-height: 1.6; } .dck-oss-probe-log-line { margin-bottom: 4px; white-space: pre-wrap; word-break: break-word; } .dck-oss-probe-log-line.err { color: #fca5a5; } .dck-oss-probe-log-line.ok { color: #86efac; } .dck-batch .mini-btn:disabled { opacity: 0.45; cursor: not-allowed; } .dck-preview-btn { display: inline-block; min-width: 24px; padding: 1px 5px; border: none; border-radius: 999px; background: #dbeafe; color: #111827; font-size: 13px; line-height: 1.4; white-space: nowrap; vertical-align: middle; cursor: pointer; transition: background 0.15s ease; } .dck-preview-btn:hover { background: #bfdbfe; } .dck-preview-body { padding: 0; border-radius: 0; border: 1px solid #0078d7; box-shadow: 0 0 0 1px #0078d7, 0 10px 20px rgba(0, 0, 0, 0.35); background: #fff; color: #111827; display: flex; flex-direction: column; max-height: 85vh; } .dck-preview-meta { padding: 10px 16px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; font-size: 13px; color: #6b7280; } .dck-preview-loading { padding: 40px 16px; text-align: center; color: #6b7280; font-size: 14px; } .dck-preview-content { flex: 1; min-height: 0; overflow: auto; padding: 0; } .dck-preview-text { margin: 0; padding: 16px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; color: #111827; background: #fff; font-family: Consolas, 'Courier New', monospace; } .dck-preview-iframe { width: 100%; height: 70vh; border: none; } .dck-preview-table-info { padding: 10px 16px; font-size: 13px; color: #6b7280; border-bottom: 1px solid #e5e7eb; background: #f8fafc; } .dck-preview-table-wrap { overflow: auto; padding: 0; } .dck-preview-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 600px; } .dck-preview-table thead { position: sticky; top: 0; z-index: 1; } .dck-preview-table th { background: #f1f5f9; padding: 8px 10px; text-align: left; white-space: nowrap; border-bottom: 2px solid #cbd5e1; font-weight: 600; color: #374151; } .dck-preview-table td { padding: 6px 10px; border-bottom: 1px solid #e5e7eb; color: #111827; white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; } .dck-preview-table tbody tr:hover { background: #f8fafc; } .dck-preview-slide { padding: 14px 16px; border-bottom: 1px solid #e5e7eb; } .dck-preview-slide-num { font-size: 12px; color: #6b7280; margin-bottom: 4px; } .dck-preview-slide-title { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 8px; } .dck-preview-slide-body { margin: 0; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: #374151; font-family: inherit; } .dck-preview-error { padding: 40px 16px; text-align: center; color: #dc2626; font-size: 14px; } .dck-preview-unsupported { padding: 40px 16px; text-align: center; color: #6b7280; font-size: 14px; } .dck-preview-empty { padding: 40px 16px; text-align: center; color: #6b7280; font-size: 14px; } .dck-preview-actions { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #e5e7eb; justify-content: flex-end; background: #f8fafc; }