chore: update

This commit is contained in:
2026-03-30 20:02:39 +02:00
parent 32e129da31
commit 25cd6429f2
32 changed files with 1024 additions and 540 deletions
+32 -48
View File
@@ -9,7 +9,7 @@
padding-top: calc(60px + clamp(1rem, 3vw, 2rem));
max-width: 1200px;
margin: 0 auto;
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}
.cart-header {
@@ -23,15 +23,11 @@
}
.cart-header h1 {
color: white;
font-size: clamp(1.8rem, 5vw, 2.5rem);
margin: 0;
font-weight: bold;
letter-spacing: -0.5px;
background: #ffffff;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: var(--text);
}
.clear-all-button {
@@ -80,12 +76,12 @@
.empty-cart-icon {
margin-bottom: 1.5rem;
opacity: 0.4;
color: rgba(255, 255, 255, 0.5);
color: var(--text-muted);
}
.empty-cart p {
font-size: 1.2rem;
color: #888;
color: var(--text-muted);
margin-bottom: 2rem;
}
@@ -121,12 +117,8 @@
.cart-item {
position: relative;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.08);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
display: flex;
@@ -156,11 +148,7 @@
}
.cart-item:hover {
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.05) 0%,
rgba(255, 255, 255, 0.02) 100%
);
background: var(--surface-2);
border-color: rgba(124, 58, 237, 0.3);
box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
transform: translateY(-4px);
@@ -177,12 +165,8 @@
height: 220px;
border-radius: 12px;
overflow: hidden;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.08) 0%,
rgba(255, 255, 255, 0.04) 100%
);
border: 1px solid rgba(255, 255, 255, 0.1);
background: var(--surface-2);
border: 1px solid var(--border);
}
.cart-item-image {
@@ -241,7 +225,7 @@
}
.cart-item-info h3 {
color: white;
color: var(--text);
font-size: clamp(1.2rem, 4vw, 1.4rem);
margin: 0;
font-weight: 600;
@@ -262,7 +246,7 @@
/* ✨ NOUVEAU: Affichage de la quantité en grammes */
.cart-item-quantity {
font-size: 1rem;
color: rgba(255, 255, 255, 0.8);
color: var(--text-muted);
margin: 0.5rem 0;
padding: 0.5rem 1rem;
background: rgba(124, 58, 237, 0.1);
@@ -294,7 +278,7 @@
align-items: center;
justify-content: flex-end;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.08);
border-top: 1px solid var(--border);
}
.remove-item-button {
@@ -336,8 +320,8 @@
/* Cart Summary */
.cart-summary {
background-color: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.08);
background-color: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: clamp(1.5rem, 4vw, 2rem);
position: sticky;
@@ -350,20 +334,20 @@
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
color: rgba(255, 255, 255, 0.7);
color: var(--text-muted);
font-size: clamp(0.95rem, 3vw, 1.05rem);
}
.summary-row span:last-child {
font-weight: 600;
color: white;
color: var(--text);
}
.total-row {
color: white;
color: var(--text);
font-size: clamp(1.2rem, 4vw, 1.4rem);
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-top: 1px solid var(--border);
margin-top: 1rem;
margin-bottom: 1.5rem;
font-weight: 700;
@@ -431,7 +415,7 @@
.loading-cart p {
font-size: 1.2rem;
color: #666;
color: var(--text-muted);
animation: pulse 1.5s ease-in-out infinite;
}
@@ -471,7 +455,7 @@
}
.modal-content2 {
background: #1a1a1a;
background: var(--surface);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 20px;
padding: clamp(2rem, 5vw, 3rem);
@@ -529,7 +513,7 @@
}
.modal-title {
color: white;
color: var(--text);
font-size: clamp(1.5rem, 4vw, 1.8rem);
font-weight: 700;
text-align: center;
@@ -538,7 +522,7 @@
}
.modal-message {
color: rgba(255, 255, 255, 0.7);
color: var(--text-muted);
font-size: clamp(0.95rem, 3vw, 1.05rem);
text-align: center;
line-height: 1.6;
@@ -570,15 +554,15 @@
}
.modal-cancel {
background: #0f0f0f;
color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(255, 255, 255, 0.15);
background: var(--bg);
color: var(--text-muted);
border: 1px solid var(--border);
}
.modal-cancel:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
border-color: rgba(255, 255, 255, 0.3);
background: var(--surface-2);
color: var(--text);
border-color: var(--text-muted);
transform: translateY(-2px);
}
@@ -628,7 +612,7 @@
position: relative;
width: 100%;
max-width: 900px;
background: #1a1a1a;
background: var(--surface);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
@@ -675,9 +659,9 @@
.cart-item-media-container.loading {
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.05) 0%,
rgba(255, 255, 255, 0.1) 50%,
rgba(255, 255, 255, 0.05) 100%
var(--surface) 0%,
var(--surface-2) 50%,
var(--surface) 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;