Compare commits

..

5 commits

Author SHA1 Message Date
7bb792ac18 wip 2026-04-28 13:30:37 +02:00
44c5f1fb4d corvée(images) optimise les images 2026-04-28 12:34:49 +02:00
0478744a71 wip 2026-04-28 11:48:33 +02:00
2d4caefd26 wip 2026-04-28 11:47:57 +02:00
03af121e92 corvé(images) foutoir avec téléversements 2026-04-28 11:47:46 +02:00
66 changed files with 627 additions and 450 deletions

File diff suppressed because it is too large Load diff

View file

@ -67,6 +67,7 @@ threads = 0
disjunction-complexity-threshold = 8192
formula-size-threshold = 1024
integer-combination-threshold = 256
loop-assignment-depth-threshold = 2
negation-complexity-threshold = 8192
saturation-complexity-threshold = 16384
string-combination-threshold = 256

View file

@ -4,16 +4,66 @@
font-weight: 100 900;
font-style: normal;
font-display: swap;
src: url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2") format(woff2) tech(variations), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2") format("woff2-variations"), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2") format("woff2"), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf") format("truetype");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src:
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2")
format(woff2) tech(variations),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2")
format("woff2-variations"),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2")
format("woff2"),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf")
format("truetype");
unicode-range:
U+0000-00FF,
U+0131,
U+0152-0153,
U+02BB-02BC,
U+02C6,
U+02DA,
U+02DC,
U+2000-206F,
U+2074,
U+20AC,
U+2122,
U+2191,
U+2193,
U+2212,
U+2215,
U+FEFF,
U+FFFD;
}
@font-face {
font-family: Lato;
font-weight: 100 900;
font-style: italic;
font-display: swap;
src: url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2") format(woff2) tech(variations), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2") format("woff2-variations"), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2") format("woff2"), url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf") format("truetype");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src:
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2")
format(woff2) tech(variations),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2")
format("woff2-variations"),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2")
format("woff2"),
url("/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf")
format("truetype");
unicode-range:
U+0000-00FF,
U+0131,
U+0152-0153,
U+02BB-02BC,
U+02C6,
U+02DA,
U+02DC,
U+2000-206F,
U+2074,
U+20AC,
U+2122,
U+2191,
U+2193,
U+2212,
U+2215,
U+FEFF,
U+FFFD;
}
@font-face {
font-family: Myriad;
@ -21,7 +71,10 @@
font-style: normal;
font-display: swap;
font-stretch: 70% 110%;
src: url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2") format("woff2"), url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf") format("truetype");
src:
url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2") format("woff2"),
url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf")
format("truetype");
}
@font-face {
font-family: Myriad;
@ -29,7 +82,11 @@
font-style: italic;
font-display: swap;
font-stretch: 70% 110%;
src: url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2") format("woff2"), url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf") format("truetype");
src:
url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2")
format("woff2"),
url("/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf")
format("truetype");
}
:root {
/* Couleurs */
@ -178,7 +235,8 @@ button, input, select, textarea {
html {
font: 1rem/var(--hauteur-ligne-classique) Lato;
font-optical-sizing: auto;
font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;
font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures
contextual;
font-kerning: normal;
color: var(--couleur-noir);
text-decoration-skip-ink: auto;
@ -235,6 +293,12 @@ button.bouton-case-pleine {
width: 100%;
height: 100%;
}
@media (hover: hover) {
button.bouton-case-pleine:hover {
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
}
button.bouton-inverse {
color: var(--couleur-blanc);
background: var(--couleur-noir);
@ -252,7 +316,7 @@ button.bouton-inverse:disabled {
@media (hover: hover) {
button.bouton-inverse:hover {
color: var(--couleur-noir);
background: var(--couleur-gris);
background: var(--arriere-plan-points);
}
}
button.bouton-retour-haut {
@ -351,7 +415,12 @@ input, select, textarea {
background: var(--couleur-gris);
transition: 0.2s background;
}
input:focus-visible, input:focus-within, select:focus-visible, select:focus-within, textarea:focus-visible, textarea:focus-within {
input:focus-visible,
input:focus-within,
select:focus-visible,
select:focus-within,
textarea:focus-visible,
textarea:focus-within {
z-index: 10;
outline: 2px dashed var(--couleur-noir);
}
@ -363,20 +432,20 @@ input:disabled, select:disabled, textarea:disabled {
outline-color: transparent;
}
input:is([type=email], [type=text], [type=tel])::placeholder, textarea::placeholder {
input:is([type="email"], [type="text"], [type="tel"])::placeholder, textarea::placeholder {
text-transform: lowercase;
letter-spacing: var(--espacement-inter-lettres-etendu-s);
}
input:is([type=email], [type=text], [type=tel])::selection, textarea::selection {
input:is([type="email"], [type="text"], [type="tel"])::selection, textarea::selection {
color: var(--couleur-blanc);
background: var(--couleur-noir);
}
input:is([type=email], [type=text], [type=tel]):user-valid, textarea:user-valid {
input:is([type="email"], [type="text"], [type="tel"]):user-valid, textarea:user-valid {
font-weight: 500;
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
input:is([type=email], [type=text], [type=tel]):user-invalid, textarea:user-invalid {
input:is([type="email"], [type="text"], [type="tel"]):user-invalid, textarea:user-invalid {
background: var(--couleur-gris);
}
@ -384,7 +453,7 @@ input, label, select, textarea {
cursor: pointer;
}
input[type=checkbox], input[type=radio] {
input[type="checkbox"], input[type="radio"] {
width: var(--espace-l);
height: var(--espace-l);
padding: initial;
@ -392,49 +461,51 @@ input[type=checkbox], input[type=radio] {
appearance: none;
transition: 0.2s background;
}
input[type=checkbox]:checked, input[type=radio]:checked {
input[type="checkbox"]:checked, input[type="radio"]:checked {
color: var(--couleur-blanc);
background: var(--couleur-gris-fonce);
}
input[type=checkbox]:checked::before, input[type=radio]:checked::before {
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before {
content: "x";
position: relative;
bottom: 0.1rem;
left: 0.35rem;
}
@media (hover: hover) {
input[type=checkbox]:checked:hover, input[type=radio]:checked:hover {
input[type="checkbox"]:checked:hover, input[type="radio"]:checked:hover {
color: var(--couleur-noir);
}
}
input[type=checkbox]:not(:checked):user-valid, input[type=radio]:not(:checked):user-valid {
input[type="checkbox"]:not(:checked):user-valid, input[type="radio"]:not(:checked):user-valid {
background: initial;
}
input[type=checkbox], input[type=radio] {
input[type="checkbox"], input[type="radio"] {
/*
* 1. Pour un alignement parfait du label avec la case à cocher.
*/
}
label:has(~ input[type=checkbox], ~ input[type=radio]), input[type=checkbox] + label, input[type=radio] + label {
label:has(~ input[type="checkbox"], ~ input[type="radio"]),
input[type="checkbox"] + label,
input[type="radio"] + label {
padding-top: 1px; /* 1 */
font-size: 0.9rem;
}
@media (hover: hover) {
input[type=checkbox]:hover, input[type=radio]:hover {
input[type="checkbox"]:hover, input[type="radio"]:hover {
background: var(--couleur-gris-fonce);
}
}
input[type=radio] {
input[type="radio"] {
border-radius: 100%;
appearance: initial;
}
input[type=radio]:checked {
input[type="radio"]:checked {
display: inline-flex;
place-content: center;
place-items: center;
}
input[type=radio]:checked::before {
input[type="radio"]:checked::before {
content: " ";
inset: initial;
display: inline-block;
@ -476,7 +547,14 @@ a {
text-decoration: underline; /* 1 */
text-decoration-color: transparent; /* 1 */
text-decoration-skip-ink: auto; /* 1 */
transition: 0.2s background, 0.2s border-color, 0.2s color, 0.2s font-weight, 0.2s outline-color, 0.2s letter-spacing, 0.2s text-decoration-color; /* 3 */
transition:
0.2s background,
0.2s border-color,
0.2s color,
0.2s font-weight,
0.2s outline-color,
0.2s letter-spacing,
0.2s text-decoration-color; /* 3 */
text-decoration-skip: edges; /* 1 */
/* Change les couleurs de l'arrière-plan et du contour pour marquer le focus. */
}
@ -562,7 +640,9 @@ ul.avec-puce-cercle {
}
ul.avec-puce-cercle a {
padding-left: var(--liste-puce-cercle-lien-marges-internes-ligne-debut); /* 1 */
background: no-repeat var(--liste-puce-cercle-puce-position-horizontale) center/var(--liste-puce-cercle-puce-taille) url("/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg"); /* 2 */
background: no-repeat var(--liste-puce-cercle-puce-position-horizontale) center/var(
--liste-puce-cercle-puce-taille
) url("/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg"); /* 2 */
}
video {
@ -618,7 +698,7 @@ video {
transform: translateX(-100%);
}
}
body:has(#menu-mobile:not([aria-hidden=true])) {
body:has(#menu-mobile:not([aria-hidden="true"])) {
touch-action: none;
overflow: hidden;
}
@ -638,11 +718,11 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
transition: display 400ms allow-discrete;
-webkit-overflow-scrolling: none;
}
#menu-mobile[aria-hidden=true] {
#menu-mobile[aria-hidden="true"] {
display: none;
animation: fade-out 400ms both;
}
#menu-mobile[aria-hidden=true] .menu-modale__fond {
#menu-mobile[aria-hidden="true"] .menu-modale__fond {
animation: fade-out 400ms both;
}
#menu-mobile .menu-modale__fond {
@ -775,11 +855,13 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
/* Dispositions */
--liste-puce-cercle-puce-position-horizontale: 3.5ch; /* 3 */
}
#en-tete .menu-navigation__entree:has(a[aria-current=page]) {
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg") bottom/auto 90% no-repeat;
#en-tete .menu-navigation__entree:has(a[aria-current="page"]) {
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg")
bottom/auto 90% no-repeat;
}
#en-tete .menu-navigation__entree--courante {
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg") bottom/auto 90% no-repeat;
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg")
bottom/auto 90% no-repeat;
}
#en-tete .menu-navigation__entree a {
display: inline-block; /* 1 */
@ -788,7 +870,8 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
}
@media (hover: hover) {
#en-tete .menu-navigation__entree:hover {
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg") bottom/auto 90% no-repeat;
background: url("/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche-gris.svg")
bottom/auto 90% no-repeat;
}
}
@media (width <= 1000px) {
@ -809,7 +892,9 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
#en-tete .compte-panier[disabled] {
background: var(--arriere-plan-points);
}
#en-tete .compte-panier[disabled] a:hover, #en-tete .compte-panier[disabled] a:active, #en-tete .compte-panier[disabled] a:focus-within {
#en-tete .compte-panier[disabled] a:hover,
#en-tete .compte-panier[disabled] a:active,
#en-tete .compte-panier[disabled] a:focus-within {
border: 1px solid var(--couleur-noir);
}
#en-tete .compte-panier a {
@ -818,7 +903,7 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
text-transform: lowercase;
background: transparent;
}
#en-tete .compte-panier a[data-contient-articles=true] {
#en-tete .compte-panier a[data-contient-articles="true"] {
background: var(--couleur-gris-fond);
}
#en-tete .compte-panier a:hover, #en-tete .compte-panier a:focus-within {
@ -862,17 +947,14 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
/*
* Le menu avec les Catégories de Produits pour une navigation rapide.
*
* 1. Applique une marge supérieure égale à la hauteur de l'en-tête pour qu'elle puisse s'afficher
* correctement.
*/
#menu-categories-produits {
/* Dimensions */
--menu-entree-longueur-minimale: 13ch;
--menu-section-marges-bloc-debut: var(--en-tete-hauteur); /* 1 */
--menu-section-marges-bloc-debut: var(--en-tete-hauteur);
--menu-entree-marges-internes-ligne: var(--espace-m);
position: relative;
margin-top: var(--menu-section-marges-bloc-debut); /* 1 */
margin-top: var(--menu-section-marges-bloc-debut);
}
#menu-categories-produits[data-entrees-presentes-debut] svg:first-of-type {
opacity: 100%;
@ -884,8 +966,8 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
pointer-events: none;
position: absolute;
bottom: calc(17.59px - 0.35rem);
width: 0.8rem;
height: 0.8rem;
inline-size: 0.8rem;
block-size: 0.8rem;
opacity: 0%;
mix-blend-mode: exclusion;
shape-rendering: geometricprecision;
@ -913,16 +995,14 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
}
#menu-categories-produits ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(var(--menu-entree-longueur-minimale), 1fr)); /* 1 */
grid-template-columns:
repeat(auto-fit, minmax(var(--menu-entree-longueur-minimale), 1fr)); /* 1 */
gap: 1px;
place-items: center;
/*
* 1. Force chaque entrée à occuper tout l'espace alloué par grid.
*/
}
#menu-categories-produits ul li {
width: 100%; /* 1 */
font-weight: 450;
inline-size: 100%;
font-weight: 500;
font-style: italic;
color: var(--couleur-gris);
text-align: center;
@ -930,37 +1010,38 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
letter-spacing: var(--espacement-inter-lettres-etendu-m);
background: var(--couleur-noir);
}
#menu-categories-produits ul li.categorie-courante a {
font-weight: 600;
color: var(--couleur-noir);
background: var(--couleur-gris-fonce);
}
@media (hover: hover) {
#menu-categories-produits ul li.categorie-courante a:hover {
color: var(--couleur-noir);
}
}
#menu-categories-produits ul li {
/*
* 1. Permet de créer des marges verticales.
* 2. Hérite de la longueur du conteneur.
* 3. Surchargement de styles pour les liens.
*/
#menu-categories-produits ul li:hover {
background: var(--couleur-gris);
}
#menu-categories-produits ul li a {
display: inline-block; /* 1 */
width: inherit; /* 2 */
display: inline-block;
inline-size: inherit;
padding: var(--menu-entree-marges-internes-ligne) 0;
text-decoration: none;
outline: initial; /* 3 */
}
#menu-categories-produits ul li a:focus-visible {
color: var(--couleur-gris-fonce);
outline: initial; /* 3 */
outline-color: var(--couleur-blanc);
}
@media (hover: hover) {
#menu-categories-produits ul li a:hover {
background: var(--couleur-gris-fonce);
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
}
#menu-categories-produits ul li.categorie-courante {
background: var(--couleur-gris);
}
#menu-categories-produits ul li.categorie-courante a {
font-weight: 600;
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
#menu-categories-produits ul li.categorie-courante a:focus-visible {
outline-color: var(--couleur-noir);
}
@media (hover: hover) {
#menu-categories-produits ul li.categorie-courante a:hover {
background: var(--arriere-plan-points);
}
}
@media (width <= 1000px) {
@ -972,10 +1053,10 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
}
#menu-categories-produits ul li {
flex-grow: 1;
width: min(140px, 100%);
inline-size: min(140px, 100%);
}
#menu-categories-produits ul li a {
width: 100%;
inline-size: 100%;
border: initial;
}
}
@ -986,8 +1067,8 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
flex-flow: row nowrap;
}
#menu-categories-produits ul li {
width: initial;
min-width: 140px;
inline-size: initial;
min-inline-size: 140px;
}
}
@ -1023,7 +1104,9 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
top: var(--colonne-gauche-position-haut);
height: var(--colonne-gauche-photo-hauteur);
}
.photos-produit .colonne.colonne-gauche figure, .photos-produit .colonne.colonne-gauche picture, .photos-produit .colonne.colonne-gauche img {
.photos-produit .colonne.colonne-gauche figure,
.photos-produit .colonne.colonne-gauche picture,
.photos-produit .colonne.colonne-gauche img {
height: 100%;
}
.photos-produit .colonne.colonne-droite img {
@ -1098,7 +1181,8 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
--carte-produit-longueur-maximale: 1000px;
display: grid;
grid-auto-rows: 1fr;
grid-template-columns: repeat(auto-fit, minmax(var(--carte-produit-longueur-minimale), 1fr)); /* 1 */
grid-template-columns:
repeat(auto-fit, minmax(var(--carte-produit-longueur-minimale), 1fr)); /* 1 */
gap: 1px; /* 2 */
min-height: var(--grille-produits-hauteur-minimale);
}
@ -1340,7 +1424,9 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
.details-produit__textes .section-textuelle:not(:last-of-type) {
border-block-end: 1px solid var(--couleur-noir);
}
.details-produit__textes .section-textuelle:has(button[aria-expanded=false]) .section-textuelle__contenu {
.details-produit__textes
.section-textuelle:has(button[aria-expanded="false"])
.section-textuelle__contenu {
display: none;
}
.details-produit__textes .section-textuelle h3 {
@ -1449,7 +1535,10 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
position: relative;
}
@media (hover: hover) {
.produits-similaires .grille-produits-similaires article figure a:hover .produit__illustration__survol {
.produits-similaires
.grille-produits-similaires
article figure a:hover
.produit__illustration__survol {
visibility: visible;
opacity: 100%;
transition: 0.3s opacity, 0.3s visibility;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -7,6 +7,9 @@
height: initial;
margin: auto;
padding: var(--espace-xl) 0;
font-style: italic;
text-transform: uppercase;
letter-spacing: var(--espacement-inter-lettres-etendu-m);
}
/* # sourceMappingURL=page-boutique.css.map */

View file

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../../../src/sass/pages/page-boutique.scss"],"names":[],"mappings":"AAGE;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA","file":"page-boutique.css"}
{"version":3,"sourceRoot":"","sources":["../../../src/sass/pages/page-boutique.scss"],"names":[],"mappings":"AAGE;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA","file":"page-boutique.css"}

View file

@ -1 +1 @@
#page-boutique .actions{text-align:center;align-content:center;width:100%}#page-boutique .actions button{height:initial;padding:var(--espace-xl) 0;margin:auto}
#page-boutique .actions{text-align:center;align-content:center;width:100%}#page-boutique .actions button{height:initial;padding:var(--espace-xl) 0;text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);margin:auto;font-style:italic}

View file

@ -85,6 +85,7 @@ button, input, select, textarea {
/*
* Désactive les animations pour les Utilisateurs n'en souhaitant pas.
*/
/* @media (prefers-reduced-motion) {
*, *::before, *::after {
scroll-behavior: auto !important;

View file

@ -35,6 +35,13 @@ button {
&.bouton-case-pleine {
width: 100%;
height: 100%;
@media (hover: hover) {
&:hover {
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
}
}
// Bouton avec les couleurs inversées.
@ -58,7 +65,7 @@ button {
@media (hover: hover) {
&:hover {
color: var(--couleur-noir);
background: var(--couleur-gris);
background: var(--arriere-plan-points);
}
}
}

View file

@ -27,6 +27,7 @@
gap: 1px; /* 2 */
min-height: var(--grille-produits-hauteur-minimale);
// Carte d'un Produit.
article {
max-width: var(--carte-produit-longueur-maximale);
box-shadow: 0 0 0 1px var(--couleur-noir); /* 2 */

View file

@ -2,22 +2,17 @@
/*
* Le menu avec les Catégories de Produits pour une navigation rapide.
*
* 1. Applique une marge supérieure égale à la hauteur de l'en-tête pour qu'elle puisse s'afficher
* correctement.
*/
#menu-categories-produits {
/* Dimensions */
--menu-entree-longueur-minimale: 13ch;
// Marges
--menu-section-marges-bloc-debut: var(--en-tete-hauteur); /* 1 */
--menu-section-marges-bloc-debut: var(--en-tete-hauteur);
--menu-entree-marges-internes-ligne: var(--espace-m);
// height: var(--menu-section-hauteur);
position: relative;
margin-top: var(--menu-section-marges-bloc-debut); /* 1 */
margin-top: var(--menu-section-marges-bloc-debut);
&[data-entrees-presentes-debut] {
svg:first-of-type {
@ -35,8 +30,8 @@
pointer-events: none;
position: absolute;
bottom: calc(35.18px / 2 - 0.35rem);
width: 0.8rem;
height: 0.8rem;
inline-size: 0.8rem;
block-size: 0.8rem;
opacity: 0%;
mix-blend-mode: exclusion;
shape-rendering: geometricprecision;
@ -71,12 +66,9 @@
gap: 1px;
place-items: center;
/*
* 1. Force chaque entrée à occuper tout l'espace alloué par grid.
*/
li {
width: 100%; /* 1 */
font-weight: 450;
inline-size: 100%;
font-weight: 500;
font-style: italic;
color: var(--couleur-gris);
text-align: center;
@ -84,40 +76,45 @@
letter-spacing: var(--espacement-inter-lettres-etendu-m);
background: var(--couleur-noir);
&:hover {
background: var(--couleur-gris);
}
a {
display: inline-block;
inline-size: inherit;
padding: var(--menu-entree-marges-internes-ligne) 0;
text-decoration: none;
&:focus-visible {
outline-color: var(--couleur-blanc);
}
@media (hover: hover) {
&:hover {
color: var(--couleur-noir);
background: var(--arriere-plan-points);
}
}
}
// Entrée de la Catégorie courante.
&.categorie-courante {
background: var(--couleur-gris);
a {
font-weight: 600;
color: var(--couleur-noir);
background: var(--couleur-gris-fonce);
@media (hover: hover) {
&:hover {
color: var(--couleur-noir);
}
}
}
}
/*
* 1. Permet de créer des marges verticales.
* 2. Hérite de la longueur du conteneur.
* 3. Surchargement de styles pour les liens.
*/
a {
display: inline-block; /* 1 */
width: inherit; /* 2 */
padding: var(--menu-entree-marges-internes-ligne) 0;
text-decoration: none;
outline: initial; /* 3 */
background: var(--arriere-plan-points);
&:focus-visible {
color: var(--couleur-gris-fonce);
outline: initial; /* 3 */
outline-color: var(--couleur-noir);
}
@media (hover: hover) {
&:hover {
background: var(--couleur-gris-fonce);
background: var(--arriere-plan-points);
}
}
}
}
@ -132,10 +129,10 @@
li {
flex-grow: 1;
width: min(140px, 100%);
inline-size: min(140px, 100%);
a {
width: 100%;
inline-size: 100%;
border: initial;
}
}
@ -148,8 +145,8 @@
flex-flow: row nowrap;
li {
width: initial;
min-width: 140px;
inline-size: initial;
min-inline-size: 140px;
}
}
}

View file

@ -10,6 +10,9 @@
height: initial;
margin: auto;
padding: var(--espace-xl) 0;
font-style: italic;
text-transform: uppercase;
letter-spacing: var(--espacement-inter-lettres-etendu-m);
}
}
}

View file

@ -24,7 +24,7 @@ const _etats = {
<div class="actions">
<button
{{ products|length == 12 ? '' : 'hidden' }} class="bouton-case-pleine bouton-inverse"
{{ products|length == 12 ? '' : 'hidden' }} class="bouton-case-pleine"
id="bouton-plus-de-produits" type="button"
>
Show more

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

After

Width:  |  Height:  |  Size: 908 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 492 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 KiB

After

Width:  |  Height:  |  Size: 596 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 KiB

After

Width:  |  Height:  |  Size: 484 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 KiB

After

Width:  |  Height:  |  Size: 527 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 KiB

After

Width:  |  Height:  |  Size: 630 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 KiB

After

Width:  |  Height:  |  Size: 416 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 KiB

After

Width:  |  Height:  |  Size: 774 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 KiB

After

Width:  |  Height:  |  Size: 747 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 KiB

After

Width:  |  Height:  |  Size: 653 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 KiB

After

Width:  |  Height:  |  Size: 814 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 KiB

After

Width:  |  Height:  |  Size: 616 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 KiB

After

Width:  |  Height:  |  Size: 660 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 KiB

After

Width:  |  Height:  |  Size: 661 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 KiB

After

Width:  |  Height:  |  Size: 617 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 516 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 KiB

After

Width:  |  Height:  |  Size: 525 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 798 KiB

After

Width:  |  Height:  |  Size: 780 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

After

Width:  |  Height:  |  Size: 738 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 KiB

After

Width:  |  Height:  |  Size: 601 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

After

Width:  |  Height:  |  Size: 617 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 385 KiB

After

Width:  |  Height:  |  Size: 376 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,010 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,001 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.