diff --git a/frontend/src/components/shop/MesPersos.vue b/frontend/src/components/shop/MesPersos.vue index 2d6637c..4b2fa23 100644 --- a/frontend/src/components/shop/MesPersos.vue +++ b/frontend/src/components/shop/MesPersos.vue @@ -1,191 +1,21 @@ - + diff --git a/frontend/src/components/shop/ProductCard.vue b/frontend/src/components/shop/ProductCard.vue index e7cb8ee..0db4630 100644 --- a/frontend/src/components/shop/ProductCard.vue +++ b/frontend/src/components/shop/ProductCard.vue @@ -108,6 +108,7 @@ + + diff --git a/frontend/src/components/shop/persos/IpColorPrefsSection.vue b/frontend/src/components/shop/persos/IpColorPrefsSection.vue new file mode 100644 index 0000000..ebd2c04 --- /dev/null +++ b/frontend/src/components/shop/persos/IpColorPrefsSection.vue @@ -0,0 +1,56 @@ + + + + + + diff --git a/frontend/src/components/shop/persos/PetsPrefsSection.vue b/frontend/src/components/shop/persos/PetsPrefsSection.vue new file mode 100644 index 0000000..d489215 --- /dev/null +++ b/frontend/src/components/shop/persos/PetsPrefsSection.vue @@ -0,0 +1,74 @@ + + + + + + diff --git a/frontend/src/components/shop/persos/SendButtonPrefsSection.vue b/frontend/src/components/shop/persos/SendButtonPrefsSection.vue new file mode 100644 index 0000000..6afc084 --- /dev/null +++ b/frontend/src/components/shop/persos/SendButtonPrefsSection.vue @@ -0,0 +1,33 @@ + + + + diff --git a/frontend/src/components/shop/persos/SendSkinPrefsSection.vue b/frontend/src/components/shop/persos/SendSkinPrefsSection.vue new file mode 100644 index 0000000..2634713 --- /dev/null +++ b/frontend/src/components/shop/persos/SendSkinPrefsSection.vue @@ -0,0 +1,45 @@ + + + + diff --git a/frontend/src/style.css b/frontend/src/style.css index 9f0d937..1e1e52f 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -76,3 +76,41 @@ body, background: var(--xip-app-bg); font-family: 'Lato', sans-serif; } + +/* ── Styles partagés des sections « Mes Persos » (shop/persos/*) ── + Globaux (non scopés) pour être réutilisés par chaque sous-section sans + dupliquer le CSS. Préfixe .pf- (persos-form) pour éviter les collisions. */ +.pf-section { + background: #101018; + border: 1px solid #20203a; + border-radius: 10px; + padding: 18px 20px; +} +.pf-section.pf-locked { opacity: 0.6; } +.pf-title { + font-size: 14px; font-weight: bold; color: #ccccee; + margin: 0 0 6px; display: flex; align-items: center; gap: 10px; +} +.pf-sub { font-size: 11px; color: #5a5a80; margin: 0 0 12px; } +.pf-lock { + font-size: 10px; font-weight: normal; color: #886644; + background: #1a1408; border: 1px solid #44330066; border-radius: 8px; padding: 2px 8px; +} +.pf-grid { display: flex; flex-wrap: wrap; gap: 8px; } +.pf-tile { + display: flex; flex-direction: column; align-items: center; gap: 6px; + background: #141420; border: 1px solid #222234; border-radius: 8px; + padding: 10px 14px; cursor: pointer; transition: border-color 0.1s, background 0.1s; +} +.pf-tile:hover:not(:disabled) { background: #1a1a2e; border-color: #333355; } +.pf-tile--active { border-color: #00ddff; background: #0a1a20; } +.pf-tile:disabled { cursor: not-allowed; opacity: 0.5; } +.pf-swatch { + width: 34px; height: 34px; border-radius: inherit; + display: flex; align-items: center; justify-content: center; + font-size: 14px; font-weight: bold; border: 1px solid #ffffff10; +} +.pf-label { font-size: 10px; color: #8888aa; white-space: nowrap; } +.pf-tile--active .pf-label { color: #00ddff; } +.pf-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ffffff22; } +.pf-dot--auto { background: conic-gradient(#00ddff, #ff00cc, #00ee77, #ffdd44, #00ddff); }