IT-Stock/app/static/style.css
maxsoch 8bb5c9406a Initial scaffold: gestion de stock IT pour le département IT
App FastAPI + SQLite + SQLModel + Jinja2 pour gérer le stock de matériel
IT (catégories/sous-catégories/matériels), avec recherche par scan de
code-barres et alertes email de stock bas.
2026-07-14 18:38:59 +02:00

96 lines
1.3 KiB
CSS

/* Styles minimaux, volontairement simples. */
body {
font-family: system-ui, sans-serif;
max-width: 900px;
margin: 2rem auto;
padding: 0 1rem;
color: #1a1a1a;
}
nav {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
border-bottom: 1px solid #ddd;
padding-bottom: 0.75rem;
}
nav a {
text-decoration: none;
color: #2563eb;
font-weight: 600;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 2rem;
}
th, td {
text-align: left;
padding: 0.5rem;
border-bottom: 1px solid #eee;
}
tr.stock-bas {
background-color: #fef2f2;
}
.carte {
border: 1px solid #ddd;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
}
.carte-entete {
display: flex;
justify-content: space-between;
align-items: center;
}
.formulaire-inline {
display: inline-flex;
gap: 0.5rem;
align-items: center;
}
.formulaire-grille {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
max-width: 400px;
}
.bouton-danger {
background: #fee2e2;
color: #b91c1c;
border: 1px solid #fca5a5;
}
.message-erreur {
color: #b91c1c;
}
.quantite-actuelle {
font-size: 1.25rem;
}
#champ-scan {
font-size: 1.5rem;
padding: 0.75rem;
width: 100%;
max-width: 400px;
}
input, select, button {
font-size: 1rem;
padding: 0.4rem;
}
button {
cursor: pointer;
}