fix: css updating for better lisibilty
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 38s
CI / build (push) Failing after 8s
Format / formatting (pull_request) Successful in 5s

This commit is contained in:
Mohamed Maoulainine Maoulainine
2025-04-21 15:43:35 +02:00
parent 8b863ee4b1
commit 7c8f3ba36a
6 changed files with 204 additions and 158 deletions

View File

@ -5,7 +5,7 @@
<h2>{{ projectName }}</h2>
<p>Projet mis le: {{ creationDate }}</p>
</div>
<div class="project-button">
<div class="project-buttons">
<button id="accept" @click="acceptProject">Accepter</button>
<button id="refus" @click="refuseProject">Refuser</button>
</div>
@ -56,20 +56,26 @@ const refuseProject = () => sendDecision("false");
<style scoped>
.project {
background: linear-gradient(to right, #f4f4f4, #ffffff);
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
margin: 20px 0;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background: linear-gradient(to right, #f8f9fb, #ffffff);
border: 1px solid #e0e0e0;
border-radius: 16px;
padding: 1.5rem;
margin: 1.5rem 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
font-family: Arial, sans-serif;
transition: box-shadow 0.3s ease;
}
.project:hover {
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* Header Styling */
.project-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.project-title {
@ -78,72 +84,50 @@ const refuseProject = () => sendDecision("false");
}
.project-title h2 {
font-size: 20px;
color: #333;
font-size: 1.25rem;
color: #222;
margin: 0;
font-weight: 600;
}
.project-title p {
font-size: 14px;
color: #777;
margin-top: 4px;
font-size: 0.9rem;
color: #666;
margin-top: 0.25rem;
}
/* Button Container */
.project-buttons {
display: flex;
gap: 10px;
}
#accept {
background-color: #45a049;
}
#refus {
background-color: red;
gap: 0.75rem;
}
button {
padding: 10px 15px;
padding: 0.5rem 1.1rem;
color: white;
border: none;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.2s ease, transform 0.2s ease;
}
button:hover {
transform: scale(1.05);
#accept {
background-color: #4CAF50;
}
#accept:hover {
background-color: #3e8e41;
transform: translateY(-2px);
}
#refus {
background-color: #e74c3c;
}
#refus:hover {
background-color: darkred;
}
/* Project Body (unchanged) */
.project-body {
margin-top: 15px;
}
.project-body p {
font-size: 16px;
color: #555;
margin-bottom: 10px;
}
.project-body ul {
list-style-type: disc;
margin: 0;
padding-left: 20px;
}
.project-body ul li {
font-size: 14px;
color: #666;
line-height: 1.6;
background-color: #c0392b;
transform: translateY(-2px);
}
</style>