:root { /* Moderne Farbpalette */ --bg-primary: #0f0f1e; --bg-secondary: #1a1a2e; --bg-tertiary: #242438; --surface: #2d2d4a; --surface-hover: #363656; /* Akzentfarben */ --accent-primary: #00d4ff; --accent-secondary: #8b5cf6; --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%); /* Textfarben */ --text-primary: #f0f0f5; --text-secondary: #a8a8c0; --text-muted: #6b6b80; /* Status Farben */ --success: #22c55e; --warning: #f59e0b; --danger: #ef4444; --info: #3b82f6; /* Schatten und Effekte */ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4); --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3); /* Übergänge */ --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1); --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1); /* Abstände */ --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 12px; --spacing-lg: 16px; --spacing-xl: 24px; --spacing-2xl: 32px; /* Border Radius */ --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 18px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { margin: 0; background: var(--bg-primary); color: var(--text-primary); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* =========================== TOOLBAR =========================== */ #toolbar { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-sm) var(--spacing-lg); background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(36, 36, 56, 0.8) 100%); border-bottom: 2px solid; border-image: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) 1; height: 56px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); position: relative; z-index: 100; box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08); transition: all var(--transition-normal); } #toolbar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 70%); pointer-events: none; border-radius: inherit; } #toolbar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--accent-gradient); opacity: 0.3; } .tool-group { display: flex; gap: var(--spacing-md); align-items: center; position: relative; z-index: 1; } .tool-group:not(:last-child)::after { content: ''; width: 1px; height: 32px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent); margin-left: var(--spacing-md); } /* =========================== BUTTONS - VEREINHEITLICHT =========================== */ #toolbar button, #toolbar select { background: linear-gradient(135deg, rgba(45, 45, 74, 0.8) 0%, rgba(54, 54, 86, 0.6) 100%); color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.15); height: 36px; min-width: 100px; padding: 0 var(--spacing-md); border-radius: var(--radius-md); cursor: pointer; font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; gap: var(--spacing-sm); transition: all var(--transition-normal); position: relative; overflow: hidden; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08); } #toolbar button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent); transition: left var(--transition-slow); z-index: 1; } #toolbar button::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%); pointer-events: none; } #toolbar button:hover { background: linear-gradient(135deg, rgba(59, 130, 246, 0.6) 0%, rgba(139, 92, 246, 0.4) 100%); border-color: var(--accent-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.15); } #toolbar button:hover::before { left: 100%; } #toolbar button:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.3); } #toolbar button:focus { outline: none; box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), 0 8px 24px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); } #toolbar button.hidden { display: none; } #toolbar select { background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(36, 36, 56, 0.8) 100%); border: 1px solid rgba(255, 255, 255, 0.15); cursor: pointer; padding: 0 var(--spacing-md); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } #toolbar select:hover { border-color: var(--accent-primary); background: linear-gradient(135deg, rgba(45, 45, 74, 0.9) 0%, rgba(54, 54, 86, 0.8) 100%); box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15); } #toolbar select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 8px 24px rgba(0, 212, 255, 0.15); } /* =========================== STATUS =========================== */ .status { color: var(--text-secondary); font-size: 12px; font-weight: 600; margin-left: var(--spacing-lg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; padding: var(--spacing-sm) var(--spacing-lg); background: linear-gradient(135deg, rgba(45, 45, 74, 0.6) 0%, rgba(36, 36, 56, 0.4) 100%); border-radius: var(--radius-md); border: 1px solid rgba(0, 212, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 12px rgba(0, 212, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: all var(--transition-normal); } .status:hover { border-color: rgba(0, 212, 255, 0.4); box-shadow: 0 6px 16px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08); } /* =========================== MAIN CONTENT =========================== */ #main { height: calc(100vh - 56px); padding: var(--spacing-xl); overflow-y: auto; overflow-x: hidden; transition: background var(--transition-normal), border var(--transition-normal); border-radius: var(--radius-md); margin: var(--spacing-sm); position: relative; } /* Global Drop Zone Indicator */ #main.drop-active { background: rgba(0, 212, 255, 0.05); border: 2px dashed var(--accent-primary); } #main.drop-active::before { content: '📁 Dateien hier ablegen zum Hochladen'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; font-weight: 700; color: var(--accent-primary); background: var(--bg-secondary); padding: var(--spacing-2xl) var(--spacing-2xl); border-radius: var(--radius-lg); border: 2px solid var(--accent-primary); box-shadow: var(--shadow-glow); pointer-events: none; z-index: 999; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; } } /* Custom Scrollbar */ #main::-webkit-scrollbar { width: 10px; } #main::-webkit-scrollbar-track { background: var(--bg-primary); } #main::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 5px; border: 2px solid var(--bg-primary); } #main::-webkit-scrollbar-thumb:hover { background: var(--surface-hover); } /* =========================== EXPLORER GRID =========================== */ .explorer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--spacing-lg); animation: fadeIn var(--transition-slow) ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* =========================== ITEM CARDS =========================== */ .item-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--spacing-xl); border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-normal); border: 1px solid rgba(255, 255, 255, 0.05); background: var(--bg-tertiary); position: relative; overflow: hidden; } .item-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%); opacity: 0; transition: opacity var(--transition-normal); } .item-card:hover::before { opacity: 1; } .item-card:hover { background: var(--surface); border-color: var(--accent-primary); transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg), var(--shadow-glow); } .item-card:active { transform: translateY(-2px) scale(1.01); } .item-card.drag-target { border-color: var(--success); background: rgba(34, 197, 94, 0.1); transform: scale(1.05); box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); } .item-icon { font-size: 56px; margin-bottom: var(--spacing-md); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); transition: transform var(--transition-normal); } .item-card:hover .item-icon { transform: scale(1.1) rotate(-5deg); } .item-name { font-size: 13px; font-weight: 600; word-break: break-word; color: var(--text-primary); line-height: 1.4; max-width: 100%; transition: color var(--transition-fast); } .item-card:hover .item-name { color: var(--accent-primary); } /* =========================== MODALS =========================== */ .modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; animation: fadeIn var(--transition-normal) ease-out; pointer-events: auto; } .modal.hidden { display: none !important; pointer-events: none; } .hidden { display: none !important; } .card { background: var(--bg-secondary); padding: var(--spacing-2xl); border-radius: var(--radius-xl); width: 480px; max-width: 90vw; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.08); animation: slideUp var(--transition-normal) ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .card h2 { margin-bottom: var(--spacing-xl); color: var(--text-primary); font-size: 24px; font-weight: 700; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* =========================== FORM ELEMENTS =========================== */ .input-group { margin-bottom: var(--spacing-lg); } .input-group label { display: block; margin-bottom: var(--spacing-sm); font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; } input, select { width: 100%; padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.1); background: var(--bg-tertiary); color: var(--text-primary); font-size: 14px; transition: all var(--transition-normal); } input:focus, select:focus { outline: none; border-color: var(--accent-primary); background: var(--surface); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); } input::placeholder { color: var(--text-muted); } input[type="checkbox"] { width: auto; margin-right: var(--spacing-sm); cursor: pointer; accent-color: var(--accent-primary); } /* =========================== MODAL BUTTONS - VEREINHEITLICHT =========================== */ .modal-buttons { display: flex; gap: var(--spacing-md); margin-top: var(--spacing-xl); } .modal-buttons button { flex: 1; height: 42px; border-radius: var(--radius-md); font-weight: 600; font-size: 14px; cursor: pointer; transition: all var(--transition-normal); border: 1px solid rgba(255, 255, 255, 0.1); background: var(--bg-tertiary); color: var(--text-primary); } .modal-buttons button:hover { background: var(--surface); border-color: var(--accent-primary); transform: translateY(-1px); box-shadow: var(--shadow-md); } .modal-buttons button:active { transform: translateY(0); } .modal-buttons button.accent-btn { background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%); border-color: var(--accent-primary); color: var(--accent-primary); font-weight: 700; } .modal-buttons button.accent-btn:hover { background: linear-gradient(135deg, rgba(0, 212, 255, 0.5) 0%, rgba(139, 92, 246, 0.4) 100%); box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); } .modal-buttons button.secondary { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.2); } .modal-buttons button.secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); } /* =========================== CONTEXT MENU =========================== */ .context-menu { position: fixed; background: var(--bg-secondary); border: 1px solid rgba(255, 255, 255, 0.1); padding: var(--spacing-sm); border-radius: var(--radius-md); z-index: 10000; min-width: 200px; box-shadow: var(--shadow-lg); animation: fadeIn var(--transition-fast) ease-out; } .context-item { padding: var(--spacing-md) var(--spacing-lg); cursor: pointer; color: var(--text-primary); font-size: 13px; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition-fast); display: flex; align-items: center; gap: var(--spacing-sm); } .context-item:hover { background: var(--accent-gradient); color: #000; transform: translateX(4px); } /* =========================== PROGRESS BAR (falls verwendet) =========================== */ progress { width: 100%; height: 8px; border: none; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-tertiary); } progress::-webkit-progress-bar { background: var(--bg-tertiary); border-radius: var(--radius-sm); } progress::-webkit-progress-value { background: var(--accent-gradient); border-radius: var(--radius-sm); transition: width var(--transition-normal); } progress::-moz-progress-bar { background: var(--accent-gradient); border-radius: var(--radius-sm); } /* =========================== RESPONSIVE DESIGN =========================== */ @media (max-width: 768px) { #toolbar { flex-wrap: wrap; height: auto; padding: var(--spacing-md); } .tool-group { width: 100%; justify-content: space-between; } .explorer-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--spacing-md); } .card { width: 100%; padding: var(--spacing-xl); } .status { width: 100%; max-width: 100%; margin: var(--spacing-sm) 0 0 0; } } /* =========================== UTILITY CLASSES =========================== */ .text-center { text-align: center; } .mt-1 { margin-top: var(--spacing-xs); } .mt-2 { margin-top: var(--spacing-sm); } .mt-3 { margin-top: var(--spacing-md); } .mt-4 { margin-top: var(--spacing-lg); } .mb-1 { margin-bottom: var(--spacing-xs); } .mb-2 { margin-bottom: var(--spacing-sm); } .mb-3 { margin-bottom: var(--spacing-md); } .mb-4 { margin-bottom: var(--spacing-lg); } .p-1 { padding: var(--spacing-xs); } .p-2 { padding: var(--spacing-sm); } .p-3 { padding: var(--spacing-md); } .p-4 { padding: var(--spacing-lg); } /* =========================== RELEASE CARDS =========================== */ .release-card { background: var(--bg-tertiary); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); padding: var(--spacing-xl); transition: all var(--transition-normal); } .release-card:hover { border-color: rgba(255, 255, 255, 0.2); box-shadow: var(--shadow-md); } .release-header { display: flex; gap: var(--spacing-md); align-items: center; margin-bottom: var(--spacing-md); flex-wrap: wrap; } .release-tag { background: var(--accent-gradient); color: #000; padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 14px; display: inline-block; } .release-badge { padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; } .release-badge.latest { background: var(--success); color: #000; } .release-badge.prerelease { background: var(--warning); color: #000; } .release-badge.draft { background: rgba(255, 255, 255, 0.2); color: var(--text-primary); } .release-title { margin: 0 0 var(--spacing-md) 0; color: var(--text-primary); font-size: 20px; font-weight: 700; } .release-body { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--spacing-lg); white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .release-body br { display: block; content: ''; margin: 0; } .release-body br + br { margin-bottom: var(--spacing-md); } .release-body > p { margin: var(--spacing-md) 0; color: inherit; } .release-body > div { margin: var(--spacing-md) 0; text-align: left; } .release-body > div[align="center"] { text-align: center; margin: var(--spacing-lg) 0; padding: var(--spacing-lg) 0; } .release-body > div[align="center"] h1, .release-body > div[align="center"] h2, .release-body > div[align="center"] h3, .release-body > div[align="center"] h4 { color: var(--text-primary); margin: var(--spacing-md) 0; font-weight: 700; } .release-body > div[align="center"] p { margin: var(--spacing-sm) 0; font-style: italic; } .release-body h1, .release-body h2, .release-body h3, .release-body h4, .release-body h5, .release-body h6 { color: var(--text-primary); margin: var(--spacing-lg) 0 var(--spacing-md) 0; font-weight: 700; line-height: 1.4; } .release-body h1 { font-size: 28px; } .release-body h2 { font-size: 24px; } .release-body h3 { font-size: 20px; } .release-body h4 { font-size: 18px; } .release-body h5 { font-size: 16px; } .release-body h6 { font-size: 14px; } .release-body p { margin: var(--spacing-md) 0; color: inherit; } .release-body em, .release-body i { font-style: italic; color: var(--accent-primary); } .release-body strong, .release-body b { color: var(--text-primary); font-weight: 700; } .release-body ul, .release-body ol { margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl); } .release-body li { margin: var(--spacing-sm) 0; } .release-body hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: var(--spacing-lg) 0; } .release-body code { background: rgba(255, 255, 255, 0.05); color: var(--accent-primary); padding: 2px 6px; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 13px; } .release-body pre { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); padding: var(--spacing-md); border-radius: var(--radius-md); overflow-x: auto; margin: var(--spacing-md) 0; } .release-body blockquote { border-left: 3px solid var(--accent-primary); padding-left: var(--spacing-md); margin: var(--spacing-md) 0; color: var(--text-muted); font-style: italic; } .release-assets { margin-top: var(--spacing-lg); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.05); } .release-assets-title { font-weight: 600; margin-bottom: var(--spacing-md); color: var(--text-primary); display: flex; align-items: center; gap: var(--spacing-sm); } .release-asset-item { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-md); background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-sm); margin-bottom: var(--spacing-sm); transition: background var(--transition-fast); } .release-asset-item:hover { background: rgba(255, 255, 255, 0.05); } .release-asset-info { display: flex; align-items: center; gap: var(--spacing-md); } .release-asset-name { color: var(--text-primary); font-weight: 500; } .release-asset-size { color: var(--text-muted); font-size: 12px; } .release-asset-actions { display: flex; gap: var(--spacing-sm); } .release-meta { display: flex; gap: var(--spacing-xl); margin-top: var(--spacing-lg); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); font-size: 12px; } .release-actions { display: flex; gap: var(--spacing-md); margin-top: var(--spacing-lg); flex-wrap: wrap; } .btn-danger { background: transparent !important; color: var(--danger) !important; border: 1px solid var(--danger) !important; } .btn-danger:hover { background: var(--danger) !important; color: #000 !important; } /* Release Modal spezifisches */ .release-modal textarea { font-family: 'Courier New', monospace; line-height: 1.5; } /* =========================== COMMIT HISTORY & TIMELINE =========================== */ .commit-card { position: relative; animation: slideInLeft 0.3s ease-out; } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .commit-content { position: relative; } .commit-modal .card { animation: slideUp 0.3s ease-out; } .commit-modal .diff-viewer::-webkit-scrollbar { width: 8px; height: 8px; } .commit-modal .diff-viewer::-webkit-scrollbar-track { background: #1e1e1e; } .commit-modal .diff-viewer::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; } .commit-modal .diff-viewer::-webkit-scrollbar-thumb:hover { background: #4a4a4a; } /* Diff Syntax Highlighting */ .diff-viewer { font-feature-settings: "liga" 0; text-rendering: optimizeLegibility; } .diff-line-added { background: rgba(78, 201, 176, 0.1); color: #4ec9b0; } .diff-line-removed { background: rgba(244, 135, 113, 0.1); color: #f48771; } .diff-line-meta { color: #c586c0; font-weight: 600; } /* Commit Search Box */ #commitSearch { transition: all var(--transition-normal); } #commitSearch:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); } /* Timeline Animation */ @keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); } 50% { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); } } .commit-card:first-child .commit-dot { animation: pulse-dot 2s infinite; } /* =========================== FILE EDITOR =========================== */ .file-editor-card { background: var(--bg-secondary); border-radius: var(--radius-xl); width: 60vw; max-width: 900px; height: 85vh; max-height: 800px; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(0, 212, 255, 0.2); animation: slideUp var(--transition-normal) ease-out; overflow: hidden; position: relative; pointer-events: auto; } .file-editor-header { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-lg); border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(135deg, rgba(45, 45, 74, 0.8) 0%, rgba(36, 36, 56, 0.6) 100%); gap: var(--spacing-md); flex-shrink: 0; } .file-editor-title { display: flex; align-items: center; gap: var(--spacing-md); font-size: 18px; font-weight: 600; color: var(--text-primary); } .file-editor-toolbar { display: flex; gap: var(--spacing-sm); } .editor-tool-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-secondary); cursor: pointer; padding: 6px 12px; border-radius: var(--radius-md); font-size: 14px; transition: all var(--transition-fast); display: flex; align-items: center; gap: 4px; } .editor-tool-btn:hover { background: rgba(0, 212, 255, 0.1); border-color: var(--accent-primary); color: var(--accent-primary); } /* Tab Bar */ .file-editor-tabs { display: flex; gap: 2px; padding: 8px 16px 0; background: var(--bg-primary); border-bottom: 1px solid rgba(255, 255, 255, 0.1); overflow-x: auto; flex-shrink: 0; max-height: 50px; align-items: flex-end; } .file-editor-tabs::-webkit-scrollbar { height: 4px; } .file-editor-tabs::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 2px; } .editor-tab { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(45, 45, 74, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-md) var(--radius-md) 0 0; color: var(--text-secondary); font-size: 12px; cursor: pointer; transition: all var(--transition-fast); white-space: nowrap; min-width: 100px; justify-content: space-between; } .editor-tab:hover { background: rgba(45, 45, 74, 0.8); border-color: rgba(0, 212, 255, 0.3); } .editor-tab.active { background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(122, 81, 255, 0.15) 100%); border-color: var(--accent-primary); color: var(--accent-primary); border-bottom-color: var(--bg-primary); } .editor-tab-name { flex: 1; display: flex; align-items: center; gap: 6px; } .editor-tab-dirty { font-weight: bold; color: #ff6b6b; } .editor-tab-close { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 0; font-size: 14px; opacity: 0.6; transition: all var(--transition-fast); display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; } .editor-tab-close:hover { opacity: 1; color: #ff6b6b; } /* Search Bar */ .search-bar { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md) var(--spacing-lg); background: rgba(45, 45, 74, 0.6); border-bottom: 1px solid rgba(0, 212, 255, 0.2); flex-shrink: 0; animation: slideDown var(--transition-fast) ease-out; } @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .search-input { padding: 6px 12px; background: rgba(36, 36, 56, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 12px; min-width: 150px; } .search-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); } .search-input::placeholder { color: var(--text-muted); } .search-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-secondary); cursor: pointer; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 12px; transition: all var(--transition-fast); } .search-btn:hover { background: rgba(0, 212, 255, 0.1); border-color: var(--accent-primary); color: var(--accent-primary); } .search-info { font-size: 11px; color: var(--text-muted); min-width: 60px; text-align: right; } /* Editor Container mit Line Numbers */ .file-editor-container { display: flex; flex: 1; overflow: hidden; position: relative; } .line-numbers { background: rgba(36, 36, 56, 0.8); border-right: 1px solid rgba(255, 255, 255, 0.1); padding: var(--spacing-lg) 8px; font-family: 'Courier New', 'Monaco', monospace; font-size: 13px; line-height: 1.6; color: var(--text-muted); text-align: right; white-space: pre; overflow: hidden; flex-shrink: 0; user-select: none; width: 50px; } .file-editor-textarea { flex: 1; padding: var(--spacing-lg); background: var(--bg-primary); color: var(--text-primary); border: none; outline: none; font-family: 'Courier New', 'Monaco', monospace; font-size: 13px; line-height: 1.6; resize: none; overflow: auto; white-space: pre; word-wrap: normal; tab-size: 4; -moz-tab-size: 4; margin: 0; } .file-editor-textarea::placeholder { color: var(--text-muted); } .file-editor-textarea::-webkit-scrollbar { width: 10px; } .file-editor-textarea::-webkit-scrollbar-track { background: var(--bg-secondary); } .file-editor-textarea::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 5px; } .file-editor-textarea::-webkit-scrollbar-thumb:hover { background: var(--surface-hover); } .file-editor-footer { padding: var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(135deg, rgba(36, 36, 56, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%); display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-lg); flex-shrink: 0; } .file-editor-info { display: flex; gap: var(--spacing-xl); flex: 1; flex-wrap: wrap; } .file-path, .file-stats, .file-cursor { font-size: 11px; color: var(--text-secondary); } .file-cursor { color: var(--accent-primary); font-weight: 600; } .auto-save-status { font-size: 11px; color: #00d455; font-weight: 600; animation: fadeInOut 2s ease-in-out; } @keyframes fadeInOut { 0%, 100% { opacity: 0; } 50% { opacity: 1; } } .update-card { max-width: 400px !important; border: 1px solid var(--accent-primary); box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); } .update-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; } .update-icon { font-size: 2rem; } .changelog-box { background: var(--bg-primary); padding: 10px; border-radius: 8px; margin: 15px 0; max-height: 150px; overflow-y: auto; font-size: 0.9rem; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.05); }