.settings-page { padding: 32px 48px; max-width: 820px; margin: 0 auto; color: var(--color-text, #e8e8e8); } // --- Liste des modeles installes ----------------------------------------- .installed-models { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; li { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 6px; font-size: 0.9rem; } .model-name { font-family: ui-monospace, SFMono-Regular, monospace; color: #c4b8e0; } } .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 5px; color: inherit; cursor: pointer; &:hover { background: rgba(255, 255, 255, 0.06); } &:disabled { opacity: 0.5; cursor: not-allowed; } } .btn-icon.btn-danger:hover { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; } // --- Modal de pull ------------------------------------------------------- .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { background: #1f1a2e; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; width: min(520px, 92vw); max-height: 90vh; display: flex; flex-direction: column; } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); h3 { margin: 0; font-size: 1.05rem; font-weight: 600; } } .modal-body { padding: 20px; overflow-y: auto; label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; } input[type="text"] { width: 100%; padding: 8px 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; color: inherit; font-family: ui-monospace, SFMono-Regular, monospace; box-sizing: border-box; &:focus { outline: 2px solid #b794f4; outline-offset: 0; } } } .suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .suggestion-chip { padding: 4px 10px; background: rgba(183, 148, 244, 0.1); border: 1px solid rgba(183, 148, 244, 0.25); border-radius: 14px; color: #d6c5f0; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.82rem; cursor: pointer; &:hover { background: rgba(183, 148, 244, 0.2); } } .modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); } .pull-progress { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; } .pull-status { font-size: 0.92rem; color: #d6c5f0; font-family: ui-monospace, SFMono-Regular, monospace; } .progress-bar { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, #8b5cf6, #b794f4); transition: width 0.3s ease; } .progress-text { font-size: 0.82rem; color: #aaa0c5; font-family: ui-monospace, SFMono-Regular, monospace; } .page-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; h1 { margin: 0; font-size: 1.75rem; font-weight: 600; } } .btn-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 6px; cursor: pointer; font-size: 0.9rem; &:hover { background: rgba(255, 255, 255, 0.05); } } .card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 24px 28px; margin-bottom: 20px; h2 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; } } .hint { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin: 4px 0 16px; } .form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; label { font-size: 0.9rem; font-weight: 500; } input[type="text"], input[type="password"], select { padding: 9px 12px; background: rgba(0, 0, 0, 0.25); color: inherit; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; font-size: 0.95rem; &:focus { outline: none; border-color: var(--color-accent, #7a5cff); } } } .radio-group { display: flex; gap: 24px; } .radio, .checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; } .inline-select { display: flex; gap: 8px; align-items: center; select { flex: 1; } } .btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 6px; font-size: 0.9rem; cursor: pointer; border: 1px solid transparent; } .btn-primary { background: var(--color-accent, #7a5cff); color: #fff; &:hover:not(:disabled) { filter: brightness(1.1); } &:disabled { opacity: 0.6; cursor: not-allowed; } } .btn-secondary { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.15); &:hover:not(:disabled) { background: rgba(255, 255, 255, 0.05); } } .export-scope { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 4px; } .export-scope-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; select { flex: 1; max-width: 340px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: inherit; font-size: 0.9rem; } } .export-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); .export-options-label { font-weight: 600; color: rgba(255, 255, 255, 0.5); } label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; } } .actions { display: flex; justify-content: flex-end; margin-top: 24px; gap: 0.5rem; border: 1px dashed transparent; border-radius: 8px; padding: 0.4rem; transition: border-color 0.15s, background 0.15s; &.drag-over { border-color: #667eea; background: rgba(102,126,234,0.1); } } .alert { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; } .alert-error { background: rgba(220, 80, 80, 0.15); color: #ff9b9b; } .alert-success { background: rgba(80, 200, 120, 0.15); color: #a2e8b6; } .alert-warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; } /* --- Slider fenetre de contexte -------------------------------------- */ .ctx-value { margin-left: 8px; font-variant-numeric: tabular-nums; color: #a5b4fc; font-weight: 600; } .ctx-max { color: #9ca3af; font-size: 0.85em; font-variant-numeric: tabular-nums; } .ctx-slider { width: 100%; accent-color: #6c63ff; } .channel-switch { margin-top: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; display: flex; flex-direction: column; gap: 0.75rem; } .channel-current { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; .channel-label { color: #9ca3af; } } .channel-badge { padding: 0.2rem 0.65rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; &.channel-stable { background: rgba(76, 175, 80, 0.2); color: #81c784; } &.channel-beta { background: rgba(108, 99, 255, 0.2); color: #a39bff; } } .badge-ok { margin-left: auto; background: rgba(76, 175, 80, 0.2); color: #81c784; font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 3px; } .badge-warn { margin-left: auto; background: rgba(255, 152, 0, 0.2); color: #ffb74d; font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 3px; } // --- Sous-blocs canaux (stable / beta) ---------------------------------- .channel-block { margin-top: 16px; & + & { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); } &:first-child { margin-top: 0; } } .channel-title { font-size: 1rem; margin: 0 0 12px; color: #c4b8e0; display: flex; align-items: center; gap: 6px; } // --- Section Patreon / canal beta --------------------------------------- .license-info { list-style: none; margin: 12px 0 16px; padding: 0; display: flex; flex-direction: column; gap: 6px; li { font-size: 0.9rem; padding: 6px 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 4px; strong { color: #c4b8e0; margin-right: 6px; } } } .form-row-inline { display: flex; align-items: center; gap: 12px; margin-top: 12px; } .form-row-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; } .btn-secondary.btn-danger { border-color: rgba(220, 80, 80, 0.4); color: #ff7878; &:hover { background: rgba(220, 80, 80, 0.12); border-color: rgba(220, 80, 80, 0.6); } } .beta-status { margin-top: 16px; code { background: rgba(0, 0, 0, 0.3); padding: 1px 5px; border-radius: 3px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.85em; } } label.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; input[type="checkbox"] { cursor: pointer; } input[type="checkbox"]:disabled + span { opacity: 0.5; cursor: not-allowed; } }