Ajouts de la maquette web sur le nouveau git (suite au bug de l'ancien répertoire git

This commit is contained in:
2024-10-16 18:19:14 +02:00
parent c3d21877df
commit cad70b9d8e
57 changed files with 12657 additions and 0 deletions

136
MaquetteWEB/css/RH/rh.css Normal file
View File

@@ -0,0 +1,136 @@
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
color: #333;
}
.logo-container img {
height: 50px; /* Ajuster la taille du logo */
}
.categories a {
color: white;
text-decoration: none;
padding: 10px 15px;
transition: background-color 0.3s;
}
.categories a:hover {
background-color: rgba(255, 255, 255, 0.2); /* Effet au survol */
}
/* Section principale */
main {
padding: 20px;
}
h2 {
margin-bottom: 20px;
color: #0f431f; /* Couleur bleu */
}
/* Table */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
background: white; /* Fond de la table */
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #dddddd; /* Bordure des cellules */
}
th {
background-color: #0f431f; /* Couleur des en-têtes */
color: white;
}
tr:hover {
background-color: #f1f1f1; /* Effet au survol des lignes */
}
/* Boutons */
button {
background-color: #0f431f;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
margin-right: 5px; /* Espacement entre les boutons */
}
button:hover {
background-color: #082d13; /* Couleur au survol */
}
/* Styles pour le pop-up */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.4);
padding-top: 60px;
}
.modal-content {
background-color: #fff;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
width: 70%;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Formulaire */
form {
display: flex;
flex-direction: column;
}
label {
margin: 10px 0 5px; /* Espacement autour des labels */
}
input[type="text"],
input[type="date"] {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 15px; /* Espacement entre les champs */
}
input[type="text"]:focus,
input[type="date"]:focus {
border-color: #0f431f; /* Couleur de bordure au focus */
outline: none; /* Enlève le contour par défaut */
}

View File

@@ -0,0 +1,194 @@
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
.header {
background-color: #0f431f;
color: white;
padding: 10px 0;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.logo-container img {
width: 200px;
height: 50px;
cursor: pointer;
}
.categories {
display: flex;
gap: 15px;
margin-left: 50px;
}
.categories a {
color: white;
text-decoration: none;
font-weight: bold;
}
.categories a:hover {
text-decoration: underline;
}
.user-section {
display: flex;
align-items: center;
margin-right: 20px;
}
.user-name {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
}
.logout-container {
display: flex;
align-items: center;
}
.logout-container img {
width: 25px;
height: 25px;
margin-left: 10px;
cursor: pointer;
}
.info-card {
background-color: white;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
border-radius: 8px;
}
.info-card h2 {
border-bottom: 2px solid #0f431f;
padding-bottom: 10px;
margin-bottom: 20px;
}
.info-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.info-table th,
.info-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.info-table th {
background-color: #f8f8f8;
color: #333;
}
.action-btn {
display: inline-block;
padding: 10px 20px;
color: white;
background-color: #0f431f;
text-decoration: none;
border-radius: 5px;
margin: 10px 0;
cursor: pointer;
}
.action-btn:hover {
background-color: #092d14;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
padding-top: 60px;
}
.modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 400px;
border-radius: 8px;
}
.footer {
text-align: center;
padding: 10px 0;
background-color: #0f431f;
color: white;
margin-top: 40px;
}
.search-bar {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ddd;
}
.details {
display: none;
}
/* Dropdown menu */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: white;
min-width: 200px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #0f431f;
}