init projet

This commit is contained in:
2026-05-20 10:43:18 +02:00
parent 51f27903bb
commit 9a402b0b34
57 changed files with 5622 additions and 0 deletions
@@ -0,0 +1,142 @@
/* src/pages/Admin/Admin.module.css */
.page {
padding: 24px;
max-width: 1200px;
margin: 0 auto;
}
.title {
font-size: 28px;
font-weight: 600;
color: var(--color-text);
margin-bottom: 24px;
}
.tabs {
display: flex;
border-bottom: 1px solid var(--color-gray-border);
margin-bottom: 24px;
}
.tab {
padding: 12px 24px;
background: none;
border: none;
border-bottom: 2px solid transparent;
color: var(--color-text-secondary);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: color 0.15s, border-color 0.15s;
}
.tab:hover {
color: var(--color-text);
}
.tab.active {
color: var(--color-primary);
border-bottom-color: var(--color-primary);
}
.tabContent {
background-color: var(--color-white);
border-radius: var(--radius);
padding: 24px;
box-shadow: var(--shadow);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
.header h2 {
font-size: 20px;
font-weight: 600;
color: var(--color-text);
margin: 0;
}
.actions {
display: flex;
gap: 8px;
}
.actionBtn {
display: flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
background: none;
border: none;
color: var(--color-link);
font-size: 12px;
cursor: pointer;
text-decoration: underline;
}
.actionBtn:hover {
color: var(--color-primary);
}
/* Modale */
.modalOverlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal {
background-color: var(--color-white);
border-radius: var(--radius);
border-top: 4px solid var(--color-primary);
width: 90%;
max-width: 500px;
max-height: 80vh;
overflow-y: auto;
}
.modalHeader {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--color-gray-border);
}
.modalHeader h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: var(--color-text);
}
.closeBtn {
background: none;
border: none;
font-size: 24px;
color: var(--color-text-secondary);
cursor: pointer;
}
.modalBody {
padding: 24px;
}
.modalActions {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 24px;
}