Update frontend/src/components/AdminPanel.css
Browse files
frontend/src/components/AdminPanel.css
CHANGED
|
@@ -1,20 +1,26 @@
|
|
| 1 |
/*** ADMIN ***/
|
| 2 |
-
|
| 3 |
.admin-panel {
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
.admin-user-info {
|
| 19 |
display: flex;
|
| 20 |
align-items: center;
|
|
@@ -30,18 +36,17 @@
|
|
| 30 |
cursor: pointer;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
}
|
| 45 |
|
| 46 |
.upload-form {
|
| 47 |
display: flex;
|
|
@@ -94,17 +99,19 @@
|
|
| 94 |
border: 1px solid #f5c6cb;
|
| 95 |
}
|
| 96 |
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
.documents-table th, .documents-table td {
|
| 103 |
padding: 12px;
|
| 104 |
text-align: left;
|
| 105 |
border-bottom: 1px solid #ddd;
|
| 106 |
}
|
| 107 |
-
|
|
|
|
|
|
|
| 108 |
.documents-table th {
|
| 109 |
background-color: #f2f2f2;
|
| 110 |
font-weight: bold;
|
|
|
|
| 1 |
/*** ADMIN ***/
|
|
|
|
| 2 |
.admin-panel {
|
| 3 |
+
background-color: #f8f9fa;
|
| 4 |
+
min-height: 100vh;
|
| 5 |
+
padding: 20px;
|
| 6 |
+
width: 100%; /* Assurer que le panneau prend toute la largeur */
|
| 7 |
+
max-width: 100%; /* Empêcher tout dépassement */
|
| 8 |
+
box-sizing: border-box; /* Inclure le padding dans la largeur totale */
|
| 9 |
+
position: absolute; /* Position absolue pour sortir des contraintes du parent */
|
| 10 |
+
left: 0;
|
| 11 |
+
right: 0;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* Ajuster la disposition des éléments dans l'en-tête pour la largeur complète */
|
| 15 |
+
.admin-header {
|
| 16 |
+
display: flex;
|
| 17 |
+
justify-content: space-between;
|
| 18 |
+
align-items: center;
|
| 19 |
+
margin-bottom: 30px;
|
| 20 |
+
padding-bottom: 15px;
|
| 21 |
+
border-bottom: 1px solid #ddd;
|
| 22 |
+
width: 100%;
|
| 23 |
+
}
|
| 24 |
.admin-user-info {
|
| 25 |
display: flex;
|
| 26 |
align-items: center;
|
|
|
|
| 36 |
cursor: pointer;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
.admin-content {
|
| 40 |
+
display: flex;
|
| 41 |
+
flex-direction: column;
|
| 42 |
+
gap: 30px;
|
| 43 |
+
width: 100%;
|
| 44 |
+
}
|
| 45 |
+
.admin-section {
|
| 46 |
+
width: 100%;
|
| 47 |
+
box-sizing: border-box;
|
| 48 |
+
}
|
| 49 |
+
|
|
|
|
| 50 |
|
| 51 |
.upload-form {
|
| 52 |
display: flex;
|
|
|
|
| 99 |
border: 1px solid #f5c6cb;
|
| 100 |
}
|
| 101 |
|
| 102 |
+
.documents-table {
|
| 103 |
+
width: 100%;
|
| 104 |
+
border-collapse: collapse;
|
| 105 |
+
table-layout: fixed; /* Maintenir une répartition égale des colonnes */
|
| 106 |
+
}
|
| 107 |
.documents-table th, .documents-table td {
|
| 108 |
padding: 12px;
|
| 109 |
text-align: left;
|
| 110 |
border-bottom: 1px solid #ddd;
|
| 111 |
}
|
| 112 |
+
.documents-table th, .documents-table td {
|
| 113 |
+
word-break: break-word; /* Empêcher le texte de faire déborder le tableau */
|
| 114 |
+
}
|
| 115 |
.documents-table th {
|
| 116 |
background-color: #f2f2f2;
|
| 117 |
font-weight: bold;
|