.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); } } .actions { display: flex; justify-content: flex-end; margin-top: 24px; } .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; } /* --- 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; } .update-images { list-style: none; padding: 0; margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.4rem; } .update-images li { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.6rem; background: rgba(255, 255, 255, 0.03); border-radius: 4px; font-size: 0.875rem; } .badge-update { margin-left: auto; background: #6c63ff; color: white; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 3px; } .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; }