Ajout d'une partie mise à jour automatique : plus besoin de docker pull en ligne de commande ; on peut passer par l'interface Refactoring partie Java pour respecter d'avantage le DDD : plus de jackson dans la partie domain Passage version 0.6.6
199 lines
3.7 KiB
SCSS
199 lines
3.7 KiB
SCSS
.settings-page {
|
|
padding: 32px 48px;
|
|
max-width: 820px;
|
|
margin: 0 auto;
|
|
color: var(--color-text, #e8e8e8);
|
|
}
|
|
|
|
.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;
|
|
}
|