File size: 2,969 Bytes
0828269 1cdc1bc 0828269 1cdc1bc 0828269 1cdc1bc 0828269 1cdc1bc 0828269 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
/*** ADMIN ***/
.admin-panel {
background-color: #f8f9fa;
min-height: 100vh;
padding: 20px;
width: 100%; /* Assurer que le panneau prend toute la largeur */
max-width: 100%; /* Empêcher tout dépassement */
box-sizing: border-box; /* Inclure le padding dans la largeur totale */
position: absolute; /* Position absolue pour sortir des contraintes du parent */
left: 0;
right: 0;
}
/* Ajuster la disposition des éléments dans l'en-tête pour la largeur complète */
.admin-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #ddd;
width: 100%;
}
.admin-user-info {
display: flex;
align-items: center;
gap: 15px;
}
.logout-btn {
background-color: #dc3545;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.admin-content {
display: flex;
flex-direction: column;
gap: 30px;
width: 100%;
}
.admin-section {
width: 100%;
box-sizing: border-box;
}
.upload-form {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 600px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 5px;
}
.form-group label {
font-weight: bold;
}
.form-group input[type="text"] {
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
.upload-btn {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px;
border-radius: 4px;
cursor: pointer;
max-width: 200px;
}
.upload-status {
padding: 10px;
border-radius: 4px;
margin-top: 10px;
}
.upload-status.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.upload-status.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.documents-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed; /* Maintenir une répartition égale des colonnes */
}
.documents-table th, .documents-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.documents-table th, .documents-table td {
word-break: break-word; /* Empêcher le texte de faire déborder le tableau */
}
.documents-table th {
background-color: #f2f2f2;
font-weight: bold;
}
.delete-btn {
background-color: #dc3545;
color: white;
border: none;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
}
.error-message {
color: #721c24;
background-color: #f8d7da;
padding: 10px;
border-radius: 4px;
border: 1px solid #f5c6cb;
}
.back-btn {
background-color: #4285f4;
color: white;
border: none;
padding: 8px 16px;
margin-right: 10px;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
}
.back-btn:hover {
background-color: #2a75f3;
} |