Cadres choix : zoom 2.5x + fond photo simulé, bordures bien visibles

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 09:14:40 +02:00
parent ba2b119e1f
commit fe71921d1a
2 changed files with 17 additions and 4 deletions

View File

@@ -1263,12 +1263,25 @@ h3 {
transform: scale(0.95);
}
.cadre-choix-item img {
.cadre-choix-item .cadre-thumb-wrap {
width: 140px;
height: 210px;
object-fit: cover;
border-radius: 10px;
background: #111;
overflow: hidden;
position: relative;
/* Fond neutre qui simule une photo derrière le cadre transparent */
background: linear-gradient(135deg, #5a5a6a 0%, #3a3a4a 100%);
}
.cadre-choix-item .cadre-thumb-wrap img {
/* Image agrandie 2.5x et centrée — les bordures deviennent bien visibles */
position: absolute;
width: 350px;
height: 525px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 0;
display: block;
}