From 81e8ebdf669ef61f283c0b9f139d4c43ee831c9d Mon Sep 17 00:00:00 2001 From: poignatov Date: Tue, 13 Jan 2026 21:00:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2?= =?UTF-8?q?=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B5=20=D0=B6=D0=B5=D0=BB?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- play-life-web/package.json | 2 +- play-life-web/src/components/Wishlist.css | 37 +++++++++++++++-------- play-life-web/src/components/Wishlist.jsx | 19 ++++++------ 4 files changed, 36 insertions(+), 24 deletions(-) diff --git a/VERSION b/VERSION index 92536a9..171a6a9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.12.0 +3.12.1 diff --git a/play-life-web/package.json b/play-life-web/package.json index a4d46e2..6a158c0 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "3.12.0", + "version": "3.12.1", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/Wishlist.css b/play-life-web/src/components/Wishlist.css index ae5f795..27ad75e 100644 --- a/play-life-web/src/components/Wishlist.css +++ b/play-life-web/src/components/Wishlist.css @@ -5,22 +5,35 @@ } .add-wishlist-button { - width: 100%; - padding: 0.75rem 1rem; - background: linear-gradient(to right, #6366f1, #8b5cf6); - color: white; - border: none; - border-radius: 0.5rem; - font-size: 1rem; - font-weight: 500; + background: transparent; + border: 2px dashed #6b8dd6; + border-radius: 18px; + padding: 0; + transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; cursor: pointer; - margin-bottom: 1.5rem; - transition: all 0.2s; + aspect-ratio: 5 / 6; + position: relative; } .add-wishlist-button:hover { - transform: translateY(-1px); - box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(107, 141, 214, 0.2); + background-color: rgba(107, 141, 214, 0.05); + border-color: #5b7fc7; +} + +.add-wishlist-icon { + font-size: 3rem; + font-weight: bold; + color: #6b8dd6; + display: flex; + align-items: center; + justify-content: center; + line-height: 1; } .section-divider { diff --git a/play-life-web/src/components/Wishlist.jsx b/play-life-web/src/components/Wishlist.jsx index 791cc28..b1e1f67 100644 --- a/play-life-web/src/components/Wishlist.jsx +++ b/play-life-web/src/components/Wishlist.jsx @@ -453,17 +453,16 @@ function Wishlist({ onNavigate, refreshTrigger = 0, isActive = false }) { return (
- {/* Кнопка добавления */} - - {/* Основной список (разблокированные и заблокированные вместе) */} - {items.length > 0 && ( -
- {items.map(renderItem)} -
- )} +
+ {items.map(renderItem)} + +
{/* Завершённые - показываем только если есть завершённые желания */} {completedCount > 0 && (