chore: add ansible backend docker frontend-prep
This commit is contained in:
@@ -0,0 +1,893 @@
|
||||
.checkout-container {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
padding: clamp(1rem, 3vw, 2rem);
|
||||
padding-top: calc(60px + clamp(1rem, 3vw, 2rem));
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
|
||||
}
|
||||
|
||||
.checkout-container h1 {
|
||||
font-size: clamp(1.8rem, 5vw, 2.5rem);
|
||||
background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-align: center;
|
||||
margin-bottom: clamp(1.5rem, 4vw, 2rem);
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.checkout-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: clamp(1.5rem, 4vw, 2rem);
|
||||
margin-bottom: clamp(1.5rem, 4vw, 2rem);
|
||||
}
|
||||
|
||||
/* Résumé de la commande */
|
||||
.order-summary-box {
|
||||
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);
|
||||
border-radius: 16px;
|
||||
padding: clamp(1.5rem, 4vw, 2rem);
|
||||
height: fit-content;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
||||
backdrop-filter: blur(8px);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.order-summary-box:hover {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
|
||||
border-color: rgba(16, 185, 129, 0.3);
|
||||
box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
|
||||
}
|
||||
|
||||
.order-summary-box h2 {
|
||||
font-size: clamp(1.2rem, 4vw, 1.3rem);
|
||||
color: white;
|
||||
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.3px;
|
||||
}
|
||||
|
||||
.summary-items {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
margin-bottom: clamp(1rem, 3vw, 1.5rem);
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.summary-item {
|
||||
display: flex;
|
||||
gap: clamp(1rem, 3vw, 1.5rem);
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.summary-item:hover {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.summary-item:last-child {
|
||||
border-bottom: none;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.summary-item-image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
object-fit: cover;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
flex-shrink: 0;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.summary-item:hover .summary-item-image {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.summary-item-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.summary-item-name {
|
||||
margin: 0;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
font-size: clamp(0.9rem, 3vw, 1rem);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.summary-item-details {
|
||||
margin: 0;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-size: clamp(0.8rem, 2vw, 0.9rem);
|
||||
}
|
||||
|
||||
.summary-total {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-top: clamp(1rem, 3vw, 1.5rem);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-size: clamp(1.1rem, 4vw, 1.3rem);
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
margin-top: clamp(1rem, 3vw, 1.5rem);
|
||||
}
|
||||
|
||||
.total-price {
|
||||
color: #6d28d9;
|
||||
font-size: clamp(1.2rem, 5vw, 1.5rem);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Formulaire */
|
||||
.checkout-form {
|
||||
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);
|
||||
border-radius: 16px;
|
||||
padding: clamp(1.5rem, 4vw, 2rem);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.error-alert {
|
||||
background-color: rgba(239, 68, 68, 0.1);
|
||||
border-left: 4px solid #ef4444;
|
||||
padding: clamp(1rem, 3vw, 1.5rem);
|
||||
margin-bottom: clamp(1rem, 3vw, 1.5rem);
|
||||
border-radius: 8px;
|
||||
color: #f472b6;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
|
||||
}
|
||||
|
||||
.form-section {
|
||||
margin-bottom: clamp(1.5rem, 4vw, 2rem);
|
||||
}
|
||||
|
||||
.form-section:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.form-section h3 {
|
||||
font-size: clamp(1.1rem, 3vw, 1.2rem);
|
||||
color: white;
|
||||
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.3px;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
font-weight: 600;
|
||||
font-size: clamp(0.9rem, 3vw, 1rem);
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
padding: clamp(0.75rem, 2vw, 1rem);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 10px;
|
||||
font-size: clamp(0.9rem, 3vw, 1rem);
|
||||
color: white;
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
font-family: inherit;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.form-group input::placeholder {
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.form-group input:focus {
|
||||
outline: none;
|
||||
border-color: rgba(109, 40, 217, 0.4);
|
||||
box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.3), 0 0 20px rgba(109, 40, 217, 0.4);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.form-group input:disabled {
|
||||
background-color: rgba(255, 255, 255, 0.02);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
border-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Actions */
|
||||
.form-actions {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
padding-top: clamp(1.5rem, 4vw, 2rem);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
margin-top: clamp(1.5rem, 4vw, 2rem);
|
||||
}
|
||||
|
||||
.back-button,
|
||||
.submit-order-button {
|
||||
flex: 1;
|
||||
padding: clamp(1rem, 3vw, 1.3rem);
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-weight: 700;
|
||||
font-size: clamp(0.95rem, 3vw, 1.05rem);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
font-family: inherit;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
touch-action: manipulation;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
background-color: #1a1a1a;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.back-button:hover:not(:disabled) {
|
||||
background-color: #252525;
|
||||
border-color: rgba(255, 255, 255, 0.25);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.back-button:active:not(:disabled) {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.back-button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.submit-order-button {
|
||||
background: linear-gradient(to right, #7c3aed, #6d28d9);
|
||||
color: white;
|
||||
box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
|
||||
border: 1px solid rgba(124, 58, 237, 0.3);
|
||||
}
|
||||
|
||||
.submit-order-button::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.submit-order-button:hover:not(:disabled)::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.submit-order-button:hover:not(:disabled) {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 32px rgba(124, 58, 237, 0.6);
|
||||
}
|
||||
|
||||
.submit-order-button:active:not(:disabled) {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.submit-order-button:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* ============================================ */
|
||||
/* MODAL DE CONFIRMATION - STYLE SOMBRE */
|
||||
/* ============================================ */
|
||||
|
||||
.confirmation-modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: rgba(0, 0, 0, 0.92);
|
||||
backdrop-filter: blur(10px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 10000;
|
||||
animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
padding: 1rem;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.confirmation-modal {
|
||||
background: #1a1a1a;
|
||||
border: 2px solid #5b21b6;
|
||||
border-radius: 20px;
|
||||
max-width: 600px;
|
||||
width: 100%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 25px 70px rgba(91, 33, 182, 0.5), 0 0 120px rgba(91, 33, 182, 0.3);
|
||||
animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
position: relative;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from {
|
||||
transform: translateY(50px) scale(0.95);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.confirmation-modal-header {
|
||||
background: #0f0f0f;
|
||||
padding: 2rem;
|
||||
border-bottom: 2px solid #5b21b6;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
border-radius: 18px 18px 0 0;
|
||||
}
|
||||
|
||||
.confirmation-icon {
|
||||
font-size: 3rem;
|
||||
animation: bounce 0.6s ease-in-out;
|
||||
color: #10b981;
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
}
|
||||
|
||||
.confirmation-modal-header h2 {
|
||||
margin: 0;
|
||||
font-size: clamp(1.5rem, 4vw, 2rem);
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.confirmation-modal-body {
|
||||
padding: 2rem;
|
||||
background: #1a1a1a;
|
||||
}
|
||||
|
||||
.confirmation-section {
|
||||
margin-bottom: 1.5rem;
|
||||
padding: 1.25rem;
|
||||
background: #0f0f0f;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #5b21b6;
|
||||
}
|
||||
|
||||
.confirmation-section:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.confirmation-section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
font-size: 1.1rem;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.confirmation-section-title i,
|
||||
.confirmation-section-title .icon {
|
||||
font-size: 1.3rem;
|
||||
color: #8b5cf6;
|
||||
min-width: 1.3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.confirmation-detail {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.8;
|
||||
margin: 0.5rem 0;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
.confirmation-detail strong {
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.confirmation-detail i {
|
||||
margin-right: 0.5rem;
|
||||
color: #8b5cf6;
|
||||
}
|
||||
|
||||
.confirmation-total {
|
||||
background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%);
|
||||
border: 2px solid #7c3aed;
|
||||
border-radius: 16px;
|
||||
padding: 1.75rem;
|
||||
text-align: center;
|
||||
margin: 1.5rem 0;
|
||||
box-shadow: 0 8px 32px rgba(91, 33, 182, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.confirmation-total-label {
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1.5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.confirmation-total-amount {
|
||||
font-size: 2.8rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 4px 12px rgba(0, 0, 0, 0.5);
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
.confirmation-footer {
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.8;
|
||||
text-align: center;
|
||||
padding: 1.25rem;
|
||||
background: #0f0f0f;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #5b21b6;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.confirmation-footer-highlight {
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.confirmation-footer-highlight i {
|
||||
color: #ef4444;
|
||||
animation: heartbeat 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes heartbeat {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
25% {
|
||||
transform: scale(1.15);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.confirmation-modal-actions {
|
||||
padding: 1.5rem 2rem 2rem;
|
||||
background: #1a1a1a;
|
||||
border-radius: 0 0 18px 18px;
|
||||
}
|
||||
|
||||
.confirmation-button {
|
||||
width: 100%;
|
||||
padding: 1.2rem 2rem;
|
||||
border: 2px solid #5b21b6;
|
||||
border-radius: 12px;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
font-family: inherit;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
|
||||
color: white;
|
||||
box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.confirmation-button:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 12px 40px rgba(91, 33, 182, 0.7);
|
||||
border-color: #7c3aed;
|
||||
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
|
||||
}
|
||||
|
||||
.confirmation-button:active {
|
||||
transform: translateY(-1px) scale(0.98);
|
||||
}
|
||||
|
||||
/* Scrollbar personnalisée pour le modal */
|
||||
.confirmation-modal::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.confirmation-modal::-webkit-scrollbar-track {
|
||||
background: rgba(15, 15, 15, 0.5);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.confirmation-modal::-webkit-scrollbar-thumb {
|
||||
background: #5b21b6;
|
||||
border-radius: 10px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.confirmation-modal::-webkit-scrollbar-thumb:hover {
|
||||
background: #7c3aed;
|
||||
box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
|
||||
}
|
||||
|
||||
/* Scrollbar personnalisée pour summary-items */
|
||||
.summary-items::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.summary-items::-webkit-scrollbar-track {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.summary-items::-webkit-scrollbar-thumb {
|
||||
background: rgba(16, 185, 129, 0.5);
|
||||
border-radius: 10px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.summary-items::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(16, 185, 129, 0.7);
|
||||
box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
|
||||
}
|
||||
|
||||
/* ============================================ */
|
||||
/* RESPONSIVE - VERSION OPTIMISÉE ET COMPACTE */
|
||||
/* ============================================ */
|
||||
|
||||
/* Tablettes */
|
||||
@media (max-width: 768px) {
|
||||
.checkout-container {
|
||||
padding: clamp(1rem, 2vw, 1.5rem);
|
||||
}
|
||||
|
||||
.checkout-content {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.order-summary-box {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.checkout-form {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
/* Modal responsive compacte */
|
||||
.confirmation-modal-overlay {
|
||||
padding: 0.75rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.confirmation-modal {
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
border-radius: 12px;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.confirmation-modal-header {
|
||||
padding: 1.25rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.confirmation-icon {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-header h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-body {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.confirmation-section {
|
||||
padding: 0.9rem;
|
||||
margin-bottom: 0.9rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.confirmation-section-title {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.6rem;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.confirmation-section-title i,
|
||||
.confirmation-section-title .icon {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.confirmation-detail {
|
||||
padding-left: 1.7rem;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
margin: 0.4rem 0;
|
||||
}
|
||||
|
||||
.confirmation-total {
|
||||
padding: 1.25rem;
|
||||
margin: 1rem 0;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.confirmation-total-label {
|
||||
font-size: 0.95rem;
|
||||
margin-bottom: 0.6rem;
|
||||
letter-spacing: 1.2px;
|
||||
}
|
||||
|
||||
.confirmation-total-amount {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-actions {
|
||||
padding: 1rem 1.25rem 1.25rem;
|
||||
}
|
||||
|
||||
.confirmation-button {
|
||||
padding: 1rem 1.5rem;
|
||||
font-size: 0.95rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobiles */
|
||||
@media (max-width: 600px) {
|
||||
.summary-item-image {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
/* Modal encore plus compacte sur mobile */
|
||||
.confirmation-modal-overlay {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.confirmation-modal {
|
||||
max-height: 85vh;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.confirmation-modal-header {
|
||||
padding: 1rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.confirmation-icon {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-header h2 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-body {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.confirmation-section {
|
||||
padding: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.confirmation-section-title {
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.confirmation-section-title i,
|
||||
.confirmation-section-title .icon {
|
||||
font-size: 1rem;
|
||||
min-width: 1rem;
|
||||
}
|
||||
|
||||
.confirmation-detail {
|
||||
padding-left: 1.5rem;
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.5;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
|
||||
.confirmation-total {
|
||||
padding: 1rem;
|
||||
margin: 0.75rem 0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.confirmation-total-label {
|
||||
font-size: 0.85rem;
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.confirmation-total-amount {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-actions {
|
||||
padding: 0.75rem 1rem 1rem;
|
||||
}
|
||||
|
||||
.confirmation-button {
|
||||
padding: 0.85rem 1.2rem;
|
||||
font-size: 0.85rem;
|
||||
border-radius: 8px;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Petits écrans (< 400px) */
|
||||
@media (max-width: 400px) {
|
||||
.confirmation-modal {
|
||||
max-height: 90vh;
|
||||
}
|
||||
|
||||
.confirmation-modal-header {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
||||
.confirmation-icon {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-header h2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.confirmation-modal-body {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
||||
.confirmation-section {
|
||||
padding: 0.65rem;
|
||||
margin-bottom: 0.65rem;
|
||||
}
|
||||
|
||||
.confirmation-section-title {
|
||||
font-size: 0.85rem;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.confirmation-detail {
|
||||
padding-left: 1.3rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.confirmation-total {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
||||
.confirmation-total-label {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.confirmation-total-amount {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.confirmation-button {
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Désactiver les effets hover sur écrans tactiles */
|
||||
@media (hover: none) {
|
||||
.order-summary-box:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.summary-item:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.summary-item-image:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.back-button:hover {
|
||||
background-color: #1a1a1a;
|
||||
transform: none;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.submit-order-button:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
|
||||
}
|
||||
|
||||
.confirmation-button:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user