Merge develop into feature/Show-ShoppingList-Of-Active-RecipeCard

This commit is contained in:
Francesco Lorenzo D'Amico
2025-06-04 10:59:20 +02:00
24 changed files with 1419 additions and 140 deletions
@@ -86,6 +86,106 @@ textarea.form-control {
margin-top: 10px;
}
/* Recipe Instructions Grid Layout */
.instructions-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-top: 2rem;
margin-bottom: 2rem;
}
@media (max-width: 992px) {
.instructions-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 576px) {
.instructions-grid {
grid-template-columns: 1fr;
}
}
.instruction-card {
border: 1px solid #ccc;
padding: 1rem;
border-radius: 8px;
background-color: white;
}
.instruction-image {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
border: 1px solid #ddd;
border-radius: 4px;
overflow: hidden;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
background-color: #f8f9fa;
text-align: center;
}
.instruction-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
}
.placeholder-image {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
color: #999;
background-color: #f0f0f0;
border-radius: 4px;
}
.step-number {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 3px 8px;
border-radius: 50%;
font-size: 0.875rem;
font-weight: bold;
}
.instruction-text {
font-size: 0.9rem;
line-height: 1.4;
color: #333;
}
.recipe-instructions-section h3 {
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.5rem;
}
.recipe-instructions-section h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background-color: #007bff;
}
}
.recipe-card {
cursor: pointer;
transition: all 0.3s ease;