792 lines
13 KiB
CSS
792 lines
13 KiB
CSS
:root {
|
|
--bg-primary: #0f0f1a;
|
|
--bg-secondary: #1a1a2e;
|
|
--bg-card: #1e1e2e;
|
|
--bg-card-hover: #2a2a3e;
|
|
--bg-input: #2a2a3e;
|
|
--border: rgba(255, 255, 255, 0.1);
|
|
--border-hover: rgba(255, 255, 255, 0.2);
|
|
--text: #fff;
|
|
--text-muted: #888;
|
|
--text-dim: #666;
|
|
--accent: #667eea;
|
|
--accent-end: #764ba2;
|
|
--success: #00b894;
|
|
--success-end: #00cec9;
|
|
--danger: #e74c3c;
|
|
--warning: #fdcb6e;
|
|
--link-color: #00cec9;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #16213e 100%);
|
|
min-height: 100vh;
|
|
color: var(--text);
|
|
user-select: none;
|
|
}
|
|
|
|
/* Tab Bar */
|
|
.tab-bar {
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 12px 20px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.tab {
|
|
padding: 10px 24px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.tab:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.tab.active {
|
|
color: var(--accent);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
|
|
/* Views */
|
|
.view {
|
|
display: none;
|
|
padding: 24px 28px;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.view.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Hoster Select */
|
|
.hoster-select {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hoster-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hoster-chip:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.hoster-chip.selected {
|
|
border-color: var(--accent);
|
|
background: rgba(102, 126, 234, 0.15);
|
|
}
|
|
|
|
.hoster-chip input[type="checkbox"] {
|
|
accent-color: var(--accent);
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.hoster-chip .hoster-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--text-dim);
|
|
}
|
|
|
|
.hoster-chip.selected .hoster-dot {
|
|
background: var(--success);
|
|
}
|
|
|
|
.hoster-chip.no-key {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.hoster-chip.no-key::after {
|
|
content: '(kein Key)';
|
|
font-size: 11px;
|
|
color: var(--warning);
|
|
}
|
|
|
|
/* Health Check */
|
|
.health-check-panel {
|
|
margin-bottom: 18px;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.health-check-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.health-check-status {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.auto-health-check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.auto-health-check input[type="checkbox"] {
|
|
width: 15px;
|
|
height: 15px;
|
|
accent-color: var(--accent);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.health-check-results {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.health-check-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
max-width: 100%;
|
|
padding: 7px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.health-check-badge .health-check-hoster {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.health-check-badge .health-check-msg {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.health-check-badge.ok {
|
|
border-color: rgba(0, 184, 148, 0.5);
|
|
background: rgba(0, 184, 148, 0.12);
|
|
}
|
|
|
|
.health-check-badge.warn {
|
|
border-color: rgba(253, 203, 110, 0.5);
|
|
background: rgba(253, 203, 110, 0.12);
|
|
}
|
|
|
|
.health-check-badge.error {
|
|
border-color: rgba(231, 76, 60, 0.5);
|
|
background: rgba(231, 76, 60, 0.12);
|
|
}
|
|
|
|
.health-check-badge.skipped {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
/* Drop Zone */
|
|
.drop-zone {
|
|
border: 2px dashed rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
padding: 50px 40px;
|
|
text-align: center;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.drop-zone:hover {
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.drop-zone.drag-over {
|
|
border-color: var(--accent);
|
|
background: rgba(102, 126, 234, 0.08);
|
|
}
|
|
|
|
.drop-zone.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.drop-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.drop-zone p {
|
|
color: var(--text-muted);
|
|
margin-bottom: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 10px 22px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-end));
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-muted);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: var(--text);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 5px 12px;
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* File List */
|
|
.file-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.file-item .file-name {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-item .file-size {
|
|
color: var(--text-muted);
|
|
margin: 0 16px;
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-item .remove-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-dim);
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.file-item .remove-btn:hover {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Upload Actions */
|
|
.upload-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Progress Section */
|
|
.progress-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.progress-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.progress-card .file-title {
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.progress-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.progress-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.progress-hoster {
|
|
width: 130px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.progress-track {
|
|
flex: 1;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-end));
|
|
border-radius: 4px;
|
|
transition: width 0.15s ease;
|
|
width: 0%;
|
|
}
|
|
|
|
.progress-fill.done {
|
|
background: linear-gradient(90deg, var(--success), var(--success-end));
|
|
}
|
|
|
|
.progress-fill.error {
|
|
background: var(--danger);
|
|
}
|
|
|
|
.progress-percent {
|
|
width: 42px;
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.progress-status {
|
|
width: 100px;
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.progress-status.done {
|
|
color: var(--success);
|
|
}
|
|
|
|
.progress-status.error {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Results Section - Table like z-o-o-m */
|
|
.results-section {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.results-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.results-header h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.results-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.results-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.results-table thead th {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
border-bottom: 1px solid var(--border);
|
|
user-select: none;
|
|
}
|
|
|
|
.results-table thead th.sortable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.results-table thead th.sortable .sort-indicator {
|
|
margin-left: 6px;
|
|
font-size: 10px;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.results-table thead th.sortable.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.results-table thead th.sortable.active .sort-indicator {
|
|
opacity: 1;
|
|
}
|
|
|
|
.results-table tbody tr {
|
|
cursor: pointer;
|
|
transition: background 0.1s;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.results-table tbody tr:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.results-table tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.results-table tbody tr.selected {
|
|
background: rgba(102, 126, 234, 0.15);
|
|
}
|
|
|
|
.results-table tbody tr.selected:hover {
|
|
background: rgba(102, 126, 234, 0.2);
|
|
}
|
|
|
|
.results-table tbody tr.error {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.results-table tbody tr.error .col-link {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.results-table td {
|
|
padding: 7px 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.col-date {
|
|
width: 140px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.col-filename {
|
|
max-width: 300px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.col-host {
|
|
width: 120px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.col-link {
|
|
color: var(--link-color);
|
|
font-family: 'Cascadia Code', 'Consolas', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Copy button (used in history) */
|
|
.copy-btn {
|
|
padding: 4px 10px;
|
|
background: rgba(102, 126, 234, 0.2);
|
|
color: var(--accent);
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
background: rgba(102, 126, 234, 0.35);
|
|
}
|
|
|
|
/* Copy toast */
|
|
.copy-toast {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(20px);
|
|
background: rgba(0, 184, 148, 0.9);
|
|
color: #fff;
|
|
padding: 8px 20px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: all 0.2s ease;
|
|
z-index: 999;
|
|
}
|
|
|
|
.copy-toast.show {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* Settings */
|
|
.settings-container {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.settings-container h2 {
|
|
font-size: 18px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.settings-hint {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.settings-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.settings-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.settings-row .hoster-label {
|
|
width: 140px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.settings-row .key-input {
|
|
flex: 1;
|
|
padding: 10px 14px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-family: 'Cascadia Code', 'Consolas', monospace;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.settings-row .key-input:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.settings-row .key-input::placeholder {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.toggle-vis {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.toggle-vis:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.settings-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.save-feedback {
|
|
margin-left: 12px;
|
|
font-size: 13px;
|
|
color: var(--success);
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
/* History */
|
|
.history-container h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.history-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.empty-state {
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
padding: 40px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.history-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.history-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.history-file {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.history-file:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.history-file-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.history-result {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 4px 10px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 6px;
|
|
margin-bottom: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.history-hoster {
|
|
width: 110px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.history-url {
|
|
color: var(--link-color);
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-family: 'Cascadia Code', 'Consolas', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.history-result.error .history-url {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|